• James Hogan's avatar
    MIPS: KVM: Check MSA presence at uasm time · 38ea7a71
    James Hogan authored
    Check for presence of MSA at uasm assembly time rather than at runtime
    in the generated KVM host entry code. This optimises the guest exit path
    by eliminating the MSA code entirely if not present, and eliminating the
    read of Config3.MSAP and conditional branch if MSA is present.
    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>
    38ea7a71
entry.c 16.6 KB