Home
last modified time | relevance | path

Searched refs:MMCR0_PMAO (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dpmc.c20 #ifndef MMCR0_PMAO
21 #define MMCR0_PMAO 0 macro
30 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO)); in dummy_perf()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dback_to_back_ebbs_test.c46 reset_ebb_with_clear_mask(MMCR0_PMAO); in ebb_callee()
H A Dcycles_with_freeze_test.c28 mask = MMCR0_PMAO | MMCR0_FC; in ebb_callee()
H A Debb.c53 reset_ebb_with_clear_mask(MMCR0_PMAO | MMCR0_FC); in reset_ebb()
62 if ((val & (MMCR0_FC | MMCR0_PMAO)) == MMCR0_FC) { in ebb_check_mmcr0()
H A Dinstruction_count_test.c104 reset_ebb_with_clear_mask(MMCR0_PMAO); in pmc4_ebb_callee()
/openbmc/qemu/target/ppc/
H A Dpower8-pmu.c123 if (env->spr[SPR_POWER_MMCR0] & MMCR0_PMAO) { in pmu_mmcr01a_updated()
357 env->spr[SPR_POWER_MMCR0] |= MMCR0_PMAO; in perfm_alert()
H A Dcpu.h526 #define MMCR0_PMAO PPC_BIT(56) /* Perf Monitor Alert Occurred */ macro
541 #define MMCR0_UREG_MASK (MMCR0_FC | MMCR0_PMAO | MMCR0_PMAE)
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dreg.h27 #define MMCR0_PMAO 0x00000080 macro
/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c91 #define MMCR0_PMAO 0 macro
734 if ((current->thread.mmcr0 & (MMCR0_PMAO | MMCR0_PMAO_SYNC)) != MMCR0_PMAO) in pmao_restore_workaround()
766 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround()
769 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround()
1331 val &= ~(MMCR0_EBE | MMCR0_BHRBA | MMCR0_PMCC | MMCR0_PMAO | in power_pmu_disable()
/openbmc/linux/arch/powerpc/include/asm/
H A Dreg.h883 #define MMCR0_PMAO ASM_CONST(0x00000080) macro
950 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO)
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_rmhandlers.S2781 andi. r5, r3, MMCR0_PMAO_SYNC | MMCR0_PMAO
2782 cmpwi r5, MMCR0_PMAO
2836 andi. r4, r3, MMCR0_PMAO_SYNC | MMCR0_PMAO
2837 cmpwi r4, MMCR0_PMAO