Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c100 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in flush_debug_state() local
102 hyp_vcpu->vcpu.arch.debug_owner = host_vcpu->arch.debug_owner; in flush_debug_state()
105 hyp_vcpu->vcpu.arch.vcpu_debug_state = host_vcpu->arch.vcpu_debug_state; in flush_debug_state()
107 hyp_vcpu->vcpu.arch.external_debug_state = host_vcpu->arch.external_debug_state; in flush_debug_state()
112 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in sync_debug_state() local
115 host_vcpu->arch.vcpu_debug_state = hyp_vcpu->vcpu.arch.vcpu_debug_state; in sync_debug_state()
117 host_vcpu->arch.external_debug_state = hyp_vcpu->vcpu.arch.external_debug_state; in sync_debug_state()
122 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in flush_hyp_vcpu() local
127 hyp_vcpu->vcpu.arch.ctxt = host_vcpu->arch.ctxt; in flush_hyp_vcpu()
129 hyp_vcpu->vcpu.arch.mdcr_el2 = host_vcpu->arch.mdcr_el2; in flush_hyp_vcpu()
[all …]
H A Dpkvm.c171 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in pkvm_vcpu_init_traps() local
174 vcpu->arch.hcrx_el2 = host_vcpu->arch.hcrx_el2; in pkvm_vcpu_init_traps()
382 static void unpin_host_vcpu(struct kvm_vcpu *host_vcpu) in unpin_host_vcpu() argument
384 if (host_vcpu) in unpin_host_vcpu()
385 hyp_unpin_shared_mem(host_vcpu, host_vcpu + 1); in unpin_host_vcpu()
411 unpin_host_vcpu(hyp_vcpu->host_vcpu); in unpin_host_vcpus()
439 static int pkvm_vcpu_init_sve(struct pkvm_hyp_vcpu *hyp_vcpu, struct kvm_vcpu *host_vcpu) in pkvm_vcpu_init_sve() argument
453 sve_max_vl = min(READ_ONCE(host_vcpu->arch.sve_max_vl), kvm_host_sve_max_vl); in pkvm_vcpu_init_sve()
455 sve_state = kern_hyp_va(READ_ONCE(host_vcpu->arch.sve_state)); in pkvm_vcpu_init_sve()
506 struct kvm_vcpu *host_vcpu) in init_pkvm_hyp_vcpu() argument
[all …]