Searched refs:mmcra (Results 1 – 15 of 15) sorted by relevance
/linux/arch/powerpc/perf/ |
A D | isa207-common.c | 106 *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 D | core-book3s.c | 182 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 D | ppc970-pmu.c | 262 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 D | power7-pmu.c | 252 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 D | power6-pmu.c | 180 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 D | power5-pmu.c | 389 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 D | power5+-pmu.c | 458 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 D | mpc7450-pmu.c | 334 mmcr->mmcra = mmcr2; in mpc7450_compute_mmcr()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | idle.c | 595 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 D | perf_event_server.h | 24 unsigned long mmcra; member
|
A D | kvm_host.h | 632 u64 mmcra; member
|
/linux/tools/perf/arch/powerpc/util/ |
A D | perf_regs.c | 64 SMPL_REG(mmcra, PERF_REG_POWERPC_MMCRA),
|
/linux/arch/powerpc/kernel/ |
A D | sysfs.c | 615 SYSFS_PMCSETUP(mmcra, SPRN_MMCRA); 618 static DEVICE_ATTR(mmcra, 0600, show_mmcra, store_mmcra);
|
A D | asm-offsets.c | 460 OFFSET(VCPU_MMCRA, kvm_vcpu, arch.mmcra); in main()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_hv.c | 2055 *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