Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c58 host_os_sprs->pmc5 = mfspr(SPRN_PMC5); in switch_pmu_to_guest()
199 mtspr(SPRN_PMC5, host_os_sprs->pmc5); in switch_pmu_to_host()
H A Dbook3s_hv.h14 unsigned int pmc5; member
/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c1218 unsigned long pmc5, unsigned long pmc6) in freeze_limited_counters() argument
1228 val = (event->hw.idx == 5) ? pmc5 : pmc6; in freeze_limited_counters()
1238 unsigned long pmc5, unsigned long pmc6) in thaw_limited_counters() argument
1247 val = (event->hw.idx == 5) ? pmc5 : pmc6; in thaw_limited_counters()
1268 unsigned long pmc5, pmc6; in write_mmcr0() local
1283 : "=&r" (pmc5), "=&r" (pmc6) in write_mmcr0()
1289 freeze_limited_counters(cpuhw, pmc5, pmc6); in write_mmcr0()
1291 thaw_limited_counters(cpuhw, pmc5, pmc6); in write_mmcr0()
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Dperf_regs.c76 SMPL_REG(pmc5, PERF_REG_POWERPC_PMC5),
/openbmc/linux/arch/powerpc/kernel/
H A Dsysfs.c608 SYSFS_PMCSETUP(pmc5, SPRN_PMC5);
691 __ATTR(pmc5, 0600, show_pmc5, store_pmc5),
710 __ATTR(pmc5, 0600, show_pa6t_pmc5, store_pa6t_pmc5),
/openbmc/qemu/include/hw/ppc/
H A Dspapr_nested.h480 uint64_t pmc5; member
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c204 save->pmc5 = env->spr[SPR_POWER_PMC5]; in nested_save_state()
303 env->spr[SPR_POWER_PMC5] = load->pmc5; in nested_load_state()
994 GUEST_STATE_ELEMENT_ENV_W(GSB_VCPU_SPR_PMC5, pmc5),