Searched refs:eptp (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/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 | 486 noinline void invept_error(unsigned long ext, u64 eptp) in invept_error() argument 488 vmx_insn_failed("invept failed: ext=0x%lx eptp=%llx\n", ext, eptp); in invept_error() 3419 u64 eptp = VMX_EPTP_MT_WB; in construct_eptp() local 3421 eptp |= (root_level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp() 3425 eptp |= VMX_EPTP_AD_ENABLE_BIT; in construct_eptp() 3426 eptp |= root_hpa; in construct_eptp() 3428 return eptp; in construct_eptp() 3436 u64 eptp; in vmx_load_mmu_pgd() local 3439 eptp = construct_eptp(vcpu, root_hpa, root_level); in vmx_load_mmu_pgd() 3440 vmcs_write64(EPT_POINTER, eptp); in vmx_load_mmu_pgd()
|
| H A D | nested.c | 382 static bool nested_ept_root_matches(hpa_t root_hpa, u64 root_eptp, u64 eptp) in nested_ept_root_matches() argument 385 ((root_eptp & EPTP_PA_MASK) == (eptp & EPTP_PA_MASK)); in nested_ept_root_matches() 388 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr() argument 401 eptp)) in nested_ept_invalidate_addr() 5882 u64 eptp, gpa; in handle_invept() member 5923 if (!nested_vmx_check_eptp(vcpu, operand.eptp)) in handle_invept() 5929 operand.eptp)) in handle_invept() 5935 operand.eptp)) in handle_invept()
|
| /linux-6.15/tools/testing/selftests/kvm/lib/x86/ |
| H A D | memstress.c | 98 vmx->eptp = vmx0->eptp; in memstress_setup_nested()
|
| H A D | vmx.c | 200 struct eptPageTablePointer eptp = { in init_vmcs_control_fields() local 207 memcpy(&ept_paddr, &eptp, sizeof(ept_paddr)); in init_vmcs_control_fields() 542 vmx->eptp = (void *)vm_vaddr_alloc_page(vm); in prepare_eptp() 543 vmx->eptp_hva = addr_gva2hva(vm, (uintptr_t)vmx->eptp); in prepare_eptp() 544 vmx->eptp_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->eptp); in prepare_eptp()
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | vmx.h | 546 static inline u8 vmx_eptp_page_walk_level(u64 eptp) in vmx_eptp_page_walk_level() argument 548 u64 encoded_level = eptp & VMX_EPTP_PWL_MASK; in vmx_eptp_page_walk_level()
|
| /linux-6.15/tools/testing/selftests/kvm/include/x86/ |
| H A D | vmx.h | 525 void *eptp; member
|