Searched refs:eptp (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | vmx_ops.h | 22 void invept_error(unsigned long ext, u64 eptp, gpa_t gpa); 266 static inline void __invept(unsigned long ext, u64 eptp, gpa_t gpa) in __invept() argument 269 u64 eptp, gpa; in __invept() member 270 } operand = {eptp, gpa}; in __invept() 272 vmx_asm2(invept, "r"(ext), "m"(operand), ext, eptp, gpa); in __invept() 312 static inline void ept_sync_context(u64 eptp) in ept_sync_context() argument 315 __invept(VMX_EPT_EXTENT_CONTEXT, eptp, 0); in ept_sync_context()
|
D | vmx.c | 465 noinline void invept_error(unsigned long ext, u64 eptp, gpa_t gpa) in invept_error() argument 468 ext, eptp, gpa); in invept_error() 3151 u64 eptp = VMX_EPTP_MT_WB; in construct_eptp() local 3153 eptp |= (root_level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp() 3157 eptp |= VMX_EPTP_AD_ENABLE_BIT; in construct_eptp() 3158 eptp |= (root_hpa & PAGE_MASK); in construct_eptp() 3160 return eptp; in construct_eptp() 3169 u64 eptp; in vmx_load_mmu_pgd() local 3172 eptp = construct_eptp(vcpu, pgd, pgd_level); in vmx_load_mmu_pgd() 3173 vmcs_write64(EPT_POINTER, eptp); in vmx_load_mmu_pgd() [all …]
|
D | nested.c | 5397 static bool nested_ept_root_matches(hpa_t root_hpa, u64 root_eptp, u64 eptp) in nested_ept_root_matches() argument 5400 ((root_eptp & EPTP_PA_MASK) == (eptp & EPTP_PA_MASK)); in nested_ept_root_matches() 5413 u64 eptp, gpa; in handle_invept() member 5453 if (!nested_vmx_check_eptp(vcpu, operand.eptp)) in handle_invept() 5459 operand.eptp)) in handle_invept() 5465 operand.eptp)) in handle_invept()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 217 struct eptPageTablePointer eptp = { in init_vmcs_control_fields() local 224 memcpy(&ept_paddr, &eptp, sizeof(ept_paddr)); in init_vmcs_control_fields() 541 vmx->eptp = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in prepare_eptp() 542 vmx->eptp_hva = addr_gva2hva(vm, (uintptr_t)vmx->eptp); in prepare_eptp() 543 vmx->eptp_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->eptp); in prepare_eptp()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | vmx.h | 503 static inline u8 vmx_eptp_page_walk_level(u64 eptp) in vmx_eptp_page_walk_level() argument 505 u64 encoded_level = eptp & VMX_EPTP_PWL_MASK; in vmx_eptp_page_walk_level()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/ |
D | vmx.h | 575 void *eptp; member
|