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.c59 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in pkvm_refill_memcache() local
62 &host_vcpu->arch.pkvm_memcache); in pkvm_refill_memcache()
69 if (vcpu_get_flag(hyp_vcpu->host_vcpu, INCREMENT_PC)) { in handle_pvm_entry_wfx()
78 u64 ret = READ_ONCE(hyp_vcpu->host_vcpu->arch.ctxt.regs.regs[0]); in handle_pvm_entry_psci()
135 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in handle_pvm_entry_sys64() local
138 if (vcpu_get_flag(host_vcpu, PENDING_EXCEPTION)) { in handle_pvm_entry_sys64()
147 if (vcpu_get_flag(host_vcpu, INCREMENT_PC)) { in handle_pvm_entry_sys64()
154 u64 rt_val = READ_ONCE(host_vcpu->arch.ctxt.regs.regs[0]); in handle_pvm_entry_sys64()
166 if (!vcpu_get_flag(hyp_vcpu->host_vcpu, PENDING_EXCEPTION)) in handle_pvm_entry_iabt()
190 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in handle_pvm_entry_dabt() local
[all …]
Dpkvm.c247 u64 hcr = READ_ONCE(hyp_vcpu->host_vcpu->arch.hcr_el2); in pkvm_vcpu_init_traps()
381 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in pkvm_vcpu_init_features_from_host() local
387 host_vcpu->arch.features, in pkvm_vcpu_init_features_from_host()
422 bitmap_and(hyp_vcpu->vcpu.arch.features, host_vcpu->arch.features, in pkvm_vcpu_init_features_from_host()
468 struct kvm_vcpu *host_vcpu = hyp_vcpu->host_vcpu; in pkvm_vcpu_init_psci() local
470 reset_state->pc = READ_ONCE(host_vcpu->arch.ctxt.regs.pc); in pkvm_vcpu_init_psci()
471 reset_state->r0 = READ_ONCE(host_vcpu->arch.ctxt.regs.regs[0]); in pkvm_vcpu_init_psci()
479 static void unpin_host_vcpu(struct kvm_vcpu *host_vcpu) in unpin_host_vcpu() argument
481 if (host_vcpu) in unpin_host_vcpu()
482 hyp_unpin_shared_mem(host_vcpu, host_vcpu + 1); in unpin_host_vcpu()
[all …]
/arch/arm64/kvm/hyp/include/nvhe/
Dpkvm.h29 struct kvm_vcpu *host_vcpu; member
111 int __pkvm_init_vcpu(pkvm_handle_t handle, struct kvm_vcpu *host_vcpu,
/arch/arm64/kvm/
Dpkvm.c215 struct kvm_vcpu *host_vcpu; in __pkvm_create_hyp_vm() local
266 kvm_for_each_vcpu(idx, host_vcpu, host_kvm) { in __pkvm_create_hyp_vm()
270 if (WARN_ON(host_vcpu->vcpu_idx != idx)) { in __pkvm_create_hyp_vm()
283 ret = kvm_call_hyp_nvhe(__pkvm_init_vcpu, handle, host_vcpu, in __pkvm_create_hyp_vm()