• James Hogan's avatar
    KVM: MIPS/T&E: Expose read-only CP0_IntCtl register · ad58d4d4
    James Hogan authored
    Expose the CP0_IntCtl register through the KVM register access API,
    which is a required register since MIPS32r2. It is currently read-only
    since the VS field isn't implemented due to lack of Config3.VInt or
    Config3.VEIC.
    
    It is implemented in trap_emul.c so that a VZ implementation can allow
    writes.
    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
    ad58d4d4
trap_emul.c 34.4 KB