Home
last modified time | relevance | path

Searched refs:mmcra (Results 1 – 15 of 15) sorted by relevance

/linux/arch/powerpc/perf/
A Disa207-common.c106 *mmcra |= MMCRA_SDAR_MODE_DCACHE; in mmcra_sdar_mode()
108 *mmcra |= MMCRA_SDAR_MODE_TLB; in mmcra_sdar_mode()
302 u64 mmcra; in isa207_get_mem_data_src() local
312 mmcra = mfspr(SPRN_MMCRA); in isa207_get_mem_data_src()
335 u64 mmcra = mfspr(SPRN_MMCRA); in isa207_get_mem_weight() local
551 mmcra |= MMCRA_BHRB_DISABLE; in isa207_compute_mmcr()
596 mmcra |= MMCRA_SAMPLE_ENABLE; in isa207_compute_mmcr()
620 mmcra |= thresh_cmp_val(val); in isa207_compute_mmcr()
624 mmcra |= thresh_cmp_val(val); in isa207_compute_mmcr()
642 mmcra &= ~MMCRA_BHRB_DISABLE; in isa207_compute_mmcr()
[all …]
A Dcore-book3s.c182 unsigned long mmcra = regs->dsisr; in perf_ip_adjust() local
203 unsigned long mmcra = regs->dsisr; in perf_get_data_addr() local
220 sdar_valid = mmcra & sdsync; in perf_get_data_addr()
268 unsigned long mmcra = regs->dsisr; in perf_get_misc_flags() local
325 unsigned long mmcra = mfspr(SPRN_MMCRA); in perf_read_regs() local
329 regs->dsisr = mmcra; in perf_read_regs()
385 unsigned long mmcra = regs->dsisr; in siar_valid() local
1302 val = mmcra = cpuhw->mmcr.mmcra; in power_pmu_disable()
1318 if (val != mmcra) { in power_pmu_disable()
1319 mtspr(SPRN_MMCRA, mmcra); in power_pmu_disable()
[all …]
A Dppc970-pmu.c262 unsigned long mmcr0 = 0, mmcr1 = 0, mmcra = 0; in p970_compute_mmcr() local
385 mmcra |= MMCRA_SAMPLE_ENABLE; in p970_compute_mmcr()
397 mmcra |= 0x2000; /* mark only one IOP per PPC instruction */ in p970_compute_mmcr()
402 mmcr->mmcra = mmcra; in p970_compute_mmcr()
A Dpower7-pmu.c252 unsigned long mmcra = MMCRA_SDAR_DCACHE_MISS | MMCRA_SDAR_ERAT_MISS; in power7_compute_mmcr() local
300 mmcra |= MMCRA_SAMPLE_ENABLE; in power7_compute_mmcr()
311 mmcr->mmcra = mmcra; in power7_compute_mmcr()
A Dpower6-pmu.c180 unsigned long mmcra = MMCRA_SDAR_DCACHE_MISS | MMCRA_SDAR_ERAT_MISS; in p6_compute_mmcr() local
245 mmcra |= MMCRA_SAMPLE_ENABLE; in p6_compute_mmcr()
255 mmcr->mmcra = mmcra; in p6_compute_mmcr()
A Dpower5-pmu.c389 unsigned long mmcra = MMCRA_SDAR_DCACHE_MISS | MMCRA_SDAR_ERAT_MISS; in power5_compute_mmcr() local
528 mmcra |= MMCRA_SAMPLE_ENABLE; in power5_compute_mmcr()
541 mmcr->mmcra = mmcra; in power5_compute_mmcr()
A Dpower5+-pmu.c458 unsigned long mmcra = 0; in power5p_compute_mmcr() local
583 mmcra |= MMCRA_SAMPLE_ENABLE; in power5p_compute_mmcr()
599 mmcr->mmcra = mmcra; in power5p_compute_mmcr()
A Dmpc7450-pmu.c334 mmcr->mmcra = mmcr2; in mpc7450_compute_mmcr()
/linux/arch/powerpc/platforms/powernv/
A Didle.c595 u64 mmcra; member
616 unsigned long mmcra = 0; in power9_idle_stop() local
672 sprs.mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop()
728 mmcra = mfspr(SPRN_MMCRA); in power9_idle_stop()
729 mmcra |= PPC_BIT(60); in power9_idle_stop()
730 mtspr(SPRN_MMCRA, mmcra); in power9_idle_stop()
731 mmcra &= ~PPC_BIT(60); in power9_idle_stop()
732 mtspr(SPRN_MMCRA, mmcra); in power9_idle_stop()
789 mtspr(SPRN_MMCRA, sprs.mmcra); in power9_idle_stop()
/linux/arch/powerpc/include/asm/
A Dperf_event_server.h24 unsigned long mmcra; member
A Dkvm_host.h632 u64 mmcra; member
/linux/tools/perf/arch/powerpc/util/
A Dperf_regs.c64 SMPL_REG(mmcra, PERF_REG_POWERPC_MMCRA),
/linux/arch/powerpc/kernel/
A Dsysfs.c615 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA);
618 static DEVICE_ATTR(mmcra, 0600, show_mmcra, store_mmcra);
A Dasm-offsets.c460 OFFSET(VCPU_MMCRA, kvm_vcpu, arch.mmcra); in main()
/linux/arch/powerpc/kvm/
A Dbook3s_hv.c2055 *val = get_reg_val(id, vcpu->arch.mmcra); in kvmppc_get_one_reg_hv()
2300 vcpu->arch.mmcra = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()

Completed in 52 milliseconds