• James Hogan's avatar
    KVM: MIPS: Update exit handler for VZ · ea1bdbf6
    James Hogan authored
    The general guest exit handler needs a few tweaks for VZ compared to
    trap & emulate, which for now are made directly depending on
    CONFIG_KVM_MIPS_VZ:
    
    - There is no need to re-enable the hardware page table walker (HTW), as
      it can be left enabled during guest mode operation with VZ.
    
    - There is no need to perform a privilege check, as any guest privilege
      violations should have already been detected by the hardware and
      triggered the appropriate guest exception.
    Signed-off-by: default avatarJames 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
    ea1bdbf6
mips.c 41.5 KB