Home
last modified time | relevance | path

Searched defs:esr (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.15/arch/arm64/mm/
H A Dfault.c68 static void data_abort_decode(unsigned long esr) in data_abort_decode()
101 static void mem_abort_decode(unsigned long esr) in mem_abort_decode()
248 static bool is_el1_instruction_abort(unsigned long esr) in is_el1_instruction_abort()
253 static bool is_el1_data_abort(unsigned long esr) in is_el1_data_abort()
275 unsigned long esr, in is_spurious_el1_translation_fault()
306 unsigned long esr, struct pt_regs *regs) in die_kernel_fault()
471 static void do_bad_area(unsigned long far, unsigned long esr, in do_bad_area()
507 static bool is_gcs_fault(unsigned long esr) in is_gcs_fault()
515 static bool is_el0_instruction_abort(unsigned long esr) in is_el0_instruction_abort()
524 static bool is_write_abort(unsigned long esr) in is_write_abort()
[all …]
H A Dextable.c15 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-6.15/arch/arm64/kernel/
H A Dentry-common.c321 unsigned long esr) in __panic_unhandled()
437 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc()
505 unsigned long esr = read_sysreg(esr_el1); in el1h_64_sync_handler() local
590 unsigned long esr = read_sysreg(esr_el1); in el1h_64_error_handler() local
598 static void noinstr el0_da(struct pt_regs *regs, unsigned long esr) in el0_da()
608 static void noinstr el0_ia(struct pt_regs *regs, unsigned long esr) in el0_ia()
666 static void noinstr el0_pc(struct pt_regs *regs, unsigned long esr) in el0_pc()
758 unsigned long esr = read_sysreg(esr_el1); in el0t_64_sync_handler() local
857 unsigned long esr = read_sysreg(esr_el1); in __el0_error_handler_common() local
893 unsigned long esr = read_sysreg(esr_el1); in el0t_32_sync_handler() local
[all …]
H A Dtraps.c239 unsigned long esr = tsk->thread.fault_code; in arm64_show_signal() local
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()
811 void do_el0_sys(unsigned long esr, struct pt_regs *regs) in do_el0_sys()
877 const char *esr_get_class_string(unsigned long esr) in esr_get_class_string()
[all …]
H A Ddebug-monitors.c205 static int call_step_hook(struct pt_regs *regs, unsigned long esr) in call_step_hook()
241 static int single_step_handler(unsigned long unused, unsigned long esr, in single_step_handler()
302 static int call_break_hook(struct pt_regs *regs, unsigned long esr) in call_break_hook()
322 static int brk_handler(unsigned long unused, unsigned long esr, in brk_handler()
H A Dkgdb.c237 static int kgdb_brk_fn(struct pt_regs *regs, unsigned long esr) in kgdb_brk_fn()
253 static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned long esr) in kgdb_step_brk_fn()
H A Dfpsimd.c1385 void do_sve_acc(unsigned long esr, struct pt_regs *regs) in do_sve_acc()
1427 void do_sme_acc(unsigned long esr, struct pt_regs *regs) in do_sme_acc()
1471 void do_fpsimd_acc(unsigned long esr, struct pt_regs *regs) in do_fpsimd_acc()
1489 void do_fpsimd_exc(unsigned long esr, struct pt_regs *regs) in do_fpsimd_exc()
H A Dhw_breakpoint.c621 static int breakpoint_handler(unsigned long unused, unsigned long esr, in breakpoint_handler()
755 static int watchpoint_handler(unsigned long addr, unsigned long esr, in watchpoint_handler()
/linux-6.15/arch/arm64/include/asm/
H A Desr.h80 #define ESR_ELx_ISS(esr) ((esr) & ESR_ELx_ISS_MASK) argument
233 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument
425 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment()
430 static inline bool esr_is_data_abort(unsigned long esr) in esr_is_data_abort()
437 static inline bool esr_is_cfi_brk(unsigned long esr) in esr_is_cfi_brk()
454 static inline bool esr_fsc_is_permission_fault(unsigned long esr) in esr_fsc_is_permission_fault()
474 static inline bool esr_fsc_is_addr_sz_fault(unsigned long esr) in esr_fsc_is_addr_sz_fault()
485 static inline bool esr_fsc_is_sea_ttw(unsigned long esr) in esr_fsc_is_sea_ttw()
496 static inline bool esr_fsc_is_secc_ttw(unsigned long esr) in esr_fsc_is_secc_ttw()
508 static inline bool esr_iss_is_eretax(unsigned long esr) in esr_iss_is_eretax()
[all …]
H A Dtraps.h61 static inline bool arm64_is_ras_serror(unsigned long esr) in arm64_is_ras_serror()
81 static inline unsigned long arm64_ras_serror_get_severity(unsigned long esr) in arm64_ras_serror_get_severity()
105 static inline void arm64_mops_reset_regs(struct user_pt_regs *regs, unsigned long esr) in arm64_mops_reset_regs()
H A Dkvm_emulate.h61 u64 esr = FIELD_PREP(ESR_ELx_EC_MASK, ESR_ELx_EC_SVE) | in kvm_inject_nested_sve_trap() local
280 u64 esr = kvm_vcpu_get_esr(vcpu); in guest_hyp_wfx_traps_enabled() local
293 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_get_condition() local
413 unsigned long esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_trap_get_perm_fault_granule() local
434 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_sys_get_rt() local
H A Dexception.h19 unsigned long esr = ESR_ELx_EC_SERROR << ESR_ELx_EC_SHIFT; in disr_to_esr() local
/linux-6.15/tools/arch/arm64/include/asm/
H A Desr.h73 #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
224 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument
391 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment()
396 static inline bool esr_is_data_abort(unsigned long esr) in esr_is_data_abort()
403 static inline bool esr_is_cfi_brk(unsigned long esr) in esr_is_cfi_brk()
409 static inline bool esr_fsc_is_translation_fault(unsigned long esr) in esr_fsc_is_translation_fault()
420 static inline bool esr_fsc_is_permission_fault(unsigned long esr) in esr_fsc_is_permission_fault()
430 static inline bool esr_fsc_is_access_flag_fault(unsigned long esr) in esr_fsc_is_access_flag_fault()
441 static inline bool esr_iss_is_eretax(unsigned long esr) in esr_iss_is_eretax()
[all …]
/linux-6.15/arch/arm64/kvm/
H A Dhandle_exit.c31 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_handle_guest_serror()
131 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_wfx() local
188 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_guest_debug() local
212 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_unknown_ec() local
331 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_get_exit_handler() local
446 void __noreturn __cold nvhe_hyp_panic_handler(u64 esr, u64 spsr, in nvhe_hyp_panic_handler()
H A Dinject_fault.c61 u64 esr = 0; in inject_abt64() local
97 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local
192 unsigned long addr, esr; in kvm_inject_size_fault() local
233 void kvm_set_sei_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_set_sei_esr()
H A Dsys_regs.h37 #define esr_sys64_to_params(esr) \ argument
45 #define esr_cp1x_32_to_params(esr) \ argument
/linux-6.15/arch/arm64/kvm/hyp/include/hyp/
H A Dfault.h15 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-6.15/arch/sh/boards/mach-dreamcast/
H A Dirq.c90 __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-6.15/arch/arm64/kernel/probes/
H A Dkprobes.c296 kprobe_breakpoint_handler(struct pt_regs *regs, unsigned long esr) in kprobe_breakpoint_handler()
345 kprobe_breakpoint_ss_handler(struct pt_regs *regs, unsigned long esr) in kprobe_breakpoint_ss_handler()
369 kretprobe_breakpoint_handler(struct pt_regs *regs, unsigned long esr) in kretprobe_breakpoint_handler()
H A Duprobes.c177 unsigned long esr) in uprobe_breakpoint_handler()
186 unsigned long esr) in uprobe_single_step_handler()
/linux-6.15/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c299 u64 esr, val; in kvm_hyp_handle_timer() local
375 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_hyp_handle_eret() local
469 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_hyp_handle_cpacr_el1() local
/linux-6.15/drivers/net/can/
H A Dbxcan.c158 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-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c252 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local
528 unsigned long esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_pvm_sysreg() local
/linux-6.15/drivers/net/ethernet/ibm/emac/
H A Dmal.c222 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
/linux-6.15/tools/testing/selftests/kvm/arm64/
H A Dmmio_abort.c16 u64 esr = read_sysreg(esr_el1); in expect_sea_handler() local

123