No proper interface exposed, he'll have to do an #ifdef powerpc here orStupid question: pci_iomap() is NOT what you are looking for, right?
such and use __ioremap with explicit page attributes. I have a hack to
do that automatically for memory covered by prefetchable PCI BARs when
mmap'ing from userland but not for kernel ioremap.
Implementation is at the end of lib/iomap.c
No, there is no difference there, pci_iomap won't help for passing in
platform specific page attributes for things like write combining.