Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h892 static inline uint32_t kvm_cpu_property(struct kvm_x86_cpu_property property) in kvm_cpu_property() function
903 max_leaf = kvm_cpu_property(X86_PROPERTY_MAX_BASIC_LEAF); in kvm_cpu_has_p()
906 max_leaf = kvm_cpu_property(X86_PROPERTY_MAX_KVM_LEAF); in kvm_cpu_has_p()
909 max_leaf = kvm_cpu_property(X86_PROPERTY_MAX_EXT_LEAF); in kvm_cpu_has_p()
912 max_leaf = kvm_cpu_property(X86_PROPERTY_MAX_CENTAUR_LEAF); in kvm_cpu_has_p()
919 uint32_t nr_bits = kvm_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); in kvm_pmu_has()
930 return kvm_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_LO) | in kvm_cpu_supported_xcr0()
931 ((uint64_t)kvm_cpu_property(X86_PROPERTY_SUPPORTED_XCR0_HI) << 32); in kvm_cpu_supported_xcr0()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dpmu_event_filter_test.c409 kvm_cpu_property(X86_PROPERTY_PMU_VERSION) && in use_intel_pmu()
410 kvm_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS) && in use_intel_pmu()
768 uint8_t nr_fixed_counters = kvm_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in test_filter_ioctl()
899 uint8_t nr_fixed_counters = kvm_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); in test_fixed_counter_bitmap()
948 kvm_cpu_property(X86_PROPERTY_PMU_NR_GP_COUNTERS) >= 3) in main()
H A Dvmx_pmu_caps_test.c244 TEST_REQUIRE(kvm_cpu_property(X86_PROPERTY_PMU_VERSION) > 0); in main()
H A Damx_test.c244 xsave_restore_size = kvm_cpu_property(X86_PROPERTY_XSTATE_MAX_SIZE); in main()
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.c1039 *pa_bits = kvm_cpu_property(X86_PROPERTY_MAX_PHY_ADDR); in kvm_get_cpu_address_width()
1040 *va_bits = kvm_cpu_property(X86_PROPERTY_MAX_VIRT_ADDR); in kvm_get_cpu_address_width()