]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/mm/radix: Properly clear process table entry
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 8 Jul 2017 12:45:32 +0000 (07:45 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Jul 2017 11:24:34 +0000 (21:24 +1000)
commitc6bb0b8d426a8cf865ca9c8a532cc3a2927cfceb
treeb147167c3c0635c5fbb395f665a006b7f5bce0f1
parent1c0eaf0f56d6128af7f0f252855173fcee85d202
powerpc/mm/radix: Properly clear process table entry

On radix, the process table entry we want to clear when destroying a
context is entry 0, not entry 1. This has no *immediate* consequence
on Power9, but it can cause other bugs to become worse.

Fixes: 7e381c0ff618 ("powerpc/mm/radix: Add mmu context handling callback for radix")
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/mmu_context_book3s64.c