arm64: Get rid of __smccc_workaround_1_hvc_*
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 10 Apr 2018 10:36:44 +0000 (11:36 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 11 Apr 2018 17:49:30 +0000 (18:49 +0100)
commit22765f30dbaf1118c6ff0fcb8b99c9f2b4d396d5
tree5ed0419d9cada52a45b4ea2b922021980da3de72
parent8892b71885df7d6d7b0f491f9a8e2bb12fd4afdd
arm64: Get rid of __smccc_workaround_1_hvc_*

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>
arch/arm64/kernel/bpi.S
arch/arm64/kernel/cpu_errata.c