Home
last modified time | relevance | path

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

/linux-5.19.10/arch/loongarch/kernel/
Dtraps.c122 regs.csr_era = 0; in show_stack()
129 regs.csr_era = task->thread.reg01; in show_stack()
181 printk("era : %0*lx %pS\n", field, regs->csr_era, in __show_regs()
182 (void *) regs->csr_era); in __show_regs()
219 show_code((void *)regs->csr_era, user_mode(regs)); in show_registers()
345 fault_addr = (void __user *) regs->csr_era; in do_fpe()
433 force_sig_fault(SIGFPE, FPE_INTDIV, (void __user *)regs->csr_era); in do_bp()
437 force_sig_fault(SIGFPE, FPE_INTOVF, (void __user *)regs->csr_era); in do_bp()
441 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->csr_era); in do_bp()
465 unsigned long old_era = regs->csr_era; in do_ri()
[all …]
Dptrace.c79 r = membuf_write(&to, &regs->csr_era, sizeof(u64)); in gpr_get()
103 &regs->csr_era, in gpr_set()
291 REG_OFFSET_NAME(csr_era, csr_era),
377 tmp = task_pt_regs(target)->csr_era; in read_user()
400 task_pt_regs(target)->csr_era = data; in write_user()
Dsignal.c236 err |= __put_user(regs->csr_era, &sc->sc_pc); in setup_sigcontext()
318 err |= __get_user(regs->csr_era, &sc->sc_pc); in restore_sigcontext()
489 regs->csr_era = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame()
493 frame, regs->csr_era, regs->regs[1]); in setup_rt_frame()
519 regs->csr_era -= 4; in handle_signal()
549 regs->csr_era -= 4; in arch_do_signal_or_restart()
555 regs->csr_era -= 4; in arch_do_signal_or_restart()
Dprocess.c88 regs->csr_era = pc; in start_thread()
261 uregs[LOONGARCH_EF_CSR_ERA] = regs->csr_era; in loongarch_dump_regs64()
Dsyscall.c50 regs->csr_era += 4; in do_syscall()
Dasm-offsets.c56 OFFSET(PT_ERA, pt_regs, csr_era); in output_ptreg_defines()
/linux-5.19.10/arch/loongarch/include/asm/
Dptrace.h25 unsigned long csr_era; member
52 regs->csr_era = val; in instruction_pointer_set()
122 #define instruction_pointer(regs) ((regs)->csr_era)
Dbranch.h12 return regs->csr_era; in exception_era()
17 regs->csr_era += 4; in compute_return_era()
Dstacktrace.h63 : "=m" (regs->csr_era) in prepare_frametrace()
Dprocessor.h190 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->csr_era)
/linux-5.19.10/arch/loongarch/mm/
Dfault.c49 raw_smp_processor_id(), field, address, field, regs->csr_era, in no_context()
112 (unsigned long) regs->csr_era); in do_sigsegv()
113 print_vma_addr(KERN_CONT " ", regs->csr_era); in do_sigsegv()
Dextable.c16 regs->csr_era = fixup->fixup; in fixup_exception()
/linux-5.19.10/arch/loongarch/include/uapi/asm/
Dptrace.h38 unsigned long csr_era; member