Searched refs:ms_hyperv (Results 1 – 15 of 15) sorted by relevance
40 struct ms_hyperv_info ms_hyperv; variable74 if (hv_is_synic_msr(reg) && ms_hyperv.paravisor_present) in hv_get_non_nested_msr()84 if (hv_is_synic_msr(reg) && ms_hyperv.paravisor_present) { in hv_set_non_nested_msr()115 if (WARN_ON(!ms_hyperv.paravisor_present || !hv_is_synic_msr(reg))) in hv_para_get_synic_register()125 if (WARN_ON(!ms_hyperv.paravisor_present || !hv_is_synic_msr(reg))) in hv_para_set_synic_register()167 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()325 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in x86_setup_ops_for_tsc_pg_clock()429 if (!ms_hyperv.paravisor_present && hv_isolation_type_snp()) { in hv_smp_prepare_cpus()544 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()545 ms_hyperv.priv_high = cpuid_ebx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()[all …]
93 if (!ms_hyperv.paravisor_present || !hv_isolation_type_snp()) in hyperv_init_ghcb()107 ghcb_gpa &= ~ms_hyperv.shared_gpa_boundary; in hyperv_init_ghcb()158 if (*hvp && !ms_hyperv.paravisor_present && hv_isolation_type_snp()) { in hv_cpu_init()213 return ms_hyperv.features & HV_ACCESS_FREQUENCY_MSRS && in hv_reenlightenment_available()214 ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE && in hv_reenlightenment_available()215 ms_hyperv.features & HV_ACCESS_REENLIGHTENMENT; in hv_reenlightenment_available()473 ms_hyperv.hints &= ~HV_X64_ENLIGHTENED_VMCS_RECOMMENDED; in hyperv_init()479 if (ms_hyperv.paravisor_present && hv_isolation_type_snp()) { in hyperv_init()523 if (hv_isolation_type_tdx() && !ms_hyperv.paravisor_present) in hyperv_init()588 if (ms_hyperv.priv_high & HV_ACCESS_PARTITION_ID) in hyperv_init()[all …]
311 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()
68 if (hv_isolation_type_tdx() && ms_hyperv.paravisor_present) in hv_post_message()79 if (ms_hyperv.paravisor_present && !vmbus_is_confidential()) { in hv_post_message()198 if (ms_hyperv.paravisor_present && hv_isolation_type_tdx()) { in hv_synic_alloc()210 if (!ms_hyperv.paravisor_present && !hv_root_partition()) { in hv_synic_alloc()252 if (ms_hyperv.paravisor_present && hv_isolation_type_tdx()) in hv_synic_free()255 if (!ms_hyperv.paravisor_present && !hv_root_partition()) { in hv_synic_free()291 if (ms_hyperv.paravisor_present || hv_root_partition()) { in hv_hyp_synic_enable_regs()294 ~ms_hyperv.shared_gpa_boundary; in hv_hyp_synic_enable_regs()310 if (ms_hyperv.paravisor_present || hv_root_partition()) { in hv_hyp_synic_enable_regs()313 ~ms_hyperv.shared_gpa_boundary; in hv_hyp_synic_enable_regs()[all …]
52 struct ms_hyperv_info __weak ms_hyperv; variable53 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()
103 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()527 if (ms_hyperv.paravisor_present) { in vmbus_set_event()
160 if (!(ms_hyperv.ext_features & in mshv_try_assert_irq_fast()
278 return ms_hyperv.ext_features & HV_VP_GHCB_ROOT_MAPPING_AVAILABLE; in is_ghcb_mapping_available()
1514 is_confidential = ms_hyperv.confidential_vmbus_available; in vmbus_bus_init()
121 if (!ms_hyperv.paravisor_present && hv_isolation_type_tdx()) in hv_stimer_init()223 if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE) || in hv_stimer_alloc()224 !(ms_hyperv.misc_features & HV_STIMER_DIRECT_MODE_AVAILABLE)) in hv_stimer_alloc()475 if ((ms_hyperv.features & HV_ACCESS_TSC_INVARIANT) || in hv_init_tsc_clocksource()481 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_init_tsc_clocksource()519 if (!(ms_hyperv.features & HV_ACCESS_TSC_INVARIANT)) { in hv_init_tsc_clocksource()539 if (ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE) in hv_init_clocksource()545 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_remap_tsc_clocksource()
22 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()
41 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()
68 extern struct ms_hyperv_info ms_hyperv;90 return !(ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED); in hv_recommend_using_aeoi()
666 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()
3768 hbus->use_calls = !!(ms_hyperv.hints & HV_X64_USE_MMIO_HYPERCALLS); in hv_pci_probe()