Home
last modified time | relevance | path

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

/linux-5.19.10/arch/x86/kernel/cpu/
Dmshyperv.c40 struct ms_hyperv_info ms_hyperv; variable
56 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()
271 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
272 ms_hyperv.priv_high = cpuid_ebx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
273 ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()
274 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()
279 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in ms_hyperv_init_platform()
280 ms_hyperv.misc_features); in ms_hyperv_init_platform()
282 ms_hyperv.max_vp_index = cpuid_eax(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()
283 ms_hyperv.max_lp_index = cpuid_ebx(HYPERV_CPUID_IMPLEMENT_LIMITS); in ms_hyperv_init_platform()
[all …]
/linux-5.19.10/arch/arm64/hyperv/
Dmshyperv.c46 ms_hyperv.features = result.as32.a; in hyperv_init()
47 ms_hyperv.priv_high = result.as32.b; in hyperv_init()
48 ms_hyperv.misc_features = result.as32.c; in hyperv_init()
51 ms_hyperv.hints = result.as32.a; in hyperv_init()
54 ms_hyperv.features, ms_hyperv.priv_high, ms_hyperv.hints, in hyperv_init()
55 ms_hyperv.misc_features); in hyperv_init()
/linux-5.19.10/arch/x86/kvm/svm/
Dsvm_onhyperv.h24 ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) in svm_hv_init_vmcb()
27 if (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP) in svm_hv_init_vmcb()
34 ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) { in svm_hv_hardware_setup()
41 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) { in svm_hv_hardware_setup()
/linux-5.19.10/drivers/hv/
Dhv_common.c39 struct ms_hyperv_info __weak ms_hyperv; variable
40 EXPORT_SYMBOL_GPL(ms_hyperv);
83 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in hv_common_init()
196 if (!(ms_hyperv.priv_high & HV_ENABLE_EXTENDED_HYPERCALLS)) in hv_query_ext_cap()
Dconnection.c247 ms_hyperv.shared_gpa_boundary; in vmbus_connect()
249 ms_hyperv.shared_gpa_boundary; in vmbus_connect()
Dhv.c265 !(ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED); in hv_synic_enable_regs()
Dring_buffer.c201 PFN_DOWN(ms_hyperv.shared_gpa_boundary); in hv_ringbuffer_init()
Dvmbus_drv.c84 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE in hyperv_panic_event()
1516 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_bus_init()
2766 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in vmbus_exit()
/linux-5.19.10/drivers/clocksource/
Dhyperv_timer.c243 if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE)) in hv_stimer_alloc()
250 direct_mode_enabled = ms_hyperv.misc_features & in hv_stimer_alloc()
501 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_init_tsc_clocksource()
518 if (ms_hyperv.features & HV_ACCESS_TSC_INVARIANT) { in hv_init_tsc_clocksource()
559 if (!(ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE)) in hv_init_clocksource()
/linux-5.19.10/arch/x86/hyperv/
Dhv_spinlock.c72 !(ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) || in hv_init_spinlocks()
73 !(ms_hyperv.features & HV_MSR_GUEST_IDLE_AVAILABLE)) { in hv_init_spinlocks()
Dhv_apic.c111 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in __send_ipi_mask_ex()
280 if (ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) { in hv_apic_init()
295 if (ms_hyperv.hints & HV_X64_APIC_ACCESS_RECOMMENDED) { in hv_apic_init()
Dhv_init.c157 return ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in hv_reenlightenment_available()
158 ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE && in hv_reenlightenment_available()
159 ms_hyperv.features & HV_ACCESS_REENLIGHTENMENT; in hv_reenlightenment_available()
404 ms_hyperv.hints &= ~HV_X64_ENLIGHTENED_VMCS_RECOMMENDED; in hyperv_init()
Divm.c240 if (!(ms_hyperv.priv_high & HV_ISOLATION)) in hv_get_isolation_type()
242 return FIELD_GET(HV_ISOLATION_TYPE, ms_hyperv.isolation_config_b); in hv_get_isolation_type()
378 (ms_hyperv.shared_gpa_boundary >> PAGE_SHIFT); in hv_map_memory()
Dmmu.c177 if (!(ms_hyperv.hints & HV_X64_EX_PROCESSOR_MASKS_RECOMMENDED)) in hyperv_flush_tlb_others_ex()
237 if (!(ms_hyperv.hints & HV_X64_REMOTE_TLB_FLUSH_RECOMMENDED)) in hyperv_setup_mmu_ops()
/linux-5.19.10/include/asm-generic/
Dmshyperv.h50 extern struct ms_hyperv_info ms_hyperv;
/linux-5.19.10/arch/x86/kvm/vmx/
Dvmx.c7128 (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP)) { in vmx_vcpu_create()
8072 if (ms_hyperv.nested_features & HV_X64_NESTED_GUEST_MAPPING_FLUSH in hardware_setup()
8258 ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED && in vmx_init()
8259 (ms_hyperv.nested_features & HV_X64_ENLIGHTENED_VMCS_VERSION) >= in vmx_init()
8275 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) in vmx_init()