diff options
author | Marc Zyngier <maz@kernel.org> | 2024-12-18 19:40:50 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-12-20 09:44:00 +0000 |
commit | f7d03fcbf1f482069e9afac55b17de3bd323b8f6 (patch) | |
tree | 41f6ff002e20f539dfb972f799a061366ec2560f /net/lapb/lapb_timer.c | |
parent | 99996d575ee69d4327bad98a0148729b73dde23a (diff) |
KVM: arm64: Introduce __pkvm_vcpu_{load,put}()
Rather than look-up the hyp vCPU on every run hypercall at EL2,
introduce a per-CPU 'loaded_hyp_vcpu' tracking variable which is updated
by a pair of load/put hypercalls called directly from
kvm_arch_vcpu_{load,put}() when pKVM is enabled.
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20241218194059.3670226-10-qperret@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions