]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/mce/amd: Define threshold restart function for banks
authorYazen Ghannam <yazen.ghannam@amd.com>
Tue, 4 Nov 2025 14:55:43 +0000 (14:55 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 5 Nov 2025 21:38:31 +0000 (22:38 +0100)
commit56f17be67a332d146821d1a812ab16388d07ace7
tree1cdb1c2e6b7e16694b4ce87ba7b9fa42b0b4f8c2
parent3206b41604f80bb84c19ae3ed7c01d9d671ece2a
x86/mce/amd: Define threshold restart function for banks

Prepare for CMCI storm support by moving the common bank/block iterator code
to a helper function.

Include a parameter to switch the interrupt enable. This will be used by the
CMCI storm handling function.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/20251104-wip-mca-updates-v8-0-66c8eacf67b9@amd.com
arch/x86/kernel/cpu/mce/amd.c