Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A 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()
/openbmc/linux/arch/powerpc/kvm/
H A 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()
H A Dbook3s_hv.h21 unsigned long siar; member
104 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(siar, 64)
/openbmc/linux/arch/powerpc/perf/
H A 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()
2358 unsigned long siar = mfspr(SPRN_SIAR); in perf_instruction_pointer() local
2360 if (regs_use_siar(regs) && siar_valid(regs) && siar) in perf_instruction_pointer()
2361 return siar + perf_ip_adjust(regs); in perf_instruction_pointer()
/openbmc/linux/arch/powerpc/include/asm/
H A Dswitch_to.h117 t->thread.siar = 0; in clear_task_ebb()
H A Dprocessor.h252 unsigned long siar; member
H A Dkvm_host.h648 u64 siar; member
/openbmc/linux/arch/powerpc/kernel/ptrace/
H A Dptrace-view.c407 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_get()
415 return membuf_write(&to, &target->thread.siar, 5 * sizeof(unsigned long)); in pmu_get()
425 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_set()
433 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &target->thread.siar, in pmu_set()
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Dperf_regs.c79 SMPL_REG(siar, PERF_REG_POWERPC_SIAR),
/openbmc/linux/arch/powerpc/kernel/
H A Dsysfs.c663 SYSFS_SPRSETUP(siar, SPRN_PA6T_SIAR);
736 __ATTR(siar, 0600, show_siar, store_siar),
H A Dasm-offsets.c462 OFFSET(VCPU_SIAR, kvm_vcpu, arch.siar); in main()
/openbmc/qemu/include/hw/ppc/
H A Dspapr_nested.h487 uint64_t siar; member
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c211 save->siar = env->spr[SPR_POWER_SIAR]; in nested_save_state()
310 env->spr[SPR_POWER_SIAR] = load->siar; in nested_load_state()
1001 GUEST_STATE_ELEMENT_ENV_DW(GSB_VCPU_SPR_SIAR , siar),