Lines Matching +full:dma +full:- +full:ecc
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Bus error event handling code for systems equipped with ECC
20 #include <asm/cpu-type.h>
26 #include <asm/dec/ecc.h>
45 static const char dmastr[] = "DMA"; in dec_ecc_be_backend()
52 static const char eccstr[] = "ECC error"; in dec_ecc_be_backend()
65 /* For non-ECC ack ASAP, so that any subsequent errors get caught. */ in dec_ecc_be_backend()
80 /* An ECC error on a CPU or DMA transaction. */ in dec_ecc_be_backend()
84 /* A CPU timeout or a DMA overrun. */ in dec_ecc_be_backend()
90 /* For ECC errors on reads adjust for MT pipelining. */ in dec_ecc_be_backend()
92 address = (address & ~0xfffLL) | ((address - 5) & 0xfffLL); in dec_ecc_be_backend()
156 if (syn && syn == (syn & -syn)) { in dec_ecc_be_backend()
159 "%#04x -- %s bit error " in dec_ecc_be_backend()
164 "%#04x -- %s bit error " in dec_ecc_be_backend()
174 "%#04x -- %s bit error " in dec_ecc_be_backend()
178 "%#04x -- %s bit error\n"; in dec_ecc_be_backend()
188 printk(fmt, " ECC syndrome ", syn, status, xbit, i); in dec_ecc_be_backend()
215 regs->cp0_epc, regs->regs[31]); in dec_ecc_be_interrupt()
232 /* Preset write-only bits of the Control Register cache. */ in dec_kn02_be_init()
235 /* Set normal ECC detection and generation. */ in dec_kn02_be_init()
237 /* Enable ECC correction. */ in dec_kn02_be_init()
252 * Set normal ECC detection and generation, enable ECC correction. in dec_kn03_be_init()