arm64: Get rid of __smccc_workaround_1_hvc_*
commit36e5ae4d22973ea8534aaff7f75d42eae343bb60
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 Oct 2019 12:48:16 +0000 (24 14:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2019 08:17:23 +0000 (29 09:17 +0100)
treef0e247e26cc7d3b6a224d577a19e423ca7a0cc73
parent31ee977f709d28be1b62f47295e15cc464bab808
arm64: Get rid of __smccc_workaround_1_hvc_*

[ Upstream commit 22765f30dbaf1118c6ff0fcb8b99c9f2b4d396d5 ]

The very existence of __smccc_workaround_1_hvc_* is a thinko, as
KVM will never use a HVC call to perform the branch prediction
invalidation. Even as a nested hypervisor, it would use an SMC
instruction.

Let's get rid of it.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/kernel/bpi.S
arch/arm64/kernel/cpu_errata.c