Searched refs:MMCR0_FC (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | cycles_with_freeze_test.c | 28 mask = MMCR0_PMAO | MMCR0_FC; in ebb_callee() 45 mask &= ~MMCR0_FC; in ebb_callee() 84 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in cycles_with_freeze() 90 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in cycles_with_freeze() 93 if (! (val & MMCR0_FC)) { in cycles_with_freeze()
|
H A D | instruction_count_test.c | 35 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in do_count_loop() 41 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in do_count_loop() 128 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in instruction_count()
|
H A D | ebb.c | 53 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() 296 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) | MMCR0_FC); in ebb_freeze_pmcs() 303 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in ebb_unfreeze_pmcs()
|
H A D | fork_cleanup_test.c | 59 mtspr(SPRN_MMCR0, MMCR0_FC); in fork_cleanup()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | cpu_setup_power.c | 112 mtspr(SPRN_MMCR0, MMCR0_FC); in init_PMU() 126 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMCCEXT); in init_PMU_ISA31()
|
H A D | dt_cpu_ftrs.c | 361 mtspr(SPRN_MMCR0, MMCR0_FC); in init_pmu_power8() 399 mtspr(SPRN_MMCR0, MMCR0_FC); in init_pmu_power9() 434 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMCCEXT); in init_pmu_power10()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_perf.c | 10 if (!(mmcr0 & MMCR0_FC)) in freeze_pmu() 23 mmcr0 = MMCR0_FC; in freeze_pmu()
|
H A D | book3s_hv.c | 2925 kvmppc_set_mmcr_hv(vcpu, 0, MMCR0_FC); in kvmppc_core_vcpu_create_hv()
|
/openbmc/qemu/target/ppc/ |
H A D | power8-pmu.c | 45 if (mmcr0 & MMCR0_FC) { in pmu_update_summaries() 341 env->spr[SPR_POWER_MMCR0] |= MMCR0_FC; in perfm_alert()
|
H A D | cpu.h | 525 #define MMCR0_FC PPC_BIT(32) /* Freeze Counters */ macro 541 #define MMCR0_UREG_MASK (MMCR0_FC | MMCR0_PMAO | MMCR0_PMAE)
|
/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 29 #define MMCR0_FC 0x80000000 macro
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | core-book3s.c | 769 mtspr(SPRN_MMCR0, MMCR0_FC | MMCR0_PMAO); in pmao_restore_workaround() 1288 if (mmcr0 & MMCR0_FC) in write_mmcr0() 1330 val |= MMCR0_FC; in power_pmu_disable() 1511 | MMCR0_FC); in power_pmu_enable() 2500 cpuhw->mmcr.mmcr0 = MMCR0_FC; in power_pmu_prepare_cpu() 2570 mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_FC); in do_pmu_override()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | reg.h | 862 #define MMCR0_FC 0x80000000UL /* freeze counters */ macro 950 #define MMCR0_USER_MASK (MMCR0_FC | MMCR0_PMXE | MMCR0_PMAO) 1046 #define MMCR0_FC 0x80000000UL /* freeze counters */ macro
|