From: Dave Martin Date: Tue, 31 Oct 2017 15:50:57 +0000 (+0000) Subject: arm64: efi: Add missing Kconfig dependency on KERNEL_MODE_NEON X-Git-Tag: v4.19~2194^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b472db6cf8c603809c9e177680a2fb0139218bba;p=platform%2Fkernel%2Flinux-rpi.git arm64: efi: Add missing Kconfig dependency on KERNEL_MODE_NEON The EFI runtime services ABI permits calls to EFI to clobber certain FPSIMD/NEON registers, as per the AArch64 procedure call standard. Saving/restoring the clobbered registers around such calls needs KERNEL_MODE_NEON, but the dependency is missing from Kconfig. This patch adds the missing dependency. This will aid bisection of the patches implementing support for the ARM Scalable Vector Extension (SVE). Signed-off-by: Dave Martin Reviewed-by: Alex Bennée Acked-by: Catalin Marinas Cc: Ard Biesheuvel Signed-off-by: Will Deacon --- diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 05aa592..5cfb79d 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1064,6 +1064,7 @@ config EFI_STUB config EFI bool "UEFI runtime support" depends on OF && !CPU_BIG_ENDIAN + depends on KERNEL_MODE_NEON select LIBFDT select UCS2_STRING select EFI_PARAMS_FROM_FDT