mbox series

[v3,0/3] Fix CPER issues related to UEFI 2.9A Errata

Message ID cover.1718868693.git.mchehab+huawei@kernel.org (mailing list archive)
Headers show
Series Fix CPER issues related to UEFI 2.9A Errata | expand

Message

Mauro Carvalho Chehab June 20, 2024, 7:34 a.m. UTC
The UEFI 2.9A errata makes clear how ARM processor type encoding should
be done: it is meant to be equal to Generic processor, using a bitmask.

The current code assumes, for both generic and ARM processor types
that this is an integer, which is an incorrect assumption.

Fix it. While here, also fix a compilation issue when using W=1.

Mauro Carvalho Chehab (3):
  efi/cper: Adjust infopfx size to accept an extra space
  efi/cper: Add a new helper function to print bitmasks
  efi/cper: align ARM CPER type with UEFI 2.9A/2.10 specs

 drivers/acpi/apei/ghes.c        |  9 ++++---
 drivers/firmware/efi/cper-arm.c | 47 ++++++++++++++-------------------
 drivers/firmware/efi/cper.c     | 40 ++++++++++++++++++++++++++++
 include/linux/cper.h            | 11 ++++----
 4 files changed, 71 insertions(+), 36 deletions(-)