Home
last modified time | relevance | path

Searched refs:host_vcpu (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/kvm/hyp/nvhe/
Dhyp-main.c54 static void handle_pvm_entry_wfx(struct kvm_vcpu *host_vcpu, struct kvm_vcpu *shadow_vcpu) in handle_pvm_entry_wfx() argument
56 shadow_vcpu->arch.flags |= host_vcpu->arch.flags & KVM_ARM64_INCREMENT_PC; in handle_pvm_entry_wfx()
60 struct kvm_vcpu *host_vcpu) in pkvm_refill_memcache() argument
66 &host_vcpu->arch.pkvm_memcache); in pkvm_refill_memcache()
69 static void handle_pvm_entry_psci(struct kvm_vcpu *host_vcpu, struct kvm_vcpu *shadow_vcpu) in handle_pvm_entry_psci() argument
72 u64 ret = vcpu_get_reg(host_vcpu, 0); in handle_pvm_entry_psci()
102 static void handle_pvm_entry_hvc64(struct kvm_vcpu *host_vcpu, struct kvm_vcpu *shadow_vcpu) in handle_pvm_entry_hvc64() argument
108 pkvm_refill_memcache(shadow_vcpu, host_vcpu); in handle_pvm_entry_hvc64()
116 handle_pvm_entry_psci(host_vcpu, shadow_vcpu); in handle_pvm_entry_hvc64()
121 static void handle_pvm_entry_sys64(struct kvm_vcpu *host_vcpu, struct kvm_vcpu *shadow_vcpu) in handle_pvm_entry_sys64() argument
[all …]
Dpkvm.c324 static int copy_features(struct kvm_vcpu *shadow_vcpu, struct kvm_vcpu *host_vcpu) in copy_features() argument
354 bitmap_and(shadow_vcpu->arch.features, host_vcpu->arch.features, in copy_features()
371 struct kvm_vcpu *host_vcpu = shadow_vcpu->vcpu.arch.pkvm.host_vcpu; in unpin_host_vcpu() local
375 hyp_unpin_shared_mem(host_vcpu, host_vcpu + 1); in unpin_host_vcpu()
412 struct kvm_vcpu *host_vcpu, in init_shadow_vcpu() argument
418 host_vcpu = kern_hyp_va(host_vcpu); in init_shadow_vcpu()
419 if (hyp_pin_shared_mem(host_vcpu, host_vcpu + 1)) in init_shadow_vcpu()
422 if (host_vcpu->vcpu_idx != vcpu_idx) { in init_shadow_vcpu()
427 shadow_vcpu->arch.pkvm.host_vcpu = host_vcpu; in init_shadow_vcpu()
429 shadow_vcpu->vcpu_id = host_vcpu->vcpu_id; in init_shadow_vcpu()
[all …]
/arch/arm64/kvm/hyp/include/nvhe/
Dpkvm.h75 struct kvm_vcpu *host_vcpu,
/arch/arm64/include/asm/
Dkvm_host.h218 struct kvm_vcpu *host_vcpu; member