]> 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)
commit35d9508754d54d70413235a4fde7a7786733ab7a
tree104e3f2791d6695165681ff6b8c62e76f11b58fc
parent9d314c4d53fdbaeff121a0893324d08cb4107329
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