]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Fix condition for when to invalidate the TCE cache
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 20 May 2013 17:25:15 +0000 (17:25 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 24 May 2013 08:13:44 +0000 (18:13 +1000)
commit605e44d6e6f9b0c9ca8842dc0eb3ad032a463bdb
tree4260203108744b13491d4e04f1f73781d99f4de2
parentbee7dd9c5fd5ab944e2e0ef3b92905fcbc993768
powerpc/powernv: Fix condition for when to invalidate the TCE cache

We use two flags, one to indicate an invalidation is needed after
creating a new entry and one to indicate an invalidation is needed
after removing an entry. However we were testing the wrong flag
in the remove case.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci.c