arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Feb 2018 17:56:20 +0000 (17:56 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 6 Feb 2018 22:54:17 +0000 (22:54 +0000)
commitb092201e0020614127f495c092e0a12d26a2116e
tree687459c8073a8331c25f592552e926e886cceec3
parentf2d3b2e8759a5833df6f022e42df2d581e6d843c
arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support

Add the detection and runtime code for ARM_SMCCC_ARCH_WORKAROUND_1.
It is lovely. Really.

Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/bpi.S
arch/arm64/kernel/cpu_errata.c