Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.h22 return ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB && in svm_hv_is_enlightened_tlb_enabled()
34 ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) in svm_hv_init_vmcb()
37 if (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP) in svm_hv_init_vmcb()
H A Dsvm_onhyperv.c41 ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) { in svm_hv_hardware_setup()
47 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) { in svm_hv_hardware_setup()
/linux/drivers/hv/
H A Dhv_common.c52 struct ms_hyperv_info __weak ms_hyperv; variable
53 EXPORT_SYMBOL_GPL(ms_hyperv);
92 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) in hv_common_free()
337 if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) { in hv_common_init()
501 if (!ms_hyperv.paravisor_present && in hv_common_cpu_init()
592 if (!(ms_hyperv.priv_high & HV_ENABLE_EXTENDED_HYPERCALLS)) in hv_query_ext_cap()
754 if ((ms_hyperv.priv_high & HV_CREATE_PARTITIONS) && in hv_identify_partition_type()
755 !(ms_hyperv.priv_high & HV_ISOLATION)) { in hv_identify_partition_type()
759 } else if (ms_hyperv.priv_high & HV_CPU_MANAGEMENT) { in hv_identify_partition_type()
H A Dconnection.c103 msg->msg_vtl = ms_hyperv.vtl; in vmbus_try_connection_id()
118 ms_hyperv.shared_gpa_boundary; in vmbus_try_connection_id()
120 ms_hyperv.shared_gpa_boundary; in vmbus_try_connection_id()
174 if (version >= VERSION_WIN10_V5 && ms_hyperv.vtl == 2) { in vmbus_negotiate_version()
524 if (ms_hyperv.paravisor_present) { in vmbus_set_event()
H A Dmshv_eventfd.c160 if (!(ms_hyperv.ext_features & in mshv_try_assert_irq_fast()
H A Dmshv_root_main.c278 return ms_hyperv.ext_features & HV_VP_GHCB_ROOT_MAPPING_AVAILABLE; in is_ghcb_mapping_available()
H A Dvmbus_drv.c1520 is_confidential = ms_hyperv.confidential_vmbus_available; in vmbus_bus_init()
/linux/arch/x86/hyperv/
H A Divm.c311 if (vp_index < 0 || vp_index > ms_hyperv.max_vp_index) in hv_snp_boot_ap()
362 start_vp_input->target_vtl.target_vtl = ms_hyperv.vtl; in hv_snp_boot_ap()
461 if (!ms_hyperv.paravisor_present) in hv_ivm_msr_write()
472 if (!ms_hyperv.paravisor_present) in hv_ivm_msr_read()
887 cc_set_mask(ms_hyperv.shared_gpa_boundary); in hv_vtom_init()
888 physical_mask &= ms_hyperv.shared_gpa_boundary - 1; in hv_vtom_init()
906 if (!(ms_hyperv.priv_high & HV_ISOLATION)) in hv_get_isolation_type()
908 return FIELD_GET(HV_ISOLATION_TYPE, ms_hyperv.isolation_config_b); in hv_get_isolation_type()
/linux/include/asm-generic/
H A Dmshyperv.h68 extern struct ms_hyperv_info ms_hyperv;
90 return !(ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED); in hv_recommend_using_aeoi()
/linux/arch/x86/kvm/vmx/
H A Dvmx.c666 if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED && in hv_init_evmcs()
667 (ms_hyperv.nested_features & HV_X64_ENLIGHTENED_VMCS_VERSION) >= in hv_init_evmcs()
683 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) in hv_init_evmcs()
7712 (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP)) { in vmx_vcpu_create()
8749 if (ms_hyperv.nested_features & HV_X64_NESTED_GUEST_MAPPING_FLUSH in vmx_hardware_setup()
/linux/drivers/pci/controller/
H A Dpci-hyperv.c3767 hbus->use_calls = !!(ms_hyperv.hints & HV_X64_USE_MMIO_HYPERCALLS); in hv_pci_probe()