]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: idxd: Narrow the restriction on BATCH to ver. 1 only
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Wed, 12 Mar 2025 22:15:10 +0000 (15:15 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 14:29:04 +0000 (15:29 +0100)
commit31f04b537152675adca2f97582660e3f178dcfff
tree2ea890aaa572ada3741ab3da4f57e86d0df1c769
parentfd447415e74bccd7362f760d4ea727f8e1ebfe91
dmaengine: idxd: Narrow the restriction on BATCH to ver. 1 only

Allow BATCH operations to be submitted and the capability to be
exposed for DSA version 2 (or later) devices.

DSA version 2 devices allow safe submission of BATCH operations.

Signed-off-by: Anil Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reported-by: Yi Sun <yi.sun@intel.com>
Tested-by: Yi Sun <yi.sun@intel.com>
Link: https://lore.kernel.org/r/20250312221511.277954-1-vinicius.gomes@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/cdev.c
drivers/dma/idxd/sysfs.c