• James Hogan's avatar
    MIPS: Probe guest CP0_UserLocal · a7c7ad6c
    James Hogan authored
    Probe for presence of guest CP0_UserLocal register and expose via
    cpu_guest_has_userlocal. This register is optional pre-r6, so this will
    allow KVM to only save/restore/expose the guest CP0_UserLocal register
    if it exists.
    Signed-off-by: default avatarJames Hogan <james.hogan@imgtec.com>
    Acked-by: default avatarRalf Baechle <ralf@linux-mips.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: "Radim Krčmář" <rkrcmar@redhat.com>
    Cc: linux-mips@linux-mips.org
    Cc: kvm@vger.kernel.org
    a7c7ad6c
cpu-features.h 17.2 KB