Home
last modified time | relevance | path

Searched refs:SPRN_DSCR (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
Dtm-resched-dscr.c36 #define SPRN_DSCR 0x03 macro
75 , [sprn_dscr]"i"(SPRN_DSCR), [sprn_texasr]"i"(SPRN_TEXASR) in test_body()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dtm.S59 mfspr r7, SPRN_DSCR
132 mfspr r7, SPRN_DSCR
138 mtspr SPRN_DSCR, r7
272 mfspr r7, SPRN_DSCR
332 mtspr SPRN_DSCR, r29
348 mtspr SPRN_DSCR, r7
Dbook3s_hv_interrupts.S46 mfspr r3, SPRN_DSCR
Dbook3s_emulate.c826 case SPRN_DSCR: in kvmppc_core_emulate_mtspr_pr()
916 case SPRN_DSCR: in kvmppc_core_emulate_mfspr_pr()
Dbook3s_hv_rmhandlers.S789 mtspr SPRN_DSCR, r5
1686 mfspr r8, SPRN_DSCR
1689 mtspr SPRN_DSCR, r7
3175 mfspr r3, SPRN_DSCR
3200 mtspr SPRN_DSCR, r3
Dbook3s_hv.c3600 unsigned long host_dscr = mfspr(SPRN_DSCR); in kvmhv_p9_guest_entry()
3658 mtspr(SPRN_DSCR, vcpu->arch.dscr); in kvmhv_p9_guest_entry()
3747 vcpu->arch.dscr = mfspr(SPRN_DSCR); in kvmhv_p9_guest_entry()
3752 mtspr(SPRN_DSCR, host_dscr); in kvmhv_p9_guest_entry()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/dscr/
Ddscr.h61 asm volatile("mfspr %0,%1" : "=r" (ret) : "i" (SPRN_DSCR)); in get_dscr_usr()
68 asm volatile("mtspr %1,%0" : : "r" (val), "i" (SPRN_DSCR)); in set_dscr_usr()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-tar.c26 mtspr(SPRN_DSCR, DSCR_1); in tar()
36 reg[2] = mfspr(SPRN_DSCR); in tar()
Dptrace-tm-tar.c61 : [sprn_dscr]"i"(SPRN_DSCR), [sprn_tar]"i"(SPRN_TAR), in tm_tar()
75 regs[2] = mfspr(SPRN_DSCR); in tm_tar()
Dptrace-tm-spd-tar.c71 : [sprn_dscr]"i"(SPRN_DSCR), in tm_spd_tar()
86 regs[2] = mfspr(SPRN_DSCR); in tm_spd_tar()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dtm.S268 mfspr r4, SPRN_DSCR
343 mtspr SPRN_DSCR, r0
456 mtspr SPRN_DSCR, r5
550 mtspr SPRN_DSCR, r0
Dprocess.c1145 t->dscr = mfspr(SPRN_DSCR); in save_sprs()
1182 mtspr(SPRN_DSCR, dscr); in restore_sprs()
1759 p->thread.dscr = mfspr(SPRN_DSCR); in copy_thread()
Dsetup_64.c277 spr_default_dscr = mfspr(SPRN_DSCR); in record_spr_defaults()
Dtraps.c1414 regs->gpr[rd] = mfspr(SPRN_DSCR); in emulate_instruction()
1427 mtspr(SPRN_DSCR, current->thread.dscr); in emulate_instruction()
Dsysfs.c162 mtspr(SPRN_DSCR, *(unsigned long *)val); in write_dscr()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/
Dflush_utils.c69 asm volatile("mtspr %1,%0" : : "r" (val), "i" (SPRN_DSCR)); in set_dscr()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/include/
Dreg.h56 #define SPRN_DSCR 0x03 /* Data Stream Control Register */ macro
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Didle.c354 sprs.dscr = mfspr(SPRN_DSCR); in power7_idle_insn()
489 mtspr(SPRN_DSCR, sprs.dscr); in power7_idle_insn()
669 sprs.dscr = mfspr(SPRN_DSCR); in power9_idle_stop()
786 mtspr(SPRN_DSCR, sprs.dscr); in power9_idle_stop()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dreg.h249 #define SPRN_DSCR 0x11 macro
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c1942 mfspr(SPRN_DSCR), mfspr(SPRN_PPR), mfspr(SPRN_PIR)); in dump_206_sprs()