Re: [PATCH-RFC 08/10] powerpc: switch to GENERIC_PCI_IOMAP

2011-12-04 Thread Michael S. Tsirkin
On Mon, Dec 05, 2011 at 07:52:01AM +1100, Benjamin Herrenschmidt wrote: > On Sun, 2011-12-04 at 12:48 +0200, Michael S. Tsirkin wrote: > > On Thu, Nov 24, 2011 at 10:19:54PM +0200, Michael S. Tsirkin wrote: > > > powerpc copied pci_iomap from generic code, probably to avoid > > > pulling the rest o

Re: [PATCH-RFC 08/10] powerpc: switch to GENERIC_PCI_IOMAP

2011-12-04 Thread Benjamin Herrenschmidt
On Sun, 2011-12-04 at 12:48 +0200, Michael S. Tsirkin wrote: > On Thu, Nov 24, 2011 at 10:19:54PM +0200, Michael S. Tsirkin wrote: > > powerpc copied pci_iomap from generic code, probably to avoid > > pulling the rest of iomap.c in. Since that's in > > a separate file now, we can reuse the common

Re: [PATCH-RFC 08/10] powerpc: switch to GENERIC_PCI_IOMAP

2011-12-04 Thread Michael S. Tsirkin
On Thu, Nov 24, 2011 at 10:19:54PM +0200, Michael S. Tsirkin wrote: > powerpc copied pci_iomap from generic code, probably to avoid > pulling the rest of iomap.c in. Since that's in > a separate file now, we can reuse the common implementation. > > The only difference is handling of nocache flag,

[PATCH-RFC 08/10] powerpc: switch to GENERIC_PCI_IOMAP

2011-11-24 Thread Michael S. Tsirkin
powerpc copied pci_iomap from generic code, probably to avoid pulling the rest of iomap.c in. Since that's in a separate file now, we can reuse the common implementation. The only difference is handling of nocache flag, that turns out to be done correctly by the generic code since arch/powerpc/in