Home
last modified time | relevance | path

Searched refs:PMU_CAP_FW_WRITES (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_caps_test.c20 #define PMU_CAP_FW_WRITES (1ULL << 13) macro
65 host_cap.capabilities &= (PMU_CAP_FW_WRITES | PMU_CAP_LBR_FMT); in main()
79 vcpu_set_msr(vcpu, MSR_IA32_PERF_CAPABILITIES, PMU_CAP_FW_WRITES); in main()
82 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), PMU_CAP_FW_WRITES); in main()
86 ASSERT_EQ(vcpu_get_msr(vcpu, MSR_IA32_PERF_CAPABILITIES), PMU_CAP_FW_WRITES); in main()
/linux-6.1.9/arch/x86/kvm/vmx/
Dcapabilities.h24 #define PMU_CAP_FW_WRITES (1ULL << 13) macro
400 u64 perf_cap = PMU_CAP_FW_WRITES; in vmx_get_perf_capabilities()
Dpmu_intel.c159 return (vcpu_get_perf_capabilities(vcpu) & PMU_CAP_FW_WRITES) != 0; in fw_writes_is_enabled()