Home
last modified time | relevance | path

Searched refs:MMCR0_PMXE (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/powerpc/kernel/
Dpmc.c30 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); in dummy_perf()
32 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE); in dummy_perf()
/linux-6.6.21/arch/powerpc/perf/
Dcore-book3s.c627 current->thread.mmcr0 |= MMCR0_PMXE; in ebb_event_add()
669 if (!(current->thread.mmcr0 & MMCR0_PMXE)) in ebb_switch_in()
670 mmcr0 &= ~MMCR0_PMXE; in ebb_switch_in()
766 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround()
1332 MMCR0_PMXE | MMCR0_FC56); in power_pmu_disable()
1567 cpuhw->mmcr.mmcr0 |= MMCR0_PMXE | MMCR0_FCECE; in power_pmu_enable()
1743 cpuhw->mmcr.mmcr0 &= ~(MMCR0_PMXE | MMCR0_FCECE); in power_pmu_del()
/linux-6.6.21/arch/powerpc/include/asm/
Dreg.h869 #define MMCR0_PMXE ASM_CONST(0x04000000) /* perf mon exception enable */ macro
950 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO)
1051 #define MMCR0_PMXE 0x04000000UL /* performance monitor exception enable */ macro
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S2966 lis r3, (MMCR0_PMXE | MMCR0_FCECE)@h