• J
    MIPS: KVM: Check MSA presence at uasm time · 38ea7a71
    James Hogan 提交于
    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: NJames 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: NPaolo Bonzini <pbonzini@redhat.com>
    38ea7a71
entry.c 16.6 KB