[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-0bceab677dcef409f6281d922461057721d547b3@git.kernel.org>
Date: Tue, 24 Jan 2017 00:50:03 -0800
From: tip-bot for Borislav Petkov <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: hpa@...or.com, linux-edac@...r.kernel.org, tony.luck@...el.com,
bp@...e.de, torvalds@...ux-foundation.org, peterz@...radead.org,
mingo@...nel.org, Yazen.Ghannam@....com, tglx@...utronix.de,
linux-kernel@...r.kernel.org
Subject: [tip:ras/core] EDAC/mce/amd: Dump TSC value
Commit-ID: 0bceab677dcef409f6281d922461057721d547b3
Gitweb: http://git.kernel.org/tip/0bceab677dcef409f6281d922461057721d547b3
Author: Borislav Petkov <bp@...e.de>
AuthorDate: Mon, 23 Jan 2017 19:35:12 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 24 Jan 2017 09:14:56 +0100
EDAC/mce/amd: Dump TSC value
Dump the TSC value of the time when the MCE got logged.
Signed-off-by: Borislav Petkov <bp@...e.de>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tony Luck <tony.luck@...el.com>
Cc: Yazen Ghannam <Yazen.Ghannam@....com>
Cc: linux-edac <linux-edac@...r.kernel.org>
Link: http://lkml.kernel.org/r/20170123183514.13356-8-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
drivers/edac/mce_amd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index 5cd3c39..ecad750 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -1007,6 +1007,9 @@ amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
} else
pr_cont("\n");
+ if (m->tsc)
+ pr_emerg(HW_ERR "TSC: %llu\n", m->tsc);
+
if (!fam_ops)
goto err_code;
Powered by blists - more mailing lists