/kernel/linux/linux-5.10/arch/arm/mm/ |
D | fault.c | 103 unsigned long addr, unsigned int fsr, in die_kernel_fault() argument 112 die("Oops", regs, fsr); in die_kernel_fault() 121 __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr, in __do_kernel_fault() argument 139 die_kernel_fault(msg, mm, addr, fsr, regs); in __do_kernel_fault() 147 __do_user_fault(unsigned long addr, unsigned int fsr, unsigned int sig, in __do_user_fault() argument 160 tsk->comm, sig, addr, fsr); in __do_user_fault() 173 tsk->thread.error_code = fsr; in __do_user_fault() 178 void do_bad_area(unsigned long addr, unsigned int fsr, struct pt_regs *regs) in do_bad_area() argument 188 __do_user_fault(addr, fsr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() 190 __do_kernel_fault(mm, addr, fsr, regs); in do_bad_area() [all …]
|
D | fault.h | 20 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 22 return fsr & FSR_FS5_0; in fsr_fs() 29 static inline int fsr_fs(unsigned int fsr) in fsr_fs() argument 31 return (fsr & FSR_FS3_0) | (fsr & FSR_FS4) >> 6; in fsr_fs() 35 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.
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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_32.c | 177 membuf_write(&to, &target->thread.fsr, sizeof(u32)); in fpregs32_get() 203 &target->thread.fsr, in fpregs32_set() 296 membuf_write(&to, &target->thread.fsr, sizeof(u32)); in getfpregs_get() 318 &target->thread.fsr, in setfpregs_set() 350 unsigned long fsr; member
|
D | ptrace_64.c | 722 compat_ulong_t fsr; in fpregs32_set() local 726 &fsr, in fpregs32_set() 732 val |= fsr; in fpregs32_set() 866 compat_ulong_t fsr; in setfpregs_set() local 870 &fsr, in setfpregs_set() 876 val |= fsr; in setfpregs_set() 919 unsigned int fsr; member 1009 unsigned long fsr; member
|
D | process_32.c | 190 fpsave(&tsk->thread.float_regs[0], &tsk->thread.fsr, 211 fpsave(¤t->thread.float_regs[0], ¤t->thread.fsr, 288 fpsave(&p->thread.float_regs[0], &p->thread.fsr,
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | aarch32.c | 192 u32 *far, *fsr; in inject_abt32() local 201 fsr = &vcpu_cp15(vcpu, c5_IFSR); in inject_abt32() 205 fsr = &vcpu_cp15(vcpu, c5_DFSR); in inject_abt32() 215 *fsr = DFSR_LPAE | DFSR_FSC_EXTABT_LPAE; in inject_abt32() 218 *fsr = DFSR_FSC_EXTABT_nLPAE; in inject_abt32()
|
/kernel/liteos_a/arch/arm/arm/src/ |
D | los_exc.c | 78 VOID OsExcHook(UINT32 excType, ExcContext *excBufAddr, UINT32 far, UINT32 fsr); 101 #define GET_FS(fsr) (((fsr) & 0xFU) | (((fsr) & (1U << 10)) >> 6)) argument 184 UINT32 OsArmSharedPageFault(UINT32 excType, ExcContext *frame, UINT32 far, UINT32 fsr) in OsArmSharedPageFault() argument 210 write = !!BIT_GET(fsr, WNR_BIT); in OsArmSharedPageFault() 213 …fsrFlag = ((BIT_GET(fsr, FSR_FLAG_OFFSET_BIT) ? 0b10000 : 0) | BITS_GET(fsr, FSR_BITS_BEGIN_BIT, 0… in OsArmSharedPageFault() 249 STATIC VOID OsExcType(UINT32 excType, ExcContext *excBufAddr, UINT32 far, UINT32 fsr) in OsExcType() argument 261 PrintExcInfo("prefetch_abort fault fsr:0x%x, far:0x%0+8x\n", fsr, far); in OsExcType() 262 (VOID)OsDecodeInstructionFSR(fsr); in OsExcType() 264 PrintExcInfo("data_abort fsr:0x%x, far:0x%0+8x\n", fsr, far); in OsExcType() 265 (VOID)OsDecodeDataFSR(fsr); in OsExcType() [all …]
|
D | los_hw_exc.S | 183 …STMFD SP!, {R2-R3} @ far and fsr fields, are 0 under this a… 265 STMFD SP!, {R2-R3} @ Save far and fsr 307 STMFD SP!, {R2-R3} @ Save far and fsr 355 …STMFD SP!, {R2-R3} @ far and fsr fields, are 0 under this an… 373 …STMFD SP!, {R2-R3} @ far and fsr fields, are 0 under this an… 381 LDR R9, [SP, #(9 * 4)] @ Get fsr 420 MOV R3, R9 @ fsr
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | msm_iommu.c | 569 unsigned int fsr = GET_FSR(base, ctx); in print_ctx_regs() local 572 pr_err("FSR = %08x [%s%s%s%s%s%s%s%s%s%s]\n", fsr, in print_ctx_regs() 573 (fsr & 0x02) ? "TF " : "", in print_ctx_regs() 574 (fsr & 0x04) ? "AFF " : "", in print_ctx_regs() 575 (fsr & 0x08) ? "APF " : "", in print_ctx_regs() 576 (fsr & 0x10) ? "TLBMF " : "", in print_ctx_regs() 577 (fsr & 0x20) ? "HTWDEEF " : "", in print_ctx_regs() 578 (fsr & 0x40) ? "HTWSEEF " : "", in print_ctx_regs() 579 (fsr & 0x80) ? "MHF " : "", in print_ctx_regs() 580 (fsr & 0x10000) ? "SL " : "", in print_ctx_regs() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-sh7760.c | 117 unsigned long msr, fsr, fier, len; in sh7760_i2c_irq() local 120 fsr = IN32(id, I2CFSR); in sh7760_i2c_irq() 147 fsr = 0; in sh7760_i2c_irq() 163 if (fsr & FSR_RDF) { in sh7760_i2c_irq() 178 fsr &= ~FSR_RDF; in sh7760_i2c_irq() 195 if ((fsr & FSR_TEND) && (msg->len < 1)) { in sh7760_i2c_irq() 204 fsr &= ~FSR_TEND; in sh7760_i2c_irq() 207 if (fsr & FSR_TDFE) { in sh7760_i2c_irq() 232 OUT32(id, I2CFSR, ~fsr); in sh7760_i2c_irq()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/ |
D | arm-smmu-nvidia.c | 176 u32 fsr, fsynr, cbfrsynra; in nvidia_smmu_context_fault_bank() local 181 fsr = readl_relaxed(cb_base + ARM_SMMU_CB_FSR); in nvidia_smmu_context_fault_bank() 182 if (!(fsr & ARM_SMMU_FSR_FAULT)) in nvidia_smmu_context_fault_bank() 191 fsr, iova, fsynr, cbfrsynra, idx); in nvidia_smmu_context_fault_bank() 193 writel_relaxed(fsr, cb_base + ARM_SMMU_CB_FSR); in nvidia_smmu_context_fault_bank()
|
/kernel/linux/linux-5.10/arch/sparc/lib/ |
D | VISsave.S | 32 stx %fsr, [%g6 + TI_XFSR] 39 stx %fsr, [%g6 + TI_XFSR] 56 stx %fsr, [%g2 + TI_XFSR]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | kprobes.h | 46 int kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr);
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
D | los_arch_context.h | 59 UINT32 fsr; member
|