linux_dsm_epyc7002/arch/x86/platform/efi
Ard Biesheuvel e2d68a955e efi/x86: Don't panic or BUG() on non-critical error conditions
The logic in __efi_enter_virtual_mode() does a number of steps in
sequence, all of which may fail in one way or the other. In most
cases, we simply print an error and disable EFI runtime services
support, but in some cases, we BUG() or panic() and bring down the
system when encountering conditions that we could easily handle in
the same way.

While at it, replace a pointless page-to-virt-phys conversion with
one that goes straight from struct page to physical.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Arvind Sankar <nivedita@alum.mit.edu>
Cc: Matthew Garrett <mjg59@google.com>
Cc: linux-efi@vger.kernel.org
Link: https://lkml.kernel.org/r/20200103113953.9571-14-ardb@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2020-01-10 18:55:03 +01:00
..
efi_32.c efi/x86: Simplify i386 efi_call_phys() firmware call wrapper 2020-01-10 18:55:02 +01:00
efi_64.c efi/x86: Don't panic or BUG() on non-critical error conditions 2020-01-10 18:55:03 +01:00
efi_stub_32.S efi/x86: Simplify i386 efi_call_phys() firmware call wrapper 2020-01-10 18:55:02 +01:00
efi_stub_64.S efi/x86: Simplify 64-bit EFI firmware call wrapper 2020-01-10 18:55:02 +01:00
efi_thunk_64.S efi/x86: Simplify mixed mode call wrapper 2020-01-10 18:55:03 +01:00
efi.c efi/x86: Don't panic or BUG() on non-critical error conditions 2020-01-10 18:55:03 +01:00
Makefile efi/x86: Simplify 64-bit EFI firmware call wrapper 2020-01-10 18:55:02 +01:00
quirks.c efi/x86: Rename efi_is_native() to efi_is_mixed() 2019-12-25 10:49:16 +01:00