]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: idxd: Add Max SGL Size Support for DSA3.0
authorYi Sun <yi.sun@intel.com>
Thu, 8 Jan 2026 00:02:23 +0000 (16:02 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 9 Jan 2026 03:06:00 +0000 (08:36 +0530)
commitfe7b87d908da33326fbf6fe2b3830426432ec66c
treebfdb3cf7b7613551f303de146f956e6aae5234ed
parent8308510b93650dcd83a7c6b9753dec1f90ca3e0c
dmaengine: idxd: Add Max SGL Size Support for DSA3.0

Certain DSA 3.0 opcodes, such as Gather copy and Gather reduce, require max
SGL configured for workqueues prior to supporting these opcodes.

Configure the maximum scatter-gather list (SGL) size for workqueues during
setup on the supported HW. Application can then properly handle the SGL
size without explicitly setting it.

Signed-off-by: Yi Sun <yi.sun@intel.com>
Co-developed-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Yi Lai <yi1.lai@intel.com>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Link: https://patch.msgid.link/20260107-idxd-yi-sun-dsa3-sgl-size-v2-2-dbef8f559e48@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/device.c
drivers/dma/idxd/idxd.h
drivers/dma/idxd/init.c
drivers/dma/idxd/registers.h