/arch/arm/mm/ |
D | fault.c | 34 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) in notify_page_fault() argument 41 if (kprobe_running() && kprobe_fault_handler(regs, fsr)) in notify_page_fault() 49 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) in notify_page_fault() argument 132 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_kernel_fault() argument 150 die("Oops", regs, fsr); in __do_kernel_fault() 161 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument 170 tsk->comm, sig, addr, fsr); in __do_user_fault() 177 tsk->thread.error_code = fsr; in __do_user_fault() 186 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument 196 __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() [all …]
|
D | fault.h | 16 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 18 return fsr & FSR_FS5_0; in fsr_fs() 23 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 25 return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6; in fsr_fs() 29 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
|
D | abort-macro.S | 12 .macro do_thumb_abort, fsr, pc, psr, tmp 21 orreq \fsr, \fsr, #1 << 11 @ yes.
|
D | abort-ev4t.S | 22 do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3
|
D | abort-ev5t.S | 22 do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3
|
/arch/microblaze/kernel/ |
D | exceptions.c | 75 int fsr, int addr) in full_exception() argument 83 type, user_mode(regs) ? "user" : "kernel", fsr, in full_exception() 128 if (fsr & FSR_IO) in full_exception() 129 fsr = FPE_FLTINV; in full_exception() 130 else if (fsr & FSR_OF) in full_exception() 131 fsr = FPE_FLTOVF; in full_exception() 132 else if (fsr & FSR_UF) in full_exception() 133 fsr = FPE_FLTUND; in full_exception() 134 else if (fsr & FSR_DZ) in full_exception() 135 fsr = FPE_FLTDIV; in full_exception() [all …]
|
/arch/unicore32/mm/ |
D | fault.c | 31 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 34 return (fsr & 31) + ((fsr & (3 << 5)) >> 5); in fsr_fs() 92 unsigned int fsr, struct pt_regs *regs) in __do_kernel_fault() argument 110 die("Oops", regs, fsr); in __do_kernel_fault() 120 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument 126 tsk->thread.error_code = fsr; in __do_user_fault() 135 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument 145 __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() 147 __do_kernel_fault(mm, addr, fsr, regs); in do_bad_area() 158 static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) in access_error() argument [all …]
|
/arch/sparc/math-emu/ |
D | math_32.c | 132 static int do_one_mathemu(u32 insn, unsigned long *fsr, unsigned long *fregs); 182 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu() 194 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu() 200 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); in do_mathemu() 202 fpt->thread.fsr &= ~0x3000; in do_mathemu() 218 unsigned long fsr = *pfsr; in record_exception() local 222 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception() 226 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception() 247 fsr &= ~(FSR_CEXC_MASK); in record_exception() 248 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception() [all …]
|
D | math_64.c | 102 u64 fsr = current_thread_info()->xfsr[0]; in record_exception() local 106 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception() 110 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception() 131 fsr &= ~(FSR_CEXC_MASK); in record_exception() 132 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception() 141 fsr |= ((long)eflag << FSR_AEXC_SHIFT); in record_exception() 145 fsr |= (1UL << 14); in record_exception() 147 current_thread_info()->xfsr[0] = fsr; in record_exception()
|
/arch/sparc/include/asm/ |
D | psr.h | 54 unsigned int fsr = 0; in get_fsr() local 59 : "=r" (fsr) in get_fsr() 62 return fsr; in get_fsr()
|
D | sfp-machine_32.h | 185 #define FP_ROUNDMODE ((current->thread.fsr >> 30) & 0x3) 187 #define FP_ROUNDMODE ((last_task_used_math->thread.fsr >> 30) & 0x3) 201 #define FP_INHIBIT_RESULTS ((current->thread.fsr >> 23) & _fex) 203 #define FP_INHIBIT_RESULTS ((last_task_used_math->thread.fsr >> 23) & _fex) 207 #define FP_TRAPPING_EXCEPTIONS ((current->thread.fsr >> 23) & 0x1f) 209 #define FP_TRAPPING_EXCEPTIONS ((last_task_used_math->thread.fsr >> 23) & 0x1f)
|
D | switch_to_32.h | 20 fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \ 102 void fpsave(unsigned long *fpregs, unsigned long *fsr,
|
/arch/sparc/kernel/ |
D | traps_32.c | 195 fpsave(&fptask->thread.float_regs[0], &fptask->thread.fsr, in do_fpd_trap() 200 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); in do_fpd_trap() 211 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); in do_fpd_trap() 227 unsigned long fsr; local 248 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr, 251 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr); 254 switch ((fpt->thread.fsr & 0x1c000)) { 279 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); 302 fsr = fpt->thread.fsr; 308 if ((fsr & 0x1c000) == (1 << 14)) { [all …]
|
D | sigutil_32.c | 20 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 28 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 37 err |= __put_user(current->thread.fsr, &fpu->si_fsr); in save_fpu_state() 72 err |= __get_user(current->thread.fsr, &fpu->si_fsr); in restore_fpu_state()
|
D | ptrace_64.c | 339 unsigned long fprs, fsr, gsr; in fpregs64_get() local 371 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get() 374 fsr = gsr = 0; in fpregs64_get() 379 &fsr, in fpregs64_get() 719 compat_ulong_t fsr; in fpregs32_get() local 727 fsr = task_thread_info(target)->xfsr[0]; in fpregs32_get() 730 fsr = 0; in fpregs32_get() 744 &fsr, in fpregs32_get() 787 compat_ulong_t fsr; in fpregs32_set() local 791 &fsr, in fpregs32_set() [all …]
|
D | process_32.c | 196 fpsave(&tsk->thread.float_regs[0], &tsk->thread.fsr, 217 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 321 fpsave(&p->thread.float_regs[0], &p->thread.fsr, 429 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 439 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 450 fpregs->pr_fsr = current->thread.fsr;
|
D | ptrace_32.c | 233 &target->thread.fsr, in fpregs32_get() 275 &target->thread.fsr, in fpregs32_set() 330 unsigned long fsr; member 391 &fps->fsr); in arch_ptrace() 412 &fps->fsr); in arch_ptrace()
|
/arch/arm/mach-bcm/ |
D | bcm_5301x.c | 24 static int bcm5301x_abort_handler(unsigned long addr, unsigned int fsr, in bcm5301x_abort_handler() argument 33 if (fsr == (FSR_EXTERNAL | FSR_READ | FSR_IMPRECISE)) in bcm5301x_abort_handler()
|
/arch/arm64/kvm/ |
D | inject_fault.c | 93 u32 *far, *fsr; in inject_abt32() local 99 fsr = &vcpu_cp15(vcpu, c5_IFSR); in inject_abt32() 103 fsr = &vcpu_cp15(vcpu, c5_DFSR); in inject_abt32() 113 *fsr = 1 << 9 | 0x34; in inject_abt32() 115 *fsr = 0x14; in inject_abt32()
|
/arch/sparc/lib/ |
D | VISsave.S | 31 stx %fsr, [%g6 + TI_XFSR] 38 stx %fsr, [%g6 + TI_XFSR] 55 stx %fsr, [%g2 + TI_XFSR]
|
/arch/unicore32/include/asm/ |
D | traps.h | 19 extern void do_DataAbort(unsigned long addr, unsigned int fsr,
|
/arch/arm/plat-iop/ |
D | pci.c | 173 iop3xx_pci_abort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in iop3xx_pci_abort() argument 176 addr, fsr, regs->ARM_pc, regs->ARM_lr); in iop3xx_pci_abort() 182 if (fsr & (1 << 10)) in iop3xx_pci_abort()
|
/arch/ia64/include/asm/ |
D | fpswa.h | 58 unsigned long *fsr, unsigned long *isr, unsigned long *preds,
|
/arch/arm64/include/asm/ |
D | kprobes.h | 52 int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
|
/arch/microblaze/include/asm/ |
D | exceptions.h | 67 int fsr, int addr);
|