linux-stable-rt/arch/powerpc/platforms/iseries
Benjamin Herrenschmidt 4cb3cee03d [POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits
This patch reworks the way iSeries hooks on PCI IO operations (both MMIO
and PIO) and provides a generic way for other platforms to do so (we
have need to do that for various other platforms).

While reworking the IO ops, I ended up doing some spring cleaning in
io.h and eeh.h which I might want to split into 2 or 3 patches (among
others, eeh.h had a lot of useless stuff in it).

A side effect is that EEH for PIO should work now (it used to pass IO
ports down to the eeh address check functions which is bogus).

Also, new are MMIO "repeat" ops, which other archs like ARM already had,
and that we have too now: readsb, readsw, readsl, writesb, writesw,
writesl.

In the long run, I might also make EEH use the hooks instead
of wrapping at the toplevel, which would make things even cleaner and
relegate EEH completely in platforms/iseries, but we have to measure the
performance impact there (though it's really only on MMIO reads)

Since I also need to hook on ioremap, I shuffled the functions a bit
there. I introduced ioremap_flags() to use by drivers who want to pass
explicit flags to ioremap (and it can be hooked). The old __ioremap() is
still there as a low level and cannot be hooked, thus drivers who use it
should migrate unless they know they want the low level version.

The patch "arch provides generic iomap missing accessors" (should be
number 4 in this series) is a pre-requisite to provide full iomap
API support with this patch.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 20:38:52 +11:00
..
Kconfig
Makefile
call_hpt.h
call_pci.h
call_sm.h
dt.c [POWERPC] Move iSeries initrd logic into device tree 2006-10-24 15:01:27 +10:00
htab.c
hvcall.S
hvlog.c
hvlpconfig.c
iommu.c [POWERPC] Refactor 64 bits DMA operations 2006-12-04 20:38:40 +11:00
ipl_parms.h
irq.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
irq.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
it_exp_vpd_panel.h
it_lp_naca.h
ksyms.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
lpardata.c
lpevents.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
main_store.h
mf.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
misc.S [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
naca.h
pci.c [POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits 2006-12-04 20:38:52 +11:00
pci.h
proc.c
processor_vpd.h
release_data.h
setup.c [POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits 2006-12-04 20:38:52 +11:00
setup.h
smp.c [POWERPC] Fix iseries/smp.c for irq breakage 2006-10-07 10:10:30 +10:00
smp.h [POWERPC] Fix iseries/smp.c for irq breakage 2006-10-07 10:10:30 +10:00
spcomm_area.h
viopath.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
vpd_areas.h
vpdinfo.c