KVM: arm64: Remove __activate_vm wrapper
authorAndrew Scull <ascull@google.com>
Tue, 15 Sep 2020 10:46:25 +0000 (11:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 15 Sep 2020 17:39:01 +0000 (18:39 +0100)
commit501a67a25dd459a7d16b35ecdbe8a1ca5463e2bd
tree104e3f2791d6695165681ff6b8c62e76f11b58fc
parentf4d51dffc6c01a9e94650d95ce0104964f8ae822
KVM: arm64: Remove __activate_vm wrapper

The __activate_vm wrapper serves no useful function and has a misleading
name as it simply calls __load_guest_stage2 and does not touch
HCR_EL2.VM so remove it.

Also rename __deactivate_vm to __load_host_stage2 to match naming
pattern.

Signed-off-by: Andrew Scull <ascull@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200915104643.2543892-2-ascull@google.com
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/vhe/switch.c