Thread (6 messages) 6 messages, 3 authors, 2012-05-31

ARM Versatile defconfig PCI io out of range?

From: Richard Maw <hidden>
Date: 2012-05-31 10:48:51

On Thu, May 31, 2012 at 09:32:50AM +0000, Arnd Bergmann wrote:
quoted hunk ↗ jump to hunk
It looks like it's a simple bug in pci.c, which puts the wrong thing into the
pcibios_min_io variable.

Does the below patch fix it?

	Arnd
diff --git a/arch/arm/mach-versatile/pci.c b/arch/arm/mach-versatile/pci.c
index 4ae4fc8..aeb7b60 100644
--- a/arch/arm/mach-versatile/pci.c
+++ b/arch/arm/mach-versatile/pci.c
@@ -305,7 +305,7 @@ int __init pci_versatile_setup(int nr, struct pci_sys_data *sys)
 
 void __init pci_versatile_preinit(void)
 {
-	pcibios_min_io = 0x44000000;
+	pcibios_min_io = 0x100;
 	pcibios_min_mem = 0x50000000;
 
 	__raw_writel(VERSATILE_PCI_MEM_BASE0 >> 28, PCI_IMAP0);
Sadly it is still not working. sym53c8xx is still requesting the range
0x44000000-0x440000ff, which is beyond the 0x0000-0xffff specified by
the ioport_resource.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help