powerpc/book3s: Fix partial invalidation of TLBs in MCE code.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Fri, 5 Dec 2014 04:31:15 +0000 (10:01 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 5 Dec 2014 05:26:21 +0000 (16:26 +1100)
commit682e77c861c4c60f79ffbeae5e1938ffed24a575
tree97f4a35e38270f678b3164caa90af7d7378665c5
parentaefa5688c070727b8729de1aef85cad7b9933fc7
powerpc/book3s: Fix partial invalidation of TLBs in MCE code.

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.

Cc: stable@vger.kernel.org
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/mce_power.c