• James Hogan's avatar
    MIPS: KVM: Set CP0_Status.KX on MIPS64 · 1d756942
    James Hogan authored
    Update the KVM entry code to set the CP0_Entry.KX bit on 64-bit kernels.
    This is important to allow the entry code, running in kernel mode, to
    access the full 64-bit address space right up to the point of entering
    the guest, and immediately after exiting the guest, so it can safely
    restore & save the guest context from 64-bit segments.
    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
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    1d756942
entry.c 18.6 KB