summaryrefslogtreecommitdiff
path: root/include/uapi/linux/idxd.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2020-07-20 18:50:58 +0300
committerVinod Koul <vkoul@kernel.org>2020-07-27 12:08:05 +0300
commit1a0c02ba643ed05c07ddf14d87c3bec640666836 (patch)
tree080c3187bf86247e0fa356a4e1ee43455cb9dc83 /include/uapi/linux/idxd.h
parent0f9d5f008e2f096b14ff1f218a870199dd5264f4 (diff)
downloadlinux-1a0c02ba643ed05c07ddf14d87c3bec640666836.tar.xz
dmaengine: idxd: add missing invalid flags field to completion
Add missing "invalid flags" field to completion record struct. Reported-by: Nikhil Rao <nikhil.rao@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/159526025819.49266.13176787210106133664.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/uapi/linux/idxd.h')
-rw-r--r--include/uapi/linux/idxd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/idxd.h b/include/uapi/linux/idxd.h
index 1f412fbf561b..5d07a3ff9e96 100644
--- a/include/uapi/linux/idxd.h
+++ b/include/uapi/linux/idxd.h
@@ -178,6 +178,12 @@ struct dsa_completion_record {
uint32_t bytes_completed;
uint64_t fault_addr;
union {
+ /* common record */
+ struct {
+ uint32_t invalid_flags:24;
+ uint32_t rsvd2:8;
+ };
+
uint16_t delta_rec_size;
uint16_t crc_val;