Skip to contentSkip to conversation

Patch "dmaengine: ioatdma: workaround SKX ioatdma version" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Aug 4, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

dmaengine: ioatdma: workaround SKX ioatdma version

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
dmaengine-ioatdma-workaround-skx-ioatdma-version.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Fri Aug 4 15:15:51 PDT 2017

From: Dave Jiang <[email protected]>
Date: Tue, 13 Dec 2016 11:15:27 -0700
Subject: dmaengine: ioatdma: workaround SKX ioatdma version

From: Dave Jiang <[email protected]>

[ 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.

---
 drivers/dma/ioat/init.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/dma/ioat/init.c +2 -0
@@ -1357,6 +1357,8 @@ static int ioat_pci_probe(struct pci_dev
 
 	device->version = readb(device->reg_base + IOAT_VER_OFFSET);
 	if (device->version >= IOAT_VER_3_0) {
+		if (is_skx_ioat(pdev))
+			device->version = IOAT_VER_3_2;
 		err = ioat3_dma_probe(device, ioat_dca_enabled);
 
 		if (device->version >= IOAT_VER_3_3)

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/dmaengine-ioatdma-add-skylake-pci-dev-id.patch queue-4.4/dmaengine-ioatdma-workaround-skx-ioatdma-version.patch