]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cd40ff3d82ae32fb73e32e2bdc6af06f29f974b
tree1e6764d41f7b846aba193ed1faf9259173abe6da
parentf6e0b653c3f4f293dc57589972b95d695a950016
powerpc/powernv/pci: Fix missed TCE invalidations that should fallback to OPAL

In commit 28bc939854f9 ("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: 28bc939854f9 ("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