linux_dsm_epyc7002/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
..
call_hpt.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
call_pci.h [PATCH] powerpc: reintroduce HvCallPci_configLoad32 2006-05-24 16:08:56 +10:00
call_sm.h merge filename and modify references to iseries/hv_types.h 2005-11-02 13:46:07 +11:00
dt.c [POWERPC] Move iSeries initrd logic into device tree 2006-10-24 15:01:27 +10:00
htab.c [POWERPC] powerpc: Initialise ppc_md htab pointers earlier 2006-06-28 11:59:47 +10:00
hvcall.S powerpc: Get iseries to compile with ARCH=powerpc 2005-10-10 22:52:26 +10:00
hvlog.c [PATCH] ppc64: support 64k pages 2005-11-06 16:56:47 -08:00
hvlpconfig.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
iommu.c [POWERPC] Refactor 64 bits DMA operations 2006-12-04 20:38:40 +11:00
ipl_parms.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
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 [POWERPC] iseries: Make ItExtVpdPanel private to iSeries 2006-07-13 18:42:29 +10:00
it_lp_naca.h [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
Kconfig [POWERPC] iseries: A new iSeries console 2006-07-13 18:51:22 +10:00
ksyms.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
lpardata.c [POWERPC] iseries: Move ItLpNaca into platforms/iseries 2006-07-13 18:42:52 +10:00
lpevents.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
main_store.h [POWERPC] iseries: remove some gcc 4.1 warnings 2006-08-25 13:27:35 +10:00
Makefile [PATCH] powerpc: make iSeries flattened device tree dynamic 2006-05-24 16:08:57 +10:00
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 [PATCH] powerpc: Move naca.h to platforms/iseries 2005-11-02 16:05:53 +11:00
pci.c [POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits 2006-12-04 20:38:52 +11:00
pci.h powerpc: eliminate DsaAddr from pci_dn 2005-10-14 16:49:58 +10:00
proc.c [POWERPC] Clean up it_lp_queue.h 2006-06-28 15:18:55 +10:00
processor_vpd.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
release_data.h [PATCH] powerpc: Move naca.h to platforms/iseries 2005-11-02 16:05:53 +11:00
setup.c [POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits 2006-12-04 20:38:52 +11:00
setup.h [PATCH] powerpc: split device tree stuff out of iseries/setup.c 2006-05-24 16:08:57 +10:00
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 ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
viopath.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
vpd_areas.h ppc64 iseries: move some iSeries include files 2005-09-30 18:03:56 +10:00
vpdinfo.c [POWERPC] iseries: Fix a compiler warning in platforms/iseries/vpdinfo.c 2006-07-13 18:43:12 +10:00