• James Hogan's avatar
    MIPS: KVM: Relative branch to common exit handler · 1f9ca62c
    James Hogan authored
    Use a relative branch to get from the individual exception vectors to
    the common guest exit handler, rather than loading the address of the
    exit handler and jumping to it.
    
    This is made easier due to the fact we are now generating the entry code
    dynamically. This will also allow the exception code to be further
    reduced in future patches.
    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>
    1f9ca62c
entry.c 18.8 KB