• Gavin Shan's avatar
    powerpc/eeh: Introduce flag EEH_PE_REMOVED · 432227e9
    Gavin Shan authored
    The conditions that one specific PE's frozen count exceeds the maximal
    allowed times (EEH_MAX_ALLOWED_FREEZES) and it's in isolated or recovery
    state indicate the PE was removed permanently implicitly. The patch
    introduces flag EEH_PE_REMOVED to indicate that explicitly so that we
    don't depend on the fixed maximal allowed times, which can be varied as
    we do in subsequent patch.
    
    Flag EEH_PE_REMOVED is expected to be marked for the PE whose frozen
    count exceeds the maximal allowed times, or just failed from recovery.
    Requested-by: default avatarRyan Grimm <grimm@linux.vnet.ibm.com>
    Signed-off-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    432227e9
eeh.h 14.6 KB