diff options
author | Yazen Ghannam <yazen.ghannam@amd.com> | 2025-06-24 17:15:59 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-06-27 14:16:23 +0300 |
commit | 5f6e3b720694ad771911f637a51930f511427ce1 (patch) | |
tree | b7f85153e6cbe596a725f5c897756b3f8297ae99 /scripts/lib/kdoc/kdoc_parser.py | |
parent | d66e1e90b16055d2f0ee76e5384e3f119c3c2773 (diff) | |
download | linux-5f6e3b720694ad771911f637a51930f511427ce1.tar.xz |
x86/mce/amd: Fix threshold limit reset
The MCA threshold limit must be reset after servicing the interrupt.
Currently, the restart function doesn't have an explicit check for this. It
makes some assumptions based on the current limit and what's in the registers.
These assumptions don't always hold, so the limit won't be reset in some
cases.
Make the reset condition explicit. Either an interrupt/overflow has occurred
or the bank is being initialized.
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/20250624-wip-mca-updates-v4-4-236dd74f645f@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions