Searched refs:siar (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/tools/testing/selftests/powerpc/pmu/ebb/ |
D | back_to_back_ebbs_test.c | 29 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/ |
D | book3s_hv_p9_perf.c | 63 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()
|
D | book3s_hv.h | 21 unsigned long siar; member
|
D | book3s_hv.c | 2234 *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/ |
D | core-book3s.c | 282 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/ |
D | switch_to.h | 117 t->thread.siar = 0; in clear_task_ebb()
|
D | processor.h | 257 unsigned long siar; member
|
D | kvm_host.h | 648 u64 siar; member
|
/linux-6.1.9/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 401 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/ |
D | perf_regs.c | 78 SMPL_REG(siar, PERF_REG_POWERPC_SIAR),
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | sysfs.c | 658 SYSFS_SPRSETUP(siar, SPRN_PA6T_SIAR); 731 __ATTR(siar, 0600, show_siar, store_siar),
|
D | asm-offsets.c | 466 OFFSET(VCPU_SIAR, kvm_vcpu, arch.siar); in main()
|