/linux-4.4.14/arch/arm64/mm/ |
D | fault.c | 42 static const char *fault_name(unsigned int esr); 138 unsigned int esr, struct pt_regs *regs) in __do_kernel_fault() argument 155 die("Oops", regs, esr); in __do_kernel_fault() 165 unsigned int esr, unsigned int sig, int code, in __do_user_fault() argument 172 tsk->comm, task_pid_nr(tsk), fault_name(esr), sig, in __do_user_fault() 173 addr, esr); in __do_user_fault() 179 tsk->thread.fault_code = esr; in __do_user_fault() 187 static void do_bad_area(unsigned long addr, unsigned int esr, struct pt_regs *regs) in do_bad_area() argument 197 __do_user_fault(tsk, addr, esr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area() 199 __do_kernel_fault(mm, addr, esr, regs); in do_bad_area() [all …]
|
/linux-4.4.14/arch/arm64/kvm/ |
D | inject_fault.c | 104 u32 esr = 0; in inject_abt64() local 121 esr |= ESR_ELx_IL; in inject_abt64() 128 esr |= (ESR_ELx_EC_IABT_LOW << ESR_ELx_EC_SHIFT); in inject_abt64() 130 esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT); in inject_abt64() 133 esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT; in inject_abt64() 135 vcpu_sys_reg(vcpu, ESR_EL1) = esr | ESR_ELx_FSC_EXTABT; in inject_abt64() 141 u32 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local 154 esr |= ESR_ELx_IL; in inject_undef64() 156 vcpu_sys_reg(vcpu, ESR_EL1) = esr; in inject_undef64()
|
D | emulate.c | 57 u32 esr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_get_condition() local 59 if (esr & ESR_ELx_CV) in kvm_vcpu_get_condition() 60 return (esr & ESR_ELx_COND_MASK) >> ESR_ELx_COND_SHIFT; in kvm_vcpu_get_condition()
|
D | sys_regs.c | 1223 unsigned long esr = kvm_vcpu_get_hsr(vcpu); in kvm_handle_sys_reg() local 1224 int Rt = (esr >> 5) & 0x1f; in kvm_handle_sys_reg() 1227 trace_kvm_handle_sys_reg(esr); in kvm_handle_sys_reg() 1231 params.Op0 = (esr >> 20) & 3; in kvm_handle_sys_reg() 1232 params.Op1 = (esr >> 14) & 0x7; in kvm_handle_sys_reg() 1233 params.CRn = (esr >> 10) & 0xf; in kvm_handle_sys_reg() 1234 params.CRm = (esr >> 1) & 0xf; in kvm_handle_sys_reg() 1235 params.Op2 = (esr >> 17) & 0x7; in kvm_handle_sys_reg() 1237 params.is_write = !(esr & 1); in kvm_handle_sys_reg()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | core_lca.c | 336 mem_error(unsigned long esr, unsigned long ear) in mem_error() argument 339 ((esr & ESR_CEE) ? "Correctable" : in mem_error() 340 (esr & ESR_UEE) ? "Uncorrectable" : "A"), in mem_error() 341 (esr & ESR_WRE) ? "write" : "read", in mem_error() 342 (esr & ESR_SOR) ? "memory" : "b-cache", in mem_error() 344 if (esr & ESR_CTE) { in mem_error() 347 if (esr & ESR_MSE) { in mem_error() 350 if (esr & ESR_MHE) { in mem_error() 353 if (esr & ESR_NXM) { in mem_error() 433 if (el.s->esr & ESR_EAV) { in lca_machine_check() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | debug-monitors.c | 212 static int call_step_hook(struct pt_regs *regs, unsigned int esr) in call_step_hook() argument 220 retval = hook->fn(regs, esr); in call_step_hook() 230 static int single_step_handler(unsigned long addr, unsigned int esr, in single_step_handler() argument 257 if (call_step_hook(regs, esr) == DBG_HOOK_HANDLED) in single_step_handler() 294 static int call_break_hook(struct pt_regs *regs, unsigned int esr) in call_break_hook() argument 297 int (*fn)(struct pt_regs *regs, unsigned int esr) = NULL; in call_break_hook() 301 if ((esr & hook->esr_mask) == hook->esr_val) in call_break_hook() 305 return fn ? fn(regs, esr) : DBG_HOOK_ERROR; in call_break_hook() 308 static int brk_handler(unsigned long addr, unsigned int esr, in brk_handler() argument 322 } else if (call_break_hook(regs, esr) != DBG_HOOK_HANDLED) { in brk_handler()
|
D | fpsimd.c | 95 void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs) in do_fpsimd_acc() argument 104 void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs) in do_fpsimd_exc() argument 109 if (esr & FPEXC_IOF) in do_fpsimd_exc() 111 else if (esr & FPEXC_DZF) in do_fpsimd_exc() 113 else if (esr & FPEXC_OFF) in do_fpsimd_exc() 115 else if (esr & FPEXC_UFF) in do_fpsimd_exc() 117 else if (esr & FPEXC_IXF) in do_fpsimd_exc()
|
D | traps.c | 431 const char *esr_get_class_string(u32 esr) in esr_get_class_string() argument 433 return esr_class_str[esr >> ESR_ELx_EC_SHIFT]; in esr_get_class_string() 439 asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr) in bad_mode() argument 446 handler[reason], esr, esr_get_class_string(esr)); in bad_mode() 491 static int bug_handler(struct pt_regs *regs, unsigned int esr) in bug_handler() argument 526 int __init early_brk64(unsigned long addr, unsigned int esr, in early_brk64() argument 529 return bug_handler(regs, esr) != DBG_HOOK_HANDLED; in early_brk64()
|
D | kgdb.c | 216 static int kgdb_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_brk_fn() argument 222 static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_compiled_brk_fn() argument 230 static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_step_brk_fn() argument
|
D | hw_breakpoint.c | 582 static int breakpoint_handler(unsigned long unused, unsigned int esr, in breakpoint_handler() argument 658 static int watchpoint_handler(unsigned long addr, unsigned int esr, in watchpoint_handler() argument 706 access = (esr & AARCH64_ESR_ACCESS_MASK) ? HW_BREAKPOINT_W : in watchpoint_handler()
|
D | signal.c | 200 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err); in setup_sigframe()
|
/linux-4.4.14/arch/sh/boards/mach-dreamcast/ |
D | irq.c | 91 __u32 esr = ESR_BASE + (LEVEL(irq) << 2); in mask_ack_systemasic_irq() local 93 outl((1 << EVENT_BIT(irq)), esr); in mask_ack_systemasic_irq() 108 __u32 emr, esr, status, level; in systemasic_irq_demux() local 125 esr = ESR_BASE + (level << 2); in systemasic_irq_demux() 128 status = inl(esr); in systemasic_irq_demux()
|
/linux-4.4.14/sound/soc/fsl/ |
D | fsl_esai.c | 73 u32 esr; in esai_isr() local 75 regmap_read(esai_priv->regmap, REG_ESAI_ESR, &esr); in esai_isr() 77 if (esr & ESAI_ESR_TINIT_MASK) in esai_isr() 80 if (esr & ESAI_ESR_RFF_MASK) in esai_isr() 83 if (esr & ESAI_ESR_TFE_MASK) in esai_isr() 86 if (esr & ESAI_ESR_TLS_MASK) in esai_isr() 89 if (esr & ESAI_ESR_TDE_MASK) in esai_isr() 92 if (esr & ESAI_ESR_TED_MASK) in esai_isr() 95 if (esr & ESAI_ESR_TD_MASK) in esai_isr() 98 if (esr & ESAI_ESR_RLS_MASK) in esai_isr() [all …]
|
/linux-4.4.14/drivers/net/ethernet/ibm/emac/ |
D | mal.c | 225 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_serr() local 228 set_mal_dcrn(mal, MAL_ESR, esr); in mal_serr() 230 MAL_DBG(mal, "SERR %08x" NL, esr); in mal_serr() 232 if (esr & MAL_ESR_EVB) { in mal_serr() 233 if (esr & MAL_ESR_DE) { in mal_serr() 240 if (esr & MAL_ESR_PEIN) { in mal_serr() 248 mal->index, esr); in mal_serr() 258 mal->index, esr); in mal_serr() 358 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_int() local 360 if (esr & MAL_ESR_EVB) { in mal_int() [all …]
|
D | phy.c | 526 u16 esr = phy_read(phy, MII_ESTATUS); in emac_mii_phy_probe() local 527 if (esr & ESTATUS_1000_TFULL) in emac_mii_phy_probe() 529 if (esr & ESTATUS_1000_THALF) in emac_mii_phy_probe()
|
D | mal.h | 294 u32 esr; member
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | debug-monitors.h | 100 int (*fn)(struct pt_regs *regs, unsigned int esr); 110 int (*fn)(struct pt_regs *regs, unsigned int esr);
|
D | esr.h | 114 const char *esr_get_class_string(u32 esr);
|
/linux-4.4.14/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 61 __u64 esr; member
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 57 __u32 esr; member
|
D | kvm.h | 209 __u32 esr; member
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | emulate.c | 239 vcpu->arch.shared->esr | ESR_PTR); in kvmppc_emulate_instruction() 255 vcpu->arch.shared->esr | ESR_PTR); in kvmppc_emulate_instruction()
|
D | booke_emulate.c | 141 vcpu->arch.shared->esr = spr_val; in kvmppc_booke_emulate_mtspr() 402 *spr_val = vcpu->arch.shared->esr; in kvmppc_booke_emulate_mfspr()
|
D | e500mc.c | 144 mtspr(SPRN_GESR, vcpu->arch.shared->esr); in kvmppc_core_vcpu_load_e500mc() 168 vcpu->arch.shared->esr = mfspr(SPRN_GESR); in kvmppc_core_vcpu_put_e500mc()
|
D | booke.c | 1487 sregs->u.e.esr = kvmppc_get_esr(vcpu); in get_sregs_base() 1505 kvmppc_set_esr(vcpu, sregs->u.e.esr); in set_sregs_base()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | core_lca.h | 167 unsigned long esr; /* error-status register */ member 186 unsigned long esr; /* error status register */ member
|
/linux-4.4.14/arch/microblaze/include/uapi/asm/ |
D | ptrace.h | 52 microblaze_reg_t esr; member
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | asm-offsets.c | 27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main() 123 DEFINE(CC_ESR, offsetof(struct cpu_context, esr)); in main()
|
D | signal.c | 75 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); in restore_sigcontext() 136 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); in setup_sigcontext()
|
D | exceptions.c | 84 (unsigned int) regs->pc, (unsigned int) regs->esr); in full_exception()
|
D | process.c | 44 regs->msr, regs->ear, regs->esr, regs->fsr); in show_regs()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | thread_info.h | 58 __u32 esr; member
|
/linux-4.4.14/arch/microblaze/mm/ |
D | fault.c | 98 regs->esr = error_code; in do_page_fault()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-sli-defs.h | 1814 uint64_t esr:2; member 1824 uint64_t esr:2; 1837 uint64_t esr:2; member 1847 uint64_t esr:2; 1863 uint64_t esr:2; member 1875 uint64_t esr:2; 2831 uint64_t esr:2; member 2835 uint64_t esr:2; 2864 uint64_t esr:2; member 2868 uint64_t esr:2;
|
D | cvmx-npi-defs.h | 710 uint64_t esr:2; member 714 uint64_t esr:2; 734 uint64_t esr:2; member 738 uint64_t esr:2; 1679 uint64_t esr:2; member 1693 uint64_t esr:2; 1703 uint64_t esr:2; member 1717 uint64_t esr:2;
|
D | cvmx-npei-defs.h | 2989 uint64_t esr:2; member 3003 uint64_t esr:2; 3700 uint64_t esr:2; member 3704 uint64_t esr:2;
|
/linux-4.4.14/drivers/net/can/ |
D | flexcan.c | 211 u32 esr; /* 0x20 */ member 688 reg_esr = flexcan_read(®s->esr) | priv->reg_esr; in flexcan_poll() 724 reg_esr = flexcan_read(®s->esr); in flexcan_irq() 728 flexcan_write(reg_esr & FLEXCAN_ESR_ALL_INT, ®s->esr); in flexcan_irq()
|
D | bfin_can.c | 100 __BFP(esr); /* offset 0xb4 */ 538 status = readw(®->esr); in bfin_can_interrupt()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | kvm.c | 530 kvm_patch_ins_lwz(inst, magic_var(esr), inst_rt); in kvm_check_ins() 620 kvm_patch_ins_stw(inst, magic_var(esr), inst_rt); in kvm_check_ins()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | apicdef.h | 287 } esr; member
|
/linux-4.4.14/drivers/net/ethernet/dlink/ |
D | dl2k.c | 1680 __u16 esr; in mii_set_media_pcs() local 1690 esr = mii_read (dev, phy_addr, PCS_ESR); in mii_set_media_pcs() 1694 if (esr & (MII_ESR_1000BT_HD | MII_ESR_1000BX_HD)) in mii_set_media_pcs() 1696 if (esr & (MII_ESR_1000BT_FD | MII_ESR_1000BX_FD)) in mii_set_media_pcs()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | bfin_can.h | 90 __BFP(esr); /* offset 0xb4 */
|
/linux-4.4.14/arch/mips/pci/ |
D | pci-octeon.c | 602 mem_access.s.esr = 1; /* Endian-Swap on read. */ in octeon_pci_setup()
|
D | pcie-octeon.c | 894 mem_access_subid.s.esr = 1; /* Endian-swap for Reads. */ in __cvmx_pcie_rc_initialize_gen1() 1346 mem_access_subid.s.esr = 1; /* Endian-swap for Reads. */ in __cvmx_pcie_rc_initialize_gen2()
|
/linux-4.4.14/ |
D | REPORTING-BUGS | 73 http://www.catb.org/esr/faqs/smart-questions.html
|
D | CREDITS | 3000 E: esr@thyrsus.com 3001 W: http://www.tuxedo.org/~esr/
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 611 SHARED_SPRNG_WRAPPER(esr, 64, SPRN_GESR)
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | debug-mmrs.c | 168 __CAN(ESR, esr); in bfin_debug_mmrs_can()
|