Home
last modified time | relevance | path

Searched refs:esr (Results 1 – 25 of 33) sorted by relevance

12

/arch/arm64/mm/
Dfault.c39 static const char *fault_name(unsigned int esr);
84 unsigned int esr, struct pt_regs *regs) in __do_kernel_fault() argument
101 die("Oops", regs, esr); in __do_kernel_fault()
111 unsigned int esr, unsigned int sig, int code, in __do_user_fault() argument
119 tsk->comm, task_pid_nr(tsk), fault_name(esr), sig, in __do_user_fault()
120 addr, esr); in __do_user_fault()
133 static void do_bad_area(unsigned long addr, unsigned int esr, struct pt_regs *regs) in do_bad_area() argument
143 __do_user_fault(tsk, addr, esr, SIGSEGV, SEGV_MAPERR, regs); in do_bad_area()
145 __do_kernel_fault(mm, addr, esr, regs); in do_bad_area()
192 static int __kprobes do_page_fault(unsigned long addr, unsigned int esr, in do_page_fault() argument
[all …]
/arch/alpha/kernel/
Dcore_lca.c336 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 …]
/arch/sh/boards/mach-dreamcast/
Dirq.c91 __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()
/arch/arm64/kernel/
Dfpsimd.c94 void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs) in do_fpsimd_acc() argument
103 void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs) in do_fpsimd_exc() argument
108 if (esr & FPEXC_IOF) in do_fpsimd_exc()
110 else if (esr & FPEXC_DZF) in do_fpsimd_exc()
112 else if (esr & FPEXC_OFF) in do_fpsimd_exc()
114 else if (esr & FPEXC_UFF) in do_fpsimd_exc()
116 else if (esr & FPEXC_IXF) in do_fpsimd_exc()
Ddebug-monitors.c215 static int call_step_hook(struct pt_regs *regs, unsigned int esr) in call_step_hook() argument
223 retval = hook->fn(regs, esr); in call_step_hook()
233 static int single_step_handler(unsigned long addr, unsigned int esr, in single_step_handler() argument
260 if (call_step_hook(regs, esr) == DBG_HOOK_HANDLED) in single_step_handler()
296 static int call_break_hook(struct pt_regs *regs, unsigned int esr) in call_break_hook() argument
299 int (*fn)(struct pt_regs *regs, unsigned int esr) = NULL; in call_break_hook()
303 if ((esr & hook->esr_mask) == hook->esr_val) in call_break_hook()
307 return fn ? fn(regs, esr) : DBG_HOOK_ERROR; in call_break_hook()
310 static int brk_handler(unsigned long addr, unsigned int esr, in brk_handler() argument
315 if (call_break_hook(regs, esr) == DBG_HOOK_HANDLED) in brk_handler()
Dkgdb.c216 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
Dtraps.c355 asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr) in bad_mode() argument
362 handler[reason], esr); in bad_mode()
Dhw_breakpoint.c619 static int breakpoint_handler(unsigned long unused, unsigned int esr, in breakpoint_handler() argument
729 static int watchpoint_handler(unsigned long addr, unsigned int esr, in watchpoint_handler() argument
758 access = (esr & AARCH64_ESR_ACCESS_MASK) ? HW_BREAKPOINT_W : in watchpoint_handler()
/arch/arm64/include/asm/
Ddebug-monitors.h100 int (*fn)(struct pt_regs *regs, unsigned int esr);
110 int (*fn)(struct pt_regs *regs, unsigned int esr);
/arch/powerpc/include/uapi/asm/
Dkvm_para.h57 __u32 esr; member
/arch/microblaze/include/uapi/asm/
Dptrace.h52 microblaze_reg_t esr; member
/arch/alpha/include/asm/
Dcore_lca.h167 unsigned long esr; /* error-status register */ member
186 unsigned long esr; /* error status register */ member
/arch/microblaze/kernel/
Dasm-offsets.c27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main()
123 DEFINE(CC_ESR, offsetof(struct cpu_context, esr)); in main()
Dexceptions.c84 (unsigned int) regs->pc, (unsigned int) regs->esr); in full_exception()
Dsignal.c75 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); in restore_sigcontext()
136 COPY(pc); COPY(ear); COPY(esr); COPY(fsr); in setup_sigcontext()
Dprocess.c43 regs->msr, regs->ear, regs->esr, regs->fsr); in show_regs()
/arch/powerpc/platforms/wsp/
Dscom_smp.c314 u64 iar, srr0, srr1, esr, mas0, mas1, mas2, mas7_3, mas8, ccr2; in a2_scom_initial_tlb() local
318 rc[3] = a2_scom_getspr(scom, thread, SPRN_ESR, &esr); in a2_scom_initial_tlb()
328 pr_err(" retreived ESR =0x%llx (err %d)\n", esr, rc[3]); in a2_scom_initial_tlb()
/arch/microblaze/include/asm/
Dthread_info.h58 __u32 esr; member
/arch/powerpc/kvm/
Dbooke_emulate.c127 vcpu->arch.shared->esr = spr_val; in kvmppc_booke_emulate_mtspr()
270 *spr_val = vcpu->arch.shared->esr; in kvmppc_booke_emulate_mfspr()
Demulate.c288 vcpu->arch.shared->esr | ESR_PTR); in kvmppc_emulate_instruction()
304 vcpu->arch.shared->esr | ESR_PTR); in kvmppc_emulate_instruction()
De500mc.c139 mtspr(SPRN_GESR, vcpu->arch.shared->esr); in kvmppc_core_vcpu_load()
165 vcpu->arch.shared->esr = mfspr(SPRN_GESR); in kvmppc_core_vcpu_put()
Dbooke.c297 return vcpu->arch.shared->esr; in get_guest_esr()
301 static void set_guest_esr(struct kvm_vcpu *vcpu, u32 esr) in set_guest_esr() argument
304 mtspr(SPRN_GESR, esr); in set_guest_esr()
306 vcpu->arch.shared->esr = esr; in set_guest_esr()
1301 sregs->u.e.esr = get_guest_esr(vcpu); in get_sregs_base()
1319 set_guest_esr(vcpu, sregs->u.e.esr); in set_sregs_base()
/arch/microblaze/mm/
Dfault.c99 regs->esr = error_code; in do_page_fault()
/arch/mips/include/asm/octeon/
Dcvmx-sli-defs.h1814 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;
/arch/x86/include/asm/
Dapicdef.h287 } esr; member

12