Merge branch 'io_uring-5.8' into for-5.9/io_uring
[linux-2.6-microblaze.git] / include / uapi / linux / io_uring.h
index 7843742..d65fde7 100644 (file)
@@ -31,7 +31,8 @@ struct io_uring_sqe {
        union {
                __kernel_rwf_t  rw_flags;
                __u32           fsync_flags;
-               __u16           poll_events;
+               __u16           poll_events;    /* compatibility */
+               __u32           poll32_events;  /* word-reversed for BE */
                __u32           sync_range_flags;
                __u32           msg_flags;
                __u32           timeout_flags;
@@ -249,6 +250,7 @@ struct io_uring_params {
 #define IORING_FEAT_RW_CUR_POS         (1U << 3)
 #define IORING_FEAT_CUR_PERSONALITY    (1U << 4)
 #define IORING_FEAT_FAST_POLL          (1U << 5)
+#define IORING_FEAT_POLL_32BITS        (1U << 6)
 
 /*
  * io_uring_register(2) opcodes and arguments