]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d005f211d4eba3474bba602b868828f4893e90d
tree104e3f2791d6695165681ff6b8c62e76f11b58fc
parent85bf7539dcf2f9c7c3cfc0844cdf8c43b3574234
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