+185
−0
arch/powerpc/platforms/powernv/pci.c
0 → 100644
+286
−0
arch/powerpc/platforms/powernv/pci.h
0 → 100644
+38
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>