| /linux/arch/arm64/kernel/ |
| H A D | entry-common.c | 146 __panic_unhandled(struct pt_regs * regs,const char * vector,unsigned long esr) __panic_unhandled() argument 296 el1_abort(struct pt_regs * regs,unsigned long esr) el1_abort() argument 308 el1_pc(struct pt_regs * regs,unsigned long esr) el1_pc() argument 320 el1_undef(struct pt_regs * regs,unsigned long esr) el1_undef() argument 331 el1_bti(struct pt_regs * regs,unsigned long esr) el1_bti() argument 342 el1_gcs(struct pt_regs * regs,unsigned long esr) el1_gcs() argument 353 el1_mops(struct pt_regs * regs,unsigned long esr) el1_mops() argument 364 el1_breakpt(struct pt_regs * regs,unsigned long esr) el1_breakpt() argument 375 el1_softstp(struct pt_regs * regs,unsigned long esr) el1_softstp() argument 395 el1_watchpt(struct pt_regs * regs,unsigned long esr) el1_watchpt() argument 408 el1_brk64(struct pt_regs * regs,unsigned long esr) el1_brk64() argument 419 el1_fpac(struct pt_regs * regs,unsigned long esr) el1_fpac() argument 432 unsigned long esr = read_sysreg(esr_el1); el1h_64_sync_handler() local 525 unsigned long esr = read_sysreg(esr_el1); el1h_64_error_handler() local 534 el0_da(struct pt_regs * regs,unsigned long esr) el0_da() argument 544 el0_ia(struct pt_regs * regs,unsigned long esr) el0_ia() argument 562 el0_fpsimd_acc(struct pt_regs * regs,unsigned long esr) el0_fpsimd_acc() argument 570 el0_sve_acc(struct pt_regs * regs,unsigned long esr) el0_sve_acc() argument 578 el0_sme_acc(struct pt_regs * regs,unsigned long esr) el0_sme_acc() argument 586 el0_fpsimd_exc(struct pt_regs * regs,unsigned long esr) el0_fpsimd_exc() argument 594 el0_sys(struct pt_regs * regs,unsigned long esr) el0_sys() argument 602 el0_pc(struct pt_regs * regs,unsigned long esr) el0_pc() argument 615 el0_sp(struct pt_regs * regs,unsigned long esr) el0_sp() argument 623 el0_undef(struct pt_regs * regs,unsigned long esr) el0_undef() argument 639 el0_mops(struct pt_regs * regs,unsigned long esr) el0_mops() argument 647 el0_gcs(struct pt_regs * regs,unsigned long esr) el0_gcs() argument 655 el0_inv(struct pt_regs * regs,unsigned long esr) el0_inv() argument 663 el0_breakpt(struct pt_regs * regs,unsigned long esr) el0_breakpt() argument 676 el0_softstp(struct pt_regs * regs,unsigned long esr) el0_softstp() argument 697 el0_watchpt(struct pt_regs * regs,unsigned long esr) el0_watchpt() argument 710 el0_brk64(struct pt_regs * regs,unsigned long esr) el0_brk64() argument 729 el0_fpac(struct pt_regs * regs,unsigned long esr) el0_fpac() argument 739 unsigned long esr = read_sysreg(esr_el1); el0t_64_sync_handler() local 844 unsigned long esr = read_sysreg(esr_el1); __el0_error_handler_common() local 862 el0_cp15(struct pt_regs * regs,unsigned long esr) el0_cp15() argument 879 el0_bkpt32(struct pt_regs * regs,unsigned long esr) el0_bkpt32() argument 889 unsigned long esr = read_sysreg(esr_el1); el0t_32_sync_handler() local 960 unsigned long esr = read_sysreg(esr_el1); handle_bad_stack() local [all...] |
| H A D | traps.c | 242 unsigned long esr = tsk->thread.fault_code; in arm64_show_signal() local 455 void do_el0_undef(struct pt_regs *regs, unsigned long esr) in do_el0_undef() 476 void do_el1_undef(struct pt_regs *regs, unsigned long esr) in do_el1_undef() 495 void do_el1_bti(struct pt_regs *regs, unsigned long esr) in do_el1_bti() 504 void do_el0_gcs(struct pt_regs *regs, unsigned long esr) in do_el0_gcs() 509 void do_el1_gcs(struct pt_regs *regs, unsigned long esr) in do_el1_gcs() 514 void do_el0_fpac(struct pt_regs *regs, unsigned long esr) in do_el0_fpac() 519 void do_el1_fpac(struct pt_regs *regs, unsigned long esr) in do_el1_fpac() 528 void do_el0_mops(struct pt_regs *regs, unsigned long esr) in do_el0_mops() 539 void do_el1_mops(struct pt_regs *regs, unsigned long esr) in do_el1_mops() [all …]
|
| H A D | debug-monitors.c | 181 void do_el0_softstep(unsigned long esr, struct pt_regs *regs) in do_el0_softstep() 196 void do_el1_softstep(unsigned long esr, struct pt_regs *regs) in do_el1_softstep() 210 static int call_el1_break_hook(struct pt_regs *regs, unsigned long esr) in call_el1_break_hook() 254 void do_el0_brk64(unsigned long esr, struct pt_regs *regs) in do_el0_brk64() 264 void do_el1_brk64(unsigned long esr, struct pt_regs *regs) in do_el1_brk64() 274 void do_bkpt32(unsigned long esr, struct pt_regs *regs) in do_bkpt32()
|
| H A D | kgdb.c | 237 int kgdb_brk_handler(struct pt_regs *regs, unsigned long esr) in kgdb_brk_handler() 253 int kgdb_single_step_handler(struct pt_regs *regs, unsigned long esr) in kgdb_single_step_handler()
|
| H A D | fpsimd.c | 1330 void do_sve_acc(unsigned long esr, struct pt_regs *regs) in do_sve_acc() 1372 void do_sme_acc(unsigned long esr, struct pt_regs *regs) in do_sme_acc() 1418 void do_fpsimd_acc(unsigned long esr, struct pt_regs *regs) in do_fpsimd_acc() 1436 void do_fpsimd_exc(unsigned long esr, struct pt_regs *regs) in do_fpsimd_exc()
|
| /linux/arch/arm64/mm/ |
| H A D | fault.c | 57 static inline const struct fault_info *esr_to_fault_info(unsigned long esr) in esr_to_fault_info() argument 62 static void data_abort_decode(unsigned long esr) in data_abort_decode() argument 95 mem_abort_decode(unsigned long esr) mem_abort_decode() argument 246 is_el1_instruction_abort(unsigned long esr) is_el1_instruction_abort() argument 251 is_el1_data_abort(unsigned long esr) is_el1_data_abort() argument 256 is_el1_permission_fault(unsigned long addr,unsigned long esr,struct pt_regs * regs) is_el1_permission_fault() argument 273 is_spurious_el1_translation_fault(unsigned long addr,unsigned long esr,struct pt_regs * regs) is_spurious_el1_translation_fault() argument 304 die_kernel_fault(const char * msg,unsigned long addr,unsigned long esr,struct pt_regs * regs) die_kernel_fault() argument 322 report_tag_fault(unsigned long addr,unsigned long esr,struct pt_regs * regs) report_tag_fault() argument 334 report_tag_fault(unsigned long addr,unsigned long esr,struct pt_regs * regs) report_tag_fault() argument 338 do_tag_recovery(unsigned long addr,unsigned long esr,struct pt_regs * regs) do_tag_recovery() argument 354 is_el1_mte_sync_tag_check_fault(unsigned long esr) is_el1_mte_sync_tag_check_fault() argument 367 __do_kernel_fault(unsigned long addr,unsigned long esr,struct pt_regs * regs) __do_kernel_fault() argument 412 set_thread_esr(unsigned long address,unsigned long esr) set_thread_esr() argument 469 do_bad_area(unsigned long far,unsigned long esr,struct pt_regs * regs) do_bad_area() argument 517 is_gcs_fault(unsigned long esr) is_gcs_fault() argument 525 is_el0_instruction_abort(unsigned long esr) is_el0_instruction_abort() argument 534 is_write_abort(unsigned long esr) is_write_abort() argument 539 is_invalid_gcs_access(struct vm_area_struct * vma,u64 esr) is_invalid_gcs_access() argument 556 do_page_fault(unsigned long far,unsigned long esr,struct pt_regs * regs) do_page_fault() argument 787 do_translation_fault(unsigned long far,unsigned long esr,struct pt_regs * regs) do_translation_fault() argument 799 do_alignment_fault(unsigned long far,unsigned long esr,struct pt_regs * regs) do_alignment_fault() argument 809 do_bad(unsigned long far,unsigned long esr,struct pt_regs * regs) do_bad() argument 814 do_sea(unsigned long far,unsigned long esr,struct pt_regs * regs) do_sea() argument 845 do_tag_check_fault(unsigned long far,unsigned long esr,struct pt_regs * regs) do_tag_check_fault() argument 928 do_mem_abort(unsigned long far,unsigned long esr,struct pt_regs * regs) do_mem_abort() argument 948 do_sp_pc_abort(unsigned long addr,unsigned long esr,struct pt_regs * regs) do_sp_pc_abort() argument [all...] |
| H A D | extable.c | 15 unsigned long esr) in cpy_faulted_on_uaccess() 23 bool insn_may_access_user(unsigned long addr, unsigned long esr) in insn_may_access_user() 58 struct pt_regs *regs, unsigned long esr) in ex_handler_uaccess_cpy() 95 bool fixup_exception(struct pt_regs *regs, unsigned long esr) in fixup_exception()
|
| /linux/arch/arm64/include/asm/ |
| H A D | esr.h | 76 #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) argument 81 #define ESR_ELx_ISS(esr) ((esr) & ESR_ELx_ISS_MASK) argument 84 #define ESR_ELx_ISS2(esr) (((esr) & ESR_ELx_ISS2_MASK) >> ESR_ELx_ISS2_SHIFT) argument 244 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument 393 #define ESR_ELx_SME_ISS_SMTC(esr) ((esr) & ESR_ELx_SME_ISS_SMTC_MASK) argument 406 #define ESR_ELx_MOPS_ISS_DESTREG(esr) (((esr) & (UL(0x1f) << 10)) >> 10) argument 407 #define ESR_ELx_MOPS_ISS_SRCREG(esr) (((esr) & (UL(0x1f) << 5)) >> 5) argument 408 #define ESR_ELx_MOPS_ISS_SIZEREG(esr) (((esr) & (UL(0x1f) << 0)) >> 0) argument 438 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment() 443 static inline bool esr_is_data_abort(unsigned long esr) in esr_is_data_abort() [all …]
|
| H A D | exception.h | 19 unsigned long esr = ESR_ELx_EC_SERROR << ESR_ELx_EC_SHIFT; in disr_to_esr() local 67 static inline void do_breakpoint(unsigned long esr, struct pt_regs *regs) {} in do_breakpoint() 68 static inline void do_watchpoint(unsigned long addr, unsigned long esr, in do_watchpoint()
|
| H A D | traps.h | 68 static inline bool arm64_is_ras_serror(unsigned long esr) in arm64_is_ras_serror() 88 static inline unsigned long arm64_ras_serror_get_severity(unsigned long esr) in arm64_ras_serror_get_severity() 112 static inline void arm64_mops_reset_regs(struct user_pt_regs *regs, unsigned long esr) in arm64_mops_reset_regs()
|
| H A D | kvm_emulate.h | 86 u64 esr = FIELD_PREP(ESR_ELx_EC_MASK, ESR_ELx_EC_SVE) | in kvm_inject_nested_sve_trap() local 322 u64 esr = kvm_vcpu_get_esr(vcpu); in guest_hyp_wfx_traps_enabled() local 335 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_get_condition() local 455 unsigned long esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_trap_get_perm_fault_granule() local 476 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_sys_get_rt() local
|
| H A D | kgdb.h | 33 unsigned long esr) in kgdb_single_step_handler()
|
| H A D | uprobes.h | 36 unsigned long esr) in uprobe_single_step_handler()
|
| /linux/arch/arm64/kvm/ |
| H A D | inject_fault.c | 109 u64 esr = 0, fsc; in inject_abt64() local 165 void kvm_inject_sync(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_sync() 173 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local 262 u64 esr = FIELD_PREP(ESR_ELx_EC_MASK, ESR_ELx_EC_DABT_LOW) | in kvm_inject_nested_excl_atomic() local 281 u64 esr; in kvm_inject_dabt_excl_atomic() local 296 unsigned long addr, esr; in kvm_inject_size_fault() local 368 int kvm_inject_serror_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_serror_esr()
|
| H A D | handle_exit.c | 32 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_handle_guest_serror() 132 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_wfx() local 194 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_guest_debug() local 218 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_unknown_ec() local 321 u64 esr = kvm_vcpu_get_esr(vcpu); in handle_other() local 409 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_get_exit_handler() local 524 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, in nvhe_hyp_panic_handler()
|
| H A D | sys_regs.h | 37 #define esr_sys64_to_params(esr) \ argument 45 #define esr_cp1x_32_to_params(esr) \ argument
|
| /linux/tools/arch/arm64/include/asm/ |
| H A D | esr.h | 73 #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) argument 78 #define ESR_ELx_ISS(esr) ((esr) & ESR_ELx_ISS_MASK) argument 81 #define ESR_ELx_ISS2(esr) (((esr) & ESR_ELx_ISS2_MASK) >> ESR_ELx_ISS2_SHIFT) argument 226 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument 386 #define ESR_ELx_MOPS_ISS_DESTREG(esr) (((esr) & (UL(0x1f) << 10)) >> 10) argument 387 #define ESR_ELx_MOPS_ISS_SRCREG(esr) (((esr) & (UL(0x1f) << 5)) >> 5) argument 388 #define ESR_ELx_MOPS_ISS_SIZEREG(esr) (((esr) & (UL(0x1f) << 0)) >> 0) argument 393 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment() 398 static inline bool esr_is_data_abort(unsigned long esr) in esr_is_data_abort() 405 static inline bool esr_is_cfi_brk(unsigned long esr) in esr_is_cfi_brk() [all …]
|
| /linux/arch/arm64/kvm/hyp/include/hyp/ |
| H A D | fault.h | 15 static inline bool __fault_safe_to_translate(u64 esr) in __fault_safe_to_translate() 60 static inline bool __hpfar_valid(u64 esr) in __hpfar_valid() 82 static inline bool __get_fault_info(u64 esr, struct kvm_vcpu_fault_info *fault) in __get_fault_info()
|
| /linux/arch/sh/boards/mach-dreamcast/ |
| H A D | irq.c | 90 __u32 esr = ESR_BASE + (LEVEL(irq) << 2); in mask_ack_systemasic_irq() local 107 __u32 emr, esr, status, level; in systemasic_irq_demux() local
|
| /linux/arch/arm64/kernel/probes/ |
| H A D | kprobes.c | 311 kprobe_brk_handler(struct pt_regs *regs, unsigned long esr) in kprobe_brk_handler() 355 kprobe_ss_brk_handler(struct pt_regs *regs, unsigned long esr) in kprobe_ss_brk_handler() 374 kretprobe_brk_handler(struct pt_regs *regs, unsigned long esr) in kretprobe_brk_handler()
|
| /linux/arch/arm64/kvm/hyp/vhe/ |
| H A D | switch.c | 263 u64 esr, val; in kvm_hyp_handle_timer() local 339 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_hyp_handle_eret() local 441 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_hyp_handle_cpacr_el1() local
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | external_aborts.c | 17 u64 esr = read_sysreg(esr_el1); in expect_sea_handler() local 220 u64 esr = read_sysreg(esr_el1); in expect_serror_handler() local 255 u64 esr = read_sysreg(esr_el1); in expect_sea_s1ptw_handler() local
|
| H A D | sea_to_user.c | 159 u64 esr = read_sysreg(esr_el1); in expect_sea_handler() local 193 u64 esr; in run_vm() local
|
| /linux/arch/arm64/kvm/hyp/nvhe/ |
| H A D | hyp-main.c | 701 u64 spsr_mask, vbar, sctlr, old_spsr, new_spsr, esr, offset; in inject_undef64() local 732 static bool handle_host_mte(u64 esr) in handle_host_mte() 758 u64 esr = read_sysreg_el2(SYS_ESR); in handle_trap() local
|
| /linux/drivers/net/can/ |
| H A D | bxcan.c | 158 u32 esr; /* 0x18 - error status */ member 466 static void bxcan_handle_state_change(struct net_device *ndev, u32 esr) in bxcan_handle_state_change() 517 static void bxcan_handle_bus_err(struct net_device *ndev, u32 esr) in bxcan_handle_bus_err() 607 u32 msr, esr; in bxcan_state_change_isr() local 915 u32 esr; in bxcan_get_berr_counter() local
|