]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96aed3a5e976e51632b55105bc98cb53d1a32250
tree97f4a35e38270f678b3164caa90af7d7378665c5
parentab767fa83b3206e6e6fb01b6f6e288bacbb6618b
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