]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64/efi: Don't fail check current_in_efi() if preemptible
authorBen Horgan <ben.horgan@arm.com>
Mon, 5 Jan 2026 13:58:47 +0000 (13:58 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Jan 2026 11:54:31 +0000 (11:54 +0000)
commitdd4d71f587f3908f058b516d3793aaed66cfb692
tree088bfe12d89d011c9f5bc3e1ab6d24cb0e0d410a
parentf4ea8e05f2a857d5447c25f7daf00807d38b307d
arm64/efi: Don't fail check current_in_efi() if preemptible

As EFI runtime services can now be run without disabling preemption remove
the check for non preemptible in current_in_efi(). Without this change,
firmware errors that were previously recovered from by
__efi_runtime_kernel_fixup_exception() will lead to a kernel oops.

Fixes: a5baf582f4c0 ("arm64/efi: Call EFI runtime services without disabling preemption")
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Richard Lyu <richard.lyu@suse.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/efi.h