Messages in this thread | | | From | "Luck, Tony" <> | Subject | RE: [PATCH 1/3] x86/MCE, EDAC/mce_amd: Add support for new MCA_SYND{1,2} registers | Date | Mon, 24 Oct 2022 21:52:45 +0000 |
| |
> 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
| |