aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2020-07-07 19:43:24 +0000
committerBorislav Petkov <[email protected]>2020-08-18 13:40:30 +0000
commit45bc6098a3e279d8e391d22428396687562797e2 (patch)
tree4d790540ea254bed87afa7a84c3de23ae4b0bf4d /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
parentLinux 5.9-rc1 (diff)
downloadkernel-45bc6098a3e279d8e391d22428396687562797e2.tar.gz
kernel-45bc6098a3e279d8e391d22428396687562797e2.zip
EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
IA32_MCG_STATUS.RIPV indicates whether the return RIP value pushed onto the stack as part of machine check delivery is valid or not. Various drivers copied a code fragment that uses the RIPV bit to determine the severity of the error as either HW_EVENT_ERR_UNCORRECTED or HW_EVENT_ERR_FATAL, but this check is reversed (marking errors where RIPV is set as "FATAL"). Reverse the tests so that the error is marked fatal when RIPV is not set. Reported-by: Gabriele Paoloni <[email protected]> Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions