Hi David, hi Jakub, hi Paolo, hi Eric, The following pull-request contains BPF updates for your *net* tree. We've added 15 non-merge commits during the last 3 day(s) which contain a total of 17 files changed, 468 insertions(+), 97 deletions(-). The main changes are: 1) BPF selftest fixes: one flake and one related to clang18 testing, from Yonghong Song. 2) Fix a d_path BPF selftest failure after fast-forward from Linus' tree, from Jiri Olsa. 3) Fix a preempt_rt splat in sockmap when using raw_spin_lock_t, from John Fastabend. 4) Fix a xsk_diag_fill use-after-free race during socket cleanup, from Magnus Karlsson. 5) Fix xsk_build_skb to address a buggy dereference of an ERR_PTR(), from Tirthendu Sarkar. 6) Fix a bpftool build warning when compiled with -Wtype-limits, from Yafang Shao. 7) Several misc fixes and cleanups in standardization docs, from David Vernet. 8) Fix BPF selftest install to consider no_alu32/cpuv4/bpf-gcc flavors, from Björn Töpel. 9) Annotate a data race in bpf_long_memcpy for KCSAN, from Daniel Borkmann. 10) Extend documentation with a description for CO-RE relocations, from Eduard Zingerman. 11) Fix several invalid escape sequence warnings in bpf_doc.py script, from Vishal Chourasia. 12) Fix the instruction set doc wrt offset of BPF-to-BPF call, from Will Hawkins. Please consider pulling these changes from: git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev Thanks a lot! Also thanks to reporters, reviewers and testers of commits in this pull-request: Dan Carpenter, David Vernet, Eduard Zingerman, kernel test robot, Maciej Fijalkowski, Magnus Karlsson, Marco Elver, Quentin Monnet, Srikar Dronamraju, Yonghong Song ---------------------------------------------------------------- The following changes since commit bd6c11bc43c496cddfc6cf603b5d45365606dbd5: Merge tag 'net-next-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (2023-08-29 11:33:01 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev for you to fetch changes up to be8e754cbfac698d6304bb8382c8d18ac74424d3: selftests/bpf: Include build flavors for install target (2023-08-31 22:01:53 +0200) ---------------------------------------------------------------- bpf-for-netdev ---------------------------------------------------------------- Björn Töpel (1): selftests/bpf: Include build flavors for install target Daniel Borkmann (1): bpf: Annotate bpf_long_memcpy with data_race David Vernet (3): bpf, docs: Move linux-notes.rst to root bpf docs tree bpf, docs: Add abi.rst document to standardization subdirectory bpf, docs: s/eBPF/BPF in standards documents Eduard Zingerman (1): docs/bpf: Add description for CO-RE relocations Jiri Olsa (1): selftests/bpf: Fix d_path test John Fastabend (1): bpf, sockmap: Fix preempt_rt splat when using raw_spin_lock_t Magnus Karlsson (1): xsk: Fix xsk_diag use-after-free error during socket cleanup Tirthendu Sarkar (1): xsk: Fix xsk_build_skb() error: 'skb' dereferencing possible ERR_PTR() Vishal Chourasia (1): bpf, docs: Fix invalid escape sequence warnings in bpf_doc.py Will Hawkins (1): bpf, docs: Correct source of offset for program-local call Yafang Shao (1): bpftool: Fix build warnings with -Wtype-limits Yonghong Song (2): bpf: Prevent inlining of bpf_fentry_test7() selftests/bpf: Fix flaky cgroup_iter_sleepable subtest Documentation/bpf/btf.rst | 31 ++- Documentation/bpf/index.rst | 1 + .../bpf/{standardization => }/linux-notes.rst | 0 Documentation/bpf/llvm_reloc.rst | 304 +++++++++++++++++++++ Documentation/bpf/standardization/abi.rst | 25 ++ Documentation/bpf/standardization/index.rst | 2 +- .../bpf/standardization/instruction-set.rst | 44 +-- include/linux/bpf.h | 2 +- net/bpf/test_run.c | 1 + net/core/sock_map.c | 36 +-- net/xdp/xsk.c | 22 +- net/xdp/xsk_diag.c | 3 + scripts/bpf_doc.py | 56 ++-- tools/bpf/bpftool/link.c | 2 +- tools/testing/selftests/bpf/Makefile | 12 + .../selftests/bpf/prog_tests/bpf_obj_pinning.c | 5 +- tools/testing/selftests/bpf/prog_tests/d_path.c | 19 +- 17 files changed, 468 insertions(+), 97 deletions(-) rename Documentation/bpf/{standardization => }/linux-notes.rst (100%) create mode 100644 Documentation/bpf/standardization/abi.rst