Searched refs:ms_hyperv (Results 1 – 10 of 10) sorted by relevance
34 struct ms_hyperv_info ms_hyperv; variable35 EXPORT_SYMBOL_GPL(ms_hyperv);52 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in hyperv_vector_handler()226 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()227 ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()228 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()231 ms_hyperv.features, ms_hyperv.hints); in ms_hyperv_init_platform()233 ms_hyperv.max_vp_index = cpuid_eax(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()234 ms_hyperv.max_lp_index = cpuid_ebx(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()237 ms_hyperv.max_vp_index, ms_hyperv.max_lp_index); in ms_hyperv_init_platform()[all …]
114 if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE)) in hv_stimer_init()141 if (ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) { in hv_stimer_cleanup()157 direct_mode_enabled = ms_hyperv.misc_features & in hv_stimer_alloc()195 if (ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) { in hv_stimer_global_cleanup()277 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_init_tsc_clocksource()317 if (!(ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE)) in hv_init_clocksource()
136 return ms_hyperv.features & HV_X64_ACCESS_FREQUENCY_MSRS && in hv_reenlightenment_available()137 ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE && in hv_reenlightenment_available()138 ms_hyperv.features & HV_X64_ACCESS_REENLIGHTENMENT; in hv_reenlightenment_available()261 if ((ms_hyperv.features & required_msrs) != required_msrs) in hyperv_init()286 ms_hyperv.hints &= ~HV_X64_ENLIGHTENED_VMCS_RECOMMENDED; in hyperv_init()
68 !(ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) || in hv_init_spinlocks()69 !(ms_hyperv.features & HV_X64_MSR_GUEST_IDLE_AVAILABLE)) { in hv_init_spinlocks()
108 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()247 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()262 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
172 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in hyperv_flush_tlb_others_ex()232 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED)) in hyperv_setup_mmu_ops()
36 extern struct ms_hyperv_info ms_hyperv;
187 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in hv_synic_enable_regs()
1364 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_bus_init()2416 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_exit()
2592 (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP)) { in alloc_loaded_vmcs()7641 if (ms_hyperv.nested_features & HV_X64_NESTED_GUEST_MAPPING_FLUSH in hardware_setup()7961 ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED && in vmx_init()7962 (ms_hyperv.nested_features & HV_X64_ENLIGHTENED_VMCS_VERSION) >= in vmx_init()7979 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) in vmx_init()