Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Damx_test.c92 GUEST_ASSERT(this_cpu_property(X86_PROPERTY_XSTATE_MAX_SIZE_XCR0) <= XSAVE_SIZE); in check_xtile_info()
94 xtile.xsave_offset = this_cpu_property(X86_PROPERTY_XSTATE_TILE_OFFSET); in check_xtile_info()
96 xtile.xsave_size = this_cpu_property(X86_PROPERTY_XSTATE_TILE_SIZE); in check_xtile_info()
101 GUEST_ASSERT(this_cpu_property(X86_PROPERTY_AMX_MAX_PALETTE_TABLES) >= in check_xtile_info()
105 xtile.max_names = this_cpu_property(X86_PROPERTY_AMX_NR_TILE_REGS); in check_xtile_info()
107 xtile.bytes_per_tile = this_cpu_property(X86_PROPERTY_AMX_BYTES_PER_TILE); in check_xtile_info()
109 xtile.bytes_per_row = this_cpu_property(X86_PROPERTY_AMX_BYTES_PER_ROW); in check_xtile_info()
111 xtile.max_rows = this_cpu_property(X86_PROPERTY_AMX_MAX_ROWS); in check_xtile_info()
H A Dcpuid_test.c54 GUEST_ASSERT_EQ(this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF), 0x40000001); in guest_main()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h672 static inline uint32_t this_cpu_property(struct kvm_x86_cpu_property property) in this_cpu_property() function
684 max_leaf = this_cpu_property(X86_PROPERTY_MAX_BASIC_LEAF); in this_cpu_has_p()
687 max_leaf = this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF); in this_cpu_has_p()
690 max_leaf = this_cpu_property(X86_PROPERTY_MAX_EXT_LEAF); in this_cpu_has_p()
693 max_leaf = this_cpu_property(X86_PROPERTY_MAX_CENTAUR_LEAF); in this_cpu_has_p()
700 uint32_t nr_bits = this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); in this_pmu_has()
711 return this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_LO) | in this_cpu_supported_xcr0()
712 ((uint64_t)this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_HI) << 32); in this_cpu_supported_xcr0()
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c1276 maxphyaddr = this_cpu_property(X86_PROPERTY_MAX_PHY_ADDR); in vm_compute_max_gfn()
1280 max_pfn >>= this_cpu_property(X86_PROPERTY_PHYS_ADDR_REDUCTION); in vm_compute_max_gfn()