]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/mce: Add a clear_bank() helper
authorYazen Ghannam <yazen.ghannam@amd.com>
Mon, 8 Sep 2025 15:40:36 +0000 (15:40 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 11 Sep 2025 10:23:30 +0000 (12:23 +0200)
commit5c6f123c419b6e20f84ac1683089a52f449273aa
tree1ada3ddec48638ab7cc42c2dd0cad44dc736c4ae
parent91af6842e9945d064401ed2d6e91539a619760d1
x86/mce: Add a clear_bank() helper

Add a helper at the end of the MCA polling function to collect vendor and/or
feature actions.

Start with a basic skeleton for now. Actions for AMD thresholding and deferred
errors will be added later.

  [ bp: Drop the obvious comment too. ]

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/20250908-wip-mca-updates-v6-0-eef5d6c74b9c@amd.com
arch/x86/kernel/cpu/mce/amd.c
arch/x86/kernel/cpu/mce/core.c
arch/x86/kernel/cpu/mce/internal.h