Searched refs:ms_hyperv (Results 1 – 8 of 8) sorted by relevance
40 struct ms_hyperv_info ms_hyperv; variable72 if (hv_is_synic_msr(reg) && ms_hyperv.paravisor_present) in hv_get_non_nested_msr()82 if (hv_is_synic_msr(reg) && ms_hyperv.paravisor_present) { in hv_set_non_nested_msr()125 if (ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED) in DEFINE_IDTENTRY_SYSVEC()274 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in x86_setup_ops_for_tsc_pg_clock()368 if (!ms_hyperv.paravisor_present && hv_isolation_type_snp()) { in hv_smp_prepare_cpus()437 ms_hyperv.features = cpuid_eax(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()438 ms_hyperv.priv_high = cpuid_ebx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()439 ms_hyperv.misc_features = cpuid_edx(HYPERV_CPUID_FEATURES); in ms_hyperv_init_platform()440 ms_hyperv.hints = cpuid_eax(HYPERV_CPUID_ENLIGHTMENT_INFO); in ms_hyperv_init_platform()[all …]
66 if (hv_isolation_type_tdx() && ms_hyperv.paravisor_present) in hv_post_message()77 if (ms_hyperv.paravisor_present) { in hv_post_message()125 if (ms_hyperv.paravisor_present && hv_isolation_type_tdx()) { in hv_synic_alloc()147 if (!ms_hyperv.paravisor_present && !hv_root_partition) { in hv_synic_alloc()166 if (!ms_hyperv.paravisor_present && in hv_synic_alloc()215 if (ms_hyperv.paravisor_present && hv_isolation_type_tdx()) { in hv_synic_free()226 if (!ms_hyperv.paravisor_present && in hv_synic_free()275 if (ms_hyperv.paravisor_present || hv_root_partition) { in hv_synic_enable_regs()278 ~ms_hyperv.shared_gpa_boundary; in hv_synic_enable_regs()294 if (ms_hyperv.paravisor_present || hv_root_partition) { in hv_synic_enable_regs()[all …]
24 return ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB && in svm_hv_is_enlightened_tlb_enabled()36 ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) in svm_hv_init_vmcb()39 if (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP) in svm_hv_init_vmcb()46 ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB) { in svm_hv_hardware_setup()52 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) { in svm_hv_hardware_setup()
151 if (!ms_hyperv.paravisor_present && hv_isolation_type_tdx()) in hv_stimer_init()270 if (!(ms_hyperv.features & HV_MSR_SYNTIMER_AVAILABLE)) in hv_stimer_alloc()277 direct_mode_enabled = ms_hyperv.misc_features & in hv_stimer_alloc()558 if (ms_hyperv.features & HV_ACCESS_TSC_INVARIANT) { in hv_init_tsc_clocksource()563 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_init_tsc_clocksource()601 if (!(ms_hyperv.features & HV_ACCESS_TSC_INVARIANT)) { in hv_init_tsc_clocksource()621 if (ms_hyperv.features & HV_MSR_TIME_REF_COUNT_AVAILABLE) in hv_init_clocksource()627 if (!(ms_hyperv.features & HV_MSR_REFERENCE_TSC_AVAILABLE)) in hv_remap_tsc_clocksource()
352 start_vp_input->target_vtl.target_vtl = ms_hyperv.vtl; in hv_snp_boot_ap()436 if (!ms_hyperv.paravisor_present) in hv_ivm_msr_write()447 if (!ms_hyperv.paravisor_present) in hv_ivm_msr_read()655 cc_set_mask(ms_hyperv.shared_gpa_boundary); in hv_vtom_init()656 physical_mask &= ms_hyperv.shared_gpa_boundary - 1; in hv_vtom_init()672 if (!(ms_hyperv.priv_high & HV_ISOLATION)) in hv_get_isolation_type()674 return FIELD_GET(HV_ISOLATION_TYPE, ms_hyperv.isolation_config_b); in hv_get_isolation_type()
73 !(ms_hyperv.hints & HV_X64_CLUSTER_IPI_RECOMMENDED) || in hv_init_spinlocks()74 !(ms_hyperv.features & HV_MSR_GUEST_IDLE_AVAILABLE)) { in hv_init_spinlocks()
229 if (vp_id > ms_hyperv.max_vp_index) { in hv_vtl_wakeup_secondary_cpu()
564 if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED && in hv_init_evmcs()565 (ms_hyperv.nested_features & HV_X64_ENLIGHTENED_VMCS_VERSION) >= in hv_init_evmcs()581 if (ms_hyperv.nested_features & HV_X64_NESTED_DIRECT_FLUSH) in hv_init_evmcs()7571 (ms_hyperv.nested_features & HV_X64_NESTED_MSR_BITMAP)) { in vmx_vcpu_create()8471 if (ms_hyperv.nested_features & HV_X64_NESTED_GUEST_MAPPING_FLUSH in vmx_hardware_setup()