All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-rockchip][PATCH 1/2] kernel: only add the rocket NPU fragment on rk3588s
@ 2026-11-27 11:40 Trevor Woerner
  2026-11-27 11:40 ` [meta-rockchip][PATCH 2/2] kernel: build the rocket NPU driver as a module Trevor Woerner
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Trevor Woerner @ 2026-11-27 11:40 UTC (permalink / raw)
  To: yocto-patches; +Cc: Quentin Schulz

The fragment was appended for every rockchip machine, so setting
ENABLE_UPSTREAM_RKNPU made the kernel config audit warn on all the
others: the driver only supports RK3588's NPU, and on 32-bit machines it
cannot be enabled at all. Use the rk3588s override, as the mesa
PACKAGECONFIG already does.

Cc: Quentin Schulz <quentin.schulz@cherry.de>
AI-Generated: codex/claude-opus 5.5 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 recipes-kernel/linux/linux-rockchip.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-rockchip.inc b/recipes-kernel/linux/linux-rockchip.inc
index f91492ee7968..006d9f0ecf14 100644
--- a/recipes-kernel/linux/linux-rockchip.inc
+++ b/recipes-kernel/linux/linux-rockchip.inc
@@ -37,4 +37,4 @@ SRC_URI:append:nanopi-r4s = " file://realtek-r8169.cfg"
 KERNEL_FEATURES:append:rockchip = " bsp/rockchip/lttng.scc"
 KERNEL_FEATURES:append:rockchip:arm = " bsp/rockchip/remove-non-rockchip-arch-arm.scc"
 KERNEL_FEATURES:append:rockchip:aarch64 = " bsp/rockchip/remove-non-rockchip-arch-arm64.scc"
-KERNEL_FEATURES:append:rockchip = "${@' bsp/rockchip/rocket-npu.scc' if bb.utils.to_boolean(d.getVar('ENABLE_UPSTREAM_RKNPU'), False) else ''}"
+KERNEL_FEATURES:append:rk3588s = "${@' bsp/rockchip/rocket-npu.scc' if bb.utils.to_boolean(d.getVar('ENABLE_UPSTREAM_RKNPU'), False) else ''}"
-- 
2.50.0.173.g8b6f19ccfc3a


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

end of thread, other threads:[~2026-12-01 11:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 11:40 [meta-rockchip][PATCH 1/2] kernel: only add the rocket NPU fragment on rk3588s Trevor Woerner
2026-11-27 11:40 ` [meta-rockchip][PATCH 2/2] kernel: build the rocket NPU driver as a module Trevor Woerner
2026-11-27 12:03   ` Quentin Schulz
2026-12-01 11:49   ` Trevor Woerner
2026-11-27 11:52 ` [meta-rockchip][PATCH 1/2] kernel: only add the rocket NPU fragment on rk3588s Quentin Schulz
2026-11-27 12:11   ` Trevor Woerner
2026-11-27 12:32     ` [yocto-patches] " Quentin Schulz
2026-12-01 11:47 ` [meta-rockchip][PATCH v2] rknpu: gate the NPU support on a machine feature Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.