BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/2] Set the minimum required pahole version to v1.24
@ 2026-11-24  2:46 Yonghong Song
  2026-11-24  2:46 ` [PATCH bpf-next v2 1/2] lib/Kconfig.debug: " Yonghong Song
  2026-11-24  2:46 ` [PATCH bpf-next v2 2/2] kbuild, bpf: Remove CONFIG_PAHOLE_HAS_LANG_EXCLUDE Yonghong Song
  0 siblings, 2 replies; 3+ messages in thread
From: Yonghong Song @ 2026-11-24  2:46 UTC (permalink / raw)
  To: bpf
  Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	Eduard Zingerman, kernel-team

The requirements table in Documentation/process/changes.rst lists pahole
v1.26 as the minimal version, for kfuncs with KF_IMPLICIT_ARGS, which
resolve_btfids now handles without pahole. CONFIG_DEBUG_INFO_BTF, on the
other hand, still accepts pahole v1.22.

Patch 1 sets the minimal version to v1.24 in Kconfig and changes.rst, so
that the kflag of an enum in vmlinux and module BTF is meaningful: 0 for
an unsigned enum and 1 for a signed enum. Patch 2 removes
CONFIG_PAHOLE_HAS_LANG_EXCLUDE, which is always set with
CONFIG_DEBUG_INFO_BTF now.

Changelog:
  v1 -> v2:
    - v1: https://lore.kernel.org/bpf/20261123231053.2538168-1-yonghong.song@linux.dev/
    - Keep CONFIG_PAHOLE_HAS_BTF_TAG unchanged, since its pahole version
      check still matters without CONFIG_DEBUG_INFO_BTF, so that the
      resulting config stays the same (patch 2).

Yonghong Song (2):
  lib/Kconfig.debug: Set the minimum required pahole version to v1.24
  kbuild, bpf: Remove CONFIG_PAHOLE_HAS_LANG_EXCLUDE

 Documentation/process/changes.rst |  4 ++--
 init/Kconfig                      |  2 +-
 lib/Kconfig.debug                 | 13 ++-----------
 scripts/Makefile.btf              |  2 +-
 4 files changed, 6 insertions(+), 15 deletions(-)

-- 
2.53.1-Meta


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-24  2:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-24  2:46 [PATCH bpf-next v2 0/2] Set the minimum required pahole version to v1.24 Yonghong Song
2026-11-24  2:46 ` [PATCH bpf-next v2 1/2] lib/Kconfig.debug: " Yonghong Song
2026-11-24  2:46 ` [PATCH bpf-next v2 2/2] kbuild, bpf: Remove CONFIG_PAHOLE_HAS_LANG_EXCLUDE Yonghong Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox