Home
last modified time | relevance | path

Searched refs:SPRN_PMC4 (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/ebb/
A Dlost_exception_test.c51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body()
78 mtspr(SPRN_PMC4, 0xdead); in test_body()
A Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
446 case 4: mtspr(SPRN_PMC4, value); break; in write_pmc()
458 case 4: return mfspr(SPRN_PMC4); in read_pmc()
A Dmulti_counter_test.c61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_hv_p9_perf.c57 host_os_sprs->pmc4 = mfspr(SPRN_PMC4); in switch_pmu_to_guest()
91 mtspr(SPRN_PMC4, vcpu->arch.pmc[3]); in switch_pmu_to_guest()
145 vcpu->arch.pmc[3] = mfspr(SPRN_PMC4); in switch_pmu_to_host()
198 mtspr(SPRN_PMC4, host_os_sprs->pmc4); in switch_pmu_to_host()
A Dbook3s_hv_interrupts.S148 mfspr r7, SPRN_PMC4
A Dbook3s_hv_rmhandlers.S2794 mtspr SPRN_PMC4, r7
2849 mtspr SPRN_PMC4, r6
2933 mfspr r6, SPRN_PMC4
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/
A Dreg.h42 #define SPRN_PMC4 774 macro
/linux-6.3-rc2/arch/powerpc/perf/
A Dcore-book3s.c755 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround()
774 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround()
829 val = mfspr(SPRN_PMC4); in read_pmc()
868 mtspr(SPRN_PMC4, val); in write_pmc()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dreg.h916 #define SPRN_PMC4 790 macro
1058 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsysfs.c602 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
/linux-6.3-rc2/arch/powerpc/xmon/
A Dxmon.c2072 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()

Completed in 26 milliseconds