Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc3
Cross-merge bpf and other fixes after downstream PRs. No conflicts. Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
@@ -8,10 +8,19 @@
|
||||
#define _UAPI_CXL_FEATURES_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
#ifndef __KERNEL__
|
||||
#include <uuid/uuid.h>
|
||||
#else
|
||||
|
||||
typedef unsigned char __uapi_uuid_t[16];
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/uuid.h>
|
||||
/*
|
||||
* Note, __uapi_uuid_t is 1-byte aligned on modern compilers and 4-byte
|
||||
* aligned on others. Ensure that __uapi_uuid_t in a struct is placed at
|
||||
* a 4-byte aligned offset, or the structure is packed, to ensure
|
||||
* consistent padding.
|
||||
*/
|
||||
static_assert(sizeof(__uapi_uuid_t) == sizeof(uuid_t));
|
||||
#define __uapi_uuid_t uuid_t
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -60,7 +69,7 @@ struct cxl_mbox_get_sup_feats_in {
|
||||
* Get Supported Features Supported Feature Entry
|
||||
*/
|
||||
struct cxl_feat_entry {
|
||||
uuid_t uuid;
|
||||
__uapi_uuid_t uuid;
|
||||
__le16 id;
|
||||
__le16 get_feat_size;
|
||||
__le16 set_feat_size;
|
||||
@@ -110,7 +119,7 @@ struct cxl_mbox_get_sup_feats_out {
|
||||
* CXL spec r3.2 section 8.2.9.6.2 Table 8-99
|
||||
*/
|
||||
struct cxl_mbox_get_feat_in {
|
||||
uuid_t uuid;
|
||||
__uapi_uuid_t uuid;
|
||||
__le16 offset;
|
||||
__le16 count;
|
||||
__u8 selection;
|
||||
@@ -143,7 +152,7 @@ enum cxl_get_feat_selection {
|
||||
*/
|
||||
struct cxl_mbox_set_feat_in {
|
||||
__struct_group(cxl_mbox_set_feat_hdr, hdr, /* no attrs */,
|
||||
uuid_t uuid;
|
||||
__uapi_uuid_t uuid;
|
||||
__le32 flags;
|
||||
__le16 offset;
|
||||
__u8 version;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||
/*
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
* Copyright (C) 2020-2025 Intel Corporation
|
||||
*/
|
||||
|
||||
#ifndef __UAPI_IVPU_DRM_H__
|
||||
@@ -147,7 +147,7 @@ struct drm_ivpu_param {
|
||||
* platform type when executing on a simulator or emulator (read-only)
|
||||
*
|
||||
* %DRM_IVPU_PARAM_CORE_CLOCK_RATE:
|
||||
* Current PLL frequency (read-only)
|
||||
* Maximum frequency of the NPU data processing unit clock (read-only)
|
||||
*
|
||||
* %DRM_IVPU_PARAM_NUM_CONTEXTS:
|
||||
* Maximum number of simultaneously existing contexts (read-only)
|
||||
|
||||
@@ -1010,7 +1010,9 @@ struct io_uring_zcrx_ifq_reg {
|
||||
__u64 region_ptr; /* struct io_uring_region_desc * */
|
||||
|
||||
struct io_uring_zcrx_offsets offsets;
|
||||
__u64 __resv[4];
|
||||
__u32 zcrx_id;
|
||||
__u32 __resv2;
|
||||
__u64 __resv[3];
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user