Re: [patch 0/4] x86: PAT followup - Incremental changes and bug fixes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Venki Pallipadi
Date: Wednesday, January 16, 2008 - 1:33 pm

On Wed, Jan 16, 2008 at 07:57:48PM +0100, Andreas Herrmann wrote:
This does not look to be the problem here. We just mapped some new low
address due to possibly a different code path. But, seems to have worked fine.


This ioremap failing seems to be the real problem. This can be due to
new tracking of ioremaps introduced by PAT patches. We do not allow
conflicting ioremaps to same region. Probably that is happening
in both Sound and sata initialization which results in driver init failing.

Can you please try the debug patch below over latest x86/mm and boot kernel with
debug boot option and send us the dmesg from the failure. That will give us
better info about ioremaps.

Thanks,
Venki


Index: linux-2.6.git/arch/x86/mm/ioremap_64.c
===================================================================
--- linux-2.6.git.orig/arch/x86/mm/ioremap_64.c	2008-01-16 03:38:32.000000000 -0800
+++ linux-2.6.git/arch/x86/mm/ioremap_64.c	2008-01-16 05:16:28.000000000 -0800
@@ -150,6 +150,8 @@
 
 void __iomem *ioremap_nocache (unsigned long phys_addr, unsigned long size)
 {
+	printk(KERN_DEBUG "ioremap_nocache: addr %lx, size %lx\n",
+	       phys_addr, size);
 	return __ioremap(phys_addr, size, _PAGE_UC);
 }
 EXPORT_SYMBOL(ioremap_nocache);
Index: linux-2.6.git/include/asm-x86/io_64.h
===================================================================
--- linux-2.6.git.orig/include/asm-x86/io_64.h	2008-01-16 03:38:32.000000000 -0800
+++ linux-2.6.git/include/asm-x86/io_64.h	2008-01-16 05:16:57.000000000 -0800
@@ -154,6 +154,8 @@
 
 static inline void __iomem * ioremap (unsigned long offset, unsigned long size)
 {
+	printk(KERN_DEBUG "ioremap: addr %lx, size %lx\n",
+	       offset, size);
 	return __ioremap(offset, size, 0);
 }
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 0/4] x86: PAT followup - Incremental changes and bu ..., venkatesh.pallipadi, (Tue Jan 15, 7:39 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann, (Wed Jan 16, 11:57 am)
RE: [patch 0/4] x86: PAT followup - Incremental changes an ..., Pallipadi, Venkatesh, (Wed Jan 16, 12:05 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Venki Pallipadi, (Wed Jan 16, 1:33 pm)
RE: [patch 0/4] x86: PAT followup - Incremental changes an ..., Pallipadi, Venkatesh, (Wed Jan 16, 3:14 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 12:12 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 12:54 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 2:03 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 2:42 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 3:06 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 3:16 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 3:52 pm)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Andreas Herrmann3, (Thu Jan 17, 4:24 pm)
RE: [patch 0/4] x86: PAT followup - Incremental changes an ..., Pallipadi, Venkatesh, (Thu Jan 17, 4:42 pm)
RE: [patch 0/4] x86: PAT followup - Incremental changes an ..., Pallipadi, Venkatesh, (Fri Jan 18, 10:13 am)
Re: [patch 0/4] x86: PAT followup - Incremental changes an ..., Eric W. Biederman, (Thu Jan 24, 1:22 pm)