Skip to content

Commit

Permalink
EDAC/mce/amd: Dump TSC value
Browse files Browse the repository at this point in the history
Dump the TSC value of the time when the MCE got logged.

Signed-off-by: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
suryasaimadhu authored and Ingo Molnar committed Jan 24, 2017
1 parent 1fbcd90 commit 0bceab6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/edac/mce_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0bceab6

Please sign in to comment.