Lines Matching refs:esr
281 unsigned long esr) in __panic_unhandled() argument
288 vector, smp_processor_id(), esr, in __panic_unhandled()
289 esr_get_class_string(esr)); in __panic_unhandled()
291 trace_android_rvh_panic_unhandled(regs, vector, esr); in __panic_unhandled()
358 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() argument
364 do_mem_abort(far, esr, regs); in el1_abort()
369 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() argument
375 do_sp_pc_abort(far, esr, regs); in el1_pc()
380 static void noinstr el1_undef(struct pt_regs *regs, unsigned long esr) in el1_undef() argument
384 do_el1_undef(regs, esr); in el1_undef()
389 static void noinstr el1_bti(struct pt_regs *regs, unsigned long esr) in el1_bti() argument
393 do_el1_bti(regs, esr); in el1_bti()
398 static void noinstr el1_dbg(struct pt_regs *regs, unsigned long esr) in el1_dbg() argument
404 do_debug_exception(far, esr, regs); in el1_dbg()
408 static void noinstr el1_fpac(struct pt_regs *regs, unsigned long esr) in el1_fpac() argument
412 do_el1_fpac(regs, esr); in el1_fpac()
419 unsigned long esr = read_sysreg(esr_el1); in el1h_64_sync_handler() local
421 switch (ESR_ELx_EC(esr)) { in el1h_64_sync_handler()
424 el1_abort(regs, esr); in el1h_64_sync_handler()
431 el1_pc(regs, esr); in el1h_64_sync_handler()
435 el1_undef(regs, esr); in el1h_64_sync_handler()
438 el1_bti(regs, esr); in el1h_64_sync_handler()
444 el1_dbg(regs, esr); in el1h_64_sync_handler()
447 el1_fpac(regs, esr); in el1h_64_sync_handler()
450 __panic_unhandled(regs, "64-bit el1h sync", esr); in el1h_64_sync_handler()
486 unsigned long esr = read_sysreg(esr_el1); in el1h_64_error_handler() local
490 do_serror(regs, esr); in el1h_64_error_handler()
494 static void noinstr el0_da(struct pt_regs *regs, unsigned long esr) in el0_da() argument
500 do_mem_abort(far, esr, regs); in el0_da()
504 static void noinstr el0_ia(struct pt_regs *regs, unsigned long esr) in el0_ia() argument
518 do_mem_abort(far, esr, regs); in el0_ia()
522 static void noinstr el0_fpsimd_acc(struct pt_regs *regs, unsigned long esr) in el0_fpsimd_acc() argument
526 do_fpsimd_acc(esr, regs); in el0_fpsimd_acc()
530 static void noinstr el0_sve_acc(struct pt_regs *regs, unsigned long esr) in el0_sve_acc() argument
534 do_sve_acc(esr, regs); in el0_sve_acc()
538 static void noinstr el0_sme_acc(struct pt_regs *regs, unsigned long esr) in el0_sme_acc() argument
542 do_sme_acc(esr, regs); in el0_sme_acc()
546 static void noinstr el0_fpsimd_exc(struct pt_regs *regs, unsigned long esr) in el0_fpsimd_exc() argument
550 do_fpsimd_exc(esr, regs); in el0_fpsimd_exc()
554 static void noinstr el0_sys(struct pt_regs *regs, unsigned long esr) in el0_sys() argument
558 do_el0_sys(esr, regs); in el0_sys()
562 static void noinstr el0_pc(struct pt_regs *regs, unsigned long esr) in el0_pc() argument
571 do_sp_pc_abort(far, esr, regs); in el0_pc()
575 static void noinstr el0_sp(struct pt_regs *regs, unsigned long esr) in el0_sp() argument
579 do_sp_pc_abort(regs->sp, esr, regs); in el0_sp()
583 static void noinstr el0_undef(struct pt_regs *regs, unsigned long esr) in el0_undef() argument
587 do_el0_undef(regs, esr); in el0_undef()
599 static void noinstr el0_inv(struct pt_regs *regs, unsigned long esr) in el0_inv() argument
603 bad_el0_sync(regs, 0, esr); in el0_inv()
607 static void noinstr el0_dbg(struct pt_regs *regs, unsigned long esr) in el0_dbg() argument
613 do_debug_exception(far, esr, regs); in el0_dbg()
626 static void noinstr el0_fpac(struct pt_regs *regs, unsigned long esr) in el0_fpac() argument
630 do_el0_fpac(regs, esr); in el0_fpac()
636 unsigned long esr = read_sysreg(esr_el1); in el0t_64_sync_handler() local
638 switch (ESR_ELx_EC(esr)) { in el0t_64_sync_handler()
643 el0_da(regs, esr); in el0t_64_sync_handler()
646 el0_ia(regs, esr); in el0t_64_sync_handler()
649 el0_fpsimd_acc(regs, esr); in el0t_64_sync_handler()
652 el0_sve_acc(regs, esr); in el0t_64_sync_handler()
655 el0_sme_acc(regs, esr); in el0t_64_sync_handler()
658 el0_fpsimd_exc(regs, esr); in el0t_64_sync_handler()
662 el0_sys(regs, esr); in el0t_64_sync_handler()
665 el0_sp(regs, esr); in el0t_64_sync_handler()
668 el0_pc(regs, esr); in el0t_64_sync_handler()
671 el0_undef(regs, esr); in el0t_64_sync_handler()
680 el0_dbg(regs, esr); in el0t_64_sync_handler()
683 el0_fpac(regs, esr); in el0t_64_sync_handler()
686 el0_inv(regs, esr); in el0t_64_sync_handler()
727 unsigned long esr = read_sysreg(esr_el1); in __el0_error_handler_common() local
732 do_serror(regs, esr); in __el0_error_handler_common()
744 static void noinstr el0_cp15(struct pt_regs *regs, unsigned long esr) in el0_cp15() argument
748 do_el0_cp15(esr, regs); in el0_cp15()
762 unsigned long esr = read_sysreg(esr_el1); in el0t_32_sync_handler() local
764 switch (ESR_ELx_EC(esr)) { in el0t_32_sync_handler()
769 el0_da(regs, esr); in el0t_32_sync_handler()
772 el0_ia(regs, esr); in el0t_32_sync_handler()
775 el0_fpsimd_acc(regs, esr); in el0t_32_sync_handler()
778 el0_fpsimd_exc(regs, esr); in el0t_32_sync_handler()
781 el0_pc(regs, esr); in el0t_32_sync_handler()
787 el0_undef(regs, esr); in el0t_32_sync_handler()
791 el0_cp15(regs, esr); in el0t_32_sync_handler()
797 el0_dbg(regs, esr); in el0t_32_sync_handler()
800 el0_inv(regs, esr); in el0t_32_sync_handler()
828 unsigned long esr = read_sysreg(esr_el1); in handle_bad_stack() local
832 panic_bad_stack(regs, esr, far); in handle_bad_stack()