Home
last modified time | relevance | path

Searched refs:this_cpu_property (Results 1 – 4 of 4) sorted by relevance

/kvm-unit-tests/lib/x86/
H A Dpmu.c10 pmu.version = this_cpu_property(X86_PROPERTY_PMU_VERSION); in pmu_init()
13 pmu.nr_fixed_counters = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in pmu_init()
14 pmu.fixed_counter_width = this_cpu_property(X86_PROPERTY_PMU_FIXED_COUNTERS_BIT_WIDTH); in pmu_init()
17 pmu.nr_gp_counters = this_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS); in pmu_init()
18 pmu.gp_counter_width = this_cpu_property(X86_PROPERTY_PMU_GP_COUNTERS_BIT_WIDTH); in pmu_init()
19 pmu.arch_event_mask_length = this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); in pmu_init()
22 pmu.arch_event_available = ~this_cpu_property(X86_PROPERTY_PMU_EVENTS_MASK) & in pmu_init()
40 pmu.nr_gp_counters = this_cpu_property(X86_PROPERTY_NR_PERFCTR_CORE); in pmu_init()
H A Dprocessor.h431 static inline uint32_t this_cpu_property(struct x86_cpu_property property) in this_cpu_property() function
443 max_leaf = this_cpu_property(X86_PROPERTY_MAX_BASIC_LEAF); in this_cpu_has_p()
446 max_leaf = this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF); in this_cpu_has_p()
449 max_leaf = this_cpu_property(X86_PROPERTY_MAX_EXT_LEAF); in this_cpu_has_p()
452 max_leaf = this_cpu_property(X86_PROPERTY_MAX_CENTAUR_LEAF); in this_cpu_has_p()
462 return this_cpu_property(X86_PROPERTY_MAX_PHY_ADDR); in cpuid_maxphyaddr()
470 return (u64)this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_LO) | in this_cpu_supported_xcr0()
471 ((u64)this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_HI) << 32); in this_cpu_supported_xcr0()
1057 va_width = this_cpu_property(X86_PROPERTY_MAX_VIRT_ADDR); in is_canonical()
H A Damd_sev.c40 amd_sev_c_bit_pos = this_cpu_property(X86_PROPERTY_SEV_C_BIT); in setup_amd_sev()
/kvm-unit-tests/x86/
H A Dla57.c291 int n_ranges = this_cpu_property(X86_PROPERTY_INTEL_PT_NR_RANGES); in __test_canonical_checks()