Searched refs:this_cpu_property (Results 1 – 5 of 5) sorted by relevance
92 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()
139 return min_t(uint8_t, kvm_pmu_version, this_cpu_property(X86_PROPERTY_PMU_VERSION)); in guest_get_pmu_version() 251 uint32_t nr_gp_counters = this_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS); in guest_test_arch_event() 448 nr_gp_counters = this_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS); in guest_test_gp_counters() 502 nr_fixed_counters = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in guest_test_fixed_counters() 509 supported_bitmask = this_cpu_property(X86_PROPERTY_PMU_FIXED_COUNTERS_BITMASK); in guest_test_fixed_counters() 589 TEST_ASSERT(this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH) <= NR_INTEL_ARCH_EVENTS, in test_intel_counters() 591 this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH), in test_intel_counters() 592 this_cpu_property(X86_PROPERTY_PMU_EVENTS_MASK)); in test_intel_counters()
53 GUEST_ASSERT_EQ(this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF), 0x40000001); in guest_main()
715 static inline uint32_t this_cpu_property(struct kvm_x86_cpu_property property) in this_cpu_property() function 727 max_leaf = this_cpu_property(X86_PROPERTY_MAX_BASIC_LEAF); in this_cpu_has_p() 730 max_leaf = this_cpu_property(X86_PROPERTY_MAX_KVM_LEAF); in this_cpu_has_p() 733 max_leaf = this_cpu_property(X86_PROPERTY_MAX_EXT_LEAF); in this_cpu_has_p() 736 max_leaf = this_cpu_property(X86_PROPERTY_MAX_CENTAUR_LEAF); in this_cpu_has_p() 746 nr_bits = this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); in this_pmu_has() 751 nr_bits = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in this_pmu_has() 760 return this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_LO) | in this_cpu_supported_xcr0() 761 ((uint64_t)this_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_HI) << 32); in this_cpu_supported_xcr0()
1161 vm->arch.c_bit = BIT_ULL(this_cpu_property(X86_PROPERTY_SEV_C_BIT)); in kvm_init_vm_address_properties() 1256 maxphyaddr = this_cpu_property(X86_PROPERTY_MAX_PHY_ADDR); in vm_compute_max_gfn() 1260 max_pfn >>= this_cpu_property(X86_PROPERTY_PHYS_ADDR_REDUCTION); in vm_compute_max_gfn()