Home
last modified time | relevance | path

Searched refs:esr (Results 1 – 25 of 58) sorted by relevance

123

/linux/arch/arm64/kernel/
H A Dentry-common.c321 unsigned long esr) in __panic_unhandled() argument
328 vector, smp_processor_id(), esr, in __panic_unhandled()
329 esr_get_class_string(esr)); in __panic_unhandled()
426 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() argument
432 do_mem_abort(far, esr, regs); in el1_abort()
437 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() argument
443 do_sp_pc_abort(far, esr, regs); in el1_pc()
448 static void noinstr el1_undef(struct pt_regs *regs, unsigned long esr) in el1_undef() argument
452 do_el1_undef(regs, esr); in el1_undef()
457 static void noinstr el1_bti(struct pt_regs *regs, unsigned long esr) in el1_bti() argument
[all …]
/linux/arch/arm64/include/asm/
H A Desr.h75 #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) argument
80 #define ESR_ELx_ISS(esr) ((esr) & ESR_ELx_ISS_MASK) argument
83 #define ESR_ELx_ISS2(esr) (((esr) & ESR_ELx_ISS2_MASK) >> ESR_ELx_ISS2_SHIFT) argument
226 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument
227 (((esr) & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT)
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
418 static inline unsigned long esr_brk_comment(unsigned long esr) in esr_brk_comment() argument
420 return esr & ESR_ELx_BRK64_ISS_COMMENT_MASK; in esr_brk_comment()
[all …]
H A Dtraps.h32 int early_brk64(unsigned long addr, unsigned long esr, struct pt_regs *regs);
61 static inline bool arm64_is_ras_serror(unsigned long esr) in arm64_is_ras_serror() argument
65 if (esr & ESR_ELx_IDS) in arm64_is_ras_serror()
81 static inline unsigned long arm64_ras_serror_get_severity(unsigned long esr) in arm64_ras_serror_get_severity() argument
83 unsigned long aet = esr & ESR_ELx_AET; in arm64_ras_serror_get_severity()
85 if (!arm64_is_ras_serror(esr)) { in arm64_ras_serror_get_severity()
94 if ((esr & ESR_ELx_FSC) != ESR_ELx_FSC_SERROR) { in arm64_ras_serror_get_severity()
102 bool arm64_is_fatal_ras_serror(struct pt_regs *regs, unsigned long esr);
103 void __noreturn arm64_serror_panic(struct pt_regs *regs, unsigned long esr);
105 static inline void arm64_mops_reset_regs(struct user_pt_regs *regs, unsigned long esr) in arm64_mops_reset_regs() argument
[all …]
H A Dkvm_ras.h17 static inline int kvm_handle_guest_sea(phys_addr_t addr, u64 esr) in kvm_handle_guest_sea() argument
/linux/arch/arm64/kvm/
H A Dinject_fault.c61 u64 esr = 0; in inject_abt64() local
70 esr |= ESR_ELx_IL; in inject_abt64()
77 esr |= (ESR_ELx_EC_IABT_LOW << ESR_ELx_EC_SHIFT); in inject_abt64()
79 esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT); in inject_abt64()
82 esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT; in inject_abt64()
84 esr |= ESR_ELx_FSC_EXTABT; in inject_abt64()
88 vcpu_write_sys_reg(vcpu, esr, ESR_EL1); in inject_abt64()
91 vcpu_write_sys_reg(vcpu, esr, ESR_EL2); in inject_abt64()
97 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local
106 esr |= ESR_ELx_IL; in inject_undef64()
[all …]
H A Dhandle_exit.c14 #include <asm/esr.h>
31 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u64 esr) in kvm_handle_guest_serror() argument
33 if (!arm64_is_ras_serror(esr) || arm64_is_fatal_ras_serror(NULL, esr)) in kvm_handle_guest_serror()
131 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_wfx() local
133 if (esr & ESR_ELx_WFx_ISS_WFE) { in kvm_handle_wfx()
141 if (esr & ESR_ELx_WFx_ISS_WFxT) { in kvm_handle_wfx()
142 if (esr & ESR_ELx_WFx_ISS_RV) { in kvm_handle_wfx()
152 esr &= ~ESR_ELx_WFx_ISS_WFxT; in kvm_handle_wfx()
156 if (esr in kvm_handle_wfx()
184 u64 esr = kvm_vcpu_get_esr(vcpu); kvm_handle_guest_debug() local
205 u64 esr = kvm_vcpu_get_esr(vcpu); kvm_handle_unknown_ec() local
324 u64 esr = kvm_vcpu_get_esr(vcpu); kvm_get_exit_handler() local
439 nvhe_hyp_panic_handler(u64 esr,u64 spsr,u64 elr_virt,u64 elr_phys,u64 par,uintptr_t vcpu,u64 far,u64 hpfar) nvhe_hyp_panic_handler() argument
[all...]
H A Dsys_regs.h37 #define esr_sys64_to_params(esr) \ argument
38 ((struct sys_reg_params){ .Op0 = ((esr) >> 20) & 3, \
39 .Op1 = ((esr) >> 14) & 0x7, \
40 .CRn = ((esr) >> 10) & 0xf, \
41 .CRm = ((esr) >> 1) & 0xf, \
42 .Op2 = ((esr) >> 17) & 0x7, \
43 .is_write = !((esr) & 1) })
45 #define esr_cp1x_32_to_params(esr) \ argument
46 ((struct sys_reg_params){ .Op1 = ((esr) >> 14) & 0x7, \
47 .CRn = ((esr) >> 10) & 0xf, \
[all …]
H A Dtrace_arm.h140 TP_PROTO(unsigned long vcpu_pc, unsigned long esr,
142 TP_ARGS(vcpu_pc, esr, far, ipa),
146 __field( unsigned long, esr )
153 __entry->esr = esr;
159 __entry->ipa, __entry->esr,
H A Dnested.c113 u32 esr; in esr_s2_fault() local
115 esr = kvm_vcpu_get_esr(vcpu) & ~ESR_ELx_FSC; in esr_s2_fault()
116 esr |= compute_fsc(level, fsc); in esr_s2_fault()
117 return esr; in esr_s2_fault()
215 out->esr = compute_fsc(level, ESR_ELx_FSC_ADDRSZ); in walk_nested_s2_pgd()
244 out->esr = compute_fsc(level, ESR_ELx_FSC_FAULT); in walk_nested_s2_pgd()
254 out->esr = compute_fsc(level, ESR_ELx_FSC_ADDRSZ); in walk_nested_s2_pgd()
266 out->esr = compute_fsc(level, ESR_ELx_FSC_FAULT); in walk_nested_s2_pgd()
272 out->esr = compute_fsc(level, ESR_ELx_FSC_ADDRSZ); in walk_nested_s2_pgd()
278 out->esr = compute_fsc(level, ESR_ELx_FSC_ACCESS); in walk_nested_s2_pgd()
[all …]
H A Dpauth.c159 u64 esr = kvm_vcpu_get_esr(vcpu); in kvm_auth_eretax() local
166 if (esr_iss_is_eretab(esr)) { in kvm_auth_eretax()
/linux/arch/sh/boards/mach-dreamcast/
H A Dirq.c90 __u32 esr = ESR_BASE + (LEVEL(irq) << 2); in mask_ack_systemasic_irq() local
92 outl((1 << EVENT_BIT(irq)), esr); in mask_ack_systemasic_irq()
107 __u32 emr, esr, status, level; in systemasic_irq_demux() local
124 esr = ESR_BASE + (level << 2); in systemasic_irq_demux()
127 status = inl(esr); in systemasic_irq_demux()
/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() argument
476 if (!(esr & (BXCAN_ESR_EWGF | BXCAN_ESR_EPVF | BXCAN_ESR_BOFF))) in bxcan_handle_state_change()
479 bec.txerr = FIELD_GET(BXCAN_ESR_TEC_MASK, esr); in bxcan_handle_state_change()
480 bec.rxerr = FIELD_GET(BXCAN_ESR_REC_MASK, esr); in bxcan_handle_state_change()
482 if (esr & BXCAN_ESR_BOFF) in bxcan_handle_state_change()
484 else if (esr & BXCAN_ESR_EPVF) in bxcan_handle_state_change()
486 else if (esr & BXCAN_ESR_EWGF) in bxcan_handle_state_change()
517 static void bxcan_handle_bus_err(struct net_device *ndev, u32 esr) in bxcan_handle_bus_err() argument
524 lec_code = FIELD_GET(BXCAN_ESR_LEC_MASK, esr); in bxcan_handle_bus_err()
[all …]
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dfault.h47 static inline bool __get_fault_info(u64 esr, struct kvm_vcpu_fault_info *fault) in __get_fault_info() argument
64 if (!(esr & ESR_ELx_S1PTW) && in __get_fault_info()
66 esr_fsc_is_permission_fault(esr))) { in __get_fault_info()
/linux/drivers/net/ethernet/ibm/emac/
H A Dmal.c222 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_serr() local
225 set_mal_dcrn(mal, MAL_ESR, esr); in mal_serr()
227 MAL_DBG(mal, "SERR %08x" NL, esr); in mal_serr()
229 if (esr & MAL_ESR_EVB) { in mal_serr()
230 if (esr & MAL_ESR_DE) { in mal_serr()
237 if (esr & MAL_ESR_PEIN) { in mal_serr()
245 mal->index, esr); in mal_serr()
255 mal->index, esr); in mal_serr()
355 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_int() local
357 if (esr & MAL_ESR_EVB) { in mal_int()
[all …]
H A Dphy.c553 u16 esr = phy_read(phy, MII_ESTATUS); in emac_mii_phy_probe() local
554 if (esr & ESTATUS_1000_TFULL) in emac_mii_phy_probe()
556 if (esr & ESTATUS_1000_THALF) in emac_mii_phy_probe()
/linux/arch/powerpc/platforms/44x/
H A Dmachine_check.c14 unsigned long reason = regs->esr; in machine_check_4xx()
29 unsigned long reason = regs->esr; in machine_check_440A()
66 unsigned long reason = regs->esr; in machine_check_47x()
/linux/sound/soc/fsl/
H A Dfsl_esai.c102 u32 esr; in esai_isr() local
105 regmap_read(esai_priv->regmap, REG_ESAI_ESR, &esr); in esai_isr()
118 if (esr & ESAI_ESR_TINIT_MASK) in esai_isr()
121 if (esr & ESAI_ESR_RFF_MASK) in esai_isr()
124 if (esr & ESAI_ESR_TFE_MASK) in esai_isr()
127 if (esr & ESAI_ESR_TLS_MASK) in esai_isr()
130 if (esr & ESAI_ESR_TDE_MASK) in esai_isr()
133 if (esr & ESAI_ESR_TED_MASK) in esai_isr()
136 if (esr & ESAI_ESR_TD_MASK) in esai_isr()
139 if (esr & ESAI_ESR_RLS_MASK) in esai_isr()
[all …]
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c252 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in pvm_access_raz_wi()
261 write_sysreg_el1(esr, SYS_ESR);
528 unsigned long esr = kvm_vcpu_get_esr(vcpu);
531 params = esr_sys64_to_params(esr);
37 u64 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); inject_undef64() local
478 unsigned long esr = kvm_vcpu_get_esr(vcpu); kvm_handle_pvm_sysreg() local
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-sli-defs.h107 __BITFIELD_FIELD(uint64_t esr:2,
119 __BITFIELD_FIELD(uint64_t esr:2,
/linux/arch/arm64/kernel/probes/
H A Duprobes.c177 unsigned long esr) in uprobe_breakpoint_handler() argument
186 unsigned long esr) in uprobe_single_step_handler() argument
/linux/arch/powerpc/kvm/
H A Demulate.c223 vcpu->arch.shared->esr | ESR_PTR); in kvmppc_emulate_instruction()
239 vcpu->arch.shared->esr | ESR_PTR); in kvmppc_emulate_instruction()
/linux/arch/powerpc/include/uapi/asm/
H A Dkvm_para.h58 __u32 esr; member
/linux/drivers/soc/apple/
H A Drtkit-crashlog.c58 u64 esr; member
165 dev_warn(rtk->dev, " ESR = 0x%llx\n", regs->esr); in apple_rtkit_crashlog_dump_regs()
/linux/arch/microblaze/kernel/
H A Dasm-offsets.c27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main()
119 DEFINE(CC_ESR, offsetof(struct cpu_context, esr)); in main()
/linux/arch/microblaze/include/uapi/asm/
H A Dptrace.h53 microblaze_reg_t esr; member

123