| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/arch/mips/kvm/ |
| H A 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 …]
|
| H A D | vz.c | 258 u32 cause) in kvm_vz_irq_deliver_cb() argument 287 u32 cause) in kvm_vz_irq_clear_cb() argument 295 * Call to kvm_write_c0_guest_compare() clears Cause.TI in in kvm_vz_irq_clear_cb() 297 * Cause.IP[IPTI] if GuestCtl2 virtual interrupt register not in kvm_vz_irq_clear_cb() 361 * @cause: CP0_Cause register to restore. 367 u32 cause) in _kvm_vz_restore_stimer() argument 376 write_gc0_cause(cause); in _kvm_vz_restore_stimer() 383 * @cause: CP0_Cause register to restore. 385 * Restore hard timer Guest.Count & Guest.Cause taking care to preserve the 389 u32 compare, u32 cause) in _kvm_vz_restore_htimer() argument [all …]
|
| H A D | interrupt.c | 37 * Cause bits to reflect the pending timer interrupt, in kvm_mips_queue_timer_int_cb() 60 * Cause bits to reflect the pending IO interrupt, in kvm_mips_queue_io_int_cb() 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()
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/dma/idxd/ |
| H A 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() 119 dev_warn_once(dev, "Unexpected interrupt cause bits set: %#x\n", 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() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | virtual-memory.json | 5 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 9 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an… 20 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 31 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 42 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 88 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 97 "BriefDescription": "Store misses in all DTLB levels that cause page walks", 101 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a… 112 …"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed pag… 119 … "BriefDescription": "Store misses in all DTLB levels that cause completed page walks (2M/4M)", [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/broadwellde/ |
| H A D | virtual-memory.json | 5 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 9 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an… 20 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 31 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 42 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 88 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 97 "BriefDescription": "Store misses in all DTLB levels that cause page walks", 101 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a… 112 …"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed pag… 119 … "BriefDescription": "Store misses in all DTLB levels that cause completed page walks (2M/4M)", [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/broadwell/ |
| H A D | virtual-memory.json | 3 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an… 10 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 14 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 25 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 36 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page… 91 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 95 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a… 102 "BriefDescription": "Store misses in all DTLB levels that cause page walks", 106 …"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed pag… 117 …"PublicDescription": "This event counts store misses in all DTLB levels that cause a completed pag… [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/bcm47xx/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/sandybridge/ |
| H A D | virtual-memory.json | 8 "BriefDescription": "Load misses in all DTLB levels that cause page walks.", 17 "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.", 31 …d operations that miss the first DTLB level but hit the second and do not cause any page walks. Th… 37 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 46 "BriefDescription": "Store misses in all DTLB levels that cause page walks.", 55 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.", 73 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.", 91 "BriefDescription": "Misses at all ITLB levels that cause page walks.", 100 "BriefDescription": "Misses in all ITLB levels that cause completed page walks.", 119 …": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | virtual-memory.json | 26 "BriefDescription": "Misses at all ITLB levels that cause page walks.", 35 "BriefDescription": "Misses in all ITLB levels that cause completed page walks.", 54 …": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.", 63 "BriefDescription": "Load misses in all DTLB levels that cause page walks.", 72 "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.", 86 …d operations that miss the first DTLB level but hit the second and do not cause any page walks. Th… 92 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 101 "BriefDescription": "Store misses in all DTLB levels that cause page walks.", 110 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.", 128 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbAccessX.c | 157 XkbEventCauseRec cause; in AccessXKRGTurnOn() local 164 cause.kc = pCN->keycode; in AccessXKRGTurnOn() 165 cause.event = pCN->eventType; in AccessXKRGTurnOn() 166 cause.mjr = pCN->requestMajor; in AccessXKRGTurnOn() 167 cause.mnr = pCN->requestMinor; in AccessXKRGTurnOn() 169 XkbUpdateIndicators(dev, sli->usesControls, TRUE, NULL, &cause); in AccessXKRGTurnOn() 189 XkbEventCauseRec cause; in AccessXKRGTurnOff() local 196 cause.kc = pCN->keycode; in AccessXKRGTurnOff() 197 cause.event = pCN->eventType; in AccessXKRGTurnOff() 198 cause.mjr = pCN->requestMajor; in AccessXKRGTurnOff() [all …]
|
| H A D | xkbLEDs.c | 235 XkbChangesPtr changes, XkbEventCausePtr cause) in XkbUpdateLedAutoState() argument 279 XkbFlushLedEvents(dev, kbd, sli, ed, changes, cause); in XkbUpdateLedAutoState() 303 XkbFlushLedEvents(dev, kbd, sli, ed, changes, cause); in XkbUpdateLedAutoState() 308 XkbUpdateAllDeviceIndicators(XkbChangesPtr changes, XkbEventCausePtr cause) in XkbUpdateAllDeviceIndicators() argument 322 changes, cause); in XkbUpdateAllDeviceIndicators() 334 changes, cause); in XkbUpdateAllDeviceIndicators() 346 * XkbSetIndicators(dev,affect,values,cause) 360 * If 'cause' is non-NULL, it specifies the reason for the change, 368 CARD32 affect, CARD32 values, XkbEventCausePtr cause) in XkbSetIndicators() argument 380 XkbApplyLedStateChanges(dev, sli, affect, &ed, &changes, cause); in XkbSetIndicators() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/ivybridge/ |
| H A D | virtual-memory.json | 3 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand… 48 "BriefDescription": "Store misses in all DTLB levels that cause page walks", 58 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks", 72 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.", 78 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks", 97 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks", 101 "PublicDescription": "Misses in all ITLB levels that cause page walks.", 107 "BriefDescription": "Misses at all ITLB levels that cause page walks", 111 "PublicDescription": "Misses in all ITLB levels that cause completed page walks.", 117 "BriefDescription": "Misses in all ITLB levels that cause completed page walks", [all …]
|
| /OK3568_Linux_fs/kernel/arch/riscv/mm/ |
| H A D | fault.c | 72 /* User mode accesses just cause a SIGSEGV */ in bad_area() 91 /* User mode accesses just cause a SIGSEGV */ in vmalloc_fault() 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | virtual-memory.json | 3 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand… 66 "BriefDescription": "Store misses in all DTLB levels that cause page walks", 76 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks", 90 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.", 96 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks", 115 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks", 119 "PublicDescription": "Misses in all ITLB levels that cause page walks.", 125 "BriefDescription": "Misses at all ITLB levels that cause page walks", 129 "PublicDescription": "Misses in all ITLB levels that cause completed page walks.", 135 "BriefDescription": "Misses in all ITLB levels that cause completed page walks", [all …]
|
| /OK3568_Linux_fs/kernel/drivers/edac/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/security/integrity/ima/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/vf610/ |
| H A D | generic.c | 283 u32 cause; in get_reset_cause() local 286 cause = readl(&src_regs->srsr); in get_reset_cause() 287 writel(cause, &src_regs->srsr); in get_reset_cause() 289 if (cause & SRC_SRSR_POR_RST) in get_reset_cause() 291 else if (cause & SRC_SRSR_WDOG_A5) in get_reset_cause() 293 else if (cause & SRC_SRSR_WDOG_M4) in get_reset_cause() 295 else if (cause & SRC_SRSR_JTAG_RST) in get_reset_cause() 297 else if (cause & SRC_SRSR_SW_RST) in get_reset_cause() 299 else if (cause & SRC_SRSR_RESETB) in get_reset_cause() 309 printf("Reset cause: %s\n", get_reset_cause()); in print_cpuinfo()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | kvm_host.h | 736 __BUILD_KVM_RW_HW(cause, 32, MIPS_CP0_CAUSE, 0) 760 /* Cause can be modified asynchronously from hardirq hrtimer callback */ 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, [all …]
|
| /OK3568_Linux_fs/kernel/arch/nios2/kernel/ |
| H A D | traps.c | 94 * down the cause of the crash will be able to figure in show_stack() 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()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx7ulp/ |
| H A D | soc.c | 130 char cause[18]; in print_cpuinfo() local 139 printf("Reset cause: %s\n", get_reset_cause(cause)); in print_cpuinfo() 178 u32 cause1, cause = 0, srs = 0; in get_reset_cause() local 191 cause = cause1 & (CMC_SRS_POR | CMC_SRS_WUP | CMC_SRS_WARM); in get_reset_cause() 193 switch (cause) { in get_reset_cause() 201 cause = cause1 & (CMC_SRS_WDG | CMC_SRS_SW | in get_reset_cause() 203 switch (cause) { in get_reset_cause()
|
| /OK3568_Linux_fs/kernel/arch/mips/sgi-ip30/ |
| H A D | ip30-irq.c | 45 u64 pending, mask, cause, error_irqs, err_reg; in ip30_error_irq() local 51 cause = heart_read(&heart_regs->cause); in ip30_error_irq() 65 * If we also have a cause value, then something happened, so loop in ip30_error_irq() 67 * and print the value of the HEART cause register. This is really in ip30_error_irq() 71 * Refer to heart.h for the HC_* macros to work out the cause in ip30_error_irq() 74 if (cause) { in ip30_error_irq() 75 pr_alert("IP30: CPU%d: HEART ATTACK! ISR = 0x%.16llx, IMR = 0x%.16llx, CAUSE = 0x%.16llx\n", in ip30_error_irq() 76 cpu, pending, mask, cause); in ip30_error_irq() 78 if (cause & HC_COR_MEM_ERR) { in ip30_error_irq()
|