Home
last modified time | relevance | path

Searched refs:ms_hyperv (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/x86/kernel/cpu/
Dmshyperv.c35 struct ms_hyperv_info ms_hyperv; variable
36 EXPORT_SYMBOL_GPL(ms_hyperv);
53 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in hyperv_vector_handler()
212 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
213 ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
214 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
217 ms_hyperv.features, ms_hyperv.hints); in ms_hyperv_init_platform()
219 ms_hyperv.max_vp_index = cpuid_eax(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()
220 ms_hyperv.max_lp_index = cpuid_ebx(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()
223 ms_hyperv.max_vp_index, ms_hyperv.max_lp_index); in ms_hyperv_init_platform()
[all …]
/Linux-v4.19/arch/x86/hyperv/
Dhv_init.c168 return ms_hyperv.features & HV_X64_ACCESS_FREQUENCY_MSRS && in hv_reenlightenment_available()
169 ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE && in hv_reenlightenment_available()
170 ms_hyperv.features & HV_X64_ACCESS_REENLIGHTENMENT; in hv_reenlightenment_available()
277 if ((ms_hyperv.features & required_msrs) != required_msrs) in hyperv_init()
302 ms_hyperv.hints &= ~HV_X64_ENLIGHTENED_VMCS_RECOMMENDED; in hyperv_init()
336 if (ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE) { in hyperv_init()
365 if (ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE) in hyperv_init()
Dhv_apic.c104 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
243 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
258 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
Dmmu.c170 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in hyperv_flush_tlb_others_ex()
230 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED)) in hyperv_setup_mmu_ops()
/Linux-v4.19/drivers/hv/
Dhv.c66 direct_mode_enabled = ms_hyperv.misc_features & in hv_init()
307 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in hv_synic_init()
325 if (ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) in hv_synic_init()
340 if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE)) in hv_synic_clockevents_cleanup()
399 if (ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) { in hv_synic_cleanup()
Dvmbus_drv.c1152 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_bus_init()
1903 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_exit()
/Linux-v4.19/arch/x86/include/asm/
Dmshyperv.h23 extern struct ms_hyperv_info ms_hyperv;
/Linux-v4.19/arch/x86/kvm/
Dvmx.c4780 (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP)) { in alloc_loaded_vmcs()
7928 if (ms_hyperv.nested_features & HV_X64_NESTED_GUEST_MAPPING_FLUSH in hardware_setup()
14303 ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED && in vmx_init()
14304 (ms_hyperv.nested_features & HV_X64_ENLIGHTENED_VMCS_VERSION) >= in vmx_init()