/arch/arm/mm/ |
D | fault.c | 35 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) in notify_page_fault() argument 42 if (kprobe_running() && kprobe_fault_handler(regs, fsr)) in notify_page_fault() 50 static inline int notify_page_fault(struct pt_regs *regs, unsigned int fsr) in notify_page_fault() argument 133 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_kernel_fault() argument 151 die("Oops", regs, fsr); in __do_kernel_fault() 162 unsigned int fsr, unsigned int sig, int code, in __do_user_fault() argument 174 tsk->comm, sig, addr, fsr); in __do_user_fault() 181 tsk->thread.error_code = fsr; in __do_user_fault() 190 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument 200 __do_user_fault(tsk, addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() [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
|
/arch/microblaze/kernel/ |
D | exceptions.c | 76 int fsr, int addr) in full_exception() argument 84 type, user_mode(regs) ? "user" : "kernel", fsr, in full_exception() 129 if (fsr & FSR_IO) in full_exception() 130 fsr = FPE_FLTINV; in full_exception() 131 else if (fsr & FSR_OF) in full_exception() 132 fsr = FPE_FLTOVF; in full_exception() 133 else if (fsr & FSR_UF) in full_exception() 134 fsr = FPE_FLTUND; in full_exception() 135 else if (fsr & FSR_DZ) in full_exception() 136 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 | 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/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/sparc/kernel/ |
D | traps_32.c | 198 fpsave(&fptask->thread.float_regs[0], &fptask->thread.fsr, in do_fpd_trap() 203 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); in do_fpd_trap() 214 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); in do_fpd_trap() 230 unsigned long fsr; local 251 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr, 254 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr); 257 switch ((fpt->thread.fsr & 0x1c000)) { 282 fpload(¤t->thread.float_regs[0], ¤t->thread.fsr); 305 fsr = fpt->thread.fsr; 311 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 | 377 unsigned long fprs, fsr, gsr; in fpregs64_get() local 409 fsr = task_thread_info(target)->xfsr[0]; in fpregs64_get() 412 fsr = gsr = 0; in fpregs64_get() 417 &fsr, in fpregs64_get() 757 compat_ulong_t fsr; in fpregs32_get() local 765 fsr = task_thread_info(target)->xfsr[0]; in fpregs32_get() 768 fsr = 0; in fpregs32_get() 782 &fsr, in fpregs32_get() 825 compat_ulong_t fsr; in fpregs32_set() local 829 &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/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 | 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 | 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 | 59 unsigned long *fsr, unsigned long *isr, unsigned long *preds,
|
/arch/arm64/include/asm/ |
D | kprobes.h | 55 int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
|
/arch/microblaze/include/asm/ |
D | exceptions.h | 67 int fsr, int addr);
|