Merge 4.16-rc6 into tty-next
We want the serial/tty fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -102,13 +102,13 @@ typedef struct siginfo {
|
||||
short _addr_lsb; /* LSB of the reported address */
|
||||
/* used when si_code=SEGV_BNDERR */
|
||||
struct {
|
||||
short _dummy_bnd;
|
||||
void *_dummy_bnd;
|
||||
void __user *_lower;
|
||||
void __user *_upper;
|
||||
} _addr_bnd;
|
||||
/* used when si_code=SEGV_PKUERR */
|
||||
struct {
|
||||
short _dummy_pkey;
|
||||
void *_dummy_pkey;
|
||||
__u32 _pkey;
|
||||
} _addr_pkey;
|
||||
};
|
||||
|
||||
@@ -63,6 +63,7 @@ struct drm_virtgpu_execbuffer {
|
||||
};
|
||||
|
||||
#define VIRTGPU_PARAM_3D_FEATURES 1 /* do we have 3D features in the hw */
|
||||
#define VIRTGPU_PARAM_CAPSET_QUERY_FIX 2 /* do we have the capset fix */
|
||||
|
||||
struct drm_virtgpu_getparam {
|
||||
__u64 param;
|
||||
|
||||
@@ -131,7 +131,7 @@ enum {
|
||||
#define BLKTRACE_BDEV_SIZE 32
|
||||
|
||||
/*
|
||||
* User setup structure passed with BLKTRACESTART
|
||||
* User setup structure passed with BLKTRACESETUP
|
||||
*/
|
||||
struct blk_user_trace_setup {
|
||||
char name[BLKTRACE_BDEV_SIZE]; /* output */
|
||||
|
||||
@@ -211,6 +211,32 @@ struct dmx_stc {
|
||||
__u64 stc;
|
||||
};
|
||||
|
||||
/**
|
||||
* enum dmx_buffer_flags - DMX memory-mapped buffer flags
|
||||
*
|
||||
* @DMX_BUFFER_FLAG_HAD_CRC32_DISCARD:
|
||||
* Indicates that the Kernel discarded one or more frames due to wrong
|
||||
* CRC32 checksum.
|
||||
* @DMX_BUFFER_FLAG_TEI:
|
||||
* Indicates that the Kernel has detected a Transport Error indicator
|
||||
* (TEI) on a filtered pid.
|
||||
* @DMX_BUFFER_PKT_COUNTER_MISMATCH:
|
||||
* Indicates that the Kernel has detected a packet counter mismatch
|
||||
* on a filtered pid.
|
||||
* @DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED:
|
||||
* Indicates that the Kernel has detected one or more frame discontinuity.
|
||||
* @DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR:
|
||||
* Received at least one packet with a frame discontinuity indicator.
|
||||
*/
|
||||
|
||||
enum dmx_buffer_flags {
|
||||
DMX_BUFFER_FLAG_HAD_CRC32_DISCARD = 1 << 0,
|
||||
DMX_BUFFER_FLAG_TEI = 1 << 1,
|
||||
DMX_BUFFER_PKT_COUNTER_MISMATCH = 1 << 2,
|
||||
DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED = 1 << 3,
|
||||
DMX_BUFFER_FLAG_DISCONTINUITY_INDICATOR = 1 << 4,
|
||||
};
|
||||
|
||||
/**
|
||||
* struct dmx_buffer - dmx buffer info
|
||||
*
|
||||
@@ -220,15 +246,24 @@ struct dmx_stc {
|
||||
* offset from the start of the device memory for this plane,
|
||||
* (or a "cookie" that should be passed to mmap() as offset)
|
||||
* @length: size in bytes of the buffer
|
||||
* @flags: bit array of buffer flags as defined by &enum dmx_buffer_flags.
|
||||
* Filled only at &DMX_DQBUF.
|
||||
* @count: monotonic counter for filled buffers. Helps to identify
|
||||
* data stream loses. Filled only at &DMX_DQBUF.
|
||||
*
|
||||
* Contains data exchanged by application and driver using one of the streaming
|
||||
* I/O methods.
|
||||
*
|
||||
* Please notice that, for &DMX_QBUF, only @index should be filled.
|
||||
* On &DMX_DQBUF calls, all fields will be filled by the Kernel.
|
||||
*/
|
||||
struct dmx_buffer {
|
||||
__u32 index;
|
||||
__u32 bytesused;
|
||||
__u32 offset;
|
||||
__u32 length;
|
||||
__u32 flags;
|
||||
__u32 count;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -761,6 +761,7 @@ struct kvm_ppc_resize_hpt {
|
||||
#define KVM_TRACE_PAUSE __KVM_DEPRECATED_MAIN_0x07
|
||||
#define KVM_TRACE_DISABLE __KVM_DEPRECATED_MAIN_0x08
|
||||
#define KVM_GET_EMULATED_CPUID _IOWR(KVMIO, 0x09, struct kvm_cpuid2)
|
||||
#define KVM_GET_MSR_FEATURE_INDEX_LIST _IOWR(KVMIO, 0x0a, struct kvm_msr_list)
|
||||
|
||||
/*
|
||||
* Extension capability list.
|
||||
@@ -934,6 +935,7 @@ struct kvm_ppc_resize_hpt {
|
||||
#define KVM_CAP_S390_AIS_MIGRATION 150
|
||||
#define KVM_CAP_PPC_GET_CPU_CHAR 151
|
||||
#define KVM_CAP_S390_BPB 152
|
||||
#define KVM_CAP_GET_MSR_FEATURES 153
|
||||
|
||||
#ifdef KVM_CAP_IRQ_ROUTING
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ typedef enum {
|
||||
SEV_RET_INVALID_PLATFORM_STATE,
|
||||
SEV_RET_INVALID_GUEST_STATE,
|
||||
SEV_RET_INAVLID_CONFIG,
|
||||
SEV_RET_INVALID_len,
|
||||
SEV_RET_INVALID_LEN,
|
||||
SEV_RET_ALREADY_OWNED,
|
||||
SEV_RET_INVALID_CERTIFICATE,
|
||||
SEV_RET_POLICY_FAILURE,
|
||||
|
||||
@@ -32,6 +32,22 @@ struct ocxl_ioctl_attach {
|
||||
__u64 reserved3;
|
||||
};
|
||||
|
||||
struct ocxl_ioctl_metadata {
|
||||
__u16 version; // struct version, always backwards compatible
|
||||
|
||||
// Version 0 fields
|
||||
__u8 afu_version_major;
|
||||
__u8 afu_version_minor;
|
||||
__u32 pasid; // PASID assigned to the current context
|
||||
|
||||
__u64 pp_mmio_size; // Per PASID MMIO size
|
||||
__u64 global_mmio_size;
|
||||
|
||||
// End version 0 fields
|
||||
|
||||
__u64 reserved[13]; // Total of 16*u64
|
||||
};
|
||||
|
||||
struct ocxl_ioctl_irq_fd {
|
||||
__u64 irq_offset;
|
||||
__s32 eventfd;
|
||||
@@ -45,5 +61,6 @@ struct ocxl_ioctl_irq_fd {
|
||||
#define OCXL_IOCTL_IRQ_ALLOC _IOR(OCXL_MAGIC, 0x11, __u64)
|
||||
#define OCXL_IOCTL_IRQ_FREE _IOW(OCXL_MAGIC, 0x12, __u64)
|
||||
#define OCXL_IOCTL_IRQ_SET_FD _IOW(OCXL_MAGIC, 0x13, struct ocxl_ioctl_irq_fd)
|
||||
#define OCXL_IOCTL_GET_METADATA _IOR(OCXL_MAGIC, 0x14, struct ocxl_ioctl_metadata)
|
||||
|
||||
#endif /* _UAPI_MISC_OCXL_H */
|
||||
|
||||
Reference in New Issue
Block a user