aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/lasat/picvue.c
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2014-01-17 12:01:30 +0000
committerRalf Baechle <[email protected]>2014-01-24 22:39:56 +0100
commite36059e508c209703c3a60ef716a5b524fb0a832 (patch)
tree9076a00689bc92cfaf360532bb66bb5a555d80c9 /arch/mips/lasat/picvue.c
parentd3864767a85b13e0e0ecc5f4284f65cc26252446 (diff)
MIPS: KVM: use common EHINV aware UNIQUE_ENTRYHI
When KVM is enabled and TLB invalidation is supported, kvm_mips_flush_host_tlb() can cause a machine check exception due to multiple matching TLB entries. This can occur on shutdown even when KVM hasn't been actively used. Commit adb78de9eae8 (MIPS: mm: Move UNIQUE_ENTRYHI macro to a header file) created a common UNIQUE_ENTRYHI in asm/tlb.h but it didn't update the copy of UNIQUE_ENTRYHI in kvm_tlb.c to use it. Commit 36b175451399 (MIPS: tlb: Set the EHINV bit for TLBINVF cores when invalidating the TLB) later added TLB invalidation (EHINV) support to the common UNIQUE_ENTRYHI. Therefore make kvm_tlb.c use the EHINV aware UNIQUE_ENTRYHI implementation in asm/tlb.h too. Signed-off-by: James Hogan <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: [email protected] Cc: Gleb Natapov <[email protected]> Cc: [email protected] Cc: Sanjay Lal <[email protected]> Reviewed-by: Markos Chandras <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Signed-off-by: John Crispin <[email protected]> Patchwork: http://patchwork.linux-mips.org/patch/6383/
Diffstat (limited to 'arch/mips/lasat/picvue.c')
0 files changed, 0 insertions, 0 deletions