summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/kvm_tlb.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-05-29 13:16:25 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-30 14:59:54 +0400
commitfacaaec1a72db90127b71d22e788596cf1991ae1 (patch)
treead02ed426464fafa7b56eadd7514eb3f9c9d7d4b /arch/mips/kvm/kvm_tlb.c
parent90f91356c7d67ddd98d817838df69335cb831eaa (diff)
downloadlinux-facaaec1a72db90127b71d22e788596cf1991ae1.tar.xz
MIPS: KVM: Use local_flush_icache_range to fix RI on XBurst
MIPS KVM uses mips32_SyncICache to synchronise the icache with the dcache after dynamically modifying guest instructions or writing guest exception vector. However this uses rdhwr to get the SYNCI step, which causes a reserved instruction exception on Ingenic XBurst cores. It would seem to make more sense to use local_flush_icache_range() instead which does the same thing but is more portable. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Gleb Natapov <gleb@kernel.org> Cc: kvm@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: Sanjay Lal <sanjayl@kymasys.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mips/kvm/kvm_tlb.c')
0 files changed, 0 insertions, 0 deletions