KVM: arm64: Rename SMC/HVC call handler to reflect reality
authorOliver Upton <oliver.upton@linux.dev>
Tue, 4 Apr 2023 15:40:41 +0000 (15:40 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 5 Apr 2023 11:07:41 +0000 (12:07 +0100)
commitaac94968126beb9846c12a940f1302ece7849b4f
treeb9173c1c77b1e468ed2fac6cdaab36187576b1c5
parente0fc6b21616dd917899ee4a2d4126b4a963c0871
KVM: arm64: Rename SMC/HVC call handler to reflect reality

KVM handles SMCCC calls from virtual EL2 that use the SMC instruction
since commit bd36b1a9eb5a ("KVM: arm64: nv: Handle SMCs taken from
virtual EL2"). Thus, the function name of the handler no longer reflects
reality.

Normalize the name on SMCCC, since that's the only hypercall interface
KVM supports in the first place. No fuctional change intended.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230404154050.2270077-5-oliver.upton@linux.dev
arch/arm64/kvm/handle_exit.c
arch/arm64/kvm/hypercalls.c
include/kvm/arm_hypercalls.h