]> git.baikalelectronics.ru Git - kernel.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)
commit6ff7d81699339af3fde46aad70a989e4219570bc
tree4260203108744b13491d4e04f1f73781d99f4de2
parent3d334089a21121bcbd8363a1743c6386a00349ef
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