Lines Matching refs:esr

237 	unsigned int esr = tsk->thread.fault_code;  in arm64_force_sig_info()  local
247 if (esr) in arm64_force_sig_info()
248 pr_cont("%s, ESR 0x%08x, ", esr_get_class_string(esr), esr); in arm64_force_sig_info()
437 static void user_cache_maint_handler(unsigned int esr, struct pt_regs *regs) in user_cache_maint_handler() argument
440 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in user_cache_maint_handler()
441 int crm = (esr & ESR_ELx_SYS64_ISS_CRM_MASK) >> ESR_ELx_SYS64_ISS_CRM_SHIFT; in user_cache_maint_handler()
473 static void ctr_read_handler(unsigned int esr, struct pt_regs *regs) in ctr_read_handler() argument
475 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in ctr_read_handler()
483 static void cntvct_read_handler(unsigned int esr, struct pt_regs *regs) in cntvct_read_handler() argument
485 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in cntvct_read_handler()
491 static void cntfrq_read_handler(unsigned int esr, struct pt_regs *regs) in cntfrq_read_handler() argument
493 int rt = (esr & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT; in cntfrq_read_handler()
502 void (*handler)(unsigned int esr, struct pt_regs *regs);
532 asmlinkage void __exception do_sysinstr(unsigned int esr, struct pt_regs *regs) in do_sysinstr() argument
537 if ((hook->esr_mask & esr) == hook->esr_val) { in do_sysinstr()
538 hook->handler(esr, regs); in do_sysinstr()
591 const char *esr_get_class_string(u32 esr) in esr_get_class_string() argument
593 return esr_class_str[ESR_ELx_EC(esr)]; in esr_get_class_string()
600 asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr) in bad_mode() argument
605 handler[reason], smp_processor_id(), esr, in bad_mode()
606 esr_get_class_string(esr)); in bad_mode()
617 asmlinkage void bad_el0_sync(struct pt_regs *regs, int reason, unsigned int esr) in bad_el0_sync() argument
629 current->thread.fault_code = esr; in bad_el0_sync()
644 unsigned int esr = read_sysreg(esr_el1); in handle_bad_stack() local
650 pr_emerg("ESR: 0x%08x -- %s\n", esr, esr_get_class_string(esr)); in handle_bad_stack()
671 void __noreturn arm64_serror_panic(struct pt_regs *regs, u32 esr) in arm64_serror_panic() argument
676 smp_processor_id(), esr, esr_get_class_string(esr)); in arm64_serror_panic()
686 bool arm64_is_fatal_ras_serror(struct pt_regs *regs, unsigned int esr) in arm64_is_fatal_ras_serror() argument
688 u32 aet = arm64_ras_serror_get_severity(esr); in arm64_is_fatal_ras_serror()
710 arm64_serror_panic(regs, esr); in arm64_is_fatal_ras_serror()
714 asmlinkage void do_serror(struct pt_regs *regs, unsigned int esr) in do_serror() argument
719 if (!arm64_is_ras_serror(esr) || arm64_is_fatal_ras_serror(regs, esr)) in do_serror()
720 arm64_serror_panic(regs, esr); in do_serror()
759 static int bug_handler(struct pt_regs *regs, unsigned int esr) in bug_handler() argument
792 int __init early_brk64(unsigned long addr, unsigned int esr, in early_brk64() argument
795 return bug_handler(regs, esr) != DBG_HOOK_HANDLED; in early_brk64()