Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_pmu_caps_test.c21 #define PMU_CAP_LBR_FMT 0x3f macro
51 wrmsr(MSR_IA32_PERF_CAPABILITIES, PMU_CAP_LBR_FMT); in guest_code()
65 host_cap.capabilities &= (PMU_CAP_FW_WRITES | PMU_CAP_LBR_FMT); in main()
99 for (val = 1; val <= PMU_CAP_LBR_FMT; val++) { in main()
100 if (val == (host_cap.capabilities & PMU_CAP_LBR_FMT)) in main()
/linux-6.1.9/arch/x86/kvm/vmx/
Dcapabilities.h25 #define PMU_CAP_LBR_FMT 0x3f macro
411 perf_cap |= host_perf_cap & PMU_CAP_LBR_FMT; in vmx_get_perf_capabilities()
Dpmu_intel.c590 (perf_capabilities & PMU_CAP_LBR_FMT)) in intel_pmu_refresh()
Dvmx.c2032 if ((vmx_get_perf_capabilities() & PMU_CAP_LBR_FMT) && in vmx_get_supported_debugctl()
2343 if (data & PMU_CAP_LBR_FMT) { in vmx_set_msr()
2344 if ((data & PMU_CAP_LBR_FMT) != in vmx_set_msr()
2345 (vmx_get_perf_capabilities() & PMU_CAP_LBR_FMT)) in vmx_set_msr()