From nobody Sun Apr 5 13:19:41 2026 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96C463AA4F7 for ; Tue, 24 Mar 2026 06:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774333235; cv=none; b=Ta8EAb0atefvn6uG1ROnoRtJyQW15JAj3kubDicRRn4T+vMk05TGgnrgcUqLQd5jbD/K2UnlkUALKasEtUZpEDtBHfZicbJ/f/lRmEGFeZ1BiUzrkHvrTHUuLYhhOrb21NYv68hzBE1T2YLWX/usLLZ/KlP/8lcHaSiY56ZKyP4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774333235; c=relaxed/simple; bh=7b1aDTSE0qRQSk30U9x92MpkGPkxm8eaUPvv8l2E0Gs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V8ZiXlpYOods1OWjc87+QWUTLdhcojPwOy1An7JVYhL0XF+vmQ3fhHBJxFES5y0LasTg+RUzoL6+eM42OHg1/uhhJv3PKrW4XJPRJGCf3SRpU9oGvvy8mnyfaLZOJY5Tuh7+ns+T6xwVdKORuGLI+C8dh9LEfXxMG8Taa0y8Jrw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ets3LISb; arc=none smtp.client-ip=209.85.216.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ets3LISb" Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-35bb9070644so2177630a91.2 for ; Mon, 23 Mar 2026 23:20:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774333234; x=1774938034; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8tWMba298e2gRxfQlq4zFMDhOWDqH8fZHMm6s7SJDP8=; b=Ets3LISb6w9SkWBs9LfK8gUovSeJxWTJfXngB01ZklhV2wFXtQcZlWpwB4jElnsa4h f3Y/2N9/FQZ05oEcsK5M7veGxekZiQPtJCwQjqd4s+WV+7LrO6tu7JD8aaz6egQZr/9e B6t9b2A9hcNOOVGG/K1NfxacJH6r1flfF/IqfQxEovRRlSoqM9y58tIe37ugT7vXcA70 QfZsMW+hMO4noiJB9pb75DkKrQjt3ad9Tr9Vl8D4izT5X3zlGcgINp4wKGUFfcAirSAT 5la3G/x/DxZBDEiTjwPGzKsK5VA+yBgKzYv6priIX1kvj1CO6/o37txqibUVQu4kIwz/ DTaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774333234; x=1774938034; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8tWMba298e2gRxfQlq4zFMDhOWDqH8fZHMm6s7SJDP8=; b=Em8uTH0OHvfznYTqQvfxvBfbiZH+WLej0IL83TZnuRavA+1vlDLnFR683xciTOz4mK 6BDzJGwdw+Gp2ri+5S2fNEnapU29bkaBG/iNxDqpOcetzMOUPR15bfQLzI8Xe62JQFK4 60OxGTdbC9P2CKu+YxaeM19XjdcLXQH2LqKc8gy72oRc3RExmZNq5FDeq37qomicefyZ t8yadoxDJkmUCtvNJNFCRIY5YspfcrohKQVO157JsYpFRVi5vyMFVvqBHXmQ13ipB0UW bhdwttLjV461Nkh+t4ApP0ozOiiQQ8LxoBjSNPlhQkp+vDgKdSUlEbGyLw8YLauvDMsb 5b/Q== X-Gm-Message-State: AOJu0YzaEUW4U8232ooe5XDYY3VZcBVSPIwJrtxC+ecS0aUFxOxK6nH+ 78oUZmL8PdUEJIlLjdr63QzAiYzNYegOdVbe2K3jO+r5cPEtRqVkDcBH7PZl+EFe X-Gm-Gg: ATEYQzxtvjLzNvIz6hjzCtOumI/BQIOxTBD9kIBEAxkarCavmmw/C5642LhXAZLjroK fLI5BzITksPR8BCDSBC0CkbTtpc0uOi7V7+loHl61MJkfaeREK+twdtYKDcgjwsxYGdQBSNByPM sebR1NwqkkIYhiiJhwN8tvOfHw/B7qnw2Sqk8gPa5LzPLWRWGV5RQu+NSIH/GPVXAJXwJ1+NhYI 9VWiPX6vJkhsFp/fiR5UNIhfR6b8rrDhRzyjb7gqYc6JC/jXh5nrPdN8teHmum2HKRz7d8DBr5Z DHW+H/ulyIhMvS6bQZ23gNveltdSfuR819wOirW2LlNwrZ81Ox+TSmNcbFRAUXLhjejnn//Knoy m3udBP2W4EqWqZ4soztyIS+i4WJVu9FxfGzDpPIcUqr5IDX4gDmtQnM9l6FEFdPfOZLUlDY/0jo T1DQ3m9sMWn057kS78yDvTYvfLQPKrOvgpgK3EBrWXQIUWs1n4Cm4+7hxNhklt1ufl25K1QKCjN CGoIBmvzQ065A== X-Received: by 2002:a17:90b:5107:b0:34e:63c1:4a08 with SMTP id 98e67ed59e1d1-35bd2c98e30mr11242780a91.20.1774333233828; Mon, 23 Mar 2026 23:20:33 -0700 (PDT) Received: from mi-HP-ProDesk-680-G6-PCI-Microtower-PC.mioffice.cn ([43.224.245.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35c0312f1cbsm1091367a91.4.2026.03.23.23.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 23:20:33 -0700 (PDT) From: zhidao su X-Google-Original-From: zhidao su To: Jonathan Corbet , workflows@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, bpf@vger.kernel.org, Shuah Khan , zhidao su Subject: [PATCH] docs: Document pahole v1.26 requirement for KF_IMPLICIT_ARGS kfuncs Date: Tue, 24 Mar 2026 14:20:28 +0800 Message-ID: <20260324062028.2479059-1-suzhidao@xiaomi.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Since Linux 7.0, kfuncs annotated with KF_IMPLICIT_ARGS require pahole v1.26 or later. Without it, such kfuncs have incorrect BTF prototypes in vmlinux, causing BPF programs to fail with 'func_proto incompatible with vmlinux' error. This affects all sched_ext kfuncs (e.g. scx_bpf_create_dsq, scx_bpf_dispatch) and other KF_IMPLICIT_ARGS kfuncs across the kernel. Ubuntu 24.04 LTS ships pahole v1.25 by default, causing 23/30 sched_ext selftests to fail on affected systems. Document this requirement in Documentation/process/changes.rst so users understand the failure mode and can upgrade pahole appropriately. Signed-off-by: zhidao su --- Documentation/process/changes.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/process/changes.rst b/Documentation/process/chan= ges.rst index 6b373e193548..141a4576c24d 100644 --- a/Documentation/process/changes.rst +++ b/Documentation/process/changes.rst @@ -145,6 +145,11 @@ Since Linux 5.2, if CONFIG_DEBUG_INFO_BTF is selected,= the build system generates BTF (BPF Type Format) from DWARF in vmlinux, a bit later from ke= rnel modules as well. This requires pahole v1.22 or later. =20 +Since Linux 7.0, kfuncs annotated with KF_IMPLICIT_ARGS require pahole v1.= 26 +or later. Without it, such kfuncs will have incorrect BTF prototypes in +vmlinux, causing BPF programs to fail to load with a "func_proto incompati= ble +with vmlinux" error. Many sched_ext kfuncs are affected. + It is found in the 'dwarves' or 'pahole' distro packages or from https://fedorapeople.org/~acme/dwarves/. =20 --=20 2.43.0