Home
last modified time | relevance | path

Searched refs:siar (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/tools/testing/selftests/powerpc/pmu/ebb/
Dback_to_back_ebbs_test.c29 uint64_t siar, val; in ebb_callee() local
52 siar = mfspr(SPRN_SIAR); in ebb_callee()
53 trace_log_reg(ebb_state.trace, SPRN_SIAR, siar); in ebb_callee()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_p9_perf.c63 host_os_sprs->siar = mfspr(SPRN_SIAR); in switch_pmu_to_guest()
97 mtspr(SPRN_SIAR, vcpu->arch.siar); in switch_pmu_to_guest()
151 vcpu->arch.siar = mfspr(SPRN_SIAR); in switch_pmu_to_host()
204 mtspr(SPRN_SIAR, host_os_sprs->siar); in switch_pmu_to_host()
Dbook3s_hv.h21 unsigned long siar; member
Dbook3s_hv.c2234 *val = get_reg_val(id, vcpu->arch.siar); in kvmppc_get_one_reg_hv()
2480 vcpu->arch.siar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/linux-6.1.9/arch/powerpc/perf/
Dcore-book3s.c282 unsigned long siar = mfspr(SPRN_SIAR); in perf_get_misc_flags() local
283 if (siar) { in perf_get_misc_flags()
284 if (is_kernel_addr(siar)) in perf_get_misc_flags()
301 unsigned long siar = mfspr(SPRN_SIAR); in perf_get_misc_flags() local
302 if (is_kernel_addr(siar)) in perf_get_misc_flags()
635 current->thread.siar = mfspr(SPRN_SIAR); in ebb_switch_out()
672 mtspr(SPRN_SIAR, current->thread.siar); in ebb_switch_in()
2360 unsigned long siar = mfspr(SPRN_SIAR); in perf_instruction_pointer() local
2362 if (regs_use_siar(regs) && siar_valid(regs) && siar) in perf_instruction_pointer()
2363 return siar + perf_ip_adjust(regs); in perf_instruction_pointer()
/linux-6.1.9/arch/powerpc/include/asm/
Dswitch_to.h117 t->thread.siar = 0; in clear_task_ebb()
Dprocessor.h257 unsigned long siar; member
Dkvm_host.h648 u64 siar; member
/linux-6.1.9/arch/powerpc/kernel/ptrace/
Dptrace-view.c401 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_get()
409 return membuf_write(&to, &target->thread.siar, 5 * sizeof(unsigned long)); in pmu_get()
419 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_set()
427 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &target->thread.siar, in pmu_set()
/linux-6.1.9/tools/perf/arch/powerpc/util/
Dperf_regs.c78 SMPL_REG(siar, PERF_REG_POWERPC_SIAR),
/linux-6.1.9/arch/powerpc/kernel/
Dsysfs.c658 SYSFS_SPRSETUP(siar, SPRN_PA6T_SIAR);
731 __ATTR(siar, 0600, show_siar, store_siar),
Dasm-offsets.c466 OFFSET(VCPU_SIAR, kvm_vcpu, arch.siar); in main()