[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: fc5eb4a84e4c063e75a6a6e92308e9533c0f19b5
WARNING: Author mismatch between patch and upstream commit: Backport author: Huacai Chen chenhuacai@loongson.cn Commit author: Ard Biesheuvel ardb@kernel.org
Status in newer kernel trees: 6.12.y | Present (exact SHA1) 6.6.y | Not found
Note: The patch differs from the upstream commit: --- 1: fc5eb4a84e4c0 ! 1: 0637e4a3f4e0a btf: Avoid weak external references @@ Metadata ## Commit message ## btf: Avoid weak external references
+ [ Upstream commit fc5eb4a84e4c063e75a6a6e92308e9533c0f19b5 ] + If the BTF code is enabled in the build configuration, the start/stop BTF markers are guaranteed to exist. Only when CONFIG_DEBUG_INFO_BTF=n, the references in btf_parse_vmlinux() will remain unsatisfied, relying @@ Commit message Acked-by: Arnd Bergmann arnd@arndb.de Acked-by: Jiri Olsa jolsa@kernel.org Link: https://lore.kernel.org/bpf/20240415162041.2491523-8-ardb+git@google.com + Signed-off-by: Huacai Chen chenhuacai@loongson.cn
## kernel/bpf/btf.c ## @@ kernel/bpf/btf.c: static struct btf *btf_parse(const union bpf_attr *attr, bpfptr_t uattr, u32 uat ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success | | stable/linux-6.1.y | Success | Success |