/arch/arm64/mm/ |
D | fault.c | 45 int (*fn)(unsigned long addr, unsigned int esr, 54 static inline const struct fault_info *esr_to_fault_info(unsigned int esr) in esr_to_fault_info() argument 56 return fault_info + (esr & 63); in esr_to_fault_info() 60 static inline int notify_page_fault(struct pt_regs *regs, unsigned int esr) in notify_page_fault() argument 67 if (kprobe_running() && kprobe_fault_handler(regs, esr)) in notify_page_fault() 75 static inline int notify_page_fault(struct pt_regs *regs, unsigned int esr) in notify_page_fault() argument 171 static bool is_el1_instruction_abort(unsigned int esr) in is_el1_instruction_abort() argument 173 return ESR_ELx_EC(esr) == ESR_ELx_EC_IABT_CUR; in is_el1_instruction_abort() 180 unsigned int esr, struct pt_regs *regs) in __do_kernel_fault() argument 186 if (!is_el1_instruction_abort(esr) && fixup_exception(regs)) in __do_kernel_fault() [all …]
|
/arch/arm64/kernel/ |
D | debug-monitors.c | 188 static int call_step_hook(struct pt_regs *regs, unsigned int esr) in call_step_hook() argument 196 retval = hook->fn(regs, esr); in call_step_hook() 226 static int single_step_handler(unsigned long addr, unsigned int esr, in single_step_handler() argument 248 if (kprobe_single_step_handler(regs, esr) == DBG_HOOK_HANDLED) in single_step_handler() 251 if (call_step_hook(regs, esr) == DBG_HOOK_HANDLED) in single_step_handler() 289 static int call_break_hook(struct pt_regs *regs, unsigned int esr) in call_break_hook() argument 292 int (*fn)(struct pt_regs *regs, unsigned int esr) = NULL; in call_break_hook() 296 if ((esr & hook->esr_mask) == hook->esr_val) in call_break_hook() 300 return fn ? fn(regs, esr) : DBG_HOOK_ERROR; in call_break_hook() 304 static int brk_handler(unsigned long addr, unsigned int esr, in brk_handler() argument [all …]
|
D | traps.c | 463 static void user_cache_maint_handler(unsigned int esr, struct pt_regs *regs) in user_cache_maint_handler() argument 466 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in user_cache_maint_handler() 467 int crm = (esr & ESR_ELx_SYS64_ISS_CRM_MASK) >> ESR_ELx_SYS64_ISS_CRM_SHIFT; in user_cache_maint_handler() 496 static void ctr_read_handler(unsigned int esr, struct pt_regs *regs) in ctr_read_handler() argument 498 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in ctr_read_handler() 504 static void cntvct_read_handler(unsigned int esr, struct pt_regs *regs) in cntvct_read_handler() argument 506 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in cntvct_read_handler() 514 static void cntfrq_read_handler(unsigned int esr, struct pt_regs *regs) in cntfrq_read_handler() argument 516 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in cntfrq_read_handler() 526 void (*handler)(unsigned int esr, struct pt_regs *regs); [all …]
|
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 | kgdb.c | 232 static int kgdb_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_brk_fn() argument 239 static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int esr) in NOKPROBE_SYMBOL() 248 static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_step_brk_fn() argument
|
/arch/arm64/kvm/ |
D | inject_fault.c | 150 u32 esr = 0; in inject_abt64() local 165 esr |= ESR_ELx_IL; in inject_abt64() 172 esr |= (ESR_ELx_EC_IABT_LOW << ESR_ELx_EC_SHIFT); in inject_abt64() 174 esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT); in inject_abt64() 177 esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT; in inject_abt64() 179 vcpu_sys_reg(vcpu, ESR_EL1) = esr | ESR_ELx_FSC_EXTABT; in inject_abt64() 185 u32 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local 198 esr |= ESR_ELx_IL; in inject_undef64() 200 vcpu_sys_reg(vcpu, ESR_EL1) = esr; in inject_undef64()
|
/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 …]
|
/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()
|
/arch/arm64/include/asm/ |
D | kprobes.h | 55 int kprobe_breakpoint_handler(struct pt_regs *regs, unsigned int esr); 56 int kprobe_single_step_handler(struct pt_regs *regs, unsigned int esr);
|
D | esr.h | 77 #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) argument 187 const char *esr_get_class_string(u32 esr);
|
D | kvm_emulate.h | 153 u32 esr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_get_condition() local 155 if (esr & ESR_ELx_CV) in kvm_vcpu_get_condition() 156 return (esr & ESR_ELx_COND_MASK) >> ESR_ELx_COND_SHIFT; in kvm_vcpu_get_condition() 245 u32 esr = kvm_vcpu_get_hsr(vcpu); in kvm_vcpu_sys_get_rt() local 246 return (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in kvm_vcpu_sys_get_rt()
|
D | debug-monitors.h | 91 int (*fn)(struct pt_regs *regs, unsigned int esr); 101 int (*fn)(struct pt_regs *regs, unsigned int esr);
|
/arch/arm64/kvm/hyp/ |
D | switch.c | 220 u64 esr = read_sysreg_el2(esr); in __populate_fault_info() local 221 u8 ec = ESR_ELx_EC(esr); in __populate_fault_info() 224 vcpu->arch.fault.esr_el2 = esr; in __populate_fault_info() 242 if (!(esr & ESR_ELx_S1PTW) && in __populate_fault_info() 243 (__check_arm_834220()() || (esr & ESR_ELx_FSC_TYPE) == FSC_PERM)) { in __populate_fault_info() 389 read_sysreg_el2(esr), read_sysreg_el2(far), in __hyp_call_panic_vhe()
|
D | sysreg-sr.c | 55 ctxt->sys_regs[ESR_EL1] = read_sysreg_el1(esr); in __sysreg_save_state() 108 write_sysreg_el1(ctxt->sys_regs[ESR_EL1], esr); in __sysreg_restore_state()
|
/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 61 __u64 esr; member
|
/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 57 __u32 esr; member
|
/arch/microblaze/include/uapi/asm/ |
D | ptrace.h | 52 microblaze_reg_t esr; member
|
/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()
|
/arch/microblaze/include/asm/ |
D | thread_info.h | 58 __u32 esr; member
|
/arch/alpha/include/asm/ |
D | core_lca.h | 167 unsigned long esr; /* error-status register */ member 186 unsigned long esr; /* error status register */ member
|
/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 | exceptions.c | 84 (unsigned int) regs->pc, (unsigned int) regs->esr); in full_exception()
|
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 | process.c | 44 regs->msr, regs->ear, regs->esr, regs->fsr); in show_regs()
|
/arch/microblaze/mm/ |
D | fault.c | 98 regs->esr = error_code; in do_page_fault()
|