Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Dfault.c48 int (*fn)(unsigned long far, unsigned int esr,
58 static inline const struct fault_info *esr_to_fault_info(unsigned int esr) in esr_to_fault_info() argument
60 return fault_info + (esr & ESR_ELx_FSC); in esr_to_fault_info()
63 static inline const struct fault_info *esr_to_debug_fault_info(unsigned int esr) in esr_to_debug_fault_info() argument
65 return debug_fault_info + DBG_ESR_EVT(esr); in esr_to_debug_fault_info()
68 static void data_abort_decode(unsigned int esr) in data_abort_decode() argument
72 if (esr & ESR_ELx_ISV) { in data_abort_decode()
74 1U << ((esr & ESR_ELx_SAS) >> ESR_ELx_SAS_SHIFT)); in data_abort_decode()
76 (esr & ESR_ELx_SSE) >> ESR_ELx_SSE_SHIFT, in data_abort_decode()
77 (esr & ESR_ELx_SRT_MASK) >> ESR_ELx_SRT_SHIFT); in data_abort_decode()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dentry-common.c116 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) in el1_abort() argument
122 do_mem_abort(far, esr, regs); in el1_abort()
127 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) in el1_pc() argument
133 do_sp_pc_abort(far, esr, regs); in el1_pc()
147 static void noinstr el1_inv(struct pt_regs *regs, unsigned long esr) in el1_inv() argument
151 bad_mode(regs, 0, esr); in el1_inv()
180 static void noinstr el1_dbg(struct pt_regs *regs, unsigned long esr) in el1_dbg() argument
185 do_debug_exception(far, esr, regs); in el1_dbg()
189 static void noinstr el1_fpac(struct pt_regs *regs, unsigned long esr) in el1_fpac() argument
193 do_ptrauth_fault(regs, esr); in el1_fpac()
[all …]
H A Dtraps.c157 unsigned int esr = tsk->thread.fault_code; in arm64_show_signal() local
167 if (esr) in arm64_show_signal()
168 pr_cont("%s, ESR 0x%08x, ", esr_get_class_string(esr), esr); in arm64_show_signal()
422 void do_ptrauth_fault(struct pt_regs *regs, unsigned int esr) in do_ptrauth_fault() argument
428 trace_android_rvh_do_ptrauth_fault(regs, esr, user_mode(regs)); in do_ptrauth_fault()
430 force_signal_inject(SIGILL, ILL_ILLOPN, regs->pc, esr); in do_ptrauth_fault()
454 static void user_cache_maint_handler(unsigned int esr, struct pt_regs *regs) in user_cache_maint_handler() argument
457 int rt = ESR_ELx_SYS64_ISS_RT(esr); in user_cache_maint_handler()
458 int crm = (esr & ESR_ELx_SYS64_ISS_CRM_MASK) >> ESR_ELx_SYS64_ISS_CRM_SHIFT; in user_cache_maint_handler()
494 static void ctr_read_handler(unsigned int esr, struct pt_regs *regs) in ctr_read_handler() argument
[all …]
H A Ddebug-monitors.c205 static int call_step_hook(struct pt_regs *regs, unsigned int esr) in call_step_hook() argument
218 retval = hook->fn(regs, esr); in call_step_hook()
241 static int single_step_handler(unsigned long unused, unsigned int esr, in single_step_handler() argument
253 if (!handler_found && call_step_hook(regs, esr) == DBG_HOOK_HANDLED) in single_step_handler()
303 static int call_break_hook(struct pt_regs *regs, unsigned int esr) in call_break_hook() argument
307 int (*fn)(struct pt_regs *regs, unsigned int esr) = NULL; in call_break_hook()
316 unsigned int comment = esr & ESR_ELx_BRK64_ISS_COMMENT_MASK; in call_break_hook()
322 return fn ? fn(regs, esr) : DBG_HOOK_ERROR; in call_break_hook()
326 static int brk_handler(unsigned long unused, unsigned int esr, in brk_handler() argument
329 if (call_break_hook(regs, esr) == DBG_HOOK_HANDLED) in brk_handler()
H A Dfpsimd.c937 void do_sve_acc(unsigned int esr, struct pt_regs *regs) in do_sve_acc() argument
964 void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs) in do_fpsimd_acc() argument
973 void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs) in do_fpsimd_exc() argument
977 if (esr & ESR_ELx_FP_EXC_TFV) { in do_fpsimd_exc()
978 if (esr & FPEXC_IOF) in do_fpsimd_exc()
980 else if (esr & FPEXC_DZF) in do_fpsimd_exc()
982 else if (esr & FPEXC_OFF) in do_fpsimd_exc()
984 else if (esr & FPEXC_UFF) in do_fpsimd_exc()
986 else if (esr & FPEXC_IXF) in do_fpsimd_exc()
H A Dkgdb.c234 static int kgdb_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_brk_fn() argument
241 static int kgdb_compiled_brk_fn(struct pt_regs *regs, unsigned int esr) in NOKPROBE_SYMBOL()
250 static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr) in kgdb_step_brk_fn() argument
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dinterrupts_64.c81 printf("* Reason: Exception from %s\n", esr_bits_ec[REG_BITS(regs->esr, 26, 0x3f)]); in show_regs()
90 printf("* ESR_EL%d = %016lx\n", el, regs->esr); in show_regs()
123 printf("ESR: %lx (ec=%ld)\n", regs->esr, REG_BITS(regs->esr, 26, 0x3f)); in show_regs()
137 void do_bad_sync(struct pt_regs *pt_regs, unsigned int esr) in do_bad_sync() argument
140 printf("Bad mode in \"Synchronous Abort\" handler, esr 0x%08x\n", esr); in do_bad_sync()
148 void do_bad_irq(struct pt_regs *pt_regs, unsigned int esr) in do_bad_irq() argument
151 printf("Bad mode in \"Irq\" handler, esr 0x%08x\n", esr); in do_bad_irq()
159 void do_bad_fiq(struct pt_regs *pt_regs, unsigned int esr) in do_bad_fiq() argument
162 printf("Bad mode in \"Fiq\" handler, esr 0x%08x\n", esr); in do_bad_fiq()
170 void do_bad_error(struct pt_regs *pt_regs, unsigned int esr) in do_bad_error() argument
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dexception.h24 unsigned int esr = ESR_ELx_EC_SERROR << ESR_ELx_EC_SHIFT; in disr_to_esr() local
27 esr |= (disr & DISR_EL1_ESR_MASK); in disr_to_esr()
29 esr |= (disr & ESR_ELx_ISS_MASK); in disr_to_esr()
31 return esr; in disr_to_esr()
40 void do_mem_abort(unsigned long far, unsigned int esr, struct pt_regs *regs);
43 asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr);
44 void do_debug_exception(unsigned long addr_if_watchpoint, unsigned int esr,
46 void do_fpsimd_acc(unsigned int esr, struct pt_regs *regs);
47 void do_sve_acc(unsigned int esr, struct pt_regs *regs);
48 void do_fpsimd_exc(unsigned int esr, struct pt_regs *regs);
[all …]
H A Dtraps.h60 static inline bool arm64_is_ras_serror(u32 esr) in arm64_is_ras_serror() argument
64 if (esr & ESR_ELx_IDS) in arm64_is_ras_serror()
80 static inline u32 arm64_ras_serror_get_severity(u32 esr) in arm64_ras_serror_get_severity() argument
82 u32 aet = esr & ESR_ELx_AET; in arm64_ras_serror_get_severity()
84 if (!arm64_is_ras_serror(esr)) { in arm64_ras_serror_get_severity()
93 if ((esr & ESR_ELx_FSC) != ESR_ELx_FSC_SERROR) { in arm64_ras_serror_get_severity()
101 bool arm64_is_fatal_ras_serror(struct pt_regs *regs, unsigned int esr);
102 void __noreturn arm64_serror_panic(struct pt_regs *regs, u32 esr);
H A Desr.h73 #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) argument
190 #define ESR_ELx_SYS64_ISS_RT(esr) \ argument
191 (((esr) & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT)
328 static inline bool esr_is_data_abort(u32 esr) in esr_is_data_abort() argument
330 const u32 ec = ESR_ELx_EC(esr); in esr_is_data_abort()
335 const char *esr_get_class_string(u32 esr);
H A Dkvm_emulate.h229 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_get_condition() local
231 if (esr & ESR_ELx_CV) in kvm_vcpu_get_condition()
232 return (esr & ESR_ELx_COND_MASK) >> ESR_ELx_COND_SHIFT; in kvm_vcpu_get_condition()
360 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_vcpu_sys_get_rt() local
361 return ESR_ELx_SYS64_ISS_RT(esr); in kvm_vcpu_sys_get_rt()
H A Ddebug-monitors.h79 int (*fn)(struct pt_regs *regs, unsigned int esr);
90 int (*fn)(struct pt_regs *regs, unsigned int esr);
/OK3568_Linux_fs/kernel/include/trace/hooks/
H A Dfault.h21 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg),
22 TP_ARGS(regs, esr, addr, msg), 1);
25 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg),
26 TP_ARGS(regs, esr, addr, msg), 1);
29 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, const char *msg),
30 TP_ARGS(regs, esr, addr, msg), 1);
33 TP_PROTO(struct pt_regs *regs, unsigned int esr, unsigned long addr, bool user),
34 TP_ARGS(regs, esr, addr, user),
38 TP_PROTO(unsigned long addr, unsigned int esr, int *ret),
39 TP_ARGS(addr, esr, ret));
H A Dtraps.h26 TP_PROTO(struct pt_regs *regs, unsigned int esr, bool user),
27 TP_ARGS(regs, esr, user),
31 TP_PROTO(struct pt_regs *regs, unsigned int esr, int reason),
32 TP_ARGS(regs, reason, esr), 1);
35 TP_PROTO(struct pt_regs *regs, unsigned int esr),
36 TP_ARGS(regs, esr), 1);
/OK3568_Linux_fs/kernel/arch/arm64/kvm/
H A Dinject_fault.c21 u32 esr = 0; in inject_abt64() local
34 esr |= ESR_ELx_IL; in inject_abt64()
41 esr |= (ESR_ELx_EC_IABT_LOW << ESR_ELx_EC_SHIFT); in inject_abt64()
43 esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT); in inject_abt64()
46 esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT; in inject_abt64()
48 vcpu_write_sys_reg(vcpu, esr | ESR_ELx_FSC_EXTABT, ESR_EL1); in inject_abt64()
53 u32 esr = (ESR_ELx_EC_UNKNOWN << ESR_ELx_EC_SHIFT); in inject_undef64() local
64 esr |= ESR_ELx_IL; in inject_undef64()
66 vcpu_write_sys_reg(vcpu, esr, ESR_EL1); in inject_undef64()
163 void kvm_set_sei_esr(struct kvm_vcpu *vcpu, u64 esr) in kvm_set_sei_esr() argument
[all …]
H A Dhandle_exit.c29 static void kvm_handle_guest_serror(struct kvm_vcpu *vcpu, u32 esr) in kvm_handle_guest_serror() argument
31 if (!arm64_is_ras_serror(esr) || arm64_is_fatal_ras_serror(NULL, esr)) in kvm_handle_guest_serror()
121 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_guest_debug() local
125 run->debug.arch.hsr = esr; in kvm_handle_guest_debug()
127 switch (ESR_ELx_EC(esr)) { in kvm_handle_guest_debug()
138 __func__, (unsigned int) esr); in kvm_handle_guest_debug()
148 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_unknown_ec() local
151 esr, esr_get_class_string(esr)); in kvm_handle_unknown_ec()
202 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_get_exit_handler() local
203 u8 esr_ec = ESR_ELx_EC(esr); in kvm_get_exit_handler()
H A Dsys_regs.c2183 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_cp_64() local
2185 int Rt2 = (esr >> 10) & 0x1f; in kvm_handle_cp_64()
2187 params.CRm = (esr >> 1) & 0xf; in kvm_handle_cp_64()
2188 params.is_write = ((esr & 1) == 0); in kvm_handle_cp_64()
2191 params.Op1 = (esr >> 16) & 0xf; in kvm_handle_cp_64()
2233 u32 esr = kvm_vcpu_get_esr(vcpu); in kvm_handle_cp_32() local
2236 params.CRm = (esr >> 1) & 0xf; in kvm_handle_cp_32()
2238 params.is_write = ((esr & 1) == 0); in kvm_handle_cp_32()
2239 params.CRn = (esr >> 10) & 0xf; in kvm_handle_cp_32()
2241 params.Op1 = (esr >> 14) & 0x7; in kvm_handle_cp_32()
[all …]
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dcore_lca.c338 mem_error(unsigned long esr, unsigned long ear) in mem_error() argument
341 ((esr & ESR_CEE) ? "Correctable" : in mem_error()
342 (esr & ESR_UEE) ? "Uncorrectable" : "A"), in mem_error()
343 (esr & ESR_WRE) ? "write" : "read", in mem_error()
344 (esr & ESR_SOR) ? "memory" : "b-cache", in mem_error()
346 if (esr & ESR_CTE) { in mem_error()
349 if (esr & ESR_MSE) { in mem_error()
352 if (esr & ESR_MHE) { in mem_error()
355 if (esr & ESR_NXM) { in mem_error()
435 if (el.s->esr & ESR_EAV) { in lca_machine_check()
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h163 static inline bool __get_fault_info(u64 esr, struct kvm_vcpu_fault_info *fault) in __get_fault_info() argument
180 if (!(esr & ESR_ELx_S1PTW) && in __get_fault_info()
182 (esr & ESR_ELx_FSC_TYPE) == FSC_PERM)) { in __get_fault_info()
197 u64 esr; in __populate_fault_info() local
199 esr = vcpu->arch.fault.esr_el2; in __populate_fault_info()
200 ec = ESR_ELx_EC(esr); in __populate_fault_info()
205 return __get_fault_info(esr, &vcpu->arch.fault); in __populate_fault_info()
347 static inline bool esr_is_ptrauth_trap(u32 esr) in esr_is_ptrauth_trap() argument
349 u32 ec = ESR_ELx_EC(esr); in esr_is_ptrauth_trap()
357 switch (esr_sys64_to_sysreg(esr)) { in esr_is_ptrauth_trap()
/OK3568_Linux_fs/yocto/meta-browser/meta-firefox/recipes-browser/firefox/firefox/fixes/
H A D0004-Fix-build-with-gcc-11.patch8 …0:26.15 /OE/build/test-oe-build-time/poky/build/tmp/work/core2-64-poky-linux/firefox/68.9.0esr-r0/…
11 …0:26.15 /OE/build/test-oe-build-time/poky/build/tmp/work/core2-64-poky-linux/firefox/68.9.0esr-r0/…
14 …0:26.17 /OE/build/test-oe-build-time/poky/build/tmp/work/core2-64-poky-linux/firefox/68.9.0esr-r0/…
17 …0:26.17 /OE/build/test-oe-build-time/poky/build/tmp/work/core2-64-poky-linux/firefox/68.9.0esr-r0/…
20 …0:26.17 /OE/build/test-oe-build-time/poky/build/tmp/work/core2-64-poky-linux/firefox/68.9.0esr-r0/…
23 …0:26.18 /OE/build/test-oe-build-time/poky/build/tmp/work/core2-64-poky-linux/firefox/68.9.0esr-r0/…
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/emac/
H A Dmal.c220 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_serr() local
223 set_mal_dcrn(mal, MAL_ESR, esr); in mal_serr()
225 MAL_DBG(mal, "SERR %08x" NL, esr); in mal_serr()
227 if (esr & MAL_ESR_EVB) { in mal_serr()
228 if (esr & MAL_ESR_DE) { in mal_serr()
235 if (esr & MAL_ESR_PEIN) { in mal_serr()
243 mal->index, esr); in mal_serr()
253 mal->index, esr); in mal_serr()
353 u32 esr = get_mal_dcrn(mal, MAL_ESR); in mal_int() local
355 if (esr & MAL_ESR_EVB) { in mal_int()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dfsl_esai.c107 u32 esr; in esai_isr() local
110 regmap_read(esai_priv->regmap, REG_ESAI_ESR, &esr); in esai_isr()
123 if (esr & ESAI_ESR_TINIT_MASK) in esai_isr()
126 if (esr & ESAI_ESR_RFF_MASK) in esai_isr()
129 if (esr & ESAI_ESR_TFE_MASK) in esai_isr()
132 if (esr & ESAI_ESR_TLS_MASK) in esai_isr()
135 if (esr & ESAI_ESR_TDE_MASK) in esai_isr()
138 if (esr & ESAI_ESR_TED_MASK) in esai_isr()
141 if (esr & ESAI_ESR_TD_MASK) in esai_isr()
144 if (esr & ESAI_ESR_RLS_MASK) in esai_isr()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/
H A Du-boot-arm.h59 void do_fiq(struct pt_regs *pt_regs, unsigned int esr);
60 void do_irq(struct pt_regs *pt_regs, unsigned int esr);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/mozjs/
H A Dmozjs-91_91.8.0.bb6 SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/firefox-${PV}esr.source…
21 S = "${WORKDIR}/firefox-${@d.getVar("PV").replace("esr", "")}"

12345