aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2018-11-27 14:41:37 +0100
committerBorislav Petkov <[email protected]>2018-11-28 10:10:36 +0100
commit60c8144afc287ef09ce8c1230c6aa972659ba1bb (patch)
tree9717bd4fcefcdb068fd737b31f9f52f054dcf1fd /tools/perf/scripts/python/bin/export-to-postgresql-report
parentac26d1f74cfc19c8dc9d533b5f20e99dbee3d9bd (diff)
x86/MCE/AMD: Fix the thresholding machinery initialization order
Currently, the code sets up the thresholding interrupt vector and only then goes about initializing the thresholding banks. Which is wrong, because an early thresholding interrupt would cause a NULL pointer dereference when accessing those banks and prevent the machine from booting. Therefore, set the thresholding interrupt vector only *after* having initialized the banks successfully. Fixes: 18807ddb7f88 ("x86/mce/AMD: Reset Threshold Limit after logging error") Reported-by: Rafał Miłecki <[email protected]> Reported-by: John Clemens <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Tested-by: Rafał Miłecki <[email protected]> Tested-by: John Clemens <[email protected]> Cc: Aravind Gopalakrishnan <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Tony Luck <[email protected]> Cc: [email protected] Cc: Yazen Ghannam <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Link: https://bugzilla.kernel.org/show_bug.cgi?id=201291
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions