History

Backmerge tag 'v4.14-rc7' into drm-next

Linux 4.14-rc7 Requested by Ben Skeggs for nouveau to avoid major conflicts, and things were getting a bit conflicty already, esp around amdgpu reverts.

Dave Airlie committed 9 years ago

Commit 7a88cbd2 parents 0a4334c 0b071941048 files · +11226 −6787Browse files

Showing the changes to include/uapi (7 of 1048 files). Show all

Unified · Split

7 files
  1. include/uapi/linux/bpf.h +4 −4
  2. include/uapi/linux/dm-ioctl.h +2 −2
  3. include/uapi/linux/membarrier.h +16 −7
  4. include/uapi/linux/netfilter/xt_bpf.h +1 −0
  5. include/uapi/linux/sctp.h +1 −1
  6. include/uapi/linux/spi/spidev.h +1 −0
  7. include/uapi/linux/usb/ch9.h +1 −0
include/uapi/linux/bpf.h+4−4
@@ -312,7 +312,7 @@ union bpf_attr { · 311 unmodified lines
312312 * jump into another BPF program
313313 * @ctx: context pointer passed to next program
314314 * @prog_array_map: pointer to map which type is BPF_MAP_TYPE_PROG_ARRAY
315− * @index: index inside array that selects specific program to run
315+ * @index: 32-bit index inside array that selects specific program to run
316316 * Return: 0 on success or negative error
317317 *
318318 * int bpf_clone_redirect(skb, ifindex, flags)
@@ -575,7 +575,7 @@ union bpf_attr { · 256 unmodified lines
575575 * @map: pointer to sockmap
576576 * @key: key to lookup sock in map
577577 * @flags: reserved for future use
578− * Return: SK_REDIRECT
578+ * Return: SK_PASS
579579 *
580580 * int bpf_sock_map_update(skops, map, key, flags)
581581 * @skops: pointer to bpf_sock_ops
@@ -786,8 +786,8 @@ struct xdp_md { · 204 unmodified lines
786786 };
787787
788788 enum sk_action {
789− SK_ABORTED = 0,
790− SK_DROP,
789+ SK_DROP = 0,
790+ SK_PASS,
791791 SK_REDIRECT,
792792 };
793793
include/uapi/linux/dm-ioctl.h+2−2
@@ -269,9 +269,9 @@ enum { · 268 unmodified lines
269269 #define DM_DEV_SET_GEOMETRY _IOWR(DM_IOCTL, DM_DEV_SET_GEOMETRY_CMD, struct dm_ioctl)
270270
271271 #define DM_VERSION_MAJOR 4
272−#define DM_VERSION_MINOR 36
272+#define DM_VERSION_MINOR 37
273273 #define DM_VERSION_PATCHLEVEL 0
274−#define DM_VERSION_EXTRA "-ioctl (2017-06-09)"
274+#define DM_VERSION_EXTRA "-ioctl (2017-09-20)"
275275
276276 /* Status bits */
277277 #define DM_READONLY_FLAG (1 << 0) /* In/Out */
include/uapi/linux/membarrier.h+16−7
@@ -52,21 +52,30 @@ · 51 unmodified lines
5252 * (non-running threads are de facto in such a
5353 * state). This only covers threads from the
5454 * same processes as the caller thread. This
55− * command returns 0. The "expedited" commands
56− * complete faster than the non-expedited ones,
57− * they never block, but have the downside of
58− * causing extra overhead.
55+ * command returns 0 on success. The
56+ * "expedited" commands complete faster than
57+ * the non-expedited ones, they never block,
58+ * but have the downside of causing extra
59+ * overhead. A process needs to register its
60+ * intent to use the private expedited command
61+ * prior to using it, otherwise this command
62+ * returns -EPERM.
63+ * @MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED:
64+ * Register the process intent to use
65+ * MEMBARRIER_CMD_PRIVATE_EXPEDITED. Always
66+ * returns 0.
5967 *
6068 * Command to be passed to the membarrier system call. The commands need to
6169 * be a single bit each, except for MEMBARRIER_CMD_QUERY which is assigned to
6270 * the value 0.
6371 */
6472 enum membarrier_cmd {
65− MEMBARRIER_CMD_QUERY = 0,
66− MEMBARRIER_CMD_SHARED = (1 << 0),
73+ MEMBARRIER_CMD_QUERY = 0,
74+ MEMBARRIER_CMD_SHARED = (1 << 0),
6775 /* reserved for MEMBARRIER_CMD_SHARED_EXPEDITED (1 << 1) */
6876 /* reserved for MEMBARRIER_CMD_PRIVATE (1 << 2) */
69− MEMBARRIER_CMD_PRIVATE_EXPEDITED = (1 << 3),
77+ MEMBARRIER_CMD_PRIVATE_EXPEDITED = (1 << 3),
78+ MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = (1 << 4),
7079 };
7180
7281 #endif /* _UAPI_LINUX_MEMBARRIER_H */
include/uapi/linux/netfilter/xt_bpf.h+1−0
@@ -23,6 +23,7 @@ enum xt_bpf_modes { · 22 unmodified lines
2323 XT_BPF_MODE_FD_PINNED,
2424 XT_BPF_MODE_FD_ELF,
2525 };
26+#define XT_BPF_MODE_PATH_PINNED XT_BPF_MODE_FD_PINNED
2627
2728 struct xt_bpf_info_v1 {
2829 __u16 mode;
include/uapi/linux/sctp.h+1−1
@@ -376,7 +376,7 @@ struct sctp_remote_error { · 375 unmodified lines
376376 __u16 sre_type;
377377 __u16 sre_flags;
378378 __u32 sre_length;
379− __u16 sre_error;
379+ __be16 sre_error;
380380 sctp_assoc_t sre_assoc_id;
381381 __u8 sre_data[0];
382382 };
include/uapi/linux/spi/spidev.h+1−0
@@ -23,6 +23,7 @@ · 22 unmodified lines
2323 #define SPIDEV_H
2424
2525 #include <linux/types.h>
26+#include <linux/ioctl.h>
2627
2728 /* User space versions of kernel symbols for SPI clocking modes,
2829 * matching <linux/spi/spi.h>
include/uapi/linux/usb/ch9.h+1−0
@@ -780,6 +780,7 @@ struct usb_interface_assoc_descriptor { · 779 unmodified lines
780780 __u8 iFunction;
781781 } __attribute__ ((packed));
782782
783+#define USB_DT_INTERFACE_ASSOCIATION_SIZE 8
783784
784785 /*-------------------------------------------------------------------------*/
785786

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t