diff options
author | Dave Jiang <dave.jiang@intel.com> | 2019-02-22 09:59:59 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-02-25 12:18:38 +0530 |
commit | 11e31e281bd8f482a9277268f7b0d9c213584271 (patch) | |
tree | da78d45b537b56b9ea95f236040dcad92d610cd6 /drivers/dma/ioat/init.c | |
parent | 4d75873f814055359bb6722c4e35a185d02157a8 (diff) | |
download | linux-11e31e281bd8f482a9277268f7b0d9c213584271.tar.bz2 |
dmaengine: ioatdma: disable DCA enabling on IOATDMA v3.4
IOATDMA v3.4 does not support DCA. Disable
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ioat/init.c')
-rw-r--r-- | drivers/dma/ioat/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c index 3161dfbca505..58dd1bfd3edd 100644 --- a/drivers/dma/ioat/init.c +++ b/drivers/dma/ioat/init.c @@ -1353,6 +1353,8 @@ static int ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) pci_set_drvdata(pdev, device); device->version = readb(device->reg_base + IOAT_VER_OFFSET); + if (device->version >= IOAT_VER_3_4) + ioat_dca_enabled = 0; if (device->version >= IOAT_VER_3_0) { if (is_skx_ioat(pdev)) device->version = IOAT_VER_3_2; |