KVM: arm64: Rename helpers for VHE vCPU load/put
authorOliver Upton <oliver.upton@linux.dev>
Wed, 18 Oct 2023 23:32:11 +0000 (23:32 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 20 Oct 2023 17:52:01 +0000 (17:52 +0000)
commit27cde4c0fe28eab228d1fc9d84c68a109219887d
tree5a5aa851be46f57dd1c14a193b27090903e37a82
parent5eba523e1e5e83d2c1a282c3c488d98b990333c2
KVM: arm64: Rename helpers for VHE vCPU load/put

The names for the helpers we expose to the 'generic' KVM code are a bit
imprecise; we switch the EL0 + EL1 sysreg context and setup trap
controls that do not need to change for every guest entry/exit. Rename +
shuffle things around a bit in preparation for loading the stage-2 MMU
context on vcpu_load().

Link: https://lore.kernel.org/r/20231018233212.2888027-5-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_hyp.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/vhe/switch.c
arch/arm64/kvm/hyp/vhe/sysreg-sr.c