Skip to content

Commit 328a9cd

Browse files
davejianggregkh
authored andcommitted
dmaengine: ioatdma: workaround SKX ioatdma version
[ Upstream commit 34a31f0af84158955a9747fb5c6712da5bbb5331 ] The Skylake ioatdma is technically CBDMA 3.2+ and contains the same hardware bits with some additional 3.3 features, but it's not really 3.3 where the driver is concerned. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6c0d9f0 commit 328a9cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/dma/ioat/init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,8 @@ static int ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
13571357

13581358
device->version = readb(device->reg_base + IOAT_VER_OFFSET);
13591359
if (device->version >= IOAT_VER_3_0) {
1360+
if (is_skx_ioat(pdev))
1361+
device->version = IOAT_VER_3_2;
13601362
err = ioat3_dma_probe(device, ioat_dca_enabled);
13611363

13621364
if (device->version >= IOAT_VER_3_3)

0 commit comments

Comments
 (0)