Searched refs:siar (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A 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()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A 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()
|
H A D | book3s_hv.h | 21 unsigned long siar; member 104 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(siar, 64)
|
/openbmc/linux/arch/powerpc/perf/ |
H A 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() 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 D | switch_to.h | 117 t->thread.siar = 0; in clear_task_ebb()
|
H A D | processor.h | 252 unsigned long siar; member
|
H A D | kvm_host.h | 648 u64 siar; member
|
/openbmc/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-view.c | 407 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 D | perf_regs.c | 79 SMPL_REG(siar, PERF_REG_POWERPC_SIAR),
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | sysfs.c | 663 SYSFS_SPRSETUP(siar, SPRN_PA6T_SIAR); 736 __ATTR(siar, 0600, show_siar, store_siar),
|
H A D | asm-offsets.c | 462 OFFSET(VCPU_SIAR, kvm_vcpu, arch.siar); in main()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr_nested.h | 487 uint64_t siar; member
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_nested.c | 211 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),
|