summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat/dma_v2.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-11-20 01:10:07 +0100
committerDan Williams <dan.j.williams@intel.com>2009-11-20 07:21:03 +0100
commitb57014def9afc2bd8a62299d2f51b77dad5ae0c7 (patch)
treeb196078bed3b982475bd0dd22ce0ce8aad2f517a /drivers/dma/ioat/dma_v2.c
parentioat3: specify valid address for disabled-Q or disabled-P (diff)
downloadlinux-b57014def9afc2bd8a62299d2f51b77dad5ae0c7.tar.xz
linux-b57014def9afc2bd8a62299d2f51b77dad5ae0c7.zip
ioat2,3: report all uncorrectable errors
Modify is_ioat_bug() to catch all errors that are uncorrectable, or not currently handled. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/dma_v2.c')
-rw-r--r--drivers/dma/ioat/dma_v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/ioat/dma_v2.c b/drivers/dma/ioat/dma_v2.c
index 96ffab7d37a7..8f1f7f05deaa 100644
--- a/drivers/dma/ioat/dma_v2.c
+++ b/drivers/dma/ioat/dma_v2.c
@@ -279,6 +279,8 @@ void ioat2_timer_event(unsigned long data)
u32 chanerr;
chanerr = readl(chan->reg_base + IOAT_CHANERR_OFFSET);
+ dev_err(to_dev(chan), "%s: Channel halted (%x)\n",
+ __func__, chanerr);
BUG_ON(is_ioat_bug(chanerr));
}