History

Merge 5.15-rc6 into char-misc-next

We need the char/misc fixes in here for merging and testing.

Greg Kroah-Hartman committed 5 years ago

Commit 22d4f9b2 parents d0221a7 519d819648 files · +7117 −4345Browse files

Showing the changes to include/uapi (3 of 648 files). Show all

Unified · Split

3 files
  1. include/uapi/linux/hyperv.h +1 −1
  2. include/uapi/linux/xfrm.h +9 −6
  3. include/uapi/misc/habanalabs.h +2 −4
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/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 \