powerpc/powernv: Add support for p5ioc2 PCI-X and PCIe
This adds support for PCI-X and PCIe on the p5ioc2 IO hub using
OPAL. This includes allocating & setting up TCE tables and config
space access routines.
This also supports fallbacks via RTAS when OPAL is absent, using
legacy TCE format pre-allocated via the device-tree (BML style)
Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/platforms/powernv/Makefile 1 addition, 0 deletionsarch/powerpc/platforms/powernv/Makefile
- arch/powerpc/platforms/powernv/pci-p5ioc2.c 185 additions, 0 deletionsarch/powerpc/platforms/powernv/pci-p5ioc2.c
- arch/powerpc/platforms/powernv/pci.c 286 additions, 0 deletionsarch/powerpc/platforms/powernv/pci.c
- arch/powerpc/platforms/powernv/pci.h 38 additions, 0 deletionsarch/powerpc/platforms/powernv/pci.h
- arch/powerpc/platforms/powernv/powernv.h 6 additions, 0 deletionsarch/powerpc/platforms/powernv/powernv.h
- arch/powerpc/platforms/powernv/setup.c 2 additions, 1 deletionarch/powerpc/platforms/powernv/setup.c
Loading
Please register or sign in to comment