x86, mce: Drop the default decoding notifier
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 20 Apr 2011 10:23:49 +0000 (12:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Apr 2011 09:35:10 +0000 (11:35 +0200)
commitdffa4b2f62ff28c982144c7033001b1ece4d3532
tree6f8fd2c07121621a341c24f4ca83b1f58cfad2c1
parent7b70bd3441437b7bc04fc9d321e17c8ed0e8f958
x86, mce: Drop the default decoding notifier

The default notifier doesn't make a lot of sense to call in the
correctable errors case. Drop it and emit the mcelog decoding
hint only in the uncorrectable errors case and when no notifier
is registered. Also, limit issuing the "mcelog --ascii" message
in the rare case when we dump unreported CEs before panicking.

While at it, remove unused old x86_mce_decode_callback from the
header.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Nagananda Chumbalkar <Nagananda.Chumbalkar@hp.com>
Cc: Russ Anderson <rja@sgi.com>
Link: http://lkml.kernel.org/r/20110420102349.GB1361@aftab
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mcheck/mce.c