I came across this adhoc implementation and thought it could use some polishing. This fixes memory leaks and add P9 support. Based on the current upstream.
Please comment. Thanks. Alexey Kardashevskiy (2): powerpc/powernv: Reuse existing TCE code for sketchy bypass powerpc/powernv: Define PHB4 type and enable sketchy bypass on POWER9 arch/powerpc/platforms/powernv/pci.h | 1 + arch/powerpc/platforms/powernv/pci-ioda.c | 76 +++++++++++++++++-------------- 2 files changed, 44 insertions(+), 33 deletions(-) -- 2.11.0