History

BackMerge tag 'v5.15-rc7' into drm-next

The msm next tree is based on rc3, so let's just backmerge rc7 before pulling it in.

Dave Airlie committed 5 years ago

Commit 970eae12 parents 27f4432 3906fe91437 files · +16472 −9320Browse files

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

Unified · Split

7 files
  1. include/uapi/linux/android/binder.h +7 −0
  2. include/uapi/linux/cifs/cifs_mount.h +0 −1
  3. include/uapi/linux/hyperv.h +1 −1
  4. include/uapi/linux/mctp.h +5 −2
  5. include/uapi/linux/xfrm.h +9 −6
  6. include/uapi/misc/habanalabs.h +2 −4
  7. include/uapi/sound/asound.h +1 −0
include/uapi/linux/android/binder.h+7−0
@@ -225,7 +225,14 @@ struct binder_freeze_info { · 224 unmodified lines
225225
226226 struct binder_frozen_status_info {
227227 __u32 pid;
228+
229+ /* process received sync transactions since last frozen
230+ * bit 0: received sync transaction after being frozen
231+ * bit 1: new pending sync transaction during freezing
232+ */
228233 __u32 sync_recv;
234+
235+ /* process received async transactions since last frozen */
229236 __u32 async_recv;
230237 };
231238
include/uapi/linux/cifs/cifs_mount.h+0−1
@@ -1,6 +1,5 @@
11 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
22 /*
3− * include/uapi/linux/cifs/cifs_mount.h
43 *
54 * Author(s): Scott Lovenberg (scott.lovenberg@gmail.com)
65 *
include/uapi/linux/hyperv.h+1−1
@@ -26,7 +26,7 @@ · 25 unmodified lines
2626 #ifndef _UAPI_HYPERV_H
2727 #define _UAPI_HYPERV_H
2828
29−#include <linux/uuid.h>
29+#include <linux/types.h>
3030
3131 /*
3232 * Framework version for util services.
include/uapi/linux/mctp.h+5−2
@@ -10,6 +10,7 @@ · 9 unmodified lines
1010 #define __UAPI_MCTP_H
1111
1212 #include <linux/types.h>
13+#include <linux/socket.h>
1314
1415 typedef __u8 mctp_eid_t;
1516
@@ -18,11 +19,13 @@ struct mctp_addr { · 2 unmodified lines
1819 };
1920
2021 struct sockaddr_mctp {
21− unsigned short int smctp_family;
22− int smctp_network;
22+ __kernel_sa_family_t smctp_family;
23+ __u16 __smctp_pad0;
24+ unsigned int smctp_network;
2325 struct mctp_addr smctp_addr;
2426 __u8 smctp_type;
2527 __u8 smctp_tag;
28+ __u8 __smctp_pad1;
2629 };
2730
2831 #define MCTP_NET_ANY 0x0
include/uapi/linux/xfrm.h+9−6
@@ -213,13 +213,13 @@ enum { · 212 unmodified lines
213213 XFRM_MSG_GETSPDINFO,
214214 #define XFRM_MSG_GETSPDINFO XFRM_MSG_GETSPDINFO
215215
216+ XFRM_MSG_MAPPING,
217+#define XFRM_MSG_MAPPING XFRM_MSG_MAPPING
218+
216219 XFRM_MSG_SETDEFAULT,
217220 #define XFRM_MSG_SETDEFAULT XFRM_MSG_SETDEFAULT
218221 XFRM_MSG_GETDEFAULT,
219222 #define XFRM_MSG_GETDEFAULT XFRM_MSG_GETDEFAULT
220−
221− XFRM_MSG_MAPPING,
222−#define XFRM_MSG_MAPPING XFRM_MSG_MAPPING
223223 __XFRM_MSG_MAX
224224 };
225225 #define XFRM_MSG_MAX (__XFRM_MSG_MAX - 1)
@@ -514,9 +514,12 @@ struct xfrm_user_offload { · 288 unmodified lines
514514 #define XFRM_OFFLOAD_INBOUND 2
515515
516516 struct xfrm_userpolicy_default {
517−#define XFRM_USERPOLICY_DIRMASK_MAX (sizeof(__u8) * 8)
518− __u8 dirmask;
519− __u8 action;
517+#define XFRM_USERPOLICY_UNSPEC 0
518+#define XFRM_USERPOLICY_BLOCK 1
519+#define XFRM_USERPOLICY_ACCEPT 2
520+ __u8 in;
521+ __u8 fwd;
522+ __u8 out;
520523 };
521524
522525 #ifndef __KERNEL__
include/uapi/misc/habanalabs.h+2−4
@@ -917,7 +917,6 @@ struct hl_wait_cs_in { · 916 unmodified lines
917917 #define HL_WAIT_CS_STATUS_BUSY 1
918918 #define HL_WAIT_CS_STATUS_TIMEDOUT 2
919919 #define HL_WAIT_CS_STATUS_ABORTED 3
920−#define HL_WAIT_CS_STATUS_INTERRUPTED 4
921920
922921 #define HL_WAIT_CS_STATUS_FLAG_GONE 0x1
923922 #define HL_WAIT_CS_STATUS_FLAG_TIMESTAMP_VLD 0x2
@@ -1286,7 +1285,8 @@ struct hl_debug_args { · 362 unmodified lines
12861285 * EIO - The CS was aborted (usually because the device was reset)
12871286 * ENODEV - The device wants to do hard-reset (so user need to close FD)
12881287 *
1289− * The driver also returns a custom define inside the IOCTL which can be:
1288+ * The driver also returns a custom define in case the IOCTL call returned 0.
1289+ * The define can be one of the following:
12901290 *
12911291 * HL_WAIT_CS_STATUS_COMPLETED - The CS has been completed successfully (0)
12921292 * HL_WAIT_CS_STATUS_BUSY - The CS is still executing (0)
@@ -1294,8 +1294,6 @@ struct hl_debug_args { · 1 unmodified line
12941294 * (ETIMEDOUT)
12951295 * HL_WAIT_CS_STATUS_ABORTED - The CS was aborted, usually because the
12961296 * device was reset (EIO)
1297− * HL_WAIT_CS_STATUS_INTERRUPTED - Waiting for the CS was interrupted (EINTR)
1298− *
12991297 */
13001298
13011299 #define HL_IOCTL_WAIT_CS \
include/uapi/sound/asound.h+1−0
@@ -784,6 +784,7 @@ struct snd_rawmidi_status { · 783 unmodified lines
784784
785785 #define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int)
786786 #define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info)
787+#define SNDRV_RAWMIDI_IOCTL_USER_PVERSION _IOW('W', 0x02, int)
787788 #define SNDRV_RAWMIDI_IOCTL_PARAMS _IOWR('W', 0x10, struct snd_rawmidi_params)
788789 #define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status)
789790 #define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int)