Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dmshyperv.c35 struct ms_hyperv_info ms_hyperv; variable
36 EXPORT_SYMBOL_GPL(ms_hyperv);
52 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
245 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
246 ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
247 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
250 ms_hyperv.features, ms_hyperv.hints, ms_hyperv.misc_features); in ms_hyperv_init_platform()
252 ms_hyperv.max_vp_index = cpuid_eax(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()
253 ms_hyperv.max_lp_index = cpuid_ebx(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()
256 ms_hyperv.max_vp_index, ms_hyperv.max_lp_index); in ms_hyperv_init_platform()
[all …]
/kernel/linux/linux-5.10/drivers/clocksource/
Dhyperv_timer.c182 if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE)) in hv_stimer_alloc()
189 direct_mode_enabled = ms_hyperv.misc_features & in hv_stimer_alloc()
426 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_init_tsc_clocksource()
466 if (!(ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE)) in hv_init_clocksource()
/kernel/linux/linux-5.10/arch/x86/hyperv/
Dhv_spinlock.c68 !(ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) || in hv_init_spinlocks()
69 !(ms_hyperv.features & HV_MSR_GUEST_IDLE_AVAILABLE)) { in hv_init_spinlocks()
Dhv_init.c154 return ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in hv_reenlightenment_available()
155 ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE && in hv_reenlightenment_available()
156 ms_hyperv.features & HV_ACCESS_REENLIGHTENMENT; in hv_reenlightenment_available()
364 if ((ms_hyperv.features & required_msrs) != required_msrs) in hyperv_init()
389 ms_hyperv.hints &= ~HV_X64_ENLIGHTENED_VMCS_RECOMMENDED; in hyperv_init()
Dhv_apic.c108 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
257 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
272 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
Dmmu.c178 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in hyperv_flush_tlb_others_ex()
238 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED)) in hyperv_setup_mmu_ops()
/kernel/linux/linux-5.10/include/asm-generic/
Dmshyperv.h36 extern struct ms_hyperv_info ms_hyperv;
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmshyperv.h40 (!(ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED))
/kernel/linux/linux-5.10/drivers/hv/
Dvmbus_drv.c79 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE in hyperv_panic_event()
1462 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_bus_init()
2682 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_exit()
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/
Dvmx.c2731 (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP)) { in alloc_loaded_vmcs()
7931 if (ms_hyperv.nested_features & HV_X64_NESTED_GUEST_MAPPING_FLUSH in hardware_setup()
8111 ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED && in vmx_init()
8112 (ms_hyperv.nested_features & HV_X64_ENLIGHTENED_VMCS_VERSION) >= in vmx_init()
8129 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) in vmx_init()