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@xxxxxxxxxx> --- 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@xxxxxxxxxx>