]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/mm/radix: Synchronize updates to the process table
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 7 Jul 2017 21:12:16 +0000 (16:12 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Jul 2017 11:26:31 +0000 (21:26 +1000)
commit3a6a04706fd08eb5677fdfc086e26fcd5eb154f4
tree5c8ff039b1d0c495ad084d66745e95347e4e1b98
parentc6bb0b8d426a8cf865ca9c8a532cc3a2927cfceb
powerpc/mm/radix: Synchronize updates to the process table

When writing to the process table, we need to ensure the store is
visible to a subsequent access by the MMU. We assume we never have
the PID active while doing the update, so a ptesync/isync pair
should hopefully be a big enough hammer for our purpose.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/mmu_context_book3s64.c