]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/edac/mce_amd.c
MCE, AMD: Fix decoding module loading on unsupported hw
authorBorislav Petkov <bp@suse.de>
Mon, 17 Feb 2014 19:51:52 +0000 (20:51 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 24 Feb 2014 09:25:47 +0000 (10:25 +0100)
commitfd0f5ffff8a21fd9a32688b850c5bd694e76cc27
tree8e21d9977b96ee04bfa5f0c93da05c7244ddf965
parent9d6c7cbe3073668cc5381978bb800f5e901c178e
MCE, AMD: Fix decoding module loading on unsupported hw

We want to still be able to issue some error information on systems for
which there is no decoding support (think older distro kernels here,
for example). Therefore, we allow module registration but skip the
per-family bank-specific decoders and issue the general information
only, i.e.:

[   46.822828] [Hardware Error]: Error Status: Uncorrected, software containable error.
[   46.822846] [Hardware Error]: CPU:0 (15:30:0) MC0_STATUS[-|UE|-|-|-|-|-]: 0xa000000000010f0f
[   46.822858] [Hardware Error]: cache level: L3/GEN, mem/io: GEN, mem-tx: GEN, part-proc: GEN (timed out)

with the hope that it still contains helpful useful bits.

Suggested-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
Tested-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
Link: http://lkml.kernel.org/r/1392659391-2411-1-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd.c