KVM: MIPS: Add more MMIO load/store instructions emulation
authorHuacai Chen <chenhc@lemote.com>
Sat, 23 May 2020 07:56:40 +0000 (15:56 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jun 2020 17:51:49 +0000 (13:51 -0400)
commitdc6d95b153e78ed70b1b2c04aadffb76bcd2b3ec
treeb12718af578c1ffd7286fa8e0253a9fad13033a1
parent8a5097ee90c25656db23f44520a9dad7983d88fb
KVM: MIPS: Add more MMIO load/store instructions emulation

This patch add more MMIO load/store instructions emulation, which can
be observed in QXL and some other device drivers:

1, LWL, LWR, LDW, LDR, SWL, SWR, SDL and SDR for all MIPS;
2, GSLBX, GSLHX, GSLWX, GSLDX, GSSBX, GSSHX, GSSWX and GSSDX for
   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-14-git-send-email-chenhc@lemote.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/emulate.c