BPF List
 help / color / mirror / Atom feed
From: Yonghong Song <yonghong.song@linux.dev>
To: bpf@vger.kernel.org
Cc: Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Eduard Zingerman <eddyz87@gmail.com>,
	kernel-team@fb.com
Subject: [PATCH bpf-next v2 0/2] Set the minimum required pahole version to v1.24
Date: Mon, 23 Nov 2026 18:46:29 -0800	[thread overview]
Message-ID: <20261124024629.3871056-1-yonghong.song@linux.dev> (raw)

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


             reply	other threads:[~2026-11-24  2:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  2:46 Yonghong Song [this message]
2026-11-24  2:46 ` [PATCH bpf-next v2 1/2] lib/Kconfig.debug: Set the minimum required pahole version to v1.24 Yonghong Song
2026-11-24  2:46 ` [PATCH bpf-next v2 2/2] kbuild, bpf: Remove CONFIG_PAHOLE_HAS_LANG_EXCLUDE Yonghong Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124024629.3871056-1-yonghong.song@linux.dev \
    --to=yonghong.song@linux.dev \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=kernel-team@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox