/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_perf.c | 57 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()
|
H A D | book3s_hv_interrupts.S | 148 mfspr r7, SPRN_PMC4
|
H A D | book3s_hv_rmhandlers.S | 2794 mtspr SPRN_PMC4, r7 2849 mtspr SPRN_PMC4, r6 2933 mfspr r6, SPRN_PMC4
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | oprofile_impl.h | 77 return mfspr(SPRN_PMC4); in classic_ctr_read() 108 mtspr(SPRN_PMC4, val); in classic_ctr_write()
|
H A D | reg.h | 920 #define SPRN_PMC4 790 macro 1062 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | lost_exception_test.c | 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 78 mtspr(SPRN_PMC4, 0xdead); in test_body()
|
H A D | ebb.c | 239 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()
|
H A D | multi_counter_test.c | 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | lost_exception_test.c | 51 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in test_body() 78 mtspr(SPRN_PMC4, 0xdead); in test_body()
|
H A D | ebb.c | 239 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()
|
H A D | multi_counter_test.c | 61 mtspr(SPRN_PMC4, pmc_sample_period(sample_period)); in multi_counter()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 42 #define SPRN_PMC4 774 macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 44 #define SPRN_PMC4 774 macro
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_hv_interrupts.S | 157 mfspr r7, SPRN_PMC4
|
H A D | book3s_hv_rmhandlers.S | 3472 mtspr SPRN_PMC4, r7 3535 mtspr SPRN_PMC4, r6 3633 mfspr r6, SPRN_PMC4
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
H A D | core-book3s.c | 702 pmcs[3] = mfspr(SPRN_PMC4); in pmao_restore_workaround() 721 mtspr(SPRN_PMC4, pmcs[3]); in pmao_restore_workaround() 748 val = mfspr(SPRN_PMC4); in read_pmc() 787 mtspr(SPRN_PMC4, val); in write_pmc()
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | core-book3s.c | 755 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()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | reg.h | 927 #define SPRN_PMC4 790 macro 1069 #define SPRN_PMC4 958 /* Performance Counter Register 4 */ macro
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | sysfs.c | 602 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | sysfs.c | 607 SYSFS_PMCSETUP(pmc4, SPRN_PMC4);
|
/kernel/linux/linux-5.10/arch/powerpc/xmon/ |
H A D | xmon.c | 1989 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()
|
/kernel/linux/linux-6.6/arch/powerpc/xmon/ |
H A D | xmon.c | 2073 mfspr(SPRN_PMC3), mfspr(SPRN_PMC4)); in dump_207_sprs()
|