arm64: efi: Add missing Kconfig dependency on KERNEL_MODE_NEON
authorDave Martin <Dave.Martin@arm.com>
Tue, 31 Oct 2017 15:50:57 +0000 (15:50 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Nov 2017 15:24:12 +0000 (15:24 +0000)
commitb472db6cf8c603809c9e177680a2fb0139218bba
tree84d859567dcbe80f49a2267adea96632777a72ae
parent93390c0a1b20b98a59ee0ef1a850687b3fbc304e
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 <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig