summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mcheck
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2010-05-18 13:59:05 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2010-08-03 16:14:02 +0200
commit98a5ae2d99b78d29d2d31283cd8b481a44f41fd3 (patch)
treedc8c613f68a1a66ce71448bad09e21df073701cd /arch/x86/kernel/cpu/mcheck
parent695426506ebba6acc87843cca075595a775e8866 (diff)
downloadop-kernel-dev-98a5ae2d99b78d29d2d31283cd8b481a44f41fd3.zip
op-kernel-dev-98a5ae2d99b78d29d2d31283cd8b481a44f41fd3.tar.gz
x86, mce: Notify about corrected events too
Notify all parties registered on the mce decoder chain about logged correctable MCEs. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Acked-by: Doug Thompson <dougthompson@xmission.com> Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
index 18cc425..1970ef9 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -600,6 +600,7 @@ void machine_check_poll(enum mcp_flags flags, mce_banks_t *b)
*/
if (!(flags & MCP_DONTLOG) && !mce_dont_log_ce) {
mce_log(&m);
+ atomic_notifier_call_chain(&x86_mce_decoder_chain, 0, &m);
add_taint(TAINT_MACHINE_CHECK);
}
OpenPOWER on IntegriCloud