aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/misc/cxl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/misc/cxl.h')
-rw-r--r--include/uapi/misc/cxl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/uapi/misc/cxl.h b/include/uapi/misc/cxl.h
index 49e8fd08855a..56376d3907d8 100644
--- a/include/uapi/misc/cxl.h
+++ b/include/uapi/misc/cxl.h
@@ -20,20 +20,22 @@ struct cxl_ioctl_start_work {
20 __u64 work_element_descriptor; 20 __u64 work_element_descriptor;
21 __u64 amr; 21 __u64 amr;
22 __s16 num_interrupts; 22 __s16 num_interrupts;
23 __s16 reserved1; 23 __u16 tid;
24 __s32 reserved2; 24 __s32 reserved1;
25 __u64 reserved2;
25 __u64 reserved3; 26 __u64 reserved3;
26 __u64 reserved4; 27 __u64 reserved4;
27 __u64 reserved5; 28 __u64 reserved5;
28 __u64 reserved6;
29}; 29};
30 30
31#define CXL_START_WORK_AMR 0x0000000000000001ULL 31#define CXL_START_WORK_AMR 0x0000000000000001ULL
32#define CXL_START_WORK_NUM_IRQS 0x0000000000000002ULL 32#define CXL_START_WORK_NUM_IRQS 0x0000000000000002ULL
33#define CXL_START_WORK_ERR_FF 0x0000000000000004ULL 33#define CXL_START_WORK_ERR_FF 0x0000000000000004ULL
34#define CXL_START_WORK_TID 0x0000000000000008ULL
34#define CXL_START_WORK_ALL (CXL_START_WORK_AMR |\ 35#define CXL_START_WORK_ALL (CXL_START_WORK_AMR |\
35 CXL_START_WORK_NUM_IRQS |\ 36 CXL_START_WORK_NUM_IRQS |\
36 CXL_START_WORK_ERR_FF) 37 CXL_START_WORK_ERR_FF |\
38 CXL_START_WORK_TID)
37 39
38 40
39/* Possible modes that an afu can be in */ 41/* Possible modes that an afu can be in */