powerpc/powernv/pci: Fix missed TCE invalidations that should fallback to OPAL
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Sep 2016 07:03:06 +0000 (17:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Sep 2016 07:05:11 +0000 (17:05 +1000)
commited7d9a1d7da6fe7b1c7477dc70e95051583fd60c
tree1e6764d41f7b846aba193ed1faf9259173abe6da
parent29bf282dec94f6015a675c007614cb29563f1c18
powerpc/powernv/pci: Fix missed TCE invalidations that should fallback to OPAL

In commit f0228c413011 ("powerpc/powernv/pci: Fallback to OPAL for TCE
invalidations"), we added logic to fallback to OPAL for doing TCE
invalidations if we can't do it in Linux.

Ben sent a v2 of the patch, containing these additional call sites, but
I had already applied v1 and didn't notice. So fix them now.

Fixes: f0228c413011 ("powerpc/powernv/pci: Fallback to OPAL for TCE invalidations")
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c