/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_perf.c | 59 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 D | book3s_hv_interrupts.S | 150 mfspr r9, SPRN_PMC6
|
H A D | book3s_hv_rmhandlers.S | 2796 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 D | oprofile_impl.h | 81 return mfspr(SPRN_PMC6); in classic_ctr_read() 114 mtspr(SPRN_PMC6, val); in classic_ctr_write()
|
H A D | reg.h | 922 #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 D | pmc56_overflow_test.c | 38 val = mfspr(SPRN_PMC6); in ebb_callee() 71 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
|
H A D | ebb.c | 239 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 D | multi_counter_test.c | 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | pmc56_overflow_test.c | 38 val = mfspr(SPRN_PMC6); in ebb_callee() 71 mtspr(SPRN_PMC6, 0); in pmc56_overflow()
|
H A D | ebb.c | 239 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 D | multi_counter_test.c | 63 mtspr(SPRN_PMC6, pmc_sample_period(sample_period)); in multi_counter()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 44 #define SPRN_PMC6 776 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 46 #define SPRN_PMC6 776 macro
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_interrupts.S | 159 mfspr r9, SPRN_PMC6
|
H A D | book3s_hv_rmhandlers.S | 3474 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 D | core-book3s.c | 704 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 D | core-book3s.c | 757 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 D | reg.h | 929 #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 D | sysfs.c | 604 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | sysfs.c | 609 SYSFS_PMCSETUP(pmc6, SPRN_PMC6);
|
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | xmon.c | 1993 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()
|
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | xmon.c | 2077 mfspr(SPRN_SDAR), mfspr(SPRN_SIER), mfspr(SPRN_PMC6)); in dump_207_sprs()
|