diff options
author | Dave Jiang <dave.jiang@intel.com> | 2015-02-13 19:23:53 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-03-05 09:02:02 (GMT) |
commit | 9ca1c5f2ab9d5bc8955a2cc7ad36ba7074dd7c60 (patch) | |
tree | f9fd354c95eb25494169a8052fcc901f2a461cb1 | |
parent | 6eb9d3c1e9c5977f7fe6be125006443e7da2427c (diff) | |
download | linux-9ca1c5f2ab9d5bc8955a2cc7ad36ba7074dd7c60.tar.xz |
dmaengine: ioatdma: workaround for incorrect DMACAP register
BDX-DE IOATDMA reports incorrect DMACAP register for PQ related
ops. Ignoring those bits.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | drivers/dma/ioat/dma_v3.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/ioat/dma_v3.c b/drivers/dma/ioat/dma_v3.c index 77a6dcf..194ec20 100644 --- a/drivers/dma/ioat/dma_v3.c +++ b/drivers/dma/ioat/dma_v3.c @@ -230,6 +230,10 @@ static bool is_bwd_noraid(struct pci_dev *pdev) switch (pdev->device) { case PCI_DEVICE_ID_INTEL_IOAT_BWD2: case PCI_DEVICE_ID_INTEL_IOAT_BWD3: + case PCI_DEVICE_ID_INTEL_IOAT_BDXDE0: + case PCI_DEVICE_ID_INTEL_IOAT_BDXDE1: + case PCI_DEVICE_ID_INTEL_IOAT_BDXDE2: + case PCI_DEVICE_ID_INTEL_IOAT_BDXDE3: return true; default: return false; |