Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/vmx/
H A Dvmx_ops.h18 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 Dvmx.c466 noinline void invept_error(unsigned long ext, u64 eptp) in invept_error() argument
468 vmx_insn_failed("invept failed: ext=0x%lx eptp=%llx\n", ext, eptp); in invept_error()
3370 u64 eptp = VMX_EPTP_MT_WB; in construct_eptp() local
3372 eptp |= (root_level == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp()
3376 eptp |= VMX_EPTP_AD_ENABLE_BIT; in construct_eptp()
3377 eptp |= root_hpa; in construct_eptp()
3379 return eptp; in construct_eptp()
3387 u64 eptp; in vmx_load_mmu_pgd() local
3390 eptp in vmx_load_mmu_pgd()
[all...]
H A Dnested.c383 static bool nested_ept_root_matches(hpa_t root_hpa, u64 root_eptp, u64 eptp) in nested_ept_root_matches() argument
386 ((root_eptp & EPTP_PA_MASK) == (eptp & EPTP_PA_MASK)); in nested_ept_root_matches()
389 static void nested_ept_invalidate_addr(struct kvm_vcpu *vcpu, gpa_t eptp, in nested_ept_invalidate_addr() argument
402 eptp)) in nested_ept_invalidate_addr()
3456 * Check if PML is enabled for the nested guest. Whether eptp bit 6 is in nested_vmx_write_pml_buffer()
5900 u64 eptp, gpa; in handle_invept() member
5941 if (!nested_vmx_check_eptp(vcpu, operand.eptp)) in handle_invept()
5947 operand.eptp)) in handle_invept()
5953 operand.eptp)) in handle_invept()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dmemstress.c98 vmx->eptp = vmx0->eptp; in memstress_setup_nested()
H A Dvmx.c200 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/arch/x86/include/asm/
H A Dvmx.h547 static inline u8 vmx_eptp_page_walk_level(u64 eptp) in vmx_eptp_page_walk_level() argument
549 u64 encoded_level = eptp & VMX_EPTP_PWL_MASK; in vmx_eptp_page_walk_level()
554 /* @eptp must be pre-validated by the caller. */ in vmx_eptp_page_walk_level()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dvmx.h525 void *eptp; member