Lines Matching refs:esr
265 unsigned int esr) in __panic_unhandled() argument
272 vector, smp_processor_id(), esr, in __panic_unhandled()
273 esr_get_class_string(esr)); in __panic_unhandled()
340 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() argument
346 do_mem_abort(far, esr, regs); in el1_abort()
351 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() argument
357 do_sp_pc_abort(far, esr, regs); in el1_pc()
371 static void noinstr el1_dbg(struct pt_regs *regs, unsigned long esr) in el1_dbg() argument
377 do_debug_exception(far, esr, regs); in el1_dbg()
381 static void noinstr el1_fpac(struct pt_regs *regs, unsigned long esr) in el1_fpac() argument
385 do_ptrauth_fault(regs, esr); in el1_fpac()
392 unsigned long esr = read_sysreg(esr_el1); in el1h_64_sync_handler() local
394 switch (ESR_ELx_EC(esr)) { in el1h_64_sync_handler()
397 el1_abort(regs, esr); in el1h_64_sync_handler()
404 el1_pc(regs, esr); in el1h_64_sync_handler()
414 el1_dbg(regs, esr); in el1h_64_sync_handler()
417 el1_fpac(regs, esr); in el1h_64_sync_handler()
420 __panic_unhandled(regs, "64-bit el1h sync", esr); in el1h_64_sync_handler()
475 unsigned long esr = read_sysreg(esr_el1); in el1h_64_error_handler() local
479 do_serror(regs, esr); in el1h_64_error_handler()
483 static void noinstr el0_da(struct pt_regs *regs, unsigned long esr) in el0_da() argument
489 do_mem_abort(far, esr, regs); in el0_da()
493 static void noinstr el0_ia(struct pt_regs *regs, unsigned long esr) in el0_ia() argument
507 do_mem_abort(far, esr, regs); in el0_ia()
511 static void noinstr el0_fpsimd_acc(struct pt_regs *regs, unsigned long esr) in el0_fpsimd_acc() argument
515 do_fpsimd_acc(esr, regs); in el0_fpsimd_acc()
519 static void noinstr el0_sve_acc(struct pt_regs *regs, unsigned long esr) in el0_sve_acc() argument
523 do_sve_acc(esr, regs); in el0_sve_acc()
527 static void noinstr el0_fpsimd_exc(struct pt_regs *regs, unsigned long esr) in el0_fpsimd_exc() argument
531 do_fpsimd_exc(esr, regs); in el0_fpsimd_exc()
535 static void noinstr el0_sys(struct pt_regs *regs, unsigned long esr) in el0_sys() argument
539 do_sysinstr(esr, regs); in el0_sys()
543 static void noinstr el0_pc(struct pt_regs *regs, unsigned long esr) in el0_pc() argument
552 do_sp_pc_abort(far, esr, regs); in el0_pc()
556 static void noinstr el0_sp(struct pt_regs *regs, unsigned long esr) in el0_sp() argument
560 do_sp_pc_abort(regs->sp, esr, regs); in el0_sp()
580 static void noinstr el0_inv(struct pt_regs *regs, unsigned long esr) in el0_inv() argument
584 bad_el0_sync(regs, 0, esr); in el0_inv()
588 static void noinstr el0_dbg(struct pt_regs *regs, unsigned long esr) in el0_dbg() argument
594 do_debug_exception(far, esr, regs); in el0_dbg()
607 static void noinstr el0_fpac(struct pt_regs *regs, unsigned long esr) in el0_fpac() argument
611 do_ptrauth_fault(regs, esr); in el0_fpac()
617 unsigned long esr = read_sysreg(esr_el1); in el0t_64_sync_handler() local
619 switch (ESR_ELx_EC(esr)) { in el0t_64_sync_handler()
624 el0_da(regs, esr); in el0t_64_sync_handler()
627 el0_ia(regs, esr); in el0t_64_sync_handler()
630 el0_fpsimd_acc(regs, esr); in el0t_64_sync_handler()
633 el0_sve_acc(regs, esr); in el0t_64_sync_handler()
636 el0_fpsimd_exc(regs, esr); in el0t_64_sync_handler()
640 el0_sys(regs, esr); in el0t_64_sync_handler()
643 el0_sp(regs, esr); in el0t_64_sync_handler()
646 el0_pc(regs, esr); in el0t_64_sync_handler()
658 el0_dbg(regs, esr); in el0t_64_sync_handler()
661 el0_fpac(regs, esr); in el0t_64_sync_handler()
664 el0_inv(regs, esr); in el0t_64_sync_handler()
707 unsigned long esr = read_sysreg(esr_el1); in __el0_error_handler_common() local
712 do_serror(regs, esr); in __el0_error_handler_common()
724 static void noinstr el0_cp15(struct pt_regs *regs, unsigned long esr) in el0_cp15() argument
728 do_cp15instr(esr, regs); in el0_cp15()
742 unsigned long esr = read_sysreg(esr_el1); in el0t_32_sync_handler() local
744 switch (ESR_ELx_EC(esr)) { in el0t_32_sync_handler()
749 el0_da(regs, esr); in el0t_32_sync_handler()
752 el0_ia(regs, esr); in el0t_32_sync_handler()
755 el0_fpsimd_acc(regs, esr); in el0t_32_sync_handler()
758 el0_fpsimd_exc(regs, esr); in el0t_32_sync_handler()
761 el0_pc(regs, esr); in el0t_32_sync_handler()
771 el0_cp15(regs, esr); in el0t_32_sync_handler()
777 el0_dbg(regs, esr); in el0t_32_sync_handler()
780 el0_inv(regs, esr); in el0t_32_sync_handler()
808 unsigned int esr = read_sysreg(esr_el1); in handle_bad_stack() local
812 panic_bad_stack(regs, esr, far); in handle_bad_stack()