]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Always invalidate tlb on hpte invalidate and update
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 31 May 2013 01:03:24 +0000 (01:03 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 31 May 2013 22:29:26 +0000 (08:29 +1000)
commit887c9655bf41d2a95e3fe8d6c7653b606247e792
tree646aee0d04c866118215cfa9a7529108287309e2
parentfd393d6e9369d266fb2f20ba59476096853a98a7
powerpc/mm: Always invalidate tlb on hpte invalidate and update

If a hash bucket gets full, we "evict" a more/less random entry from it.
When we do that we don't invalidate the TLB (hpte_remove) because we assume
the old translation is still technically "valid". This implies that when
we are invalidating or updating pte, even if HPTE entry is not valid
we should do a tlb invalidate.

This was a regression introduced by 4e8585db0b4e91fdfc595aea7bb1ca2b6aecccfd

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_native_64.c