public inbox for linux-efi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] efi/memattr: Improve the efi_memattr_init function.
@ 2025-01-06 19:02 Breno Leitao
  2025-01-06 19:02 ` [PATCH 1/3] efi/memattr: Convert efi_memattr_init() return type to void Breno Leitao
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Breno Leitao @ 2025-01-06 19:02 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: Gregory Price, Usama Arif, linux-efi, linux-kernel, Breno Leitao,
	kernel-team

After 8fbe4c49c0ccac ("efi/memattr: Ignore table if the size is clearly
bogus") landed, we are seeing a lot of firmware bugs in the Meta fleet.

There is an indication that this might be related to kexec, but, more on
this later.

While debugging the current issue, I modified the efi_memattr_init()
function in a way that I think it might be useful upstream.

The changes will help to detect EFI problems at scale, by making it more
verbose and easy to categorize early FW bugs.

Signed-off-by: Breno Leitao <leitao@debian.org>
---
Breno Leitao (3):
      efi/memattr: Convert efi_memattr_init() return type to void
      efi/memattr: Add FW_BUG prefix to firmware error messages
      efi/memattr: Include EFI memmap size in corruption warnings

 drivers/firmware/efi/memattr.c | 20 ++++++++++----------
 include/linux/efi.h            |  2 +-
 2 files changed, 11 insertions(+), 11 deletions(-)
---
base-commit: c8e17339185951589d109ba81e8854513ab3d26f
change-id: 20250106-efi_fw_bug-2b62e9a41899

Best regards,
-- 
Breno Leitao <leitao@debian.org>


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

end of thread, other threads:[~2025-01-09 17:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 19:02 [PATCH 0/3] efi/memattr: Improve the efi_memattr_init function Breno Leitao
2025-01-06 19:02 ` [PATCH 1/3] efi/memattr: Convert efi_memattr_init() return type to void Breno Leitao
2025-01-06 19:24   ` Ard Biesheuvel
2025-01-06 19:02 ` [PATCH 2/3] efi/memattr: Add FW_BUG prefix to firmware error messages Breno Leitao
2025-01-06 19:25   ` Ard Biesheuvel
2025-01-06 19:02 ` [PATCH 3/3] efi/memattr: Include EFI memmap size in corruption warnings Breno Leitao
2025-01-07 11:24   ` Ard Biesheuvel
2025-01-07 12:05     ` Breno Leitao
2025-01-09 14:48       ` Ard Biesheuvel
2025-01-09 15:09         ` Usama Arif
2025-01-09 17:45         ` Breno Leitao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox