History

Backmerge tag 'v5.13-rc7' into drm-next

Backmerge Linux 5.13-rc7 to make some pulls from later bases apply, and to bake in the conflicts so far.

Dave Airlie committed 5 years ago

Commit f45fbbb2 parents d472b36 13311e71141 files · +13286 −5752Browse files

Showing the changes to include/uapi (6 of 1141 files). Show all

Unified · Split

6 files
  1. include/uapi/asm-generic/unistd.h +1 −2
  2. include/uapi/linux/in.h +3 −0
  3. include/uapi/linux/input-event-codes.h +1 −0
  4. include/uapi/linux/io_uring.h +10 −9
  5. include/uapi/linux/kvm.h +3 −2
  6. include/uapi/linux/virtio_ids.h +1 −1
include/uapi/asm-generic/unistd.h+1−2
@@ -863,8 +863,7 @@ __SYSCALL(__NR_process_madvise, sys_process_madvise) · 862 unmodified lines
863863 __SC_COMP(__NR_epoll_pwait2, sys_epoll_pwait2, compat_sys_epoll_pwait2)
864864 #define __NR_mount_setattr 442
865865 __SYSCALL(__NR_mount_setattr, sys_mount_setattr)
866−#define __NR_quotactl_path 443
867−__SYSCALL(__NR_quotactl_path, sys_quotactl_path)
866+/* 443 is reserved for quotactl_path */
868867
869868 #define __NR_landlock_create_ruleset 444
870869 __SYSCALL(__NR_landlock_create_ruleset, sys_landlock_create_ruleset)
include/uapi/linux/in.h+3−0
@@ -289,6 +289,9 @@ struct sockaddr_in { · 288 unmodified lines
289289 /* Address indicating an error return. */
290290 #define INADDR_NONE ((unsigned long int) 0xffffffff)
291291
292+/* Dummy address for src of ICMP replies if no real address is set (RFC7600). */
293+#define INADDR_DUMMY ((unsigned long int) 0xc0000008)
294+
292295 /* Network number for local host loopback. */
293296 #define IN_LOOPBACKNET 127
294297
include/uapi/linux/input-event-codes.h+1−0
@@ -611,6 +611,7 @@ · 610 unmodified lines
611611 #define KEY_VOICECOMMAND 0x246 /* Listening Voice Command */
612612 #define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */
613613 #define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */
614+#define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */
614615
615616 #define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */
616617 #define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */
include/uapi/linux/io_uring.h+10−9
@@ -280,6 +280,7 @@ struct io_uring_params { · 279 unmodified lines
280280 #define IORING_FEAT_SQPOLL_NONFIXED (1U << 7)
281281 #define IORING_FEAT_EXT_ARG (1U << 8)
282282 #define IORING_FEAT_NATIVE_WORKERS (1U << 9)
283+#define IORING_FEAT_RSRC_TAGS (1U << 10)
283284
284285 /*
285286 * io_uring_register(2) opcodes and arguments
@@ -298,8 +299,12 @@ enum { · 12 unmodified lines
298299 IORING_UNREGISTER_PERSONALITY = 10,
299300 IORING_REGISTER_RESTRICTIONS = 11,
300301 IORING_REGISTER_ENABLE_RINGS = 12,
301− IORING_REGISTER_RSRC = 13,
302− IORING_REGISTER_RSRC_UPDATE = 14,
302+
303+ /* extended with tagging */
304+ IORING_REGISTER_FILES2 = 13,
305+ IORING_REGISTER_FILES_UPDATE2 = 14,
306+ IORING_REGISTER_BUFFERS2 = 15,
307+ IORING_REGISTER_BUFFERS_UPDATE = 16,
303308
304309 /* this goes last */
305310 IORING_REGISTER_LAST
@@ -312,14 +317,10 @@ struct io_uring_files_update { · 6 unmodified lines
312317 __aligned_u64 /* __s32 * */ fds;
313318 };
314319
315−enum {
316− IORING_RSRC_FILE = 0,
317− IORING_RSRC_BUFFER = 1,
318−};
319−
320320 struct io_uring_rsrc_register {
321− __u32 type;
322321 __u32 nr;
322+ __u32 resv;
323+ __u64 resv2;
323324 __aligned_u64 data;
324325 __aligned_u64 tags;
325326 };
@@ -335,8 +336,8 @@ struct io_uring_rsrc_update2 { · 9 unmodified lines
335336 __u32 resv;
336337 __aligned_u64 data;
337338 __aligned_u64 tags;
338− __u32 type;
339339 __u32 nr;
340+ __u32 resv2;
340341 };
341342
342343 /* Skip updating fd indexes set to this value in the fd table */
include/uapi/linux/kvm.h+3−2
@@ -8,6 +8,7 @@ · 7 unmodified lines
88 * Note: you must update KVM_API_VERSION if you change this interface.
99 */
1010
11+#include <linux/const.h>
1112 #include <linux/types.h>
1213 #include <linux/compiler.h>
1314 #include <linux/ioctl.h>
@@ -1879,8 +1880,8 @@ struct kvm_hyperv_eventfd { · 1865 unmodified lines
18791880 * conversion after harvesting an entry. Also, it must not skip any
18801881 * dirty bits, so that dirty bits are always harvested in sequence.
18811882 */
1882−#define KVM_DIRTY_GFN_F_DIRTY BIT(0)
1883−#define KVM_DIRTY_GFN_F_RESET BIT(1)
1883+#define KVM_DIRTY_GFN_F_DIRTY _BITUL(0)
1884+#define KVM_DIRTY_GFN_F_RESET _BITUL(1)
18841885 #define KVM_DIRTY_GFN_F_MASK 0x3
18851886
18861887 /*
include/uapi/linux/virtio_ids.h+1−1
@@ -54,7 +54,7 @@ · 53 unmodified lines
5454 #define VIRTIO_ID_SOUND 25 /* virtio sound */
5555 #define VIRTIO_ID_FS 26 /* virtio filesystem */
5656 #define VIRTIO_ID_PMEM 27 /* virtio pmem */
57−#define VIRTIO_ID_BT 28 /* virtio bluetooth */
5857 #define VIRTIO_ID_MAC80211_HWSIM 29 /* virtio mac80211-hwsim */
58+#define VIRTIO_ID_BT 40 /* virtio bluetooth */
5959
6060 #endif /* _LINUX_VIRTIO_IDS_H */