powerpc/book3s: Fix partial invalidation of TLBs in MCE code.

commit 682e77c861 upstream.

The existing MCE code calls flush_tlb hook with IS=0 (single page) resulting
in partial invalidation of TLBs which is not right. This patch fixes
that by passing IS=0xc00 to invalidate whole TLB for successful recovery
from TLB and ERAT errors.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Mahesh Salgaonkar 2014-12-05 10:01:15 +05:30 • committed by Luis Henriques
commit fb19a40576