Re: [PATCH] powerpc: fix pci domain detection

2007-10-01 Thread Benjamin Herrenschmidt
On Wed, 2007-09-26 at 16:02 +0200, Arnd Bergmann wrote: > The /proc/bus/pci/* files list PCI domain numbers only for > devices that claim to be on a multi-domain system. The check > for this is broken on powerpc, because the buid value is > truncated to 32 bits. > > There is at least one machine

Re: [PATCH] powerpc: fix pci domain detection

2007-10-01 Thread Benjamin Herrenschmidt
On Wed, 2007-09-26 at 16:02 +0200, Arnd Bergmann wrote: The /proc/bus/pci/* files list PCI domain numbers only for devices that claim to be on a multi-domain system. The check for this is broken on powerpc, because the buid value is truncated to 32 bits. There is at least one machine (IBM

[PATCH] powerpc: fix pci domain detection

2007-09-26 Thread Arnd Bergmann
The /proc/bus/pci/* files list PCI domain numbers only for devices that claim to be on a multi-domain system. The check for this is broken on powerpc, because the buid value is truncated to 32 bits. There is at least one machine (IBM QS21) that only uses the high-order bits of the buid, so the

[PATCH] powerpc: fix pci domain detection

2007-09-26 Thread Arnd Bergmann
The /proc/bus/pci/* files list PCI domain numbers only for devices that claim to be on a multi-domain system. The check for this is broken on powerpc, because the buid value is truncated to 32 bits. There is at least one machine (IBM QS21) that only uses the high-order bits of the buid, so the