The current efi code emits the error message like
Couldn't get size: 0x800000000000000e
on various Dell and other machines. Although the whole problem is the
buggy firmware, showing this as an error level is rather annoying, as
the error message appears over the boot splash. Basically this is the
result of missing entry and we have no explicit way to fix it for such
a firmware problem, the error message may be suppressed.
This patch changes the error print condition and suppresses the error
message if status is EFI_NOT_FOUND. It's a partial patch from the
more comprehensive one Joey Lee submitted in the past.
Link: https://lore.kernel.org/linux-efi/20190322103350.27764-2-jlee@suse.com/
Cc: Joey Lee <jlee@suse.com>
Signed-off-by: Takashi Iwai <redacted>
---
security/integrity/platform_certs/load_uefi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
On Mon, 17 Feb 2020 at 16:45, Takashi Iwai [off-list ref] wrote:
The current efi code emits the error message like
Couldn't get size: 0x800000000000000e
on various Dell and other machines. Although the whole problem is the
buggy firmware, showing this as an error level is rather annoying, as
the error message appears over the boot splash. Basically this is the
result of missing entry and we have no explicit way to fix it for such
a firmware problem, the error message may be suppressed.
This patch changes the error print condition and suppresses the error
message if status is EFI_NOT_FOUND. It's a partial patch from the
more comprehensive one Joey Lee submitted in the past.
Link: https://lore.kernel.org/linux-efi/20190322103350.27764-2-jlee@suse.com/
Cc: Joey Lee <jlee@suse.com>
Signed-off-by: Takashi Iwai <redacted>
On Mon, 17 Feb 2020 17:06:57 +0100,
Ard Biesheuvel wrote:
On Mon, 17 Feb 2020 at 16:45, Takashi Iwai [off-list ref] wrote:
quoted
The current efi code emits the error message like
Couldn't get size: 0x800000000000000e
on various Dell and other machines. Although the whole problem is the
buggy firmware, showing this as an error level is rather annoying, as
the error message appears over the boot splash. Basically this is the
result of missing entry and we have no explicit way to fix it for such
a firmware problem, the error message may be suppressed.
This patch changes the error print condition and suppresses the error
message if status is EFI_NOT_FOUND. It's a partial patch from the
more comprehensive one Joey Lee submitted in the past.
Link: https://lore.kernel.org/linux-efi/20190322103350.27764-2-jlee@suse.com/
Cc: Joey Lee <jlee@suse.com>
Signed-off-by: Takashi Iwai <redacted>