/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | irq-gt641xx.c | 22 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 …]
|
D | mips-cm.c | 375 int ocause, cause; in mips_cm_error_report() local 387 cause = FIELD_GET(CM_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report() 390 if (!cause) in mips_cm_error_report() 393 if (cause < 16) { in mips_cm_error_report() 404 } else if (cause < 24) { in mips_cm_error_report() 439 cm2_causes[cause], buf); in mips_cm_error_report() 446 cause = FIELD_GET(CM3_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report() 449 if (!cause) in mips_cm_error_report() 462 if (cause == 1 || cause == 3) { /* Tag ECC */ in mips_cm_error_report() 483 } else if (cause == 2) { in mips_cm_error_report() [all …]
|
/kernel/linux/linux-5.10/arch/mips/bcm47xx/ |
D | irq.c | 36 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()
|
/kernel/linux/linux-5.10/drivers/dma/idxd/ |
D | irq.c | 56 static int process_misc_interrupts(struct idxd_device *idxd, u32 cause) in process_misc_interrupts() argument 64 if (cause & IDXD_INTC_ERR) { in process_misc_interrupts() 99 if (cause & IDXD_INTC_CMD) { in process_misc_interrupts() 104 if (cause & IDXD_INTC_OCCUPY) { in process_misc_interrupts() 109 if (cause & IDXD_INTC_PERFMON_OVFL) { in process_misc_interrupts() 117 val ^= cause; in process_misc_interrupts() 156 u32 cause; in idxd_misc_thread() local 158 cause = ioread32(idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread() 159 if (cause) in idxd_misc_thread() 160 iowrite32(cause, idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread() [all …]
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
D | trap_emul.c | 47 u32 cause = vcpu->arch.host_cp0_cause; in kvm_trap_emul_no_handler() local 48 u32 exccode = (cause & CAUSEF_EXCCODE) >> CAUSEB_EXCCODE; in kvm_trap_emul_no_handler() 55 if (cause & CAUSEF_BD) in kvm_trap_emul_no_handler() 71 u32 cause = vcpu->arch.host_cp0_cause; in kvm_trap_emul_handle_cop_unusable() local 75 if (((cause & CAUSEF_CE) >> CAUSEB_CE) == 1) { in kvm_trap_emul_handle_cop_unusable() 83 er = kvm_mips_emulate_fpu_exc(cause, opc, vcpu); in kvm_trap_emul_handle_cop_unusable() 90 er = kvm_mips_emulate_inst(cause, opc, vcpu); in kvm_trap_emul_handle_cop_unusable() 118 static int kvm_mips_bad_load(u32 cause, u32 *opc, struct kvm_vcpu *vcpu) in kvm_mips_bad_load() argument 131 if (cause & CAUSEF_BD) in kvm_mips_bad_load() 140 er = kvm_mips_emulate_load(inst, cause, vcpu); in kvm_mips_bad_load() [all …]
|
D | emulate.c | 244 enum emulation_result update_pc(struct kvm_vcpu *vcpu, u32 cause) in update_pc() argument 248 if (cause & CAUSEF_BD) { in update_pc() 702 u32 cause; in kvm_mips_write_compare() local 742 cause = kvm_read_c0_guest_cause(cop0); in kvm_mips_write_compare() 752 if (!ack && cause & CAUSEF_TI) in kvm_mips_write_compare() 753 kvm_write_c0_guest_cause(cop0, cause); in kvm_mips_write_compare() 1264 u32 *opc, u32 cause, in kvm_mips_emulate_CP0() argument 1277 er = update_pc(vcpu, cause); in kvm_mips_emulate_CP0() 1598 u32 cause, in kvm_mips_emulate_store() argument 1614 er = update_pc(vcpu, cause); in kvm_mips_emulate_store() [all …]
|
D | vz.c | 258 u32 cause) in kvm_vz_irq_deliver_cb() argument 287 u32 cause) in kvm_vz_irq_clear_cb() argument 367 u32 cause) in _kvm_vz_restore_stimer() argument 376 write_gc0_cause(cause); in _kvm_vz_restore_stimer() 389 u32 compare, u32 cause) in _kvm_vz_restore_htimer() argument 406 write_gc0_cause(cause); in _kvm_vz_restore_htimer() 428 u32 cause, compare; in kvm_vz_restore_timer() local 431 cause = kvm_read_sw_gc0_cause(cop0); in kvm_vz_restore_timer() 434 _kvm_vz_restore_stimer(vcpu, compare, cause); in kvm_vz_restore_timer() 473 u32 cause, compare, before_count, end_count; in _kvm_vz_save_htimer() local [all …]
|
D | interrupt.c | 79 u32 cause) in kvm_mips_irq_deliver_cb() argument 105 if (cause & CAUSEF_BD) in kvm_mips_irq_deliver_cb() 132 u32 cause) in kvm_mips_irq_clear_cb() argument 137 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause) in kvm_mips_deliver_interrupts() argument 148 if (kvm_mips_callbacks->irq_clear(vcpu, priority, cause)) { in kvm_mips_deliver_interrupts() 160 if (kvm_mips_callbacks->irq_deliver(vcpu, priority, cause)) { in kvm_mips_deliver_interrupts()
|
D | interrupt.h | 56 u32 cause); 58 u32 cause); 59 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause);
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | fault.c | 161 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument 163 switch (cause) { in access_error() 181 panic("%s: unhandled cause %lu", __func__, cause); in access_error() 195 unsigned long addr, cause; in do_page_fault() local 200 cause = regs->cause; in do_page_fault() 238 if (cause == EXC_STORE_PAGE_FAULT) in do_page_fault() 240 else if (cause == EXC_INST_PAGE_FAULT) in do_page_fault() 267 if (unlikely(access_error(cause, vma))) { in do_page_fault()
|
/kernel/linux/linux-5.10/security/integrity/ima/ |
D | ima_appraise.c | 229 enum integrity_status *status, const char **cause) in xattr_verify() argument 240 *cause = "IMA-signature-required"; in xattr_verify() 257 *cause = "invalid-hash"; in xattr_verify() 282 *cause = "invalid-signature"; in xattr_verify() 290 *cause = "unknown-ima-data"; in xattr_verify() 305 enum integrity_status *status, const char **cause) in modsig_verify() argument 315 *cause = "invalid-signature"; in modsig_verify() 371 const char *cause = "unknown"; in ima_appraise_measurement() local 387 cause = iint->flags & IMA_DIGSIG_REQUIRED ? in ima_appraise_measurement() 412 cause = "missing-HMAC"; in ima_appraise_measurement() [all …]
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | traps.c | 84 int cause; member 365 #define set_handler(type, cause, handler) \ argument 370 per_cpu(exc_table, cpu).type[cause] = (handler);\ 375 void * __init trap_set_handler(int cause, void *handler) in trap_set_handler() argument 377 void *previous = per_cpu(exc_table, 0).default_handler[cause]; in trap_set_handler() 379 set_handler(default_handler, cause, handler); in trap_set_handler() 426 for(i = 0; dispatch_init_table[i].cause >= 0; i++) { in trap_init() 428 int cause = dispatch_init_table[i].cause; in trap_init() local 432 set_handler(default_handler, cause, handler); in trap_init() 434 set_handler(fast_user_handler, cause, handler); in trap_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | subr.c | 196 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() local 199 if (cause & (1 << p)) { in fpga_phy_intr_handler() 206 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() 215 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local 217 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr() 218 if (cause & F_PL_INTR_SGE_ERR) in fpga_slow_intr() 221 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr() 224 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr() 234 if (cause & FPGA_PCIX_INTERRUPT_PCIX) in fpga_slow_intr() 238 if (cause) in fpga_slow_intr() [all …]
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-riscv-intc.c | 24 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() local 26 if (unlikely(cause >= BITS_PER_LONG)) in riscv_intc_irq() 29 switch (cause) { in riscv_intc_irq() 40 handle_domain_irq(intc_domain, cause, regs); in riscv_intc_irq()
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
D | traps.c | 127 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument 131 cause >>= 2; in handle_unaligned_c() 141 pr_alert(" cause %d\n", cause); in handle_unaligned_c() 173 asmlinkage void unhandled_exception(struct pt_regs *regs, int cause) in unhandled_exception() argument 177 cause /= 4; in unhandled_exception() 180 cause, user_mode(regs) ? "user" : "kernel", addr); in unhandled_exception()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | mv64x60_edac.c | 33 u32 cause; in mv64x60_pci_check() local 35 cause = readl(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE); in mv64x60_pci_check() 36 if (!cause) in mv64x60_pci_check() 40 printk(KERN_ERR "Cause register: 0x%08x\n", cause); in mv64x60_pci_check() 49 writel(~cause, pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE); in mv64x60_pci_check() 51 if (cause & MV64X60_PCI_PE_MASK) in mv64x60_pci_check() 54 if (!(cause & MV64X60_PCI_PE_MASK)) in mv64x60_pci_check() 234 u32 cause; in mv64x60_sram_check() local 236 cause = readl(pdata->sram_vbase + MV64X60_SRAM_ERR_CAUSE); in mv64x60_sram_check() 237 if (!cause) in mv64x60_sram_check() [all …]
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | kvm_host.h | 736 __BUILD_KVM_RW_HW(cause, 32, MIPS_CP0_CAUSE, 0) 761 __BUILD_KVM_ATOMIC_HW(cause, 32, MIPS_CP0_CAUSE, 0) 835 u32 cause); 837 u32 cause); 900 extern enum emulation_result kvm_mips_handle_tlbmiss(u32 cause, 979 enum emulation_result update_pc(struct kvm_vcpu *vcpu, u32 cause); 994 u32 cause = vcpu->host_cp0_cause; in kvm_is_ifetch_fault() local 1004 if ((cause & CAUSEF_BD) && badvaddr - epc <= 4) in kvm_is_ifetch_fault() 1010 extern enum emulation_result kvm_mips_emulate_inst(u32 cause, 1016 extern enum emulation_result kvm_mips_emulate_syscall(u32 cause, [all …]
|
/kernel/linux/linux-5.10/security/integrity/ |
D | integrity_audit.c | 30 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()
|
/kernel/linux/linux-5.10/arch/mips/bcm63xx/ |
D | irq.c | 163 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | mc5.c | 370 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()
|
/kernel/linux/linux-5.10/arch/alpha/mm/ |
D | fault.c | 86 long cause, struct pt_regs *regs) in do_page_fault() argument 98 if (cause == 0) { in do_page_fault() 137 if (cause < 0) { in do_page_fault() 140 } else if (!cause) { in do_page_fault() 206 die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16); in do_page_fault()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/ |
D | men-a021-wdt.txt | 9 4: Watchdog reset cause bit 0 10 5: Watchdog reset cause bit 1 11 6: Watchdog reset cause bit 2
|
/kernel/linux/linux-5.10/arch/nios2/mm/ |
D | fault.c | 43 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause, in do_page_fault() argument 53 cause >>= 2; in do_page_fault() 112 switch (cause) { in do_page_fault() 181 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault() 203 cause); in do_page_fault()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | tm.h | 14 uint8_t cause); 15 extern void tm_reclaim_current(uint8_t cause);
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
D | mxregs.h | 36 #define MIPISET(cause) (0x140 + (cause)) argument
|