Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_p9_perf.c62 host_os_sprs->sdar = mfspr(SPRN_SDAR); in switch_pmu_to_guest()
96 mtspr(SPRN_SDAR, vcpu->arch.sdar); in switch_pmu_to_guest()
150 vcpu->arch.sdar = mfspr(SPRN_SDAR); in switch_pmu_to_host()
203 mtspr(SPRN_SDAR, host_os_sprs->sdar); in switch_pmu_to_host()
H A Dbook3s_hv.h25 unsigned long sdar; member
105 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(sdar, 64)
/openbmc/u-boot/drivers/i2c/
H A Dast_i2c.h17 u32 sdar; member
/openbmc/linux/arch/powerpc/include/asm/
H A Dswitch_to.h118 t->thread.sdar = 0; in clear_task_ebb()
H A Dprocessor.h253 unsigned long sdar; member
H A Dkvm_host.h649 u64 sdar; 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()
408 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_get()
425 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_set()
426 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_set()
438 &target->thread.sdar, sizeof(unsigned long), in pmu_set()
/openbmc/linux/arch/powerpc/perf/
H A Dcore-book3s.c637 current->thread.sdar = mfspr(SPRN_SDAR); in ebb_switch_out()
674 mtspr(SPRN_SDAR, current->thread.sdar); in ebb_switch_in()
905 unsigned long sdar, sier, flags; in perf_event_print_debug() local
938 sdar = sier = 0; in perf_event_print_debug()
940 sdar = mfspr(SPRN_SDAR); in perf_event_print_debug()
958 mfspr(SPRN_SIAR), sdar, sier); in perf_event_print_debug()
/openbmc/linux/tools/perf/arch/powerpc/util/
H A Dperf_regs.c78 SMPL_REG(sdar, PERF_REG_POWERPC_SDAR),
/openbmc/qemu/include/hw/ppc/
H A Dspapr_nested.h486 uint64_t sdar; member
/openbmc/qemu/hw/ppc/
H A Dspapr_nested.c210 save->sdar = env->spr[SPR_POWER_SDAR]; in nested_save_state()
309 env->spr[SPR_POWER_SDAR] = load->sdar; in nested_load_state()
1000 GUEST_STATE_ELEMENT_ENV_DW(GSB_VCPU_SPR_SDAR , sdar),
/openbmc/linux/arch/powerpc/kernel/
H A Dasm-offsets.c463 OFFSET(VCPU_SDAR, kvm_vcpu, arch.sdar); in main()