summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorYazen Ghannam <Yazen.Ghannam@amd.com>2016-09-12 09:59:38 +0200
committerThomas Gleixner <tglx@linutronix.de>2016-09-13 15:23:13 +0200
commit4b711f92c9b21878794597997ecda1428acc334c (patch)
treee66235e4b2d909072edc8c2f002f21fdcec2122b /drivers/edac
parent5828c46f2c07b97d758da6dc6afd5c374768d44d (diff)
downloadop-kernel-dev-4b711f92c9b21878794597997ecda1428acc334c.zip
op-kernel-dev-4b711f92c9b21878794597997ecda1428acc334c.tar.gz
x86/mce, EDAC/mce_amd: Print MCA_SYND and MCA_IPID during MCE on SMCA systems
The MCA_SYND and MCA_IPID registers contain valuable information and should be included in MCE output. The MCA_SYND register contains syndrome and other error information, and the MCA_IPID register will uniquely identify the MCA bank's type without having to rely on system software. Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1472680624-34221-2-git-send-email-Yazen.Ghannam@amd.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/mce_amd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 99b3bf3..e8855a4 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -984,6 +984,8 @@ int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
if (m->status & MCI_STATUS_SYNDV)
pr_cont(", Syndrome: 0x%016llx", m->synd);
+ pr_cont(", IPID: 0x%016llx", m->ipid);
+
pr_cont("\n");
decode_smca_errors(m);
OpenPOWER on IntegriCloud