Lines Matching refs:esr

112 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr)  in el1_abort()  argument
119 do_mem_abort(far, esr, regs); in el1_abort()
124 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() argument
130 do_sp_pc_abort(far, esr, regs); in el1_pc()
144 static void noinstr el1_inv(struct pt_regs *regs, unsigned long esr) in el1_inv() argument
148 bad_mode(regs, 0, esr); in el1_inv()
177 static void noinstr el1_dbg(struct pt_regs *regs, unsigned long esr) in el1_dbg() argument
190 do_debug_exception(far, esr, regs); in el1_dbg()
194 static void noinstr el1_fpac(struct pt_regs *regs, unsigned long esr) in el1_fpac() argument
198 do_ptrauth_fault(regs, esr); in el1_fpac()
205 unsigned long esr = read_sysreg(esr_el1); in el1_sync_handler() local
207 switch (ESR_ELx_EC(esr)) { in el1_sync_handler()
210 el1_abort(regs, esr); in el1_sync_handler()
217 el1_pc(regs, esr); in el1_sync_handler()
227 el1_dbg(regs, esr); in el1_sync_handler()
230 el1_fpac(regs, esr); in el1_sync_handler()
233 el1_inv(regs, esr); in el1_sync_handler()
253 static void noinstr el0_da(struct pt_regs *regs, unsigned long esr) in el0_da() argument
260 do_mem_abort(far, esr, regs); in el0_da()
263 static void noinstr el0_ia(struct pt_regs *regs, unsigned long esr) in el0_ia() argument
277 do_mem_abort(far, esr, regs); in el0_ia()
280 static void noinstr el0_fpsimd_acc(struct pt_regs *regs, unsigned long esr) in el0_fpsimd_acc() argument
284 do_fpsimd_acc(esr, regs); in el0_fpsimd_acc()
287 static void noinstr el0_sve_acc(struct pt_regs *regs, unsigned long esr) in el0_sve_acc() argument
291 do_sve_acc(esr, regs); in el0_sve_acc()
294 static void noinstr el0_fpsimd_exc(struct pt_regs *regs, unsigned long esr) in el0_fpsimd_exc() argument
298 do_fpsimd_exc(esr, regs); in el0_fpsimd_exc()
301 static void noinstr el0_sys(struct pt_regs *regs, unsigned long esr) in el0_sys() argument
305 do_sysinstr(esr, regs); in el0_sys()
308 static void noinstr el0_pc(struct pt_regs *regs, unsigned long esr) in el0_pc() argument
317 do_sp_pc_abort(far, esr, regs); in el0_pc()
320 static void noinstr el0_sp(struct pt_regs *regs, unsigned long esr) in el0_sp() argument
324 do_sp_pc_abort(regs->sp, esr, regs); in el0_sp()
341 static void noinstr el0_inv(struct pt_regs *regs, unsigned long esr) in el0_inv() argument
345 bad_el0_sync(regs, 0, esr); in el0_inv()
348 static void noinstr el0_dbg(struct pt_regs *regs, unsigned long esr) in el0_dbg() argument
357 do_debug_exception(far, esr, regs); in el0_dbg()
370 static void noinstr el0_fpac(struct pt_regs *regs, unsigned long esr) in el0_fpac() argument
374 do_ptrauth_fault(regs, esr); in el0_fpac()
379 unsigned long esr = read_sysreg(esr_el1); in el0_sync_handler() local
381 switch (ESR_ELx_EC(esr)) { in el0_sync_handler()
386 el0_da(regs, esr); in el0_sync_handler()
389 el0_ia(regs, esr); in el0_sync_handler()
392 el0_fpsimd_acc(regs, esr); in el0_sync_handler()
395 el0_sve_acc(regs, esr); in el0_sync_handler()
398 el0_fpsimd_exc(regs, esr); in el0_sync_handler()
402 el0_sys(regs, esr); in el0_sync_handler()
405 el0_sp(regs, esr); in el0_sync_handler()
408 el0_pc(regs, esr); in el0_sync_handler()
420 el0_dbg(regs, esr); in el0_sync_handler()
423 el0_fpac(regs, esr); in el0_sync_handler()
426 el0_inv(regs, esr); in el0_sync_handler()
431 static void noinstr el0_cp15(struct pt_regs *regs, unsigned long esr) in el0_cp15() argument
435 do_cp15instr(esr, regs); in el0_cp15()
449 unsigned long esr = read_sysreg(esr_el1); in el0_sync_compat_handler() local
451 switch (ESR_ELx_EC(esr)) { in el0_sync_compat_handler()
456 el0_da(regs, esr); in el0_sync_compat_handler()
459 el0_ia(regs, esr); in el0_sync_compat_handler()
462 el0_fpsimd_acc(regs, esr); in el0_sync_compat_handler()
465 el0_fpsimd_exc(regs, esr); in el0_sync_compat_handler()
468 el0_pc(regs, esr); in el0_sync_compat_handler()
478 el0_cp15(regs, esr); in el0_sync_compat_handler()
484 el0_dbg(regs, esr); in el0_sync_compat_handler()
487 el0_inv(regs, esr); in el0_sync_compat_handler()