Home
last modified time | relevance | path

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

12

/linux/arch/arm64/mm/
H A Dfault.c60 static inline const struct fault_info *esr_to_fault_info(unsigned long esr) in esr_to_fault_info()
65 static void data_abort_decode(unsigned long esr) in data_abort_decode()
99 static void mem_abort_decode(unsigned long esr) in mem_abort_decode()
273 static bool is_el1_instruction_abort(unsigned long esr) in is_el1_instruction_abort()
278 static bool is_el1_data_abort(unsigned long esr) in is_el1_data_abort()
283 static inline bool is_el1_permission_fault(unsigned long addr, unsigned long esr, in is_el1_permission_fault()
299 static bool is_pkvm_stage2_abort(unsigned int esr) in is_pkvm_stage2_abort()
309 unsigned long esr, in is_spurious_el1_translation_fault()
346 unsigned long esr, struct pt_regs *regs) in die_kernel_fault()
364 static void report_tag_fault(unsigned long addr, unsigned long esr, in report_tag_fault()
[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()
90 bool fixup_exception(struct pt_regs *regs, unsigned long esr) in fixup_exception()
/linux/arch/arm64/kernel/
H A Dentry-common.c227 unsigned long esr) in __panic_unhandled()
373 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort()
384 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc()
395 static void noinstr el1_undef(struct pt_regs *regs, unsigned long esr) in el1_undef()
405 static void noinstr el1_bti(struct pt_regs *regs, unsigned long esr) in el1_bti()
415 static void noinstr el1_gcs(struct pt_regs *regs, unsigned long esr) in el1_gcs()
425 static void noinstr el1_mops(struct pt_regs *regs, unsigned long esr) in el1_mops()
435 static void noinstr el1_breakpt(struct pt_regs *regs, unsigned long esr) in el1_breakpt()
446 static void noinstr el1_softstp(struct pt_regs *regs, unsigned long esr) in el1_softstp()
466 static void noinstr el1_watchpt(struct pt_regs *regs, unsigned long esr) in el1_watchpt()
[all …]
H A Dtraps.c242 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 Dkgdb.c233 int kgdb_brk_handler(struct pt_regs *regs, unsigned long esr) in kgdb_brk_handler()
249 int kgdb_single_step_handler(struct pt_regs *regs, unsigned long esr) in kgdb_single_step_handler()
H A Dfpsimd.c1294 void do_sve_acc(unsigned long esr, struct pt_regs *regs) in do_sve_acc()
1428 void do_sme_acc(unsigned long esr, struct pt_regs *regs) in do_sme_acc()
1473 void do_fpsimd_acc(unsigned long esr, struct pt_regs *regs) in do_fpsimd_acc()
1491 void do_fpsimd_exc(unsigned long esr, struct pt_regs *regs) in do_fpsimd_exc()
H A Dhw_breakpoint.c650 void do_breakpoint(unsigned long esr, struct pt_regs *regs) in do_breakpoint()
781 void do_watchpoint(unsigned long addr, unsigned long esr, struct pt_regs *regs) in do_watchpoint()
/linux/arch/arm64/include/asm/
H A Desr.h76 #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
246 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument
395 #define ESR_ELx_SME_ISS_SMTC(esr) ((esr) & ESR_ELx_SME_ISS_SMTC_MASK) argument
408 #define ESR_ELx_MOPS_ISS_DESTREG(esr) (((esr) & (UL(0x1f) << 10)) >> 10) argument
409 #define ESR_ELx_MOPS_ISS_SRCREG(esr) (((esr) & (UL(0x1f) << 5)) >> 5) argument
410 #define ESR_ELx_MOPS_ISS_SIZEREG(esr) (((esr) & (UL(0x1f) << 0)) >> 0) argument
440 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment()
445 static inline bool esr_is_data_abort(unsigned long esr) in esr_is_data_abort()
[all …]
H A Dexception.h19 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 Duprobes.h36 unsigned long esr) in uprobe_single_step_handler()
/linux/arch/arm64/kvm/
H A Dinject_fault.c109 u64 esr = 0, fsc; in inject_abt64() local
164 void kvm_inject_sync(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_sync()
172 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT) | ESR_ELx_IL; in inject_undef64() local
254 u64 esr = FIELD_PREP(ESR_ELx_EC_MASK, ESR_ELx_EC_DABT_LOW) | in kvm_inject_nested_excl_atomic() local
273 u64 esr; in kvm_inject_dabt_excl_atomic() local
288 unsigned long addr, esr; in kvm_inject_size_fault() local
360 int kvm_inject_serror_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_serror_esr()
H A Dmmio.c163 u64 esr; in io_mem_abort() local
H A Demulate-nested.c2554 u64 esr; in triage_sysreg_trap() local
2789 u64 spsr, elr, esr; in kvm_emulate_nested_eret() local
2956 u64 esr = FIELD_PREP(ESR_ELx_EC_MASK, in kvm_inject_nested_sea() local
2968 int kvm_inject_nested_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_inject_nested_serror()
H A Dpauth.c159 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_auth_eretax() local
H A Dnested.c155 u32 esr; in esr_s2_fault() local
1529 u64 esr = kvm_vcpu_get_esr(vcpu); in handle_vncr_perm() local
1554 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_vncr_abort() local
/linux/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
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 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/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/arch/arm64/kernel/probes/
H A Dkprobes.c354 kprobe_brk_handler(struct pt_regs *regs, unsigned long esr) in kprobe_brk_handler()
398 kprobe_ss_brk_handler(struct pt_regs *regs, unsigned long esr) in kprobe_ss_brk_handler()
417 kretprobe_brk_handler(struct pt_regs *regs, unsigned long esr) in kretprobe_brk_handler()
/linux/tools/testing/selftests/kvm/arm64/
H A Dexternal_aborts.c17 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 Dsea_to_user.c156 u64 esr = read_sysreg(esr_el1); in expect_sea_handler() local
190 u64 esr; in run_vm() local
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhyp-main.c1014 u64 esr = read_sysreg_el2(SYS_ESR); in handle_host_smc() local
1039 void inject_host_exception(u64 esr) in inject_host_exception()
1087 static bool handle_host_mte(u64 esr) in handle_host_mte()
1113 u64 esr = read_sysreg_el2(SYS_ESR); in handle_trap() local
/linux/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
915 u32 esr; in bxcan_get_berr_counter() local
/linux/drivers/net/ethernet/ibm/emac/
H A Dmal.c229 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_serr() local
362 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_int() local
/linux/arch/powerpc/include/uapi/asm/
H A Dkvm_para.h45 __u32 esr; member

12