diff options
author | Jan H. Schönherr <[email protected]> | 2019-12-10 01:07:30 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-12-17 09:39:53 +0100 |
commit | a3a57ddad061acc90bef39635caf2b2330ce8f21 (patch) | |
tree | 7f649e31398ef13060829531a27e706aa8f1fb0b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 966af20929ac24360ba3fac5533eb2ab003747da (diff) |
x86/mce: Fix possibly incorrect severity calculation on AMD
The function mce_severity_amd_smca() requires m->bank to be initialized
for correct operation. Fix the one case, where mce_severity() is called
without doing so.
Fixes: 6bda529ec42e ("x86/mce: Grade uncorrected errors for SMCA-enabled systems")
Fixes: d28af26faa0b ("x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out()")
Signed-off-by: Jan H. Schönherr <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: linux-edac <[email protected]>
Cc: <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions