diff options
| author | Jasjeet Rangi <jrangi@purestorage.com> | 2026-08-12 16:15:13 -0600 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-09-02 14:20:59 -0700 |
| commit | 7755fae2ea370ee914797c5bcca922836a818c3d (patch) | |
| tree | 12f53531c112c507f8fbd95197e7cc530a2c5194 /scripts/Makefile.thinlto | |
| parent | 60714fb1d494e11d1eb54b0aef45e250c51279a8 (diff) | |
| download | linux-next-7755fae2ea370ee914797c5bcca922836a818c3d.tar.gz linux-next-7755fae2ea370ee914797c5bcca922836a818c3d.zip | |
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>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260812221514.598842-2-jrangi@purestorage.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
