dmaengine: ioatdma: Add Snow Ridge ioatdma device id
authorDave Jiang <dave.jiang@intel.com>
Fri, 22 Feb 2019 16:59:54 +0000 (09:59 -0700)
committerVinod Koul <vkoul@kernel.org>
Mon, 25 Feb 2019 06:48:38 +0000 (12:18 +0530)
Add Snowridge Xeon-D ioatdma PCI device id. Also applies for Icelake
SP Xeon. This introduces ioatdma v3.4 platform. Also bumping driver version
to 5.0 since we are adding additional code for 3.4 support.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ioat/dma.h
drivers/dma/ioat/hw.h
drivers/dma/ioat/init.c

index 1ab42ec2b7ff12bf5634c422b93200b585be0a0a..aaafd0e882b5dd63282333393c17c51240c88d75 100644 (file)
@@ -27,7 +27,7 @@
 #include "registers.h"
 #include "hw.h"
 
-#define IOAT_DMA_VERSION  "4.00"
+#define IOAT_DMA_VERSION  "5.00"
 
 #define IOAT_DMA_DCA_ANY_CPU           ~0
 
index abcc51b343cecd1629700233e8ca9d8882da2dff..3e38877cae6b94b81279b52be86327eb6d942224 100644 (file)
@@ -66,6 +66,8 @@
 
 #define PCI_DEVICE_ID_INTEL_IOAT_SKX   0x2021
 
+#define PCI_DEVICE_ID_INTEL_IOAT_ICX   0x0b00
+
 #define IOAT_VER_1_2            0x12    /* Version 1.2 */
 #define IOAT_VER_2_0            0x20    /* Version 2.0 */
 #define IOAT_VER_3_0            0x30    /* Version 3.0 */
index 2d810dfcdc484ea18eac117a47f074a97b40c456..3161dfbca505defaa28ba82f0d5fda972b7d8721 100644 (file)
@@ -119,6 +119,9 @@ static const struct pci_device_id ioat_pci_tbl[] = {
        { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_BDXDE2) },
        { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_BDXDE3) },
 
+       /* I/OAT v3.4 platforms */
+       { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IOAT_ICX) },
+
        { 0, }
 };
 MODULE_DEVICE_TABLE(pci, ioat_pci_tbl);