Home
last modified time | relevance | path

Searched refs:MSR_K7_PERFCTR0 (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/arch/x86/xen/
Dpmu.c88 amd_counters_base = MSR_K7_PERFCTR0; in xen_pmu_arch_init()
96 amd_counters_base = MSR_K7_PERFCTR0; in xen_pmu_arch_init()
115 case MSR_K7_PERFCTR0: in get_fam15h_addr()
119 return MSR_F15H_PERF_CTR + (addr - MSR_K7_PERFCTR0); in get_fam15h_addr()
141 msr < MSR_K7_PERFCTR0 + amd_num_counters)) in is_amd_pmu_msr()
/Linux-v6.6/arch/x86/kvm/svm/
Dpmu.c64 case MSR_K7_PERFCTR0 ... MSR_K7_PERFCTR3: in get_gp_pmc_amd()
67 idx = msr - MSR_K7_PERFCTR0; in get_gp_pmc_amd()
/Linux-v6.6/arch/x86/kernel/cpu/
Dperfctr-watchdog.c53 return msr - MSR_K7_PERFCTR0; in nmi_perfctr_msr_to_bit()
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/
Dpmu_event_filter_test.c186 check_msr(MSR_K7_PERFCTR0, 0xffff); in amd_guest_code()
196 run_and_measure_loop(MSR_K7_PERFCTR0); in amd_guest_code()
553 masked_events_guest_test(MSR_K7_PERFCTR0); in amd_masked_events_guest_code()
/Linux-v6.6/tools/arch/x86/include/asm/
Dmsr-index.h705 #define MSR_K7_PERFCTR0 0xc0010004 macro
/Linux-v6.6/arch/x86/include/asm/
Dmsr-index.h710 #define MSR_K7_PERFCTR0 0xc0010004 macro
/Linux-v6.6/arch/x86/events/amd/
Dcore.c1253 .perfctr = MSR_K7_PERFCTR0,
/Linux-v6.6/arch/x86/kvm/
Dx86.c1487 MSR_K7_PERFCTR0, MSR_K7_PERFCTR1, MSR_K7_PERFCTR2, MSR_K7_PERFCTR3,
3897 case MSR_K7_PERFCTR0 ... MSR_K7_PERFCTR3: in kvm_set_msr_common()
4083 case MSR_K7_PERFCTR0 ... MSR_K7_PERFCTR3: in kvm_get_msr_common()