diff options
author | Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com> | 2020-06-23 15:00:59 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-06-23 17:27:53 +0200 |
commit | bb2de0adca217a114ce023489426e24152e4bfcf (patch) | |
tree | 7ebcc6d73aa84baa3438676285a7629d389ee234 /arch/x86/kernel | |
parent | x86/mce/dev-mcelog: Use struct_size() helper in kzalloc() (diff) | |
download | linux-bb2de0adca217a114ce023489426e24152e4bfcf.tar.xz linux-bb2de0adca217a114ce023489426e24152e4bfcf.zip |
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 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/mce/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c index ce9120c4f740..0865349502d5 100644 --- a/arch/x86/kernel/cpu/mce/core.c +++ b/arch/x86/kernel/cpu/mce/core.c @@ -244,6 +244,8 @@ static void __print_mce(struct mce *m) pr_cont("ADDR %llx ", m->addr); if (m->misc) pr_cont("MISC %llx ", m->misc); + if (m->ppin) + pr_cont("PPIN %llx ", m->ppin); if (mce_flags.smca) { if (m->synd) |