All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Fix CPER issues related to UEFI 2.9A Errata
@ 2024-06-20  7:34 Mauro Carvalho Chehab
  2024-06-20  7:34 ` [PATCH v3 1/3] efi/cper: Adjust infopfx size to accept an extra space Mauro Carvalho Chehab
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2024-06-20  7:34 UTC (permalink / raw)
  Cc: Mauro Carvalho Chehab, Borislav Petkov, Tony Luck, James Morse,
	Jonathan Cameron, Shiju Jose, linux-efi, linux-kernel, linux-edac,
	Ard Biesheuvel, Len Brown, linux-acpi

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(-)

-- 
2.45.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-20  7:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20  7:34 [PATCH v3 0/3] Fix CPER issues related to UEFI 2.9A Errata Mauro Carvalho Chehab
2024-06-20  7:34 ` [PATCH v3 1/3] efi/cper: Adjust infopfx size to accept an extra space Mauro Carvalho Chehab
2024-06-20  7:34 ` [PATCH v3 2/3] efi/cper: Add a new helper function to print bitmasks Mauro Carvalho Chehab
2024-06-20  7:34 ` [PATCH v3 3/3] efi/cper: align ARM CPER type with UEFI 2.9A/2.10 specs Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.