Searched refs:eptp (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx_ops.h | 18 void invept_error(unsigned long ext, u64 eptp); 317 static inline void __invept(unsigned long ext, u64 eptp) in __invept() argument 320 u64 eptp; in __invept() member 322 } operand = { eptp, 0 }; in __invept() 323 vmx_asm2(invept, "r"(ext), "m"(operand), ext, eptp); in __invept() 363 static inline void ept_sync_context(u64 eptp) in ept_sync_context() argument 366 __invept(VMX_EPT_EXTENT_CONTEXT, eptp); in ept_sync_context()
|
| H A D | vmx.c | 577 noinline void invept_error(unsigned long ext, u64 eptp) in invept_error() argument 579 vmx_insn_failed("invept failed: ext=0x%lx eptp=%llx\n", ext, eptp); in invept_error() 3390 u64 eptp = root_hpa | VMX_EPTP_MT_WB; in construct_eptp() local 3394 return eptp | VMX_EPTP_PWL_4; in construct_eptp() 3404 eptp |= (root->role.level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp() 3407 eptp |= VMX_EPTP_AD_ENABLE_BIT; in construct_eptp() 3409 return eptp; in construct_eptp() 3414 u64 eptp = construct_eptp(root_hpa); in vmx_flush_tlb_ept_root() local 3416 if (VALID_PAGE(eptp)) in vmx_flush_tlb_ept_root() 3417 ept_sync_context(eptp); in vmx_flush_tlb_ept_root()
|
| H A D | nested.c | 387 static bool nested_ept_root_matches(hpa_t root_hpa, u64 root_eptp, u64 eptp) in nested_ept_root_matches() argument 390 ((root_eptp & EPTP_PA_MASK) == (eptp & EPTP_PA_MASK)); in nested_ept_root_matches() 393 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr() argument 406 eptp)) in nested_ept_invalidate_addr() 5965 u64 eptp, gpa; in handle_invept() member 6006 if (!nested_vmx_check_eptp(vcpu, operand.eptp)) in handle_invept() 6012 operand.eptp)) in handle_invept() 6018 operand.eptp)) in handle_invept()
|
| /linux/tools/testing/selftests/kvm/lib/x86/ |
| H A D | vmx.c | 211 uint64_t eptp = vmx->eptp_gpa | EPTP_WB | EPTP_PWL_4; in init_vmcs_control_fields() local 217 eptp |= EPTP_AD_ENABLED; in init_vmcs_control_fields() 219 vmwrite(EPT_POINTER, eptp); in init_vmcs_control_fields()
|
| /linux/arch/x86/include/asm/ |
| H A D | vmx.h | 557 static inline u8 vmx_eptp_page_walk_level(u64 eptp) in vmx_eptp_page_walk_level() argument 559 u64 encoded_level = eptp & VMX_EPTP_PWL_MASK; in vmx_eptp_page_walk_level()
|