Lines Matching refs:vmcs_config

56 struct vmcs_config {  struct
69 extern struct vmcs_config vmcs_config __ro_after_init; argument
79 return (((u64)vmcs_config.basic_cap << 32) & VMX_BASIC_INOUT); in cpu_has_vmx_basic_inout()
84 return vmcs_config.pin_based_exec_ctrl & PIN_BASED_VIRTUAL_NMIS && in cpu_has_virtual_nmis()
85 vmcs_config.cpu_based_exec_ctrl & CPU_BASED_NMI_WINDOW_EXITING; in cpu_has_virtual_nmis()
90 return vmcs_config.pin_based_exec_ctrl & in cpu_has_vmx_preemption_timer()
96 return vmcs_config.pin_based_exec_ctrl & PIN_BASED_POSTED_INTR; in cpu_has_vmx_posted_intr()
101 return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_EFER; in cpu_has_load_ia32_efer()
106 return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL; in cpu_has_load_perf_global_ctrl()
111 return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_BNDCFGS; in cpu_has_vmx_mpx()
116 return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_TPR_SHADOW; in cpu_has_vmx_tpr_shadow()
126 return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_USE_MSR_BITMAPS; in cpu_has_vmx_msr_bitmap()
131 return vmcs_config.cpu_based_exec_ctrl & in cpu_has_secondary_exec_ctrls()
137 return vmcs_config.cpu_based_exec_ctrl & in cpu_has_tertiary_exec_ctrls()
143 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtualize_apic_accesses()
149 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_ept()
156 (vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_DESC); in vmx_umip_emulated()
161 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_rdtscp()
167 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtualize_x2apic_mode()
173 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_vpid()
179 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_wbinvd_exit()
185 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_unrestricted_guest()
191 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_apic_register_virt()
197 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_virtual_intr_delivery()
203 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_ple()
209 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_rdrand()
215 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_invpcid()
221 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_vmfunc()
228 if (!(vmcs_config.misc & MSR_IA32_VMX_MISC_VMWRITE_SHADOW_RO_FIELDS)) in cpu_has_vmx_shadow_vmcs()
231 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_shadow_vmcs()
237 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_encls_vmexit()
243 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_rdseed()
249 return vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_ENABLE_PML; in cpu_has_vmx_pml()
254 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_xsaves()
260 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_waitpkg()
266 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_tsc_scaling()
272 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_vmx_bus_lock_detection()
285 return vmcs_config.cpu_based_3rd_exec_ctrl & TERTIARY_EXEC_IPI_VIRT; in cpu_has_vmx_ipiv()
370 return (vmcs_config.misc & MSR_IA32_VMX_MISC_INTEL_PT) && in cpu_has_vmx_intel_pt()
371 (vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_PT_USE_GPA) && in cpu_has_vmx_intel_pt()
372 (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_RTIT_CTL); in cpu_has_vmx_intel_pt()
400 return vmcs_config.cpu_based_2nd_exec_ctrl & in cpu_has_notify_vmexit()