| /linux/arch/arm64/kernel/ |
| H A D | entry-common.c | 146 unsigned long esr) in __panic_unhandled() 296 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() 308 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() 320 static void noinstr el1_undef(struct pt_regs *regs, unsigned long esr) in el1_undef() 331 static void noinstr el1_bti(struct pt_regs *regs, unsigned long esr) in el1_bti() 342 static void noinstr el1_gcs(struct pt_regs *regs, unsigned long esr) in el1_gcs() 353 static void noinstr el1_mops(struct pt_regs *regs, unsigned long esr) in el1_mops() 364 static void noinstr el1_breakpt(struct pt_regs *regs, unsigned long esr) in el1_breakpt() 375 static void noinstr el1_softstp(struct pt_regs *regs, unsigned long esr) in el1_softstp() 395 static void noinstr el1_watchpt(struct pt_regs *regs, unsigned long esr) in el1_watchpt() [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() 62 static void data_abort_decode(unsigned long esr) in data_abort_decode() 95 static void mem_abort_decode(unsigned long esr) in mem_abort_decode() 246 static bool is_el1_instruction_abort(unsigned long esr) in is_el1_instruction_abort() 251 static bool is_el1_data_abort(unsigned long esr) in is_el1_data_abort() 256 static inline bool is_el1_permission_fault(unsigned long addr, unsigned long esr, in is_el1_permission_fault() 273 unsigned long esr, in is_spurious_el1_translation_fault() 304 unsigned long esr, struct pt_regs *regs) in die_kernel_fault() 322 static void report_tag_fault(unsigned long addr, unsigned long esr, in report_tag_fault() 334 static inline void report_tag_fault(unsigned long addr, unsigned long esr, in report_tag_fault() [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
|