Home
last modified time | relevance | path

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

/Linux-v5.15/arch/powerpc/kernel/
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()
/Linux-v5.15/tools/testing/selftests/powerpc/pmu/ebb/
Dback_to_back_ebbs_test.c46 reset_ebb_with_clear_mask(MMCR0_PMAO); in ebb_callee()
Dcycles_with_freeze_test.c28 mask = MMCR0_PMAO | MMCR0_FC; in ebb_callee()
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()
Dinstruction_count_test.c104 reset_ebb_with_clear_mask(MMCR0_PMAO); in pmc4_ebb_callee()
/Linux-v5.15/tools/testing/selftests/powerpc/include/
Dreg.h25 #define MMCR0_PMAO 0x00000080 macro
/Linux-v5.15/arch/powerpc/perf/
Dcore-book3s.c90 #define MMCR0_PMAO 0 macro
733 if ((current->thread.mmcr0 & (MMCR0_PMAO | MMCR0_PMAO_SYNC)) != MMCR0_PMAO) in pmao_restore_workaround()
765 mtspr(SPRN_MMCR0, MMCR0_PMXE | MMCR0_PMCjCE | MMCR0_PMAO); in pmao_restore_workaround()
768 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround()
1287 val &= ~(MMCR0_EBE | MMCR0_BHRBA | MMCR0_PMCC | MMCR0_PMAO | in power_pmu_disable()
/Linux-v5.15/arch/powerpc/include/asm/
Dreg.h875 #define MMCR0_PMAO ASM_CONST(0x00000080) macro
942 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO)
/Linux-v5.15/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S2793 andi. r5, r3, MMCR0_PMAO_SYNC | MMCR0_PMAO
2794 cmpwi r5, MMCR0_PMAO
2856 andi. r4, r3, MMCR0_PMAO_SYNC | MMCR0_PMAO
2857 cmpwi r4, MMCR0_PMAO