• Paul Mackerras's avatar
    powerpc/64: Allow for relocation-on interrupts from guest to host · bc355125
    Paul Mackerras authored
    With host and guest both using radix translation, it is feasible
    for the host to take interrupts that come from the guest with
    relocation on, and that is in fact what the POWER9 hardware will
    do when LPCR[AIL] = 3.  All such interrupts use HSRR0/1 not SRR0/1
    except for system call with LEV=1 (hcall).
    
    Therefore this adds the KVM tests to the _HV variants of the
    relocation-on interrupt handlers, and adds the KVM test to the
    relocation-on system call entry point.
    
    We also instantiate the relocation-on versions of the hypervisor
    data storage and instruction interrupt handlers, since these can
    occur with relocation on in radix guests.
    Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    bc355125
exceptions-64s.S 44.3 KB