Home
last modified time | relevance | path

Searched refs:eptp (Results 1 – 3 of 3) 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()
3335 u64 eptp = root_hpa | VMX_EPTP_MT_WB; in construct_eptp() local
3339 return eptp | VMX_EPTP_PWL_4; in construct_eptp()
3349 eptp |= (root->role.level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp()
3352 eptp |= VMX_EPTP_AD_ENABLE_BIT; in construct_eptp()
3354 return eptp; in construct_eptp()
3359 u64 eptp = construct_eptp(root_hpa); in vmx_flush_tlb_ept_root() local
3361 if (VALID_PAGE(eptp)) in vmx_flush_tlb_ept_root()
3362 ept_sync_context(eptp); in vmx_flush_tlb_ept_root()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dvmx.c213 u64 eptp = vmx->eptp_gpa | EPTP_WB | EPTP_PWL_4; in init_vmcs_control_fields()
219 eptp |= EPTP_AD_ENABLED; in init_vmcs_control_fields()
221 vmwrite(EPT_POINTER, eptp); in init_vmcs_control_fields()
211 u64 eptp = vmx->eptp_gpa | EPTP_WB | EPTP_PWL_4; init_vmcs_control_fields() local