powerpc/mm/book3s64/radix: Flush the full mm even when need_flush_all is set
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 24 Oct 2019 07:58:01 +0000 (13:28 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Nov 2019 11:24:18 +0000 (22:24 +1100)
commit864edb758c50c30787bb51f2e26c4be2b4937025
treef56aaca43f439457b474ec82ab3cb7ed8cebf7b1
parent52162ec784fa05f3a4b1d8e84421279998be3773
powerpc/mm/book3s64/radix: Flush the full mm even when need_flush_all is set

With the previous patch, we should now not be using need_flush_all for
powerpc. But then make sure we force a PID tlbie flush with RIC=2 if
we ever find need_flush_all set. Also don't reset it after a mmu
gather flush.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191024075801.22434-3-aneesh.kumar@linux.ibm.com
arch/powerpc/mm/book3s64/radix_tlb.c
include/asm-generic/tlb.h