aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ioat
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2012-11-27 17:16:08 -0500
committerVinod Koul <vinod.koul@intel.com>2013-01-08 01:05:13 -0500
commit6decffd5f6afaf55722d9c85b8739621dca63d0f (patch)
tree42125cf2b650a00117c8d4354622898f6412bba0 /drivers/dma/ioat
parent1a363068dcc2269931daef360ed14d2a262f19f7 (diff)
ioat: remove chanerr mask setting for IOAT v3.x
The existing code set a value in the PCI_CHANERRMSK_INT register for a workaround to address a pre-silicon bug on the Intel 5520 IO hub that has been fixed when the hardware was released. There is no need for this code. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <djbw@fb.com>
Diffstat (limited to 'drivers/dma/ioat')
-rw-r--r--drivers/dma/ioat/dma_v3.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c
index 9d6f3bbf0e53..e52cf1eb6839 100644
--- a/drivers/dma/ioat/dma_v3.c
+++ b/drivers/dma/ioat/dma_v3.c
@@ -1168,12 +1168,7 @@ static int ioat3_reset_hw(struct ioat_chan_common *chan)
1168 chanerr = readl(chan->reg_base + IOAT_CHANERR_OFFSET); 1168 chanerr = readl(chan->reg_base + IOAT_CHANERR_OFFSET);
1169 writel(chanerr, chan->reg_base + IOAT_CHANERR_OFFSET); 1169 writel(chanerr, chan->reg_base + IOAT_CHANERR_OFFSET);
1170 1170
1171 /* -= IOAT ver.3 workarounds =- */ 1171 /* clear any pending errors */
1172 /* Write CHANERRMSK_INT with 3E07h to mask out the errors
1173 * that can cause stability issues for IOAT ver.3, and clear any
1174 * pending errors
1175 */
1176 pci_write_config_dword(pdev, IOAT_PCI_CHANERRMASK_INT_OFFSET, 0x3e07);
1177 err = pci_read_config_dword(pdev, IOAT_PCI_CHANERR_INT_OFFSET, &chanerr); 1172 err = pci_read_config_dword(pdev, IOAT_PCI_CHANERR_INT_OFFSET, &chanerr);
1178 if (err) { 1173 if (err) {
1179 dev_err(&pdev->dev, "channel error register unreachable\n"); 1174 dev_err(&pdev->dev, "channel error register unreachable\n");