Home
last modified time | relevance | path

Searched refs:SPRN_PMC6 (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Doprofile_impl.h81 return mfspr(SPRN_PMC6); in classic_ctr_read()
114 mtspr(SPRN_PMC6, val); in classic_ctr_write()
H A Dreg.h922 #define SPRN_PMC6 792 macro
1064 #define SPRN_PMC6 946 /* Performance Counter Register 6 */ macro
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
H A Dreg.h44 #define SPRN_PMC6 776 macro
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/
H A Dreg.h46 #define SPRN_PMC6 776 macro
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A Dbook3s_hv_interrupts.S159 mfspr r9, SPRN_PMC6
H A Dbook3s_hv_rmhandlers.S3474 mtspr SPRN_PMC6, r9
3537 mtspr SPRN_PMC6, r9
3635 mfspr r8, SPRN_PMC6
3672 mtspr SPRN_PMC6, r3
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dcore-book3s.c704 pmcs[5] = mfspr(SPRN_PMC6); in pmao_restore_workaround()
710 mtspr(SPRN_PMC6, 0x7FFFFFFE); in pmao_restore_workaround()
723 mtspr(SPRN_PMC6, pmcs[5]); in pmao_restore_workaround()
754 val = mfspr(SPRN_PMC6); in read_pmc()
793 mtspr(SPRN_PMC6, val); in write_pmc()
1204 "i" (SPRN_PMC5), "i" (SPRN_PMC6)); in write_mmcr0()
2293 mfspr(SPRN_PMC6)); in __perf_event_interrupt()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dreg.h929 #define SPRN_PMC6 792 macro
1071 #define SPRN_PMC6 946 /* Performance Counter Register 6 */ macro
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsysfs.c604 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsysfs.c609 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
/kernel/linux/linux-5.10/arch/powerpc/xmon/
H A Dxmon.c1993 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()
/kernel/linux/linux-6.6/arch/powerpc/xmon/
H A Dxmon.c2077 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()

Completed in 39 milliseconds