KVM: MIPS: Let indexed cacheops cause guest exit on Loongson-3
authorHuacai Chen <chenhc@lemote.com>
Sat, 23 May 2020 07:56:35 +0000 (15:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jun 2020 17:49:08 +0000 (13:49 -0400)
commit49bb96003fb19b77a0116d9330bdfd61aa41244b
treeaea9a36dc7775654b32769411c58b9dc1dc28e49
parent52c07e1cbb6e16a0fe70646b4bc63f714caa0f3b
KVM: MIPS: Let indexed cacheops cause guest exit on Loongson-3

Loongson-3's indexed cache operations need a node-id in the address,
but in KVM guest the node-id may be incorrect. So, let indexed cache
operations cause guest exit on Loongson-3.

Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Co-developed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-Id: <1590220602-3547-9-git-send-email-chenhc@lemote.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/vz.c