Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/powerpc/include/
Dreg.h25 #define MMCR0_PMAO 0x00000080 macro
/linux-6.1.9/arch/powerpc/perf/
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()
/linux-6.1.9/arch/powerpc/include/asm/
Dreg.h872 #define MMCR0_PMAO ASM_CONST(0x00000080) macro
939 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO)
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_rmhandlers.S2773 andi. r5, r3, MMCR0_PMAO_SYNC | MMCR0_PMAO
2774 cmpwi r5, MMCR0_PMAO
2827 andi. r4, r3, MMCR0_PMAO_SYNC | MMCR0_PMAO
2828 cmpwi r4, MMCR0_PMAO