History

Merge branch 'perf/vlbr'

Peter Zijlstra committed 6 years ago

Commit 78c21412 parents bb42b3d e1ad1ac1067 files · +9632 −5649Browse files

Showing the changes to include/uapi/linux (9 of 1067 files). Show all

Unified · Split

9 files
  1. include/uapi/linux/bpf.h +1 −1
  2. include/uapi/linux/fb.h +1 −0
  3. include/uapi/linux/fs.h +1 −0
  4. include/uapi/linux/mrp_bridge.h +0 −1
  5. include/uapi/linux/ndctl.h +1 −0
  6. include/uapi/linux/rds.h +3 −1
  7. include/uapi/linux/spi/spidev.h +4 −0
  8. include/uapi/linux/vfio.h +1 −1
  9. include/uapi/linux/xattr.h +4 −0
include/uapi/linux/bpf.h+1−1
@@ -3168,7 +3168,7 @@ union bpf_attr { · 3167 unmodified lines
3168 * Return3168 * Return
3169 * The id is returned or 0 in case the id could not be retrieved.3169 * The id is returned or 0 in case the id could not be retrieved.
3170 *3170 *
3171 * void *bpf_ringbuf_output(void *ringbuf, void *data, u64 size, u64 flags)3171 * int bpf_ringbuf_output(void *ringbuf, void *data, u64 size, u64 flags)
3172 * Description3172 * Description
3173 * Copy *size* bytes from *data* into a ring buffer *ringbuf*.3173 * Copy *size* bytes from *data* into a ring buffer *ringbuf*.
3174 * If BPF_RB_NO_WAKEUP is specified in *flags*, no notification of3174 * If BPF_RB_NO_WAKEUP is specified in *flags*, no notification of
include/uapi/linux/fb.h+1−0
@@ -205,6 +205,7 @@ struct fb_bitfield { · 204 unmodified lines
205#define FB_ACTIVATE_ALL 64 /* change all VCs on this fb */205#define FB_ACTIVATE_ALL 64 /* change all VCs on this fb */
206#define FB_ACTIVATE_FORCE 128 /* force apply even when no change*/206#define FB_ACTIVATE_FORCE 128 /* force apply even when no change*/
207#define FB_ACTIVATE_INV_MODE 256 /* invalidate videomode */207#define FB_ACTIVATE_INV_MODE 256 /* invalidate videomode */
208#define FB_ACTIVATE_KD_TEXT 512 /* for KDSET vt ioctl */
208 209
209#define FB_ACCELF_TEXT 1 /* (OBSOLETE) see fb_info.flags and vc_mode */210#define FB_ACCELF_TEXT 1 /* (OBSOLETE) see fb_info.flags and vc_mode */
210 211
include/uapi/linux/fs.h+1−0
@@ -262,6 +262,7 @@ struct fsxattr { · 261 unmodified lines
262#define FS_EA_INODE_FL 0x00200000 /* Inode used for large EA */262#define FS_EA_INODE_FL 0x00200000 /* Inode used for large EA */
263#define FS_EOFBLOCKS_FL 0x00400000 /* Reserved for ext4 */263#define FS_EOFBLOCKS_FL 0x00400000 /* Reserved for ext4 */
264#define FS_NOCOW_FL 0x00800000 /* Do not cow file */264#define FS_NOCOW_FL 0x00800000 /* Do not cow file */
265#define FS_DAX_FL 0x02000000 /* Inode is DAX */
265#define FS_INLINE_DATA_FL 0x10000000 /* Reserved for ext4 */266#define FS_INLINE_DATA_FL 0x10000000 /* Reserved for ext4 */
266#define FS_PROJINHERIT_FL 0x20000000 /* Create with parents projid */267#define FS_PROJINHERIT_FL 0x20000000 /* Create with parents projid */
267#define FS_CASEFOLD_FL 0x40000000 /* Folder is case insensitive */268#define FS_CASEFOLD_FL 0x40000000 /* Folder is case insensitive */
include/uapi/linux/mrp_bridge.h+0−1
@@ -36,7 +36,6 @@ enum br_mrp_port_state_type { · 35 unmodified lines
36enum br_mrp_port_role_type {36enum br_mrp_port_role_type {
37 BR_MRP_PORT_ROLE_PRIMARY,37 BR_MRP_PORT_ROLE_PRIMARY,
38 BR_MRP_PORT_ROLE_SECONDARY,38 BR_MRP_PORT_ROLE_SECONDARY,
39 BR_MRP_PORT_ROLE_NONE,
40};39};
41 40
42enum br_mrp_tlv_header_type {41enum br_mrp_tlv_header_type {
include/uapi/linux/ndctl.h+1−0
@@ -244,6 +244,7 @@ struct nd_cmd_pkg { · 243 unmodified lines
244#define NVDIMM_FAMILY_HPE2 2244#define NVDIMM_FAMILY_HPE2 2
245#define NVDIMM_FAMILY_MSFT 3245#define NVDIMM_FAMILY_MSFT 3
246#define NVDIMM_FAMILY_HYPERV 4246#define NVDIMM_FAMILY_HYPERV 4
247#define NVDIMM_FAMILY_PAPR 5
247 248
248#define ND_IOCTL_CALL _IOWR(ND_IOCTL, ND_CMD_CALL,\249#define ND_IOCTL_CALL _IOWR(ND_IOCTL, ND_CMD_CALL,\
249 struct nd_cmd_pkg)250 struct nd_cmd_pkg)
include/uapi/linux/rds.h+3−1
@@ -64,10 +64,12 @@ · 63 unmodified lines
64 64
65/* supported values for SO_RDS_TRANSPORT */65/* supported values for SO_RDS_TRANSPORT */
66#define RDS_TRANS_IB 066#define RDS_TRANS_IB 0
67#define RDS_TRANS_IWARP 167#define RDS_TRANS_GAP 1
68#define RDS_TRANS_TCP 268#define RDS_TRANS_TCP 2
69#define RDS_TRANS_COUNT 369#define RDS_TRANS_COUNT 3
70#define RDS_TRANS_NONE (~0)70#define RDS_TRANS_NONE (~0)
71/* don't use RDS_TRANS_IWARP - it is deprecated */
72#define RDS_TRANS_IWARP RDS_TRANS_GAP
71 73
72/* IOCTLS commands for SOL_RDS */74/* IOCTLS commands for SOL_RDS */
73#define SIOCRDSSETTOS (SIOCPROTOPRIVATE)75#define SIOCRDSSETTOS (SIOCPROTOPRIVATE)
include/uapi/linux/spi/spidev.h+4−0
@@ -48,6 +48,10 @@ · 47 unmodified lines
48#define SPI_TX_QUAD 0x20048#define SPI_TX_QUAD 0x200
49#define SPI_RX_DUAL 0x40049#define SPI_RX_DUAL 0x400
50#define SPI_RX_QUAD 0x80050#define SPI_RX_QUAD 0x800
51#define SPI_CS_WORD 0x1000
52#define SPI_TX_OCTAL 0x2000
53#define SPI_RX_OCTAL 0x4000
54#define SPI_3WIRE_HIZ 0x8000
51 55
52/*---------------------------------------------------------------------------*/56/*---------------------------------------------------------------------------*/
53 57
include/uapi/linux/vfio.h+1−1
@@ -1030,7 +1030,7 @@ struct vfio_iommu_type1_info_cap_iova_range { · 1029 unmodified lines
1030 * size in bytes that can be used by user applications when getting the dirty1030 * size in bytes that can be used by user applications when getting the dirty
1031 * bitmap.1031 * bitmap.
1032 */1032 */
1033#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 11033#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 2
1034 1034
1035struct vfio_iommu_type1_info_cap_migration {1035struct vfio_iommu_type1_info_cap_migration {
1036 struct vfio_info_cap_header header;1036 struct vfio_info_cap_header header;
include/uapi/linux/xattr.h+4−0
@@ -7,6 +7,7 @@ · 6 unmodified lines
7 Copyright (C) 2001 by Andreas Gruenbacher <a.gruenbacher@computer.org>7 Copyright (C) 2001 by Andreas Gruenbacher <a.gruenbacher@computer.org>
8 Copyright (c) 2001-2002 Silicon Graphics, Inc. All Rights Reserved.8 Copyright (c) 2001-2002 Silicon Graphics, Inc. All Rights Reserved.
9 Copyright (c) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com>9 Copyright (c) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com>
10 Copyright (c) 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
10*/11*/
11 12
12#include <linux/libc-compat.h>13#include <linux/libc-compat.h>
@@ -31,6 +32,9 @@ · 18 unmodified lines
31#define XATTR_BTRFS_PREFIX "btrfs."32#define XATTR_BTRFS_PREFIX "btrfs."
32#define XATTR_BTRFS_PREFIX_LEN (sizeof(XATTR_BTRFS_PREFIX) - 1)33#define XATTR_BTRFS_PREFIX_LEN (sizeof(XATTR_BTRFS_PREFIX) - 1)
33 34
35#define XATTR_HURD_PREFIX "gnu."
36#define XATTR_HURD_PREFIX_LEN (sizeof(XATTR_HURD_PREFIX) - 1)
37
34#define XATTR_SECURITY_PREFIX "security."38#define XATTR_SECURITY_PREFIX "security."
35#define XATTR_SECURITY_PREFIX_LEN (sizeof(XATTR_SECURITY_PREFIX) - 1)39#define XATTR_SECURITY_PREFIX_LEN (sizeof(XATTR_SECURITY_PREFIX) - 1)
36 40