Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Update LLVM Phabricator links

reviews.llvm.org was LLVM's Phabricator instances for code review. It
has been abandoned in favor of GitHub pull requests. While the majority
of links in the kernel sources still work because of the work Fangrui
has done turning the dynamic Phabricator instance into a static archive,
there are some issues with that work, so preemptively convert all the
links in the kernel sources to point to the commit on GitHub.

Most of the commits have the corresponding differential review link in
the commit message itself so there should not be any loss of fidelity in
the relevant information.

Additionally, fix a typo in the xdpwall.c print ("LLMV" -> "LLVM") while
in the area.

Link: https://discourse.llvm.org/t/update-on-github-pull-requests/71540/172
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20240111-bpf-update-llvm-phabricator-links-v2-1-9a7ae976bd64@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Nathan Chancellor and committed by
Alexei Starovoitov
f067074b 56d3e44a

+18 -18
+16 -16
tools/testing/selftests/bpf/README.rst
··· 115 115 verifier to understand such speculative pointer arithmetic. 116 116 Hence `this patch`__ addresses it on the compiler side. It was committed on llvm 12. 117 117 118 - __ https://reviews.llvm.org/D85570 118 + __ https://github.com/llvm/llvm-project/commit/ddf1864ace484035e3cde5e83b3a31ac81e059c6 119 119 120 120 The corresponding C code 121 121 ··· 165 165 has been pushed to llvm 10.x release branch and will be 166 166 available in 10.0.1. The patch is available in llvm 11.0.0 trunk. 167 167 168 - __ https://reviews.llvm.org/D78466 168 + __ https://github.com/llvm/llvm-project/commit/3cb7e7bf959dcd3b8080986c62e10a75c7af43f0 169 169 170 170 bpf_verif_scale/loop6.bpf.o test failure with Clang 12 171 171 ====================================================== ··· 204 204 This cause later verifier failure. The bug has been `fixed`__ in 205 205 Clang 13. 206 206 207 - __ https://reviews.llvm.org/D97479 207 + __ https://github.com/llvm/llvm-project/commit/1959ead525b8830cc8a345f45e1c3ef9902d3229 208 208 209 209 BPF CO-RE-based tests and Clang version 210 210 ======================================= ··· 221 221 - __builtin_btf_type_id() [0_, 1_, 2_]; 222 222 - __builtin_preserve_type_info(), __builtin_preserve_enum_value() [3_, 4_]. 223 223 224 - .. _0: https://reviews.llvm.org/D74572 225 - .. _1: https://reviews.llvm.org/D74668 226 - .. _2: https://reviews.llvm.org/D85174 227 - .. _3: https://reviews.llvm.org/D83878 228 - .. _4: https://reviews.llvm.org/D83242 224 + .. _0: https://github.com/llvm/llvm-project/commit/6b01b465388b204d543da3cf49efd6080db094a9 225 + .. _1: https://github.com/llvm/llvm-project/commit/072cde03aaa13a2c57acf62d79876bf79aa1919f 226 + .. _2: https://github.com/llvm/llvm-project/commit/00602ee7ef0bf6c68d690a2bd729c12b95c95c99 227 + .. _3: https://github.com/llvm/llvm-project/commit/6d218b4adb093ff2e9764febbbc89f429412006c 228 + .. _4: https://github.com/llvm/llvm-project/commit/6d6750696400e7ce988d66a1a00e1d0cb32815f8 229 229 230 230 Floating-point tests and Clang version 231 231 ====================================== ··· 234 234 types, which was introduced in `Clang 13`__. The older Clang versions will 235 235 either crash when compiling these tests, or generate an incorrect BTF. 236 236 237 - __ https://reviews.llvm.org/D83289 237 + __ https://github.com/llvm/llvm-project/commit/a7137b238a07d9399d3ae96c0b461571bd5aa8b2 238 238 239 239 Kernel function call test and Clang version 240 240 =========================================== ··· 248 248 249 249 libbpf: failed to find BTF for extern 'tcp_slow_start' [25] section: -2 250 250 251 - __ https://reviews.llvm.org/D93563 251 + __ https://github.com/llvm/llvm-project/commit/886f9ff53155075bd5f1e994f17b85d1e1b7470c 252 252 253 253 btf_tag test and Clang version 254 254 ============================== ··· 264 264 265 265 #<test_num> btf_tag:SKIP 266 266 267 - .. _0: https://reviews.llvm.org/D111588 268 - .. _1: https://reviews.llvm.org/D111199 267 + .. _0: https://github.com/llvm/llvm-project/commit/a162b67c98066218d0d00aa13b99afb95d9bb5e6 268 + .. _1: https://github.com/llvm/llvm-project/commit/3466e00716e12e32fdb100e3fcfca5c2b3e8d784 269 269 270 270 Clang dependencies for static linking tests 271 271 =========================================== ··· 274 274 generate valid BTF information for weak variables. Please make sure you use 275 275 Clang that contains the fix. 276 276 277 - __ https://reviews.llvm.org/D100362 277 + __ https://github.com/llvm/llvm-project/commit/968292cb93198442138128d850fd54dc7edc0035 278 278 279 279 Clang relocation changes 280 280 ======================== ··· 292 292 To fix this issue, user newer libbpf. 293 293 294 294 .. Links 295 - .. _clang reloc patch: https://reviews.llvm.org/D102712 295 + .. _clang reloc patch: https://github.com/llvm/llvm-project/commit/6a2ea84600ba4bd3b2733bd8f08f5115eb32164b 296 296 .. _kernel llvm reloc: /Documentation/bpf/llvm_reloc.rst 297 297 298 298 Clang dependencies for the u32 spill test (xdpwall) ··· 304 304 305 305 .. code-block:: console 306 306 307 - test_xdpwall:FAIL:Does LLVM have https://reviews.llvm.org/D109073? unexpected error: -4007 307 + test_xdpwall:FAIL:Does LLVM have https://github.com/llvm/llvm-project/commit/ea72b0319d7b0f0c2fcf41d121afa5d031b319d5? unexpected error: -4007 308 308 309 - __ https://reviews.llvm.org/D109073 309 + __ https://github.com/llvm/llvm-project/commit/ea72b0319d7b0f0c2fcf41d121afa5d031b319d5
+1 -1
tools/testing/selftests/bpf/prog_tests/xdpwall.c
··· 9 9 struct xdpwall *skel; 10 10 11 11 skel = xdpwall__open_and_load(); 12 - ASSERT_OK_PTR(skel, "Does LLMV have https://reviews.llvm.org/D109073?"); 12 + ASSERT_OK_PTR(skel, "Does LLVM have https://github.com/llvm/llvm-project/commit/ea72b0319d7b0f0c2fcf41d121afa5d031b319d5?"); 13 13 14 14 xdpwall__destroy(skel); 15 15 }
+1 -1
tools/testing/selftests/bpf/progs/test_core_reloc_type_id.c
··· 80 80 * to detect whether this test has to be executed, however strange 81 81 * that might look like. 82 82 * 83 - * [0] https://reviews.llvm.org/D85174 83 + * [0] https://github.com/llvm/llvm-project/commit/00602ee7ef0bf6c68d690a2bd729c12b95c95c99 84 84 */ 85 85 #if __has_builtin(__builtin_preserve_type_info) 86 86 struct core_reloc_type_id_output *out = (void *)&data.out;