diff options
author | Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com> | 2020-06-23 08:00:59 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-06-23 17:27:53 +0200 |
commit | bb2de0adca217a114ce023489426e24152e4bfcf (patch) | |
tree | 7ebcc6d73aa84baa3438676285a7629d389ee234 /drivers/edac | |
parent | 5ba7821bcf7d82e35582fce8fe65cd160a6954b4 (diff) | |
download | linux-bb2de0adca217a114ce023489426e24152e4bfcf.tar.bz2 |
x86/mce, EDAC/mce_amd: Print PPIN in machine check records
Print the Protected Processor Identification Number (PPIN) on processors
which support it.
[ bp: Massage. ]
Signed-off-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200623130059.8870-1-Smita.KoralahalliChannabasappa@amd.com
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/mce_amd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index 2b5401db56ad..325aedf46ff2 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c @@ -1094,6 +1094,9 @@ amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data) if (m->status & MCI_STATUS_ADDRV) pr_emerg(HW_ERR "Error Addr: 0x%016llx\n", m->addr); + if (m->ppin) + pr_emerg(HW_ERR "PPIN: 0x%016llx\n", m->ppin); + if (boot_cpu_has(X86_FEATURE_SMCA)) { pr_emerg(HW_ERR "IPID: 0x%016llx", m->ipid); |