diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-02-28 05:00:46 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-03-10 08:32:06 +0300 |
commit | 1363875bdb6317a2d0798284d7aaf320f0782f6d (patch) | |
tree | 5fca3bc76a159eb53f63e3cb4b59ca4cad6d8031 /arch/powerpc/kernel | |
parent | 46f401c4297a2232a037ad8801b6c83c90414cf7 (diff) | |
download | linux-1363875bdb6317a2d0798284d7aaf320f0782f6d.tar.xz |
powerpc/64s: fix handling of non-synchronous machine checks
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: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions