dmaengine: idxd: Add descriptor definitions for 16 bytes of pattern in memory fill...
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 3 Mar 2023 21:34:11 +0000 (13:34 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 11:55:25 +0000 (17:25 +0530)
commit9e410fe3dc9a938bc47f71dff254be7419bd40d2
tree5fbbe4b543ab8a5f51e164a827a0405cbcfcaef3
parent376c2c9b04e97ddb1fbb9d9156456e2331891506
dmaengine: idxd: Add descriptor definitions for 16 bytes of pattern in memory fill operation

The memory fill operation (0x04) can fill in memory with either 8 bytes
or 16 bytes of pattern. To fill in memory with 16 bytes of pattern, the
first 8 bytes are provided in pattern lower in bytes 16-23 and the next
8 bytes are in pattern upper in bytes 40-47 in the descriptor. Currently
only 8 bytes of pattern is enabled.

Add descriptor definitions for pattern lower and pattern upper so that
user can use 16 bytes of pattern to fill memory.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230303213413.3357431-2-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/uapi/linux/idxd.h