diff options
author | Borislav Petkov <bp@suse.de> | 2017-01-23 19:35:12 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-01-24 09:14:56 +0100 |
commit | 0bceab677dcef409f6281d922461057721d547b3 (patch) | |
tree | aae55262b5f0e50d8904a507e3642037f068de75 /drivers/edac | |
parent | 1fbcd909035251b5eac267f1c5d6d67b32d16b62 (diff) | |
download | linux-stable-0bceab677dcef409f6281d922461057721d547b3.tar.gz linux-stable-0bceab677dcef409f6281d922461057721d547b3.tar.bz2 linux-stable-0bceab677dcef409f6281d922461057721d547b3.zip |
EDAC/mce/amd: Dump TSC value
Dump the TSC value of the time when the MCE got logged.
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170123183514.13356-8-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 5cd3c39bc695..ecad750fd090 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; |