• Nicholas Piggin's avatar
    powerpc/64s: fix handling of non-synchronous machine checks · 1363875b
    Nicholas Piggin authored
    A synchronous machine check is an exception raised by the attempt to
    execute the current instruction. If the error can't be corrected, it
    can make sense to SIGBUS the currently running process.
    
    In other cases, the error condition is not related to the current
    instruction, so killing the current process is not the right thing to
    do.
    
    Today, all machine checks are MCE_SEV_ERROR_SYNC, so this has no
    practical change. It will be used to handle POWER9 asynchronous
    machine checks.
    Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    1363875b
opal.c 22.2 KB