Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86_64/
A Damx_test.c90 GUEST_ASSERT(this_cpu_property(X86_PROPERTY_XSTATE_MAX_SIZE_XCR0) <= XSAVE_SIZE); in check_xtile_info()
92 xtile.xsave_offset = this_cpu_property(X86_PROPERTY_XSTATE_TILE_OFFSET); in check_xtile_info()
94 xtile.xsave_size = this_cpu_property(X86_PROPERTY_XSTATE_TILE_SIZE); in check_xtile_info()
99 GUEST_ASSERT(this_cpu_property(X86_PROPERTY_AMX_MAX_PALETTE_TABLES) >= in check_xtile_info()
103 xtile.max_names = this_cpu_property(X86_PROPERTY_AMX_NR_TILE_REGS); in check_xtile_info()
105 xtile.bytes_per_tile = this_cpu_property(X86_PROPERTY_AMX_BYTES_PER_TILE); in check_xtile_info()
107 xtile.bytes_per_row = this_cpu_property(X86_PROPERTY_AMX_BYTES_PER_ROW); in check_xtile_info()
109 xtile.max_rows = this_cpu_property(X86_PROPERTY_AMX_MAX_ROWS); in check_xtile_info()
A Dpmu_counters_test.c89 return min_t(uint8_t, kvm_pmu_version, this_cpu_property(X86_PROPERTY_PMU_VERSION)); in guest_get_pmu_version()
234 uint32_t nr_gp_counters = this_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS); in guest_test_arch_event()
431 nr_gp_counters = this_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS); in guest_test_gp_counters()
485 nr_fixed_counters = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in guest_test_fixed_counters()
492 supported_bitmask = this_cpu_property(X86_PROPERTY_PMU_FIXED_COUNTERS_BITMASK); in guest_test_fixed_counters()
A Dcpuid_test.c54 GUEST_ASSERT_EQ(this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF), 0x40000001); in guest_main()
/linux/tools/testing/selftests/kvm/include/x86_64/
A Dprocessor.h701 static inline uint32_t this_cpu_property(struct kvm_x86_cpu_property property) in this_cpu_property() function
713 max_leaf = this_cpu_property(X86_PROPERTY_MAX_BASIC_LEAF); in this_cpu_has_p()
716 max_leaf = this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF); in this_cpu_has_p()
719 max_leaf = this_cpu_property(X86_PROPERTY_MAX_EXT_LEAF); in this_cpu_has_p()
722 max_leaf = this_cpu_property(X86_PROPERTY_MAX_CENTAUR_LEAF); in this_cpu_has_p()
732 nr_bits = this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); in this_pmu_has()
737 nr_bits = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in this_pmu_has()
746 return this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_LO) | in this_cpu_supported_xcr0()
747 ((uint64_t)this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_HI) << 32); in this_cpu_supported_xcr0()
/linux/tools/testing/selftests/kvm/lib/x86_64/
A Dprocessor.c1139 vm->arch.c_bit = BIT_ULL(this_cpu_property(X86_PROPERTY_SEV_C_BIT)); in kvm_init_vm_address_properties()
1234 maxphyaddr = this_cpu_property(X86_PROPERTY_MAX_PHY_ADDR); in vm_compute_max_gfn()
1238 max_pfn >>= this_cpu_property(X86_PROPERTY_PHYS_ADDR_REDUCTION); in vm_compute_max_gfn()

Completed in 724 milliseconds