• Sam Bobroff's avatar
    powerpc/eeh: Correct retries in eeh_pe_reset_full() · 195482c3
    Sam Bobroff authored
    Currently, eeh_pe_reset_full() will only attempt to reset a PE more
    than once if activating the reset state and deactivating it both
    succeed, but later polling shows that it hasn't become active.
    
    Change this so that it will try up to three times for any reason other
    than an unrecoverable slot error and adjust the message generation so
    that it's clear weather the reset has ultimately succeeded or failed.
    This allows the reset to succeed in some situations where it would
    currently fail.
    Signed-off-by: default avatarSam Bobroff <sbobroff@linux.ibm.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    195482c3
eeh.c 48.7 KB