Searched refs:nested_cpu_has (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | nested.c | 475 if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS)) in nested_vmx_check_io_bitmap_controls() 488 if (!nested_cpu_has(vmcs12, CPU_BASED_USE_MSR_BITMAPS)) in nested_vmx_check_msr_bitmap_controls() 500 if (!nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) in nested_vmx_check_tpr_shadow_controls() 581 !nested_cpu_has(vmcs12, CPU_BASED_USE_MSR_BITMAPS)) in nested_vmx_prepare_msr_bitmap() 768 if (CC(!nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW))) in nested_vmx_check_apicv_controls() 2318 if (nested_cpu_has(vmcs12, in prepare_vmcs02_early() 3227 if (nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) { in nested_get_vmcs12_pages() 3805 if (nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) { in nested_mark_vmcs12_pages_dirty() 5998 if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS)) in nested_vmx_exit_handled_io() 6342 return nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW); in nested_vmx_l1_wants_exit() [all …]
|
H A D | nested.h | 131 static inline bool nested_cpu_has(struct vmcs12 *vmcs12, u32 bit) in nested_cpu_has() function 161 return nested_cpu_has(vmcs12, CPU_BASED_MONITOR_TRAP_FLAG); in nested_cpu_has_mtf()
|
H A D | vmx.c | 1910 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING)) in vmx_get_l2_tsc_offset() 1920 if (nested_cpu_has(vmcs12, CPU_BASED_USE_TSC_OFFSETTING) && in vmx_get_l2_tsc_multiplier() 6692 nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) in vmx_update_cr8_intercept() 7973 if (!nested_cpu_has(vmcs12, CPU_BASED_USE_IO_BITMAPS)) in vmx_check_intercept_io() 7974 intercept = nested_cpu_has(vmcs12, in vmx_check_intercept_io()
|