summaryrefslogtreecommitdiffstats
path: root/drivers/dma/idxd/registers.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2020-11-17 13:39:14 -0700
committerVinod Koul <vkoul@kernel.org>2020-12-11 19:45:53 +0530
commitf25b463883a8a2d1b7303a63339c0d589fc94f1e (patch)
tree65958d4b9588d75270498efedd2fa94e36e3b255 /drivers/dma/idxd/registers.h
parent51b69c9679de9bcb45b846807d75bab7ce9c6fda (diff)
downloadlinux-stable-f25b463883a8a2d1b7303a63339c0d589fc94f1e.tar.gz
linux-stable-f25b463883a8a2d1b7303a63339c0d589fc94f1e.tar.bz2
linux-stable-f25b463883a8a2d1b7303a63339c0d589fc94f1e.zip
dmaengine: idxd: add IAX configuration support in the IDXD driver
Add support to allow configuration of Intel Analytics Accelerator (IAX) in addition to the Intel Data Streaming Accelerator (DSA). The IAX hardware has the same configuration interface as DSA. The main difference is the type of operations it performs. We can support the DSA and IAX devices on the same driver with some tweaks. IAX has a 64B completion record that needs to be 64B aligned, as opposed to a 32B completion record that is 32B aligned for DSA. IAX also does not support token management. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/160564555488.1834439.4261958859935360473.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/registers.h')
-rw-r--r--drivers/dma/idxd/registers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/idxd/registers.h b/drivers/dma/idxd/registers.h
index 0cdc5405bc53..23c41fe52215 100644
--- a/drivers/dma/idxd/registers.h
+++ b/drivers/dma/idxd/registers.h
@@ -5,6 +5,7 @@
/* PCI Config */
#define PCI_DEVICE_ID_INTEL_DSA_SPR0 0x0b25
+#define PCI_DEVICE_ID_INTEL_IAX_SPR0 0x0cfe
#define IDXD_MMIO_BAR 0
#define IDXD_WQ_BAR 2