Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 797) sorted by relevance

12345678910>>...32

/linux-6.6.21/arch/mips/kernel/
Dirq-gt641xx.c22 u32 cause; in ack_gt641xx_irq() local
25 cause = GT_READ(GT_INTRCAUSE_OFS); in ack_gt641xx_irq()
26 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in ack_gt641xx_irq()
27 GT_WRITE(GT_INTRCAUSE_OFS, cause); in ack_gt641xx_irq()
46 u32 cause, mask; in mask_ack_gt641xx_irq() local
53 cause = GT_READ(GT_INTRCAUSE_OFS); in mask_ack_gt641xx_irq()
54 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in mask_ack_gt641xx_irq()
55 GT_WRITE(GT_INTRCAUSE_OFS, cause); in mask_ack_gt641xx_irq()
81 u32 cause, mask; in gt641xx_irq_dispatch() local
84 cause = GT_READ(GT_INTRCAUSE_OFS); in gt641xx_irq_dispatch()
[all …]
Dmips-cm.c381 int ocause, cause; in mips_cm_error_report() local
393 cause = FIELD_GET(CM_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
396 if (!cause) in mips_cm_error_report()
399 if (cause < 16) { in mips_cm_error_report()
410 } else if (cause < 24) { in mips_cm_error_report()
445 cm2_causes[cause], buf); in mips_cm_error_report()
452 cause = FIELD_GET(CM3_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
455 if (!cause) in mips_cm_error_report()
468 if (cause == 1 || cause == 3) { /* Tag ECC */ in mips_cm_error_report()
489 } else if (cause == 2) { in mips_cm_error_report()
[all …]
/linux-6.6.21/arch/mips/bcm47xx/
Dirq.c36 u32 cause; in plat_irq_dispatch() local
38 cause = read_c0_cause() & read_c0_status() & CAUSEF_IP; in plat_irq_dispatch()
40 clear_c0_status(cause); in plat_irq_dispatch()
42 if (cause & CAUSEF_IP7) in plat_irq_dispatch()
44 if (cause & CAUSEF_IP2) in plat_irq_dispatch()
46 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
48 if (cause & CAUSEF_IP4) in plat_irq_dispatch()
50 if (cause & CAUSEF_IP5) in plat_irq_dispatch()
52 if (cause & CAUSEF_IP6) in plat_irq_dispatch()
/linux-6.6.21/arch/riscv/mm/
Dfault.c53 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs)) in no_context()
193 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument
195 switch (cause) { in access_error()
213 panic("%s: unhandled cause %lu", __func__, cause); in access_error()
227 unsigned long addr, cause; in handle_page_fault() local
232 cause = regs->cause; in handle_page_fault()
238 if (kprobe_page_fault(regs, cause)) in handle_page_fault()
265 tsk->thread.bad_cause = cause; in handle_page_fault()
282 if (cause == EXC_STORE_PAGE_FAULT) in handle_page_fault()
284 else if (cause == EXC_INST_PAGE_FAULT) in handle_page_fault()
[all …]
/linux-6.6.21/security/integrity/ima/
Dima_appraise.c281 enum integrity_status *status, const char **cause) in xattr_verify() argument
297 *cause = "verity-signature-required"; in xattr_verify()
299 *cause = "IMA-signature-required"; in xattr_verify()
319 *cause = "invalid-hash"; in xattr_verify()
330 *cause = "verity-signature-required"; in xattr_verify()
337 *cause = "invalid-signature-version"; in xattr_verify()
358 *cause = "invalid-signature"; in xattr_verify()
369 *cause = "IMA-signature-required"; in xattr_verify()
377 *cause = "invalid-signature-version"; in xattr_verify()
385 *cause = "sigv3-hashing-error"; in xattr_verify()
[all …]
/linux-6.6.21/arch/mips/kvm/
Dvz.c258 u32 cause) in kvm_vz_irq_deliver_cb() argument
287 u32 cause) in kvm_vz_irq_clear_cb() argument
366 u32 cause) in _kvm_vz_restore_stimer() argument
375 write_gc0_cause(cause); in _kvm_vz_restore_stimer()
388 u32 compare, u32 cause) in _kvm_vz_restore_htimer() argument
404 write_gc0_cause(cause); in _kvm_vz_restore_htimer()
426 u32 cause, compare; in kvm_vz_restore_timer() local
429 cause = kvm_read_sw_gc0_cause(cop0); in kvm_vz_restore_timer()
432 _kvm_vz_restore_stimer(vcpu, compare, cause); in kvm_vz_restore_timer()
471 u32 cause, compare, before_count, end_count; in _kvm_vz_save_htimer() local
[all …]
Dinterrupt.c24 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause) in kvm_mips_deliver_interrupts() argument
35 kvm_mips_callbacks->irq_clear(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
44 kvm_mips_callbacks->irq_deliver(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c191 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() local
194 if (cause & (1 << p)) { in fpga_phy_intr_handler()
201 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
210 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
213 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
214 if (cause & F_PL_INTR_SGE_ERR) { in fpga_slow_intr()
219 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
222 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
232 if (cause & FPGA_PCIX_INTERRUPT_PCIX) { in fpga_slow_intr()
238 if (cause) in fpga_slow_intr()
[all …]
/linux-6.6.21/arch/nios2/kernel/
Dtraps.c122 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument
126 cause >>= 2; in handle_unaligned_c()
136 pr_alert(" cause %d\n", cause); in handle_unaligned_c()
168 asmlinkage void unhandled_exception(struct pt_regs *regs, int cause) in unhandled_exception() argument
172 cause /= 4; in unhandled_exception()
175 cause, user_mode(regs) ? "user" : "kernel", addr); in unhandled_exception()
/linux-6.6.21/arch/xtensa/kernel/
Dtraps.c82 int cause; member
438 #define set_handler(type, cause, handler) \ argument
443 per_cpu(exc_table, cpu).type[cause] = (handler);\
449 __init trap_set_handler(int cause, xtensa_exception_handler *handler) in trap_set_handler() argument
451 void *previous = per_cpu(exc_table, 0).default_handler[cause]; in trap_set_handler()
453 set_handler(default_handler, cause, handler); in trap_set_handler()
499 for(i = 0; dispatch_init_table[i].cause >= 0; i++) { in trap_init()
501 int cause = dispatch_init_table[i].cause; in trap_init() local
505 set_handler(default_handler, cause, handler); in trap_init()
507 set_handler(fast_user_handler, cause, handler); in trap_init()
[all …]
/linux-6.6.21/arch/mips/bcm63xx/
Dirq.c163 u32 cause; in plat_irq_dispatch() local
166 cause = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch()
168 if (!cause) in plat_irq_dispatch()
171 if (cause & CAUSEF_IP7) in plat_irq_dispatch()
173 if (cause & CAUSEF_IP0) in plat_irq_dispatch()
175 if (cause & CAUSEF_IP1) in plat_irq_dispatch()
177 if (cause & CAUSEF_IP2) in plat_irq_dispatch()
180 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
183 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
185 if (cause & CAUSEF_IP4) in plat_irq_dispatch()
[all …]
/linux-6.6.21/security/integrity/
Dintegrity_audit.c30 const char *cause, int result, int audit_info) in integrity_audit_msg() argument
32 integrity_audit_message(audit_msgno, inode, fname, op, cause, in integrity_audit_msg()
38 const char *cause, int result, int audit_info, in integrity_audit_message() argument
56 audit_log_format(ab, " op=%s cause=%s comm=", op, cause); in integrity_audit_message()
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c370 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler() local
372 if ((cause & F_PARITYERR) && mc5->parity_enabled) { in t3_mc5_intr_handler()
377 if (cause & F_REQQPARERR) { in t3_mc5_intr_handler()
382 if (cause & F_DISPQPARERR) { in t3_mc5_intr_handler()
387 if (cause & F_ACTRGNFULL) in t3_mc5_intr_handler()
389 if (cause & F_NFASRCHFAIL) in t3_mc5_intr_handler()
391 if (cause & F_UNKNOWNCMD) in t3_mc5_intr_handler()
393 if (cause & F_DELACTEMPTY) in t3_mc5_intr_handler()
395 if (cause & MC5_INT_FATAL) in t3_mc5_intr_handler()
398 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); in t3_mc5_intr_handler()
/linux-6.6.21/arch/alpha/mm/
Dfault.c86 long cause, struct pt_regs *regs) in do_page_fault() argument
98 if (cause == 0) { in do_page_fault()
129 if (cause < 0) { in do_page_fault()
132 } else if (!cause) { in do_page_fault()
204 die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16); in do_page_fault()
/linux-6.6.21/arch/nios2/mm/
Dfault.c43 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause, in do_page_fault() argument
53 cause >>= 2; in do_page_fault()
99 switch (cause) { in do_page_fault()
173 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
195 cause); in do_page_fault()
/linux-6.6.21/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-greatlakes.dts252 /*C0-C7*/ "presence-ocp-nic","","","reset-cause-nic-primary",
253 "reset-cause-nic-secondary","","","",
267 /*M0-M7*/ "","power-nic-bmc-enable","","usb-bmc-enable","","reset-cause-usb-hub","","",
271 "reset-cause-pcie-slot1","reset-cause-pcie-slot2",
272 "reset-cause-pcie-slot3","reset-cause-pcie-slot4","","",
283 /*Y0-Y7*/ "","","","reset-cause-emmc","","","","",
/linux-6.6.21/Documentation/devicetree/bindings/watchdog/
Dmen-a021-wdt.txt9 4: Watchdog reset cause bit 0
10 5: Watchdog reset cause bit 1
11 6: Watchdog reset cause bit 2
/linux-6.6.21/drivers/dma/idxd/
Dirq.c395 u32 cause; in idxd_misc_thread() local
397 cause = ioread32(idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
398 if (!cause) in idxd_misc_thread()
401 iowrite32(cause, idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
403 if (cause & IDXD_INTC_HALT_STATE) in idxd_misc_thread()
406 if (cause & IDXD_INTC_ERR) { in idxd_misc_thread()
441 if (cause & IDXD_INTC_INT_HANDLE_REVOKED) { in idxd_misc_thread()
458 if (cause & IDXD_INTC_CMD) { in idxd_misc_thread()
463 if (cause & IDXD_INTC_OCCUPY) { in idxd_misc_thread()
468 if (cause & IDXD_INTC_PERFMON_OVFL) { in idxd_misc_thread()
[all …]
/linux-6.6.21/drivers/irqchip/
Dirq-riscv-intc.c25 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() local
27 if (unlikely(cause >= BITS_PER_LONG)) in riscv_intc_irq()
30 generic_handle_domain_irq(intc_domain, cause); in riscv_intc_irq()
/linux-6.6.21/drivers/dma/qcom/
Dhidma_ll.c386 static void hidma_ll_int_handler_internal(struct hidma_lldev *lldev, int cause) in hidma_ll_int_handler_internal() argument
390 if (cause & HIDMA_ERR_INT_MASK) { in hidma_ll_int_handler_internal()
392 cause); in hidma_ll_int_handler_internal()
395 writel(cause, lldev->evca + HIDMA_EVCA_IRQ_CLR_REG); in hidma_ll_int_handler_internal()
408 writel_relaxed(cause, lldev->evca + HIDMA_EVCA_IRQ_CLR_REG); in hidma_ll_int_handler_internal()
429 u32 cause; in hidma_ll_inthandler() local
433 cause = status & enable; in hidma_ll_inthandler()
435 while (cause) { in hidma_ll_inthandler()
436 hidma_ll_int_handler_internal(lldev, cause); in hidma_ll_inthandler()
444 cause = status & enable; in hidma_ll_inthandler()
[all …]
/linux-6.6.21/arch/riscv/kernel/
Dtraps.c64 long cause; in die() local
80 cause = regs ? regs->cause : -1; in die()
81 ret = notify_die(DIE_OOPS, str, regs, 0, cause, SIGSEGV); in die()
118 current->thread.bad_cause = regs->cause; in do_trap_error()
274 current->thread.bad_cause = regs->cause; in handle_break()
279 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in handle_break()
/linux-6.6.21/arch/mips/sgi-ip30/
Dip30-irq.c46 u64 pending, mask, cause, error_irqs, err_reg; in ip30_error_irq() local
52 cause = heart_read(&heart_regs->cause); in ip30_error_irq()
75 if (cause) { in ip30_error_irq()
77 cpu, pending, mask, cause); in ip30_error_irq()
79 if (cause & HC_COR_MEM_ERR) { in ip30_error_irq()
/linux-6.6.21/arch/xtensa/include/asm/
Dmxregs.h36 #define MIPISET(cause) (0x140 + (cause)) argument
/linux-6.6.21/arch/powerpc/include/asm/
Dtm.h14 uint8_t cause);
15 extern void tm_reclaim_current(uint8_t cause);
/linux-6.6.21/sound/soc/kirkwood/
Dkirkwood-dma.c44 unsigned long mask, status, cause; in kirkwood_dma_irq() local
49 cause = readl(priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq()
50 if (unlikely(cause)) { in kirkwood_dma_irq()
52 __func__, cause); in kirkwood_dma_irq()
53 writel(cause, priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq()

12345678910>>...32