Searched refs:csr_badvaddr (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/arch/loongarch/include/asm/ |
D | processor.h | 125 unsigned long csr_badvaddr; /* Last user fault */ member 170 .csr_badvaddr = 0, \
|
D | stacktrace.h | 86 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_BADV) : "=r" (regs->csr_badvaddr)); in prepare_frametrace()
|
D | ptrace.h | 27 unsigned long csr_badvaddr; member
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | traps.c | 347 printk(" BADV: %0*lx\n", field, regs->csr_badvaddr); in __show_regs() 513 force_sig_fault(SIGBUS, BUS_ADRERR, (void __user *)regs->csr_badvaddr); in do_ade() 528 force_sig_fault(SIGBUS, BUS_ADRALN, (void __user *)regs->csr_badvaddr); in do_ale() 532 perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, regs, regs->csr_badvaddr); in do_ale() 537 if (regs->csr_badvaddr == regs->csr_era) in do_ale() 548 emulate_load_store_insn(regs, (void __user *)regs->csr_badvaddr, pc); in do_ale() 554 force_sig_fault(SIGBUS, BUS_ADRALN, (void __user *)regs->csr_badvaddr); in do_ale()
|
D | ptrace.c | 85 r = membuf_write(&to, ®s->csr_badvaddr, sizeof(u64)); in gpr_get() 111 ®s->csr_badvaddr, in gpr_set() 810 REG_OFFSET_NAME(csr_badvaddr, csr_badvaddr), 959 tmp = task_pt_regs(target)->csr_badvaddr; in read_user() 982 task_pt_regs(target)->csr_badvaddr = data; in write_user()
|
D | asm-offsets.c | 58 OFFSET(PT_BVADDR, pt_regs, csr_badvaddr); in output_ptreg_defines() 124 thread.csr_badvaddr); in output_thread_defines()
|
D | process.c | 368 uregs[LOONGARCH_EF_CSR_BADV] = regs->csr_badvaddr; in loongarch_dump_regs64()
|
D | kgdb.c | 63 { "badv", GDB_SIZEOF_REG, offsetof(struct pt_regs, csr_badvaddr) },
|
/linux-6.6.21/arch/loongarch/mm/ |
D | fault.c | 86 current->thread.csr_badvaddr = address; in do_sigbus() 104 current->thread.csr_badvaddr = address; in do_sigsegv()
|