Symbol: vmcs_config
arch/x86/kvm/vmx/capabilities.h
100
return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_EFER;
arch/x86/kvm/vmx/capabilities.h
105
return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL;
arch/x86/kvm/vmx/capabilities.h
110
return (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_CET_STATE);
arch/x86/kvm/vmx/capabilities.h
115
return vmcs_config.vmexit_ctrl & VM_EXIT_SAVE_IA32_PERF_GLOBAL_CTRL;
arch/x86/kvm/vmx/capabilities.h
120
return vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_BNDCFGS;
arch/x86/kvm/vmx/capabilities.h
125
return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_TPR_SHADOW;
arch/x86/kvm/vmx/capabilities.h
135
return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_USE_MSR_BITMAPS;
arch/x86/kvm/vmx/capabilities.h
140
return vmcs_config.cpu_based_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
146
return vmcs_config.cpu_based_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
152
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
158
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
165
(vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_DESC);
arch/x86/kvm/vmx/capabilities.h
170
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
176
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
182
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
188
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
194
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
200
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
206
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
212
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
218
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
224
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
230
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
237
if (!(vmcs_config.misc & VMX_MISC_VMWRITE_SHADOW_RO_FIELDS))
arch/x86/kvm/vmx/capabilities.h
240
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
246
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
252
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
258
return vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_ENABLE_PML;
arch/x86/kvm/vmx/capabilities.h
263
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
269
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
275
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
281
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
294
return vmcs_config.cpu_based_3rd_exec_ctrl & TERTIARY_EXEC_IPI_VIRT;
arch/x86/kvm/vmx/capabilities.h
379
return (vmcs_config.misc & VMX_MISC_INTEL_PT) &&
arch/x86/kvm/vmx/capabilities.h
380
(vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_PT_USE_GPA) &&
arch/x86/kvm/vmx/capabilities.h
381
(vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_RTIT_CTL);
arch/x86/kvm/vmx/capabilities.h
410
return vmcs_config.cpu_based_2nd_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
63
extern struct vmcs_config vmcs_config __ro_after_init;
arch/x86/kvm/vmx/capabilities.h
73
return vmcs_config.basic & VMX_BASIC_INOUT;
arch/x86/kvm/vmx/capabilities.h
78
return vmcs_config.basic & VMX_BASIC_NO_HW_ERROR_CODE_CC;
arch/x86/kvm/vmx/capabilities.h
83
return vmcs_config.pin_based_exec_ctrl & PIN_BASED_VIRTUAL_NMIS &&
arch/x86/kvm/vmx/capabilities.h
84
vmcs_config.cpu_based_exec_ctrl & CPU_BASED_NMI_WINDOW_EXITING;
arch/x86/kvm/vmx/capabilities.h
89
return vmcs_config.pin_based_exec_ctrl &
arch/x86/kvm/vmx/capabilities.h
95
return vmcs_config.pin_based_exec_ctrl & PIN_BASED_POSTED_INTR;
arch/x86/kvm/vmx/nested.c
1300
u64 vmx_basic = vmcs_config.nested.basic;
arch/x86/kvm/vmx/nested.c
1366
vmx_get_control_msr(&vmcs_config.nested, msr_index, &lowp, &highp);
arch/x86/kvm/vmx/nested.c
1398
u64 vmx_misc = vmx_control_msr(vmcs_config.nested.misc_low,
arch/x86/kvm/vmx/nested.c
1399
vmcs_config.nested.misc_high);
arch/x86/kvm/vmx/nested.c
1434
u64 vmx_ept_vpid_cap = vmx_control_msr(vmcs_config.nested.ept_caps,
arch/x86/kvm/vmx/nested.c
1435
vmcs_config.nested.vpid_caps);
arch/x86/kvm/vmx/nested.c
1460
const u64 *msr = vmx_get_fixed0_msr(&vmcs_config.nested, msr_index);
arch/x86/kvm/vmx/nested.c
1530
if (data & ~vmcs_config.nested.vmfunc_controls)
arch/x86/kvm/vmx/nested.c
2754
} else if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT) {
arch/x86/kvm/vmx/nested.c
7097
static void nested_vmx_setup_pinbased_ctls(struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/nested.c
7114
static void nested_vmx_setup_exit_ctls(struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/nested.c
7141
static void nested_vmx_setup_entry_ctls(struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/nested.c
7166
static void nested_vmx_setup_cpubased_ctls(struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/nested.c
7203
struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/nested.c
7285
static void nested_vmx_setup_misc_data(struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/nested.c
7345
void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps)
arch/x86/kvm/vmx/nested.c
7402
nested_vmx_setup_ctls_msrs(&vmcs_config, vmx_capability.ept);
arch/x86/kvm/vmx/nested.h
21
void nested_vmx_setup_ctls_msrs(struct vmcs_config *vmcs_conf, u32 ept_caps);
arch/x86/kvm/vmx/vmx.c
2113
return vmx_get_vmx_msr(&vmcs_config.nested, msr, data);
arch/x86/kvm/vmx/vmx.c
2479
if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT)
arch/x86/kvm/vmx/vmx.c
2742
static int setup_vmcs_config(struct vmcs_config *vmcs_conf,
arch/x86/kvm/vmx/vmx.c
2953
struct vmcs_config vmcs_conf;
arch/x86/kvm/vmx/vmx.c
2966
if (memcmp(&vmcs_config, &vmcs_conf, sizeof(struct vmcs_config))) {
arch/x86/kvm/vmx/vmx.c
2967
u32 *gold = (void *)&vmcs_config;
arch/x86/kvm/vmx/vmx.c
2971
BUILD_BUG_ON(sizeof(struct vmcs_config) % sizeof(u32));
arch/x86/kvm/vmx/vmx.c
2974
for (i = 0; i < sizeof(struct vmcs_config) / sizeof(u32); i++) {
arch/x86/kvm/vmx/vmx.c
3066
memset(vmcs, 0, vmx_basic_vmcs_size(vmcs_config.basic));
arch/x86/kvm/vmx/vmx.c
3072
vmcs->hdr.revision_id = vmx_basic_vmcs_revision_id(vmcs_config.basic);
arch/x86/kvm/vmx/vmx.c
3165
vmcs->hdr.revision_id = vmx_basic_vmcs_revision_id(vmcs_config.basic);
arch/x86/kvm/vmx/vmx.c
4571
if (vmcs_config.vmexit_ctrl & VM_EXIT_LOAD_IA32_PAT) {
arch/x86/kvm/vmx/vmx.c
4623
u32 pin_based_exec_ctrl = vmcs_config.pin_based_exec_ctrl;
arch/x86/kvm/vmx/vmx.c
4639
u32 vmentry_ctrl = vmcs_config.vmentry_ctrl;
arch/x86/kvm/vmx/vmx.c
4656
u32 vmexit_ctrl = vmcs_config.vmexit_ctrl;
arch/x86/kvm/vmx/vmx.c
4695
u32 exec_control = vmcs_config.cpu_based_exec_ctrl;
arch/x86/kvm/vmx/vmx.c
4739
u64 exec_control = vmcs_config.cpu_based_3rd_exec_ctrl;
arch/x86/kvm/vmx/vmx.c
4781
if (WARN_ON_ONCE(!(vmcs_config.nested.secondary_ctls_high & control)))
arch/x86/kvm/vmx/vmx.c
4819
u32 exec_control = vmcs_config.cpu_based_2nd_exec_ctrl;
arch/x86/kvm/vmx/vmx.c
5009
if (vmcs_config.vmentry_ctrl & VM_ENTRY_LOAD_IA32_PAT)
arch/x86/kvm/vmx/vmx.c
5067
memcpy(&vmx->nested.msrs, &vmcs_config.nested, sizeof(vmx->nested.msrs));
arch/x86/kvm/vmx/vmx.c
593
struct vmcs_config vmcs_config __ro_after_init;
arch/x86/kvm/vmx/vmx.c
7842
if (vmcs_config.cpu_based_2nd_exec_ctrl & SECONDARY_EXEC_EPT_VIOLATION_VE) {
arch/x86/kvm/vmx/vmx.c
8829
vmx_misc_preemption_timer_rate(vmcs_config.misc);
arch/x86/kvm/vmx/vmx.c
8941
if (setup_vmcs_config(&vmcs_config, &vmx_capability) < 0)
arch/x86/kvm/vmx/vmx_onhyperv.c
28
void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf)
arch/x86/kvm/vmx/vmx_onhyperv.h
121
void evmcs_sanitize_exec_ctrls(struct vmcs_config *vmcs_conf);