• James Hogan's avatar
    MIPS: KVM: Fix fpu.S misassembly with r6 · d14740fe
    James Hogan authored
    __kvm_save_fpu and __kvm_restore_fpu use .set mips64r2 so that they can
    access the odd FPU registers as well as the even, however this causes
    misassembly of the return instruction on MIPSr6.
    
    Fix by replacing .set mips64r2 with .set fp=64, which doesn't change the
    architecture revision.
    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>
    d14740fe
fpu.S 2.99 KB