Skip to content

RFC x86/RAS: Dump error record to dmesg if no consumers

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3notifiers: Document notifier priorityinclude/linux/notifier.h+1 -00 replies
2/3x86/RAS: Add TSC to the injected MCEarch/x86/ras/mce_amd_inj.c+2 -00 replies
3/3x86/MCE: Dump MCE to dmesg if no consumersarch/x86/kernel/cpu/mcheck/mce.c+46 -60 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTony Luck
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] x86/RAS: Dump error record to dmesg if no consumers

From: Borislav Petkov <[email protected]>

Right,

so this is not a good thing: systems may not have any error record consumers registered and in such cases, any logged MCEs disappear into the void. And this shouldn't happen.

So let's dump them to dmesg as a last resort.

Borislav Petkov (3):
notifiers: Document notifier priority
x86/RAS: Add TSC to the injected MCE
x86/MCE: Dump MCE to dmesg if no consumers

 arch/x86/kernel/cpu/mcheck/mce.c | 52 +++++++++++++++++++++++++++++++++++-----
 arch/x86/ras/mce_amd_inj.c       |  2 ++
 include/linux/notifier.h         |  1 +
 3 files changed, 49 insertions(+), 6 deletions(-)
Signature · 1 line
2.10.0