summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2017-03-14 11:15:15 +0100
committerJames Hogan <james.hogan@imgtec.com>2017-03-28 15:53:44 +0200
commit8b48d5b75dc4cbae8cfe83648f9e4e10cb407dce (patch)
tree13c50919f63ebdd6742c9ebec9779d390bd9a359 /Makefile
parentKVM: MIPS: Implement HYPCALL emulation (diff)
downloadlinux-8b48d5b75dc4cbae8cfe83648f9e4e10cb407dce.tar.xz
linux-8b48d5b75dc4cbae8cfe83648f9e4e10cb407dce.zip
KVM: MIPS/Emulate: De-duplicate MMIO emulation
Refactor MIPS KVM MMIO load/store emulation to reduce code duplication. Each duplicate differed slightly anyway, and it will simplify adding 64-bit MMIO support for VZ. kvm_mips_emulate_store() and kvm_mips_emulate_load() can now return EMULATE_DO_MMIO (as possibly originally intended). We therefore stop calling either of these from kvm_mips_emulate_inst(), which is now only used by kvm_trap_emul_handle_cop_unusable() which is picky about return values. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Radim Krčmář" <rkrcmar@redhat.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Cc: kvm@vger.kernel.org
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions