Skip to content

Set the minimum required pahole version to v1.24

Yonghong Song bpf 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- v1: https://lore.kernel.org/bpf/[email protected]/
- 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).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/Kconfig.debug: Set the minimum required pahole version to v1.24Documentation/process/changes.rst lib/Kconfig.debug+4 -40 replies
2/2kbuild, bpf: Remove CONFIG_PAHOLE_HAS_LANG_EXCLUDEinit/Kconfig lib/Kconfig.debug scripts/Makefile.btf+2 -110 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlan Maguire
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] Set the minimum required pahole version to v1.24

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/[email protected]/
- 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(-)
Signature · 1 line
2.53.1-Meta