Searched refs:SPRN_MMCRA (Results 1 – 17 of 17) sorted by relevance
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_hv_p9_perf.c | 31 mtspr(SPRN_MMCRA, mmcra); in freeze_pmu() 50 host_os_sprs->mmcra = mfspr(SPRN_MMCRA); in switch_pmu_to_guest() 107 mtspr(SPRN_MMCRA, vcpu->arch.mmcra); in switch_pmu_to_guest() 138 vcpu->arch.mmcra = mfspr(SPRN_MMCRA); in switch_pmu_to_host() 166 freeze_pmu(mfspr(SPRN_MMCR0), mfspr(SPRN_MMCRA)); in switch_pmu_to_host() 214 mtspr(SPRN_MMCRA, host_os_sprs->mmcra); in switch_pmu_to_host()
|
A D | book3s_hv_interrupts.S | 124 mfspr r6, SPRN_MMCRA 127 mtspr SPRN_MMCRA, r5
|
A D | book3s_emulate.c | 834 case SPRN_MMCRA: in kvmppc_core_emulate_mtspr_pr() 1000 case SPRN_MMCRA: in kvmppc_core_emulate_mfspr_pr()
|
A D | book3s_hv_rmhandlers.S | 2803 mtspr SPRN_MMCRA, r6 2858 mtspr SPRN_MMCRA, r5 2910 mfspr r6, SPRN_MMCRA 2913 mtspr SPRN_MMCRA, r7
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | cpu_setup_power.c | 111 mtspr(SPRN_MMCRA, 0); in init_PMU() 125 mtspr(SPRN_MMCRA, MMCRA_BHRB_DISABLE); in init_PMU_ISA31()
|
A D | dt_cpu_ftrs.c | 360 mtspr(SPRN_MMCRA, 0); in init_pmu_power8() 398 mtspr(SPRN_MMCRA, 0); in init_pmu_power9() 433 mtspr(SPRN_MMCRA, MMCRA_BHRB_DISABLE); in init_pmu_power10()
|
A D | sysfs.c | 615 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA);
|
/linux-6.3-rc2/arch/powerpc/perf/ |
A D | power8-pmu.c | 256 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power8_config_bhrb()
|
A D | power9-pmu.c | 327 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power9_config_bhrb()
|
A D | core-book3s.c | 97 #define SPRN_MMCRA SPRN_MMCR2 macro 326 unsigned long mmcra = mfspr(SPRN_MMCRA); in perf_read_regs() 936 mfspr(SPRN_MMCR0), mfspr(SPRN_MMCR1), mfspr(SPRN_MMCRA)); in perf_event_print_debug() 1386 mtspr(SPRN_MMCRA, mmcra); in power_pmu_disable() 1469 mtspr(SPRN_MMCRA, cpuhw->mmcr.mmcra & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable() 1509 mtspr(SPRN_MMCRA, cpuhw->mmcr.mmcra & ~MMCRA_SAMPLE_ENABLE); in power_pmu_enable() 1586 mtspr(SPRN_MMCRA, cpuhw->mmcr.mmcra); in power_pmu_enable()
|
A D | power10-pmu.c | 348 mtspr(SPRN_MMCRA, (mfspr(SPRN_MMCRA) | pmu_bhrb_filter)); in power10_config_bhrb()
|
A D | isa207-common.c | 342 mmcra = mfspr(SPRN_MMCRA); in isa207_get_mem_data_src() 365 u64 mmcra = mfspr(SPRN_MMCRA); in isa207_get_mem_weight()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | idle.c | 671 sprs.mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop() 726 mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop() 728 mtspr(SPRN_MMCRA, mmcra); in power9_idle_stop() 730 mtspr(SPRN_MMCRA, mmcra); in power9_idle_stop() 787 mtspr(SPRN_MMCRA, sprs.mmcra); in power9_idle_stop()
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/include/ |
A D | reg.h | 23 #define SPRN_MMCRA 770 macro
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | ebb.c | 391 val = mfspr(SPRN_MMCRA); in ebb_child()
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | reg.h | 884 #define SPRN_MMCRA 0x312 macro
|
/linux-6.3-rc2/arch/powerpc/xmon/ |
A D | xmon.c | 2074 mfspr(SPRN_MMCRA), mfspr(SPRN_SIAR), mfspr(SPRN_PMC5)); in dump_207_sprs()
|
Completed in 39 milliseconds