/arch/unicore32/mm/ |
D | fault.c | 28 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 31 return (fsr & 31) + ((fsr & (3 << 5)) >> 5); in fsr_fs() 89 unsigned int fsr, struct pt_regs *regs) in __do_kernel_fault() argument 107 die("Oops", regs, fsr); in __do_kernel_fault() 116 static void __do_user_fault(unsigned long addr, unsigned int fsr, in __do_user_fault() argument 122 tsk->thread.error_code = fsr; in __do_user_fault() 127 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument 137 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() 139 __do_kernel_fault(mm, addr, fsr, regs); in do_bad_area() 150 static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) in access_error() argument [all …]
|
/arch/arm/mm/ |
D | fault.c | 106 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_kernel_fault() argument 125 die("Oops", regs, fsr); in __do_kernel_fault() 135 __do_user_fault(unsigned long addr, unsigned int fsr, unsigned int sig, in __do_user_fault() argument 148 tsk->comm, sig, addr, fsr); in __do_user_fault() 161 tsk->thread.error_code = fsr; in __do_user_fault() 166 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument 176 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() 178 __do_kernel_fault(mm, addr, fsr, regs); in do_bad_area() 190 static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) in access_error() argument 194 if ((fsr & FSR_WRITE) && !(fsr & FSR_CM)) in access_error() [all …]
|
D | fault.h | 18 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 20 return fsr & FSR_FS5_0; in fsr_fs() 25 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 27 return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6; in fsr_fs() 31 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs);
|
D | abort-macro.S | 13 .macro do_thumb_abort, fsr, pc, psr, tmp 22 orreq \fsr, \fsr, #1 << 11 @ yes.
|
D | abort-ev4t.S | 23 do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3
|
D | abort-ev5t.S | 23 do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3
|
D | abort-ev5tj.S | 26 do_thumb_abort fsr=r1, pc=r4, psr=r5, tmp=r3
|
/arch/microblaze/kernel/ |
D | exceptions.c | 70 int fsr, int addr) in full_exception() argument 78 type, user_mode(regs) ? "user" : "kernel", fsr, in full_exception() 123 if (fsr & FSR_IO) in full_exception() 124 fsr = FPE_FLTINV; in full_exception() 125 else if (fsr & FSR_OF) in full_exception() 126 fsr = FPE_FLTOVF; in full_exception() 127 else if (fsr & FSR_UF) in full_exception() 128 fsr = FPE_FLTUND; in full_exception() 129 else if (fsr & FSR_DZ) in full_exception() 130 fsr = FPE_FLTDIV; in full_exception() [all …]
|
/arch/sparc/math-emu/ |
D | math_32.c | 133 static int do_one_mathemu(u32 insn, unsigned long *fsr, unsigned long *fregs); 183 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu() 195 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu() 201 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); in do_mathemu() 203 fpt->thread.fsr &= ~0x3000; in do_mathemu() 219 unsigned long fsr = *pfsr; in record_exception() local 223 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception() 227 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception() 248 fsr &= ~(FSR_CEXC_MASK); in record_exception() 249 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception() [all …]
|
D | math_64.c | 103 u64 fsr = current_thread_info()->xfsr[0]; in record_exception() local 107 would_trap = (fsr & ((long)eflag << FSR_TEM_SHIFT)) != 0UL; in record_exception() 111 eflag &= ((fsr & FSR_TEM_MASK) >> FSR_TEM_SHIFT); in record_exception() 132 fsr &= ~(FSR_CEXC_MASK); in record_exception() 133 fsr |= ((long)eflag << FSR_CEXC_SHIFT); in record_exception() 142 fsr |= ((long)eflag << FSR_AEXC_SHIFT); in record_exception() 146 fsr |= (1UL << 14); in record_exception() 148 current_thread_info()->xfsr[0] = fsr; in record_exception()
|
/arch/sparc/kernel/ |
D | traps_32.c | 173 fpsave(&fptask->thread.float_regs[0], &fptask->thread.fsr, in do_fpd_trap() 178 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); in do_fpd_trap() 189 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); in do_fpd_trap() 204 unsigned long fsr; local 226 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr, 229 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr); 232 switch ((fpt->thread.fsr & 0x1c000)) { 257 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); 280 fsr = fpt->thread.fsr; 282 if ((fsr & 0x1c000) == (1 << 14)) { [all …]
|
D | sigutil_32.c | 21 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 29 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, in save_fpu_state() 38 err |= __put_user(current->thread.fsr, &fpu->si_fsr); in save_fpu_state() 73 err |= __get_user(current->thread.fsr, &fpu->si_fsr); in restore_fpu_state()
|
D | ptrace_64.c | 378 unsigned long fprs, fsr, gsr; in fpregs64_get() local 410 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get() 413 fsr = gsr = 0; in fpregs64_get() 418 &fsr, in fpregs64_get() 758 compat_ulong_t fsr; in fpregs32_get() local 766 fsr = task_thread_info(target)->xfsr[0]; in fpregs32_get() 769 fsr = 0; in fpregs32_get() 783 &fsr, in fpregs32_get() 826 compat_ulong_t fsr; in fpregs32_set() local 830 &fsr, in fpregs32_set() [all …]
|
D | process_32.c | 192 fpsave(&tsk->thread.float_regs[0], &tsk->thread.fsr, 213 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 317 fpsave(&p->thread.float_regs[0], &p->thread.fsr, 425 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 435 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 446 fpregs->pr_fsr = current->thread.fsr;
|
D | ptrace_32.c | 234 &target->thread.fsr, in fpregs32_get() 276 &target->thread.fsr, in fpregs32_set() 331 unsigned long fsr; member 392 &fps->fsr); in arch_ptrace() 413 &fps->fsr); in arch_ptrace()
|
/arch/sparc/include/asm/ |
D | psr.h | 55 unsigned int fsr = 0; in get_fsr() local 60 : "=r" (fsr) in get_fsr() 63 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 | 21 fpsave(&(prv)->thread.float_regs[0], &(prv)->thread.fsr, \ 103 void fpsave(unsigned long *fpregs, unsigned long *fsr,
|
/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/sparc/lib/ |
D | VISsave.S | 32 stx %fsr, [%g6 + TI_XFSR] 39 stx %fsr, [%g6 + TI_XFSR] 56 stx %fsr, [%g2 + TI_XFSR]
|
/arch/unicore32/include/asm/ |
D | traps.h | 16 extern void do_DataAbort(unsigned long addr, unsigned int fsr,
|
/arch/arm/mach-iop32x/ |
D | pci.c | 170 iop3xx_pci_abort(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in iop3xx_pci_abort() argument 173 addr, fsr, regs->ARM_pc, regs->ARM_lr); in iop3xx_pci_abort() 179 if (fsr & (1 << 10)) in iop3xx_pci_abort()
|
/arch/arm64/include/asm/ |
D | kprobes.h | 46 int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
|
/arch/ia64/include/asm/ |
D | fpswa.h | 59 unsigned long *fsr, unsigned long *isr, unsigned long *preds,
|
/arch/microblaze/include/asm/ |
D | exceptions.h | 67 int fsr, int addr);
|