Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dpmc56_overflow_test.c38 val = mfspr(SPRN_PMC6); in ebb_callee()
71 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
H A Debb.c239 mfspr(SPRN_PMC4), mfspr(SPRN_PMC5), mfspr(SPRN_PMC6), in dump_ebb_hw_state()
448 case 6: mtspr(SPRN_PMC6, value); break; in write_pmc()
460 case 6: return mfspr(SPRN_PMC6); in read_pmc()
H A Dmulti_counter_test.c63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c59 host_os_sprs->pmc6 = mfspr(SPRN_PMC6); in switch_pmu_to_guest()
93 mtspr(SPRN_PMC6, vcpu->arch.pmc[5]); in switch_pmu_to_guest()
147 vcpu->arch.pmc[5] = mfspr(SPRN_PMC6); in switch_pmu_to_host()
200 mtspr(SPRN_PMC6, host_os_sprs->pmc6); in switch_pmu_to_host()
H A Dbook3s_hv_interrupts.S150 mfspr r9, SPRN_PMC6
H A Dbook3s_hv_rmhandlers.S2796 mtspr SPRN_PMC6, r9
2851 mtspr SPRN_PMC6, r9
2935 mfspr r8, SPRN_PMC6
2971 mtspr SPRN_PMC6, r3
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dreg.h46 #define SPRN_PMC6 776 macro
/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c757 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
763 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround()
776 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround()
835 val = mfspr(SPRN_PMC6); in read_pmc()
874 mtspr(SPRN_PMC6, val); in write_pmc()
1286 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0()
2405 mfspr(SPRN_PMC6)); in __perf_event_interrupt()
/openbmc/linux/arch/powerpc/include/asm/
H A Dreg.h929 #define SPRN_PMC6 792 macro
1071 #define SPRN_PMC6 946 /* Performance Counter Register 6 */ macro
/openbmc/linux/arch/powerpc/kernel/
H A Dsysfs.c609 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c2077 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()