Home
last modified time | relevance | path

Searched refs:SPRN_PMC3 (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_p9_perf.c56 host_os_sprs->pmc3 = mfspr(SPRN_PMC3); in switch_pmu_to_guest()
90 mtspr(SPRN_PMC3, vcpu->arch.pmc[2]); in switch_pmu_to_guest()
144 vcpu->arch.pmc[2] = mfspr(SPRN_PMC3); in switch_pmu_to_host()
197 mtspr(SPRN_PMC3, host_os_sprs->pmc3); in switch_pmu_to_host()
A Dbook3s_hv_interrupts.S147 mfspr r6, SPRN_PMC3
A Dbook3s_hv_rmhandlers.S2793 mtspr SPRN_PMC3, r6
2848 mtspr SPRN_PMC3, r5
2932 mfspr r5, SPRN_PMC3
/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/ebb/
A Debb.c238 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), mfspr(SPRN_PMC3), in dump_ebb_hw_state()
445 case 3: mtspr(SPRN_PMC3, value); break; in write_pmc()
457 case 3: return mfspr(SPRN_PMC3); in read_pmc()
A Dmulti_counter_test.c60 mtspr(SPRN_PMC3, pmc_sample_period(sample_period)); in multi_counter()
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/
A Dreg.h41 #define SPRN_PMC3 773 macro
/linux-6.3-rc2/arch/powerpc/perf/
A Dcore-book3s.c754 pmcs[2] = mfspr(SPRN_PMC3); in pmao_restore_workaround()
773 mtspr(SPRN_PMC3, pmcs[2]); in pmao_restore_workaround()
826 val = mfspr(SPRN_PMC3); in read_pmc()
865 mtspr(SPRN_PMC3, val); in write_pmc()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dreg.h915 #define SPRN_PMC3 789 macro
1057 #define SPRN_PMC3 957 /* Performance Counter Register 3 */ macro
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsysfs.c601 SYSFS_PMCSETUP(pmc3, SPRN_PMC3);
/linux-6.3-rc2/arch/powerpc/xmon/
A Dxmon.c2072 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()

Completed in 26 milliseconds