mbox series

[RFC,0/3] ACPI: extlog: Log and trace similarly to GHES

Message ID 20240507190724.323269-1-fabio.m.de.francesco@linux.intel.com
Headers show
Series ACPI: extlog: Log and trace similarly to GHES | expand

Message

Fabio M. De Francesco May 7, 2024, 7:02 p.m. UTC
When Firmware First is enabled, BIOS handles errors first and then it
makes them available to the kernel via the Common Platform Error Record
(CPER) sections (UEFI 2.10 Appendix N). Linux parses the CPER sections
via two similar paths, ELOG and GHES.

Currently, ELOG and GHES show some inconsistencies in how they print to
the kernel log as well as in how they report to userspace via trace
events.

This short series wants to make these two competing path act similarly.

This is an RFC mainly because of patch 3/3 which enables kernel logging
even in precence of userspace monitoring events. I'm not sure if this
behavior is wanted.

Fabio M. De Francesco (3):
  ACPI: extlog: Trace CPER Non-standard Section Body
  ACPI: extlog: Trace PCI Express Error Section
  ACPI: extlog: Make print_extlog_rcd() log unconditionally

 drivers/acpi/acpi_extlog.c | 44 +++++++++++++++++++++++++++++++++-----
 drivers/ras/debugfs.c      |  6 ------
 include/linux/ras.h        |  2 --
 3 files changed, 39 insertions(+), 13 deletions(-)