linux/tools/testing/selftests
Jakub Kicinski b1156532bc bpf-next-for-netdev
-----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQTFp0I1jqZrAX+hPRXbK58LschIgwUCZmIsRAAKCRDbK58LschI
 g4SSAP0bkl6rPMn7zp1h+/l7hlvpp2aVOmasBTe8hIhAGUbluwD/TGq4sNsGgXFI
 i4tUtFRhw8pOjy2guy6526qyJvBs8wY=
 =WMhY
 -----END PGP SIGNATURE-----

Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next

Daniel Borkmann says:

====================
pull-request: bpf-next 2024-06-06

We've added 54 non-merge commits during the last 10 day(s) which contain
a total of 50 files changed, 1887 insertions(+), 527 deletions(-).

The main changes are:

1) Add a user space notification mechanism via epoll when a struct_ops
   object is getting detached/unregistered, from Kui-Feng Lee.

2) Big batch of BPF selftest refactoring for sockmap and BPF congctl
   tests, from Geliang Tang.

3) Add BTF field (type and string fields, right now) iterator support
   to libbpf instead of using existing callback-based approaches,
   from Andrii Nakryiko.

4) Extend BPF selftests for the latter with a new btf_field_iter
   selftest, from Alan Maguire.

5) Add new kfuncs for a generic, open-coded bits iterator,
   from Yafang Shao.

6) Fix BPF selftests' kallsyms_find() helper under kernels configured
   with CONFIG_LTO_CLANG_THIN, from Yonghong Song.

7) Remove a bunch of unused structs in BPF selftests,
   from David Alan Gilbert.

8) Convert test_sockmap section names into names understood by libbpf
   so it can deduce program type and attach type, from Jakub Sitnicki.

9) Extend libbpf with the ability to configure log verbosity
   via LIBBPF_LOG_LEVEL environment variable, from Mykyta Yatsenko.

10) Fix BPF selftests with regards to bpf_cookie and find_vma flakiness
    in nested VMs, from Song Liu.

11) Extend riscv32/64 JITs to introduce shift/add helpers to generate Zba
    optimization, from Xiao Wang.

12) Enable BPF programs to declare arrays and struct fields with kptr,
    bpf_rb_root, and bpf_list_head, from Kui-Feng Lee.

* tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (54 commits)
  selftests/bpf: Drop useless arguments of do_test in bpf_tcp_ca
  selftests/bpf: Use start_test in test_dctcp in bpf_tcp_ca
  selftests/bpf: Use start_test in test_dctcp_fallback in bpf_tcp_ca
  selftests/bpf: Add start_test helper in bpf_tcp_ca
  selftests/bpf: Use connect_to_fd_opts in do_test in bpf_tcp_ca
  libbpf: Auto-attach struct_ops BPF maps in BPF skeleton
  selftests/bpf: Add btf_field_iter selftests
  selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT
  libbpf: Remove callback-based type/string BTF field visitor helpers
  bpftool: Use BTF field iterator in btfgen
  libbpf: Make use of BTF field iterator in BTF handling code
  libbpf: Make use of BTF field iterator in BPF linker code
  libbpf: Add BTF field iterator
  selftests/bpf: Ignore .llvm.<hash> suffix in kallsyms_find()
  selftests/bpf: Fix bpf_cookie and find_vma in nested VM
  selftests/bpf: Test global bpf_list_head arrays.
  selftests/bpf: Test global bpf_rb_root arrays and fields in nested struct types.
  selftests/bpf: Test kptr arrays and kptrs in nested struct fields.
  bpf: limit the number of levels of a nested struct type.
  bpf: look into the types of the fields of a struct type recursively.
  ...
====================

Link: https://lore.kernel.org/r/20240606223146.23020-1-daniel@iogearbox.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-10 18:02:14 -07:00
..
alsa kselftest/alsa: Ensure _GNU_SOURCE is defined 2024-05-29 12:23:57 -06:00
amd-pstate
arm64 kselftest: arm64: Add a null pointer check 2024-04-28 08:42:58 +01:00
bpf bpf-next-for-netdev 2024-06-10 18:02:14 -07:00
breakpoints
cachestat selftests: cachestat: Fix build warnings on ppc64 2024-05-29 12:24:44 -06:00
capabilities selftests/capabilities: fix warn_unused_result build warnings 2024-05-08 16:48:25 -06:00
cgroup linux_kselftest-next-6.10-rc1-fixes 2024-05-20 14:49:39 -07:00
clone3 selftests/clone3: ksft_exit functions do not return 2024-05-06 13:57:20 -06:00
connector
core selftests: add F_DUPDFD_QUERY selftests 2024-05-10 08:49:13 +02:00
cpu-hotplug
cpufreq selftests: cpufreq: conform test to TAP 2024-05-06 13:57:20 -06:00
damon selftests/damon: classify tests for functionalities and regressions 2024-05-11 15:41:34 -07:00
devices
dma
dmabuf-heaps selftests/dmabuf-heap: conform test to TAP format output 2024-05-06 13:57:19 -06:00
drivers mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors 2024-06-10 11:14:52 +01:00
dt
efivarfs
exec selftests: exec: Use new ksft_exit_fail_perror() helper 2024-05-06 13:57:19 -06:00
fchmodat2
filelock
filesystems selftests/overlayfs: Fix build error on ppc64 2024-05-29 12:26:40 -06:00
firmware
fpu
ftrace selftests/tracing: Fix event filter test to retry up to 10 times 2024-05-31 08:35:43 -06:00
futex selftests/futex: don't pass a const char* to asprintf(3) 2024-05-31 14:37:10 -06:00
gpio
hid selftests/hid: skip tests with HID-BPF if udev-hid-bpf is not installed 2024-05-07 15:39:58 +02:00
ia64
intel_pstate
iommu
ipc selftests/ipc: ksft_exit functions do not return 2024-05-06 13:57:20 -06:00
ir
kcmp selftests/kcmp: remove unused open mode 2024-05-11 15:51:43 -07:00
kexec
kmod
kselftest selftests: ktap_helpers: Make it POSIX-compliant 2024-05-06 13:57:20 -06:00
kvm selftests/kvm: remove dead file 2024-05-15 13:40:16 -04:00
landlock selftests/landlock: Add layout1.refer_mount_root 2024-05-31 16:41:54 +02:00
lib
livepatch
lkdtm
locking
lsm
media_tests
membarrier selftests: membarrier: ksft_exit_pass() does not return 2024-05-06 13:57:20 -06:00
memfd selftests/memfd: fix spelling mistakes 2024-05-07 10:36:59 -07:00
memory-hotplug
mincore
mm 16 hotfixes, 11 of which are cc:stable. 2024-05-25 15:10:33 -07:00
mount
mount_setattr
move_mount_set_group
mqueue
nci
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-06-06 12:06:56 -07:00
nolibc
nsfs
ntb
openat2 selftests/openat2: Fix build warnings on ppc64 2024-05-29 12:26:11 -06:00
perf_events
pid_namespace
pidfd linux_kselftest-next-6.10-rc1 2024-05-14 11:36:54 -07:00
power_supply selftests: power_supply: Make it POSIX-compliant 2024-05-06 13:57:20 -06:00
powerpc powerpc updates for 6.10 2024-05-17 09:05:46 -07:00
prctl
proc
pstore
ptp
ptrace
rcutorture
resctrl selftests/resctrl: fix clang build warnings related to abs(), labs() calls 2024-05-08 16:53:19 -06:00
ring-buffer ring-buffer/selftest: Add ring-buffer mapping test 2024-05-13 18:09:56 -04:00
riscv riscv: selftests: Add signal handling vector tests 2024-05-22 16:12:57 -07:00
rlimits
rseq
rtc
rust
safesetid
sched
seccomp
sgx Revert "selftests/sgx: Include KHDR_INCLUDES in Makefile" 2024-05-20 09:00:06 -06:00
sigaltstack
size
sparc64
splice
static_keys
sync selftests: sync: ksft_exit_pass() does not return 2024-05-06 13:57:21 -06:00
syscall_user_dispatch selftests: sud_test: return correct emulated syscall value on RISC-V 2024-04-25 09:46:41 -07:00
sysctl
tc-testing net/sched: taprio: extend minimum interval restriction to entire cycle too 2024-05-28 19:46:41 -07:00
tdx
thermal/intel
timens
timers selftests: timers: ksft_exit functions do not return 2024-05-06 13:57:21 -06:00
tmpfs
tpm2
tty kselftest/tty: Report a consistent test name for the one test we run 2024-05-06 13:57:19 -06:00
turbostat
uevent
user
user_events selftests/user_events: Add non-spacing separator check 2024-05-13 12:15:46 -04:00
vDSO selftests/vDSO: fix runtime errors on LoongArch 2024-05-05 17:28:07 -07:00
watchdog
wireguard printk changes for 6.10 2024-05-15 12:34:46 -07:00
x86 The usual shower of singleton fixes and minor series all over MM, 2024-05-19 09:21:03 -07:00
zram
.gitignore
Makefile Revert "selftests: Compile kselftest headers with -D_GNU_SOURCE" 2024-05-20 08:59:58 -06:00
gen_kselftest_tar.sh
kselftest.h selftests: kselftest: Make ksft_exit functions return void instead of int 2024-05-06 13:57:21 -06:00
kselftest_deps.sh selftests: kselftest_deps: fix l5_test() empty variable 2024-05-08 16:46:41 -06:00
kselftest_harness.h - A series ("kbuild: enable more warnings by default") from Arnd 2024-05-22 18:59:29 -07:00
kselftest_install.sh
kselftest_module.h
lib.mk linux_kselftest-next-6.10-rc1-fixes 2024-05-20 14:49:39 -07:00
run_kselftest.sh