/linux/arch/arm64/kernel/ |
H A D | entry-common.c | 325 unsigned long esr) in __panic_unhandled() 475 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() 486 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() 497 static void noinstr el1_undef(struct pt_regs *regs, unsigned long esr) in el1_undef() 506 static void noinstr el1_bti(struct pt_regs *regs, unsigned long esr) in el1_bti() 515 static void noinstr el1_gcs(struct pt_regs *regs, unsigned long esr) in el1_gcs() 524 static void noinstr el1_mops(struct pt_regs *regs, unsigned long esr) in el1_mops() 533 static void noinstr el1_breakpt(struct pt_regs *regs, unsigned long esr) in el1_breakpt() 542 static void noinstr el1_softstp(struct pt_regs *regs, unsigned long esr) in el1_softstp() 560 static void noinstr el1_watchpt(struct pt_regs *regs, unsigned long esr) in el1_watchpt() [all …]
|
H A D | traps.c | 239 unsigned long esr = tsk->thread.fault_code; in arm64_show_signal() local 452 void do_el0_undef(struct pt_regs *regs, unsigned long esr) in do_el0_undef() 473 void do_el1_undef(struct pt_regs *regs, unsigned long esr) in do_el1_undef() 492 void do_el1_bti(struct pt_regs *regs, unsigned long esr) in do_el1_bti() 501 void do_el0_gcs(struct pt_regs *regs, unsigned long esr) in do_el0_gcs() 506 void do_el1_gcs(struct pt_regs *regs, unsigned long esr) in do_el1_gcs() 511 void do_el0_fpac(struct pt_regs *regs, unsigned long esr) in do_el0_fpac() 516 void do_el1_fpac(struct pt_regs *regs, unsigned long esr) in do_el1_fpac() 525 void do_el0_mops(struct pt_regs *regs, unsigned long esr) in do_el0_mops() 536 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 | hw_breakpoint.c | 622 void do_breakpoint(unsigned long esr, struct pt_regs *regs) in do_breakpoint() 753 void do_watchpoint(unsigned long addr, unsigned long esr, struct pt_regs *regs) in do_watchpoint()
|
/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 243 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument 392 #define ESR_ELx_SME_ISS_SMTC(esr) ((esr) & ESR_ELx_SME_ISS_SMTC_MASK) argument 405 #define ESR_ELx_MOPS_ISS_DESTREG(esr) (((esr) & (UL(0x1f) << 10)) >> 10) argument 406 #define ESR_ELx_MOPS_ISS_SRCREG(esr) (((esr) & (UL(0x1f) << 5)) >> 5) argument 407 #define ESR_ELx_MOPS_ISS_SIZEREG(esr) (((esr) & (UL(0x1f) << 0)) >> 0) argument 437 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment() 442 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 | 67 static inline bool arm64_is_ras_serror(unsigned long esr) in arm64_is_ras_serror() 87 static inline unsigned long arm64_ras_serror_get_severity(unsigned long esr) in arm64_ras_serror_get_severity() 111 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 | 84 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 | 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 189 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_guest_debug() local 213 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_unknown_ec() local 316 u64 esr = kvm_vcpu_get_esr(vcpu); in handle_other() local 404 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_get_exit_handler() local 519 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, in nvhe_hyp_panic_handler()
|
H A D | inject_fault.c | 109 u64 esr = 0; in inject_abt64() local 144 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local 235 unsigned long addr, esr; in kvm_inject_size_fault() local 307 int kvm_inject_serror_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_serror_esr()
|
H A D | sys_regs.h | 37 #define esr_sys64_to_params(esr) \ argument 45 #define esr_cp1x_32_to_params(esr) \ argument
|
H A D | emulate-nested.c | 2472 u64 esr; in triage_sysreg_trap() local 2670 u64 spsr, elr, esr; in kvm_emulate_nested_eret() local 2832 u64 esr = FIELD_PREP(ESR_ELx_EC_MASK, in kvm_inject_nested_sea() local 2844 int kvm_inject_nested_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_nested_serror()
|
H A D | pauth.c | 159 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_auth_eretax() local
|
H A D | nested.c | 144 u32 esr; in esr_s2_fault() local 1245 u64 esr = kvm_vcpu_get_esr(vcpu); in inject_vncr_perm() local 1288 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_vncr_abort() local
|
/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/arm64/kernel/probes/ |
H A D | kprobes.c | 296 kprobe_brk_handler(struct pt_regs *regs, unsigned long esr) in kprobe_brk_handler() 340 kprobe_ss_brk_handler(struct pt_regs *regs, unsigned long esr) in kprobe_ss_brk_handler() 359 kretprobe_brk_handler(struct pt_regs *regs, unsigned long esr) in kretprobe_brk_handler()
|
H A D | uprobes.c | 177 unsigned long esr) in uprobe_brk_handler() 186 unsigned long esr) in uprobe_single_step_handler()
|
/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/kvm/hyp/vhe/ |
H A D | switch.c | 253 u64 esr, val; in kvm_hyp_handle_timer() local 329 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_hyp_handle_eret() local 431 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
|
/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 916 u32 esr; in bxcan_get_berr_counter() local
|
/linux/drivers/net/ethernet/ibm/emac/ |
H A D | mal.c | 222 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_serr() local 355 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_int() local
|