We want those tty fixes in that release in this branch as well.
Showing the changes to include/uapi/linux (5 of 613 files). Show all
Unified · Split
| @@ -149,7 +149,7 @@ struct in6_flowlabel_req { · 148 unmodified lines | ||
| 149 | 149 | /* |
| 150 | 150 | * IPV6 socket options |
| 151 | 151 | */ |
| 152 | − | |
| 152 | +#if __UAPI_DEF_IPV6_OPTIONS | |
| 153 | 153 | #define IPV6_ADDRFORM 1 |
| 154 | 154 | #define IPV6_2292PKTINFO 2 |
| 155 | 155 | #define IPV6_2292HOPOPTS 3 |
| @@ -196,6 +196,7 @@ struct in6_flowlabel_req { · 40 unmodified lines | ||
| 196 | 196 | |
| 197 | 197 | #define IPV6_IPSEC_POLICY 34 |
| 198 | 198 | #define IPV6_XFRM_POLICY 35 |
| 199 | +#endif | |
| 199 | 200 | |
| 200 | 201 | /* |
| 201 | 202 | * Multicast: |
| @@ -128,27 +128,34 @@ struct kfd_ioctl_get_process_apertures_args { · 127 unmodified lines | ||
| 128 | 128 | uint32_t pad; |
| 129 | 129 | }; |
| 130 | 130 | |
| 131 | −#define KFD_IOC_MAGIC 'K' | |
| 131 | +#define AMDKFD_IOCTL_BASE 'K' | |
| 132 | +#define AMDKFD_IO(nr) _IO(AMDKFD_IOCTL_BASE, nr) | |
| 133 | +#define AMDKFD_IOR(nr, type) _IOR(AMDKFD_IOCTL_BASE, nr, type) | |
| 134 | +#define AMDKFD_IOW(nr, type) _IOW(AMDKFD_IOCTL_BASE, nr, type) | |
| 135 | +#define AMDKFD_IOWR(nr, type) _IOWR(AMDKFD_IOCTL_BASE, nr, type) | |
| 132 | 136 | |
| 133 | −#define KFD_IOC_GET_VERSION \ | |
| 134 | − _IOR(KFD_IOC_MAGIC, 1, struct kfd_ioctl_get_version_args) | |
| 137 | +#define AMDKFD_IOC_GET_VERSION \ | |
| 138 | + AMDKFD_IOR(0x01, struct kfd_ioctl_get_version_args) | |
| 135 | 139 | |
| 136 | −#define KFD_IOC_CREATE_QUEUE \ | |
| 137 | − _IOWR(KFD_IOC_MAGIC, 2, struct kfd_ioctl_create_queue_args) | |
| 140 | +#define AMDKFD_IOC_CREATE_QUEUE \ | |
| 141 | + AMDKFD_IOWR(0x02, struct kfd_ioctl_create_queue_args) | |
| 138 | 142 | |
| 139 | −#define KFD_IOC_DESTROY_QUEUE \ | |
| 140 | − _IOWR(KFD_IOC_MAGIC, 3, struct kfd_ioctl_destroy_queue_args) | |
| 143 | +#define AMDKFD_IOC_DESTROY_QUEUE \ | |
| 144 | + AMDKFD_IOWR(0x03, struct kfd_ioctl_destroy_queue_args) | |
| 141 | 145 | |
| 142 | −#define KFD_IOC_SET_MEMORY_POLICY \ | |
| 143 | − _IOW(KFD_IOC_MAGIC, 4, struct kfd_ioctl_set_memory_policy_args) | |
| 146 | +#define AMDKFD_IOC_SET_MEMORY_POLICY \ | |
| 147 | + AMDKFD_IOW(0x04, struct kfd_ioctl_set_memory_policy_args) | |
| 144 | 148 | |
| 145 | −#define KFD_IOC_GET_CLOCK_COUNTERS \ | |
| 146 | − _IOWR(KFD_IOC_MAGIC, 5, struct kfd_ioctl_get_clock_counters_args) | |
| 149 | +#define AMDKFD_IOC_GET_CLOCK_COUNTERS \ | |
| 150 | + AMDKFD_IOWR(0x05, struct kfd_ioctl_get_clock_counters_args) | |
| 147 | 151 | |
| 148 | −#define KFD_IOC_GET_PROCESS_APERTURES \ | |
| 149 | − _IOR(KFD_IOC_MAGIC, 6, struct kfd_ioctl_get_process_apertures_args) | |
| 152 | +#define AMDKFD_IOC_GET_PROCESS_APERTURES \ | |
| 153 | + AMDKFD_IOR(0x06, struct kfd_ioctl_get_process_apertures_args) | |
| 150 | 154 | |
| 151 | −#define KFD_IOC_UPDATE_QUEUE \ | |
| 152 | − _IOW(KFD_IOC_MAGIC, 7, struct kfd_ioctl_update_queue_args) | |
| 155 | +#define AMDKFD_IOC_UPDATE_QUEUE \ | |
| 156 | + AMDKFD_IOW(0x07, struct kfd_ioctl_update_queue_args) | |
| 157 | + | |
| 158 | +#define AMDKFD_COMMAND_START 0x01 | |
| 159 | +#define AMDKFD_COMMAND_END 0x08 | |
| 153 | 160 | |
| 154 | 161 | #endif |
| @@ -69,6 +69,7 @@ · 68 unmodified lines | ||
| 69 | 69 | #define __UAPI_DEF_SOCKADDR_IN6 0 |
| 70 | 70 | #define __UAPI_DEF_IPV6_MREQ 0 |
| 71 | 71 | #define __UAPI_DEF_IPPROTO_V6 0 |
| 72 | +#define __UAPI_DEF_IPV6_OPTIONS 0 | |
| 72 | 73 | |
| 73 | 74 | #else |
| 74 | 75 | |
| @@ -82,6 +83,7 @@ · 7 unmodified lines | ||
| 82 | 83 | #define __UAPI_DEF_SOCKADDR_IN6 1 |
| 83 | 84 | #define __UAPI_DEF_IPV6_MREQ 1 |
| 84 | 85 | #define __UAPI_DEF_IPPROTO_V6 1 |
| 86 | +#define __UAPI_DEF_IPV6_OPTIONS 1 | |
| 85 | 87 | |
| 86 | 88 | #endif /* _NETINET_IN_H */ |
| 87 | 89 | |
| @@ -103,6 +105,7 @@ · 15 unmodified lines | ||
| 103 | 105 | #define __UAPI_DEF_SOCKADDR_IN6 1 |
| 104 | 106 | #define __UAPI_DEF_IPV6_MREQ 1 |
| 105 | 107 | #define __UAPI_DEF_IPPROTO_V6 1 |
| 108 | +#define __UAPI_DEF_IPV6_OPTIONS 1 | |
| 106 | 109 | |
| 107 | 110 | /* Definitions for xattr.h */ |
| 108 | 111 | #define __UAPI_DEF_XATTR 1 |
| @@ -174,6 +174,10 @@ enum ovs_packet_attr { · 173 unmodified lines | ||
| 174 | 174 | OVS_PACKET_ATTR_USERDATA, /* OVS_ACTION_ATTR_USERSPACE arg. */ |
| 175 | 175 | OVS_PACKET_ATTR_EGRESS_TUN_KEY, /* Nested OVS_TUNNEL_KEY_ATTR_* |
| 176 | 176 | attributes. */ |
| 177 | + OVS_PACKET_ATTR_UNUSED1, | |
| 178 | + OVS_PACKET_ATTR_UNUSED2, | |
| 179 | + OVS_PACKET_ATTR_PROBE, /* Packet operation is a feature probe, | |
| 180 | + error logging should be suppressed. */ | |
| 177 | 181 | __OVS_PACKET_ATTR_MAX |
| 178 | 182 | }; |
| 179 | 183 | |
| @@ -101,6 +101,13 @@ struct vring { · 100 unmodified lines | ||
| 101 | 101 | struct vring_used *used; |
| 102 | 102 | }; |
| 103 | 103 | |
| 104 | +/* Alignment requirements for vring elements. | |
| 105 | + * When using pre-virtio 1.0 layout, these fall out naturally. | |
| 106 | + */ | |
| 107 | +#define VRING_AVAIL_ALIGN_SIZE 2 | |
| 108 | +#define VRING_USED_ALIGN_SIZE 4 | |
| 109 | +#define VRING_DESC_ALIGN_SIZE 16 | |
| 110 | + | |
| 104 | 111 | /* The standard layout for the ring is a continuous chunk of memory which looks |
| 105 | 112 | * like this. We assume num is a power of 2. |
| 106 | 113 | * |