diff options
author | Tony Luck <[email protected]> | 2023-11-15 11:54:48 -0800 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-12-15 13:44:12 +0100 |
commit | 3ed57b41a4125609e9fd03e32228aec61d95fe1f (patch) | |
tree | cbd8d4c52f587ba80c8b1f63489603b68e7fe7c6 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | cf0573939d3f4ce822ceb742a8179f38697b1953 (diff) |
x86/mce: Remove old CMCI storm mitigation code
When a "storm" of corrected machine check interrupts (CMCI) is detected
this code mitigates by disabling CMCI interrupt signalling from all of
the banks owned by the CPU that saw the storm.
There are problems with this approach:
1) It is very coarse grained. In all likelihood only one of the banks
was generating the interrupts, but CMCI is disabled for all. This
means Linux may delay seeing and processing errors logged from other
banks.
2) Although CMCI stands for Corrected Machine Check Interrupt, it is
also used to signal when an uncorrected error is logged. This is
a problem because these errors should be handled in a timely manner.
Delete all this code in preparation for a finer grained solution.
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Yazen Ghannam <[email protected]>
Tested-by: Yazen Ghannam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions