linux-stable/arch/x86/platform/efi
Ard Biesheuvel f80c9f6476 efi/x86: Remove support for EFI time and counter services in mixed mode
Mixed mode calls at runtime are rather tricky with vmap'ed stacks,
as we can no longer assume that data passed in by the callers of the
EFI runtime wrapper routines is contiguous in physical memory.

We need to fix this, but before we do, let's drop the implementations
of routines that we know are never used on x86, i.e., the RTC related
ones. Given that UEFI rev2.8 permits any runtime service to return
EFI_UNSUPPORTED at runtime, let's return that instead.

As get_next_high_mono_count() is never used at all, even on other
architectures, let's make that return EFI_UNSUPPORTED too.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: linux-efi@vger.kernel.org
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200221084849.26878-3-ardb@kernel.org
2020-02-26 15:31:42 +01:00
..
efi.c efi/x86: Fix boot regression on systems with invalid memmap entries 2020-02-02 10:25:43 +01:00
efi_32.c x86: mm+efi: convert ptdump_walk_pgd_level() to take a mm_struct 2020-02-04 03:05:25 +00:00
efi_64.c efi/x86: Remove support for EFI time and counter services in mixed mode 2020-02-26 15:31:42 +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: Check number of arguments to variadic functions 2020-01-10 18:55:04 +01:00
efi_thunk_64.S efi/x86: Check number of arguments to variadic functions 2020-01-10 18:55:04 +01:00
Makefile efi/x86: Disable instrumentation in the EFI runtime handling code 2020-01-25 10:14:37 +01:00
quirks.c Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2020-01-28 09:03:40 -08:00