Searched refs:SPRN_PMC5 (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | pmc56_overflow_test.c | 32 val = mfspr(SPRN_PMC5); in ebb_callee() 70 mtspr(SPRN_PMC5, 0); in pmc56_overflow()
|
A D | ebb.c | 239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state() 447 case 5: mtspr(SPRN_PMC5, value); break; in write_pmc() 459 case 5: return mfspr(SPRN_PMC5); in read_pmc()
|
A D | multi_counter_test.c | 62 mtspr(SPRN_PMC5, pmc_sample_period(sample_period)); in multi_counter()
|
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_hv_p9_perf.c | 58 host_os_sprs->pmc5 = mfspr(SPRN_PMC5); in switch_pmu_to_guest() 92 mtspr(SPRN_PMC5, vcpu->arch.pmc[4]); in switch_pmu_to_guest() 146 vcpu->arch.pmc[4] = mfspr(SPRN_PMC5); in switch_pmu_to_host() 199 mtspr(SPRN_PMC5, host_os_sprs->pmc5); in switch_pmu_to_host()
|
A D | book3s_hv_interrupts.S | 149 mfspr r8, SPRN_PMC5
|
A D | book3s_hv_rmhandlers.S | 2795 mtspr SPRN_PMC5, r8 2850 mtspr SPRN_PMC5, r8 2934 mfspr r7, SPRN_PMC5
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/ |
A D | reg.h | 43 #define SPRN_PMC5 775 macro
|
/linux-6.3-rc2/arch/powerpc/perf/ |
A D | core-book3s.c | 756 pmcs[4] = mfspr(SPRN_PMC5); in pmao_restore_workaround() 775 mtspr(SPRN_PMC5, pmcs[4]); in pmao_restore_workaround() 832 val = mfspr(SPRN_PMC5); in read_pmc() 871 mtspr(SPRN_PMC5, val); in write_pmc() 1286 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0() 2405 freeze_limited_counters(cpuhw, mfspr(SPRN_PMC5), in __perf_event_interrupt()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | reg.h | 917 #define SPRN_PMC5 791 macro 1059 #define SPRN_PMC5 945 /* Performance Counter Register 5 */ macro
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | sysfs.c | 603 SYSFS_PMCSETUP(pmc5, SPRN_PMC5);
|
/linux-6.3-rc2/arch/powerpc/xmon/ |
A D | xmon.c | 2074 mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); in dump_207_sprs()
|
Completed in 33 milliseconds