• Michael Ellerman's avatar
    powerpc: Remove KVMTEST from RELON exception handlers · c9f69518
    Michael Ellerman authored
    KVMTEST is a macro which checks whether we are taking an exception from
    guest context, if so we branch out of line and eventually call into the
    KVM code to handle the switch.
    
    When running real guests on bare metal (HV KVM) the hardware ensures
    that we never take a relocation on exception when transitioning from
    guest to host. For PR KVM we disable relocation on exceptions ourself in
    kvmppc_core_init_vm(), as of commit a413f474 "Disable relocation on
    exceptions whenever PR KVM is active".
    
    So convert all the RELON macros to use NOTEST, and drop the remaining
    KVM_HANDLER() definitions we have for 0xe40 and 0xe80.
    Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
    CC: <stable@vger.kernel.org> [v3.9+]
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    c9f69518
exception-64s.h 17.5 KB