]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Use SMCCC_ARCH_WORKAROUND_1 for Falkor BP hardening
authorShanker Donthineni <shankerd@codeaurora.org>
Mon, 5 Mar 2018 17:06:43 +0000 (11:06 -0600)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 18:35:38 +0000 (18:35 +0000)
commit778c1fc9867b8f3b3c827e30f7c6b69c3b7682e3
tree76ddea08ea7d770e850adc95203e5dc165d362a1
parent8d90a529962b40f0e697d3cf8eea925c88b04d81
arm64: KVM: Use SMCCC_ARCH_WORKAROUND_1 for Falkor BP hardening

The function SMCCC_ARCH_WORKAROUND_1 was introduced as part of SMC
V1.1 Calling Convention to mitigate CVE-2017-5715. This patch uses
the standard call SMCCC_ARCH_WORKAROUND_1 for Falkor chips instead
of Silicon provider service ID 0xC2001700.

Cc: <stable@vger.kernel.org> # 4.14+
Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kernel/bpi.S
arch/arm64/kernel/cpu_errata.c
arch/arm64/kvm/hyp/entry.S
arch/arm64/kvm/hyp/switch.c