Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/vmx/
H A Dvmx_ops.h18 void invept_error(unsigned long ext, u64 eptp);
314 static inline void __invept(unsigned long ext, u64 eptp) in __invept() argument
317 u64 eptp; in __invept() member
319 } operand = { eptp, 0 }; in __invept()
320 vmx_asm2(invept, "r"(ext), "m"(operand), ext, eptp); in __invept()
360 static inline void ept_sync_context(u64 eptp) in ept_sync_context() argument
363 __invept(VMX_EPT_EXTENT_CONTEXT, eptp); in ept_sync_context()
H A Dvmx.c589 noinline void invept_error(unsigned long ext, u64 eptp) in invept_error() argument
591 vmx_insn_failed("invept failed: ext=0x%lx eptp=%llx\n", ext, eptp); in invept_error()
3345 u64 eptp = root_hpa | VMX_EPTP_MT_WB; in construct_eptp()
3349 return eptp | VMX_EPTP_PWL_4; in construct_eptp()
3359 eptp |= (root->role.level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in vmx_flush_tlb_ept_root() local
3362 eptp |= VMX_EPTP_AD_ENABLE_BIT; in vmx_flush_tlb_ept_root()
3364 return eptp; in vmx_flush_tlb_ept_root()
3369 u64 eptp = construct_eptp(root_hpa); in vmx_flush_tlb_current()
3371 if (VALID_PAGE(eptp)) in vmx_flush_tlb_current()
3335 u64 eptp = root_hpa | VMX_EPTP_MT_WB; construct_eptp() local
[all...]
H A Dnested.c403 static bool nested_ept_root_matches(hpa_t root_hpa, u64 root_eptp, u64 eptp) in nested_ept_invalidate_addr()
406 ((root_eptp & EPTP_PA_MASK) == (eptp & EPTP_PA_MASK)); in nested_ept_invalidate_addr()
409 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr()
422 eptp)) in nested_ept_inject_page_fault()
3575 * Check if PML is enabled for the nested guest. Whether eptp bit 6 is in nested_vmx_write_pml_buffer()
6020 u64 eptp, gpa; in handle_invept()
6061 if (!nested_vmx_check_eptp(vcpu, operand.eptp)) in handle_invept()
6067 operand.eptp)) in handle_invept()
6073 operand.eptp)) in handle_invvpid()
395 nested_ept_root_matches(hpa_t root_hpa,u64 root_eptp,u64 eptp) nested_ept_root_matches() argument
401 nested_ept_invalidate_addr(struct kvm_vcpu * vcpu,gpa_t eptp,gpa_t addr) nested_ept_invalidate_addr() argument
6001 u64 eptp, gpa; handle_invept() member
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c260 u64 eptp = vmx->eptp_gpa | EPTP_WB | EPTP_PWL_4; in init_vmcs_host_state()
266 eptp |= EPTP_AD_ENABLED; in init_vmcs_host_state()
268 vmwrite(EPT_POINTER, eptp); in init_vmcs_host_state()
211 u64 eptp = vmx->eptp_gpa | EPTP_WB | EPTP_PWL_4; init_vmcs_control_fields() local