Home
last modified time | relevance | path

Searched refs:apf (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/virt/kvm/
Dasync_pf.c47 struct kvm_async_pf *apf = in async_pf_execute() local
49 struct mm_struct *mm = apf->mm; in async_pf_execute()
50 struct kvm_vcpu *vcpu = apf->vcpu; in async_pf_execute()
51 unsigned long addr = apf->addr; in async_pf_execute()
52 gpa_t cr2_or_gpa = apf->cr2_or_gpa; in async_pf_execute()
70 kvm_arch_async_page_present(vcpu, apf); in async_pf_execute()
74 list_add_tail(&apf->link, &vcpu->async_pf.done); in async_pf_execute()
75 apf->vcpu = NULL; in async_pf_execute()
/linux-5.19.10/arch/x86/kvm/
Dx86.c357 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()
749 vcpu->arch.apf.nested_apf_token = fault->address; in kvm_inject_page_fault()
3293 return (vcpu->arch.apf.msr_en_val & mask) == mask; in kvm_pv_async_pf_enabled()
3315 vcpu->arch.apf.msr_en_val = data; in kvm_pv_enable_async_pf()
3323 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, in kvm_pv_enable_async_pf()
3327 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); in kvm_pv_enable_async_pf()
3328 vcpu->arch.apf.delivery_as_pf_vmexit = data & KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT; in kvm_pv_enable_async_pf()
3344 vcpu->arch.apf.msr_int_val = data; in kvm_pv_enable_async_pf_int()
3346 vcpu->arch.apf.vec = data & KVM_ASYNC_PF_VEC_MASK; in kvm_pv_enable_async_pf_int()
3680 vcpu->arch.apf.pageready_pending = false; in kvm_set_msr_common()
[all …]
/linux-5.19.10/arch/x86/kvm/svm/
Dnested.c1273 vmcb->control.exit_info_2 = svm->vcpu.arch.apf.nested_apf_token; in nested_svm_inject_exception_vmexit()
1375 svm->vcpu.arch.apf.host_apf_flags) in nested_svm_exit_special()
Dsvm.c3930 vcpu->arch.apf.host_apf_flags = in svm_vcpu_run()
/linux-5.19.10/arch/x86/kvm/mmu/
Dmmu.c3928 u32 id = vcpu->arch.apf.id; in alloc_apf_token()
3931 vcpu->arch.apf.id = 1; in alloc_apf_token()
3933 return (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in alloc_apf_token()
4127 u32 flags = vcpu->arch.apf.host_apf_flags; in kvm_handle_page_fault()
4144 vcpu->arch.apf.host_apf_flags = 0; in kvm_handle_page_fault()
/linux-5.19.10/arch/x86/include/asm/
Dkvm_host.h846 } apf; member
/linux-5.19.10/arch/x86/kvm/vmx/
Dnested.c455 *exit_qual = vcpu->arch.apf.nested_apf_token; in nested_vmx_check_exception()
5952 return vcpu->arch.apf.host_apf_flags || in nested_vmx_l0_wants_exit()
Dvmx.c4971 if (enable_ept && !vcpu->arch.apf.host_apf_flags) { in handle_exception_nmi()
6607 vmx->vcpu.arch.apf.host_apf_flags = kvm_read_and_reset_apf_flags(); in handle_exception_nmi_irqoff()