Home
last modified time | relevance | path

Searched refs:csr_badvaddr (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/arch/loongarch/include/asm/
Dprocessor.h125 unsigned long csr_badvaddr; /* Last user fault */ member
170 .csr_badvaddr = 0, \
Dstacktrace.h86 __asm__ __volatile__(CSRRD_ONE_REG(LOONGARCH_CSR_BADV) : "=r" (regs->csr_badvaddr)); in prepare_frametrace()
Dptrace.h27 unsigned long csr_badvaddr; member
/linux-6.6.21/arch/loongarch/kernel/
Dtraps.c347 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()
Dptrace.c85 r = membuf_write(&to, &regs->csr_badvaddr, sizeof(u64)); in gpr_get()
111 &regs->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()
Dasm-offsets.c58 OFFSET(PT_BVADDR, pt_regs, csr_badvaddr); in output_ptreg_defines()
124 thread.csr_badvaddr); in output_thread_defines()
Dprocess.c368 uregs[LOONGARCH_EF_CSR_BADV] = regs->csr_badvaddr; in loongarch_dump_regs64()
Dkgdb.c63 { "badv", GDB_SIZEOF_REG, offsetof(struct pt_regs, csr_badvaddr) },
/linux-6.6.21/arch/loongarch/mm/
Dfault.c86 current->thread.csr_badvaddr = address; in do_sigbus()
104 current->thread.csr_badvaddr = address; in do_sigsegv()