]> asedeno.scripts.mit.edu Git - linux.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)
commitf9f5dc19509bbef6f5e675346f1a7d7b846bdb12
tree76ddea08ea7d770e850adc95203e5dc165d362a1
parent063f12e0deb000a38ba43fd2456727ec5a604f1c
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