Home
last modified time | relevance | path

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

/Linux-v5.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-v5.10/arch/x86/kvm/
Dx86.c295 vcpu->arch.apf.gfns[i] = ~0; in kvm_async_pf_hash_reset()
636 vcpu->arch.apf.nested_apf_token = fault->address; in kvm_inject_page_fault()
2875 return (vcpu->arch.apf.msr_en_val & mask) == mask; in kvm_pv_async_pf_enabled()
2897 vcpu->arch.apf.msr_en_val = data; in kvm_pv_enable_async_pf()
2905 if (kvm_gfn_to_hva_cache_init(vcpu->kvm, &vcpu->arch.apf.data, gpa, in kvm_pv_enable_async_pf()
2909 vcpu->arch.apf.send_user_only = !(data & KVM_ASYNC_PF_SEND_ALWAYS); in kvm_pv_enable_async_pf()
2910 vcpu->arch.apf.delivery_as_pf_vmexit = data & KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT; in kvm_pv_enable_async_pf()
2926 vcpu->arch.apf.msr_int_val = data; in kvm_pv_enable_async_pf_int()
2928 vcpu->arch.apf.vec = data & KVM_ASYNC_PF_VEC_MASK; in kvm_pv_enable_async_pf_int()
3178 vcpu->arch.apf.pageready_pending = false; in kvm_set_msr_common()
[all …]
/Linux-v5.10/arch/x86/kvm/svm/
Dnested.c906 svm->vmcb->control.exit_info_2 = svm->vcpu.arch.apf.nested_apf_token; in nested_svm_inject_exception_vmexit()
1040 svm->vcpu.arch.apf.host_apf_flags) in nested_svm_exit_special()
Dsvm.c3648 svm->vcpu.arch.apf.host_apf_flags = in svm_vcpu_run()
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h739 } apf; member
/Linux-v5.10/arch/x86/kvm/mmu/
Dmmu.c3636 arch.token = (vcpu->arch.apf.id++ << 12) | vcpu->vcpu_id; in kvm_arch_setup_async_pf()
3746 u32 flags = vcpu->arch.apf.host_apf_flags; in kvm_handle_page_fault()
3763 vcpu->arch.apf.host_apf_flags = 0; in kvm_handle_page_fault()
/Linux-v5.10/arch/x86/kvm/vmx/
Dnested.c402 *exit_qual = vcpu->arch.apf.nested_apf_token; in nested_vmx_check_exception()
5744 return vcpu->arch.apf.host_apf_flags || !enable_ept; in nested_vmx_l0_wants_exit()
Dvmx.c4819 if (enable_ept && !vcpu->arch.apf.host_apf_flags) { in handle_exception_nmi()
6372 vmx->vcpu.arch.apf.host_apf_flags = kvm_read_and_reset_apf_flags(); in handle_exception_nmi_irqoff()