This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me> Link: https://github.com/openwrt/openwrt/pull/21019 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 29c4a3ce508961a02d185ead2d52699b16d82c6d Mon Sep 17 00:00:00 2001
|
|
From: Lorenzo Bianconi <lorenzo@kernel.org>
|
|
Date: Mon, 11 Aug 2025 17:31:41 +0200
|
|
Subject: [PATCH 5/6] net: airoha: npu: Enable core 3 for WiFi offloading
|
|
|
|
NPU core 3 is responsible for WiFi offloading so enable it during NPU
|
|
probe.
|
|
|
|
Reviewed-by: Simon Horman <horms@kernel.org>
|
|
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
|
|
Link: https://patch.msgid.link/20250811-airoha-en7581-wlan-offlaod-v7-6-58823603bb4e@kernel.org
|
|
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
|
---
|
|
drivers/net/ethernet/airoha/airoha_npu.c | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
--- a/drivers/net/ethernet/airoha/airoha_npu.c
|
|
+++ b/drivers/net/ethernet/airoha/airoha_npu.c
|
|
@@ -726,8 +726,7 @@ static int airoha_npu_probe(struct platf
|
|
usleep_range(1000, 2000);
|
|
|
|
/* enable NPU cores */
|
|
- /* do not start core3 since it is used for WiFi offloading */
|
|
- regmap_write(npu->regmap, REG_CR_BOOT_CONFIG, 0xf7);
|
|
+ regmap_write(npu->regmap, REG_CR_BOOT_CONFIG, 0xff);
|
|
regmap_write(npu->regmap, REG_CR_BOOT_TRIGGER, 0x1);
|
|
msleep(100);
|
|
|