• Cédric Le Goater's avatar
    powerpc/xive: add XIVE Exploitation Mode to CAS · ac5e5a54
    Cédric Le Goater authored
    On POWER9, the Client Architecture Support (CAS) negotiation process
    determines whether the guest operates in XIVE Legacy compatibility or
    in XIVE exploitation mode. Now that we have initial guest support for
    the XIVE interrupt controller, let's inform the hypervisor what we can
    do.
    
    The platform advertises the XIVE Exploitation Mode support using the
    property "ibm,arch-vec-5-platform-support-vec-5", byte 23 bits 0-1 :
    
     - 0b00 XIVE legacy mode Only
     - 0b01 XIVE exploitation mode Only
     - 0b10 XIVE legacy or exploitation mode
    
    The OS asks for XIVE Exploitation Mode support using the property
    "ibm,architecture-vec-5", byte 23 bits 0-1:
    
     - 0b00 XIVE legacy mode Only
     - 0b01 XIVE exploitation mode Only
    Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    ac5e5a54
prom.h 7.17 KB