diff options
| author | 2025-06-24 14:15:57 +0000 | |
|---|---|---|
| committer | 2025-06-27 12:41:44 +0200 | |
| commit | 00c092de6f28ebd32208aef83b02d61af2229b60 (patch) | |
| tree | f601a19321a46526de6cc352c95390fe3b665fb4 /scripts/lib/kdoc/kdoc_re.py | |
| parent | x86/mce: Don't remove sysfs if thresholding sysfs init fails (diff) | |
| download | wireguard-linux-00c092de6f28ebd32208aef83b02d61af2229b60.tar.xz wireguard-linux-00c092de6f28ebd32208aef83b02d61af2229b60.zip | |
x86/mce: Ensure user polling settings are honored when restarting timer
Users can disable MCA polling by setting the "ignore_ce" parameter or by
setting "check_interval=0". This tells the kernel to *not* start the MCE
timer on a CPU.
If the user did not disable CMCI, then storms can occur. When these
happen, the MCE timer will be started with a fixed interval. After the
storm subsides, the timer's next interval is set to check_interval.
This disregards the user's input through "ignore_ce" and
"check_interval". Furthermore, if "check_interval=0", then the new timer
will run faster than expected.
Create a new helper to check these conditions and use it when a CMCI
storm ends.
[ bp: Massage. ]
Fixes: 7eae17c4add5 ("x86/mce: Add per-bank CMCI storm mitigation")
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-2-236dd74f645f@amd.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
