Home
last modified time | relevance | path

Searched refs:vpid (Results 1 – 5 of 5) sorted by relevance

/arch/x86/kvm/vmx/
Dops.h19 void invvpid_error(unsigned long ext, u16 vpid, gva_t gva);
236 static inline void __invvpid(unsigned long ext, u16 vpid, gva_t gva) in __invvpid() argument
239 u64 vpid : 16; in __invvpid() member
242 } operand = { vpid, 0, gva }; in __invvpid()
244 vmx_asm2(invvpid, "r"(ext), "m"(operand), ext, vpid, gva); in __invvpid()
256 static inline bool vpid_sync_vcpu_addr(int vpid, gva_t addr) in vpid_sync_vcpu_addr() argument
258 if (vpid == 0) in vpid_sync_vcpu_addr()
262 __invvpid(VMX_VPID_EXTENT_INDIVIDUAL_ADDR, vpid, addr); in vpid_sync_vcpu_addr()
269 static inline void vpid_sync_vcpu_single(int vpid) in vpid_sync_vcpu_single() argument
271 if (vpid == 0) in vpid_sync_vcpu_single()
[all …]
Dcapabilities.h65 u32 vpid; member
322 return vmx_capability.vpid & VMX_VPID_INVVPID_BIT; in cpu_has_vmx_invvpid()
327 return vmx_capability.vpid & VMX_VPID_EXTENT_INDIVIDUAL_ADDR_BIT; in cpu_has_vmx_invvpid_individual_addr()
332 return vmx_capability.vpid & VMX_VPID_EXTENT_SINGLE_CONTEXT_BIT; in cpu_has_vmx_invvpid_single()
337 return vmx_capability.vpid & VMX_VPID_EXTENT_GLOBAL_CONTEXT_BIT; in cpu_has_vmx_invvpid_global()
Dvmx.h247 int vpid; member
310 void free_vpid(int vpid);
490 static inline void __vmx_flush_tlb(struct kvm_vcpu *vcpu, int vpid, in __vmx_flush_tlb() argument
499 vpid_sync_context(vpid); in __vmx_flush_tlb()
505 __vmx_flush_tlb(vcpu, to_vmx(vcpu)->vpid, invalidate_gpa); in vmx_flush_tlb()
Dvmx.c74 module_param_named(vpid, enable_vpid, bool, 0444);
381 noinline void invvpid_error(unsigned long ext, u16 vpid, gva_t gva) in invvpid_error() argument
384 ext, vpid, gva); in invvpid_error()
2414 &vmx_cap->ept, &vmx_cap->vpid); in setup_vmcs_config()
2428 vmx_cap->vpid) { in setup_vmcs_config()
2429 vmx_cap->vpid = 0; in setup_vmcs_config()
2842 int vpid = to_vmx(vcpu)->vpid; in vmx_flush_tlb_gva() local
2844 if (!vpid_sync_vcpu_addr(vpid, addr)) in vmx_flush_tlb_gva()
2845 vpid_sync_context(vpid); in vmx_flush_tlb_gva()
3574 int vpid; in allocate_vpid() local
[all …]
Dnested.c1045 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; in nested_get_vpid02()
2039 vmcs_write16(VIRTUAL_PROCESSOR_ID, vmx->vpid); in prepare_vmcs02_early_rare()
4981 u64 vpid; in handle_invvpid() member
5016 if (operand.vpid >> 16) in handle_invvpid()
5023 if (!operand.vpid || in handle_invvpid()
5035 if (!operand.vpid) in handle_invvpid()