diff options
| author | Jasjeet Rangi <jrangi@purestorage.com> | 2026-08-12 16:15:13 -0600 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-09-08 09:16:32 +0200 |
| commit | d2929113b15bfc06793b852aeba3d2db6d79fcc9 (patch) | |
| tree | 9457bfcb680a01f77391118dbbc455fe22f963e5 /tools/lib/python/kdoc/python_version.py | |
| parent | aefdbd574a362dcf7569bada6d72f64a006b9fb9 (diff) | |
x86/MCE/AMD: Fix inverted interrupt enablement during storm handling
mce_amd_handle_storm() currently does the opposite of what storm
handling needs: it enables thresholding interrupts when a storm is
detected and disables them when the storm subsides.
Flip the "on" function argument before passing it to threshold_restart_bank()
as it should have been done.
To clarify: "on" to mce_handle_storm() means, the storm is on now when
"on" is true, and off when "on" is false.
[ bp: Simplify. ]
Fixes: 5c4663ed1eac ("x86/mce: Handle AMD threshold interrupt storms")
Signed-off-by: Jasjeet Rangi <jrangi@purestorage.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260812221514.598842-2-jrangi@purestorage.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
