Home
last modified time | relevance | path

Searched refs:SPRN_PMC2 (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/kvm/
A Dbook3s_hv_p9_perf.c55 host_os_sprs->pmc2 = mfspr(SPRN_PMC2); in switch_pmu_to_guest()
89 mtspr(SPRN_PMC2, vcpu->arch.pmc[1]); in switch_pmu_to_guest()
143 vcpu->arch.pmc[1] = mfspr(SPRN_PMC2); in switch_pmu_to_host()
196 mtspr(SPRN_PMC2, host_os_sprs->pmc2); in switch_pmu_to_host()
A Dbook3s_hv_interrupts.S146 mfspr r5, SPRN_PMC2
A Dbook3s_hv_rmhandlers.S2790 mtspr SPRN_PMC2, r5
2845 mtspr SPRN_PMC2, r4
2929 mfspr r4, SPRN_PMC2
/arch/powerpc/perf/
A Dcore-book3s.c750 pmcs[1] = mfspr(SPRN_PMC2); in pmao_restore_workaround()
769 mtspr(SPRN_PMC2, pmcs[1]); in pmao_restore_workaround()
820 val = mfspr(SPRN_PMC2); in read_pmc()
859 mtspr(SPRN_PMC2, val); in write_pmc()
/arch/powerpc/include/asm/
A Dreg.h921 #define SPRN_PMC2 788 macro
1063 #define SPRN_PMC2 954 /* Performance Counter Register 2 */ macro
/arch/powerpc/kernel/
A Dsysfs.c606 SYSFS_PMCSETUP(pmc2, SPRN_PMC2);
/arch/powerpc/xmon/
A Dxmon.c2053 mfspr(SPRN_PMC1), mfspr(SPRN_PMC2), in dump_207_sprs()

Completed in 34 milliseconds