openwrt/target/linux/generic
Tony Ambardar ce51f27fb0
kernel: 6.6: prevent garbage-cleanup of BPF kfuncs
Backport an upstream Linux fix to prevent BPF kfunc functions from being
removed during linker optimization when building BTF-enabled vmlinux.

The telltale sign of this occurring is build log warnings (e.g. mips64el):

      BTFIDS  vmlinux
    WARN: resolve_btfids: unresolved symbol bpf_verify_pkcs7_signature
    WARN: resolve_btfids: unresolved symbol bpf_lookup_user_key
    WARN: resolve_btfids: unresolved symbol bpf_lookup_system_key
    WARN: resolve_btfids: unresolved symbol bpf_key_put
    WARN: resolve_btfids: unresolved symbol bpf_iter_task_next
    WARN: resolve_btfids: unresolved symbol bpf_iter_css_task_new
    WARN: resolve_btfids: unresolved symbol bpf_get_file_xattr
    WARN: resolve_btfids: unresolved symbol bpf_ct_insert_entry
      NM      System.map
      SORTTAB vmlinux

Link: https://lore.kernel.org/bpf/ZlkoM6%2FPSxVcGM6X@kodidev-ubuntu/
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/15697
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-13 14:16:34 +02:00
..
backport-5.15 kernel: bump 5.15 to 5.15.158 2024-05-12 12:16:18 +02:00
backport-6.1 kernel: bump 6.1 to 6.1.92 2024-06-08 14:16:19 +02:00
backport-6.6 kernel: 6.6: prevent garbage-cleanup of BPF kfuncs 2024-06-13 14:16:34 +02:00
files kernel: rtl8367b: remove unnecessary cpu_port setting 2024-06-08 16:28:37 +02:00
hack-5.15 kernel: bump 5.15 to 5.15.157 2024-05-11 18:30:30 +02:00
hack-6.1 kernel: bump 6.1 to 6.1.92 2024-06-08 14:16:19 +02:00
hack-6.6 kernel: add missing patch header 2024-05-30 10:49:46 +01:00
image
other-files
pending-5.15 generic: 5.15, 6.1: use RTL_8221B_VB_CG_PHYID in Realtek PHY detection 2024-05-13 20:27:25 +02:00
pending-6.1 kernel: bump 6.1 to 6.1.92 2024-06-08 14:16:19 +02:00
pending-6.6 generic: 6.6: refresh patches 2024-06-06 20:08:13 +01:00
config-5.15 kernel: bump 5.15 to 5.15.157 2024-05-11 18:30:30 +02:00
config-6.1 kernel: Add missing config option 2024-04-15 22:50:34 +02:00
config-6.6 kernel: trim outdated kernel config symbols 2024-06-09 11:45:34 +02:00
config-filter generic: filter out CONFIG_FRAME_WARN 2023-07-01 11:52:07 +02:00
PATCHES