RE: [PATCH 1/3] x86/MCE, EDAC/mce_amd: Add support for new MCA_SYND{1,2} registers
From: Luck, Tony
Date: Mon Oct 24 2022 - 19:32:44 EST
> I missed the pre-pended length bit ... with that it all makes sense.
Though the other place where mce records are visible to user space
is in trace records. See:
include/trace/events/mce.h
(N.B. this needs an update to include the ppin and microcode fields).
If these new fields need to be in the trace log, and we want to make
it easy to extend, then have to figure out how to handle this in a way
that doesn't confuse applications (rasdaemon ... are there others)
that consume the trace records.
-Tony