Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 7.0-rc6+

Cross-merge BPF and other fixes after downstream PR.

Minor conflict in kernel/bpf/verifier.c

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
Alexei Starovoitov
2026-04-03 08:12:58 -07:00
553 changed files with 7849 additions and 2938 deletions

View File

@@ -32,7 +32,8 @@
/**
* BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
* error message.
* @condition: the condition which the compiler should know is false.
* @cond: the condition which the compiler should know is false.
* @msg: build-time error message
*
* See BUILD_BUG_ON for description.
*/
@@ -60,6 +61,7 @@
/**
* static_assert - check integer constant expression at build time
* @expr: expression to be checked
*
* static_assert() is a wrapper for the C11 _Static_assert, with a
* little macro magic to make the message optional (defaulting to the

View File

@@ -14,6 +14,10 @@
#include <linux/ioctl.h>
#include <asm/kvm.h>
#ifdef __KERNEL__
#include <linux/kvm_types.h>
#endif
#define KVM_API_VERSION 12
/*
@@ -1601,7 +1605,11 @@ struct kvm_stats_desc {
__u16 size;
__u32 offset;
__u32 bucket_size;
#ifdef __KERNEL__
char name[KVM_STATS_NAME_SIZE];
#else
char name[];
#endif
};
#define KVM_GET_STATS_FD _IO(KVMIO, 0xce)