Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/kvm/
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()
Dbook3s_hv.h25 unsigned long sdar; member
Dbook3s_hv.c2237 *val = get_reg_val(id, vcpu->arch.sdar); in kvmppc_get_one_reg_hv()
2483 vcpu->arch.sdar = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
/Linux-v6.1/arch/powerpc/kernel/ptrace/
Dptrace-view.c401 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_get()
402 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_get()
419 BUILD_BUG_ON(TSO(siar) + sizeof(unsigned long) != TSO(sdar)); in pmu_set()
420 BUILD_BUG_ON(TSO(sdar) + sizeof(unsigned long) != TSO(sier)); in pmu_set()
432 &target->thread.sdar, sizeof(unsigned long), in pmu_set()
/Linux-v6.1/arch/powerpc/include/asm/
Dswitch_to.h118 t->thread.sdar = 0; in clear_task_ebb()
Dprocessor.h258 unsigned long sdar; member
Dkvm_host.h649 u64 sdar; member
/Linux-v6.1/arch/powerpc/perf/
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()
/Linux-v6.1/tools/perf/arch/powerpc/util/
Dperf_regs.c77 SMPL_REG(sdar, PERF_REG_POWERPC_SDAR),
/Linux-v6.1/arch/powerpc/kernel/
Dasm-offsets.c467 OFFSET(VCPU_SDAR, kvm_vcpu, arch.sdar); in main()