Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dswitch_to.h108 t->thread.siar = 0; in clear_task_ebb()
Dprocessor.h263 unsigned long siar; member
Dkvm_host.h647 u64 siar; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace-view.c409 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_get()
417 return membuf_write(&to, &target->thread.siar, 5 * sizeof(unsigned long)); in pmu_get()
427 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_set()
435 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &target->thread.siar, in pmu_set()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcore-book3s.c264 unsigned long siar = mfspr(SPRN_SIAR); in perf_get_misc_flags() local
265 if (is_kernel_addr(siar)) in perf_get_misc_flags()
582 current->thread.siar = mfspr(SPRN_SIAR); in ebb_switch_out()
619 mtspr(SPRN_SIAR, current->thread.siar); in ebb_switch_in()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsysfs.c658 SYSFS_SPRSETUP(siar, SPRN_PA6T_SIAR);
731 __ATTR(siar, 0600, show_siar, store_siar),
Dasm-offsets.c567 OFFSET(VCPU_SIAR, kvm_vcpu, arch.siar); in main()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv.c1717 *val = get_reg_val(id, vcpu->arch.siar); in kvmppc_get_one_reg_hv()
1956 vcpu->arch.siar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()