[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251025-idpf-fix-arm-kcfi-build-error-v1-0-ec57221153ae@kernel.org>
Date: Sat, 25 Oct 2025 21:53:17 +0100
From: Nathan Chancellor <nathan@...nel.org>
To: Kees Cook <kees@...nel.org>,
Alexander Lobakin <aleksander.lobakin@...el.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Russell King <linux@...linux.org.uk>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
Michal Kubiak <michal.kubiak@...el.com>, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org, intel-wired-lan@...ts.osuosl.org
Subject: [PATCH 0/3] Resolve ARM kCFI build failure in idpf xsk.c
Hi all,
This series resolves a build failure that is seen in
drivers/net/ethernet/intel/idpf/xsk.c after commit 9705d6552f58 ("idpf:
implement Rx path for AF_XDP") in 6.18-rc1 with ARCH=arm and
CONFIG_CFI=y. See patch 3 for a simplified reproducer on top of
defconfig.
I think this could go via hardening or net.
---
Nathan Chancellor (3):
compiler_types: Introduce __nocfi_generic
ARM: Select ARCH_USES_CFI_GENERIC_LLVM_PASS
libeth: xdp: Disable generic kCFI pass for libeth_xdp_tx_xmit_bulk()
arch/Kconfig | 7 +++++++
arch/arm/Kconfig | 2 ++
include/linux/compiler_types.h | 6 ++++++
include/net/libeth/xdp.h | 2 +-
4 files changed, 16 insertions(+), 1 deletion(-)
---
base-commit: 211ddde0823f1442e4ad052a2f30f050145ccada
change-id: 20251025-idpf-fix-arm-kcfi-build-error-65ae59616374
Best regards,
--
Nathan Chancellor <nathan@...nel.org>
Powered by blists - more mailing lists