Re: [PATCH 2/3] powerpc/powernv: Disable IO space for PCI buses

2013-05-06 Thread Gavin Shan
On Tue, May 07, 2013 at 07:33:02AM +1000, Benjamin Herrenschmidt wrote: >On Mon, 2013-05-06 at 21:44 +0800, Gavin Shan wrote: >> The patch intends to set the special flag (PCI_BUS_FLAGS_NO_IO) for >> root buses so PCI core will skip assignment for IO stuff. Besides, >> we also clear the IO resource

Re: [PATCH 2/3] powerpc/powernv: Disable IO space for PCI buses

2013-05-06 Thread Benjamin Herrenschmidt
On Mon, 2013-05-06 at 21:44 +0800, Gavin Shan wrote: > The patch intends to set the special flag (PCI_BUS_FLAGS_NO_IO) for > root buses so PCI core will skip assignment for IO stuff. Besides, > we also clear the IO resources on all PCI devices for PHB3. Why the new hook ? Can't this be detected si

[PATCH 2/3] powerpc/powernv: Disable IO space for PCI buses

2013-05-06 Thread Gavin Shan
The patch intends to set the special flag (PCI_BUS_FLAGS_NO_IO) for root buses so PCI core will skip assignment for IO stuff. Besides, we also clear the IO resources on all PCI devices for PHB3. Signed-off-by: Gavin Shan --- arch/powerpc/include/asm/machdep.h|3 ++ arch/powerpc/kerne