aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/utils.c
diff options
context:
space:
mode:
authorJP Kobryn <[email protected]>2025-06-27 17:49:35 +0000
committerBorislav Petkov (AMD) <[email protected]>2025-06-28 10:45:48 +0000
commit30ad231a5029bfa16e46ce868497b1a5cdd3c24d (patch)
tree1a5a9c2d1cefc2123ed9ae7c4eff85081580ba1e /lib/crypto/utils.c
parentx86/mce/amd: Fix threshold limit reset (diff)
downloadkernel-30ad231a5029bfa16e46ce868497b1a5cdd3c24d.tar.gz
kernel-30ad231a5029bfa16e46ce868497b1a5cdd3c24d.zip
x86/mce: Make sure CMCI banks are cleared during shutdown on Intel
CMCI banks are not cleared during shutdown on Intel CPUs. As a side effect, when a kexec is performed, CPUs coming back online are unable to rediscover/claim these occupied banks which breaks MCE reporting. Clear the CPU ownership during shutdown via cmci_clear() so the banks can be reclaimed and MCE reporting will become functional once more. [ bp: Massage commit message. ] Reported-by: Aijay Adams <[email protected]> Signed-off-by: JP Kobryn <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Tony Luck <[email protected]> Reviewed-by: Qiuxu Zhuo <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/[email protected]
Diffstat (limited to 'lib/crypto/utils.c')
0 files changed, 0 insertions, 0 deletions