Lines Matching refs:esr

181 void do_el0_softstep(unsigned long esr, struct pt_regs *regs)
183 if (uprobe_single_step_handler(regs, esr) == DBG_HOOK_HANDLED)
196 void do_el1_softstep(unsigned long esr, struct pt_regs *regs)
198 if (kgdb_single_step_handler(regs, esr) == DBG_HOOK_HANDLED)
210 static int call_el1_break_hook(struct pt_regs *regs, unsigned long esr)
212 if (esr_brk_comment(esr) == BUG_BRK_IMM)
213 return bug_brk_handler(regs, esr);
215 if (IS_ENABLED(CONFIG_CFI_CLANG) && esr_is_cfi_brk(esr))
216 return cfi_brk_handler(regs, esr);
218 if (esr_brk_comment(esr) == FAULT_BRK_IMM)
219 return reserved_fault_brk_handler(regs, esr);
222 (esr_brk_comment(esr) & ~KASAN_BRK_MASK) == KASAN_BRK_IMM)
223 return kasan_brk_handler(regs, esr);
225 if (IS_ENABLED(CONFIG_UBSAN_TRAP) && esr_is_ubsan_brk(esr))
226 return ubsan_brk_handler(regs, esr);
229 if (esr_brk_comment(esr) == KGDB_DYN_DBG_BRK_IMM)
230 return kgdb_brk_handler(regs, esr);
231 if (esr_brk_comment(esr) == KGDB_COMPILED_DBG_BRK_IMM)
232 return kgdb_compiled_brk_handler(regs, esr);
236 if (esr_brk_comment(esr) == KPROBES_BRK_IMM)
237 return kprobe_brk_handler(regs, esr);
238 if (esr_brk_comment(esr) == KPROBES_BRK_SS_IMM)
239 return kprobe_ss_brk_handler(regs, esr);
243 esr_brk_comment(esr) == KRETPROBES_BRK_IMM)
244 return kretprobe_brk_handler(regs, esr);
254 void do_el0_brk64(unsigned long esr, struct pt_regs *regs)
257 esr_brk_comment(esr) == UPROBES_BRK_IMM &&
258 uprobe_brk_handler(regs, esr) == DBG_HOOK_HANDLED)
264 void do_el1_brk64(unsigned long esr, struct pt_regs *regs)
266 if (call_el1_break_hook(regs, esr) == DBG_HOOK_HANDLED)
269 die("Oops - BRK", regs, esr);
274 void do_bkpt32(unsigned long esr, struct pt_regs *regs)
276 arm64_notify_die("aarch32 BKPT", regs, SIGTRAP, TRAP_BRKPT, regs->pc, esr);