]> git.ipfire.org Git - thirdparty/openwrt.git/log
thirdparty/openwrt.git
9 days agouboot-tools: disable symbols via u-boot native scripts 22845/head
Shiji Yang [Fri, 10 Apr 2026 11:03:30 +0000 (19:03 +0800)] 
uboot-tools: disable symbols via u-boot native scripts

This is a safer way to operate the .config file.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22845
Signed-off-by: Nick Hainke <vincent@systemli.org>
9 days agouboot-tools: update to v2026.04
Shiji Yang [Fri, 10 Apr 2026 11:03:30 +0000 (19:03 +0800)] 
uboot-tools: update to v2026.04

Update to the latest stable version. Also add PKG_CONFIG_SYSROOT_DIR
make flag to fix dtc tools build without yaml[1-2].

Patches manually refreshed:
* 003-tools-dumpimage-fix-tools-compile.patch

[1] https://github.com/u-boot/u-boot/commit/0535e46d55d7423094d8b553d704a0f7f678de77
[2] https://github.com/u-boot/u-boot/commit/807bcd844afeadbfe47ac132524cc7e3b699bc46
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22845
Signed-off-by: Nick Hainke <vincent@systemli.org>
9 days agolinux-firmware: update to 20260410 22883/head
John Audia [Fri, 10 Apr 2026 19:28:01 +0000 (15:28 -0400)] 
linux-firmware: update to 20260410

% git log --no-merges --pretty=oneline --abbrev-commit 20260309...20260410
d3a8c256bf3b amdgpu: Revert Yellow Carp DMUB fw to 0x4000045
3b0b51d12d4e linux-firmware: qcom: sync audioreach firmwares from v1.0.3 build
b8df98acdc99 qcom: consolidate audioreach-tplg firmwares into one location in WHENCE
4cc3cf379e31 WHENCE: Fix ISH firmware symlink prefix for Lenovo PTL systems
6ca086313157 intel_vpu: Update NPU firmware
98c7d41b4cd9 Revert "rtl_bt: Update RTL8822C BT USB and UART firmware to 0x0673"
b7562faee6a4 nvidia: add acr/bl symlink for booting GSP-RM on GA100
461b77109fec qcom: add QUPv3 firmware for shikra
c87f3b91047e xe: Update GUC to v70.60.0 for LNL, BMG, PTL
11c04932225d qcom: update ADSP firmware for sm8750 platform
7590efdfb65f qcom: update CDSP firmware for glymur platform
b9e055ef6eed cirrus: cs35l41: Add support for new HP laptops
c1f5e540c545 cirrus: cs35l41: Add support for new ASUS laptops
dc147588ce1d cirrus: cs35l41: Add support for ASUS GZ302EAC and add 15.5dB bincfg
0bdf116777fb WHENCE: Move Dell remoteproc firmware to correct section
3c4cf8321887 qcom: vpu: add video firmware for SM8450
cc2cb17f5ed9 cirrus: cs35l56: Add firmware for Cirrus Amps for some ASUS laptops
1d57ec2fdc3f cirrus: cs35l56: Add firmware for Cirrus Amps for some Lenovo laptops
f56580c068ec iwlwifi: add Bz/Sc FW for core103-40 release
8b1582ab9739 iwlwifi: Add Hr/Gf firmware for core103-40 release
dafb7e8506a7 iwlwifi: update ty/So/Ma firmwares for core103-40 release
eb2d3ddcbaf4 amdgpu: DMCUB updates for various ASICs
a4c4b1863262 xe: Update PTL GSC to v105.0.2.1397
28455e71d17f linux-firmware: add firmware for Moxa mux50u devices
4ca3317e935e rtl_bt: Update RTL8852B BT USB FW to 0x127C_FD78
b56c03b62139 ath11k: WCN6855 hw2.0@nfa765: update to WLAN.HSP.1.1-04866.5-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1
4c5450b2683a ath11k: QCA6698AQ hw2.1: update to WLAN.HSP.1.1-04866.5-QCAHSPSWPL_V1_V2_SILICONZ_IOE-1
f463012bf671 linux-firmware: update firmware for qat_4xxx devices
3dba1ce1e347 linux-firmware: update firmware for qat_402xx devices
dc04275f5679 linux-firmware: update firmware for qat_420xx devices
7bac18568c39 linux-firmware: update firmware for an8811hb 2.5G ethernet phy
827c67ef8287 linux-firmware: qcom: Add FW blobs for DELL XPS13 9345
ffccda596131 amdgpu: DMCUB updates for various ASICs
7bea13fc9a53 cirrus: cs35l63: Update firmware for Cirrus Amps for some Dell laptops
2d3de9fe2fb8 cirrus: cs35l63: Fix Cirrus Amp firmware links for some Dell laptops
d5a533e96ed1 linux-firmware: Add firmware file for Intel BlazarIW
457378a39e59 linux-firmware: Add firmware file for Intel BlazarIGfp2 core
b21b48725314 iwlwifi: add Bz/Wh FW for core102-56 release
6fb332659360 ath12k: WCN7850 hw2.0: update to WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
78029d11e29a mediatek MT7921: update bluetooth firmware to 20260224111243
546a25acc8e8 mediatek MT7920: update bluetooth firmware to 20260224111231
87a7d3c72b19 Add LENOVO ISH firmware v5.8.1.7720 for X1 Carbon (Gen 14) and X1 2-in-1 (Gen 11)
f71ae94fbda2 linux-firmware: Add ISH firmware file for Intel Wildcat Lake platform
87414f9ba8f8 linux-firmware: update firmware for MT7920 WiFi device
ced02591a802 linux-firmware: update firmware for MT7921 WiFi device
81608d9216ce linux-firmware: Update firmware file for Intel Quasar core
be85c6639a91 Intel Bluetooth: Update firmware file for Intel Bluetooth AX201
c3bc50dc241d linux-firmware: Add firmware file for Intel ScorpiusGfp2 core
4590121e2ecc linux-firmware: Update firmware file for Intel Scorpius core
179d9acb2171 linux-firmware: Update firmware file for Intel BlazarIGfP core
ed10eae8facb linux-firmware: Update firmware file for Intel BlazarI core
cca6520d6620 linux-firmware: Update firmware file for Intel BlazarU-HrPGfP core
3315fba7271d linux-firmware: Update firmware file for Intel BlazarU core
dab39c0fbe7a intel_vpu: Update NPU firmware
237bfc162a3a amdgpu: DMCUB updates for various ASICs
a8316dd1ccbc qcom: add QUPv3 firmware for QCS615 platform
934a7b3e16b8 Add LENOVO ISH firmware v5.8.0.7720 for X9-15 2025

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/22883
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: mikrotik: fix 6.18 kernel GPIO driver build errors 22771/head
Shiji Yang [Sat, 4 Apr 2026 10:30:15 +0000 (18:30 +0800)] 
ath79: mikrotik: fix 6.18 kernel GPIO driver build errors

gpio_chip .set() callback return type has been changed since linux
6.17 kernel[1-2]. Fix:

drivers/gpio/gpio-latch-mikrotik.c: In function 'gpio_latch_probe':
drivers/gpio/gpio-latch-mikrotik.c:152:17: error: assignment to 'int (*)(struct gpio_chip *, unsigned int,  int)' from incompatible pointer type 'void (*)(struct gpio_chip *, unsigned int,  int)' [-Wincompatible-pointer-types]
  152 |         gc->set = gpio_latch_set;
      |                 ^

drivers/gpio/gpio-rb4xx.c: In function 'rb4xx_gpio_probe':
drivers/gpio/gpio-rb4xx.c:133:41: error: assignment to 'int (*)(struct gpio_chip *, unsigned int,  int)' from incompatible pointer type 'void (*)(struct gpio_chip *, unsigned int,  int)' [-Wincompatible-pointer-types]
  133 |         gpio->chip.set                  = rb4xx_gpio_set;
      |                                         ^

drivers/gpio/gpio-rb91x-key.c: In function 'gpio_rb91x_key_probe':
drivers/gpio/gpio-rb91x-key.c:165:17: error: assignment to 'int (*)(struct gpio_chip *, unsigned int,  int)' from incompatible pointer type 'void (*)(struct gpio_chip *, unsigned int,  int)' [-Wincompatible-pointer-types]
  165 |         gc->set = gpio_rb91x_key_set;
      |                 ^

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=397a46c9aa3343e8efe6847bdaa124945bab1de4
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=d9d87d90cc0b10cd56ae353f50b11417e7d21712
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: fix 6.18 kernel leds-reset driver build error
Shiji Yang [Sat, 4 Apr 2026 09:50:55 +0000 (17:50 +0800)] 
ath79: fix 6.18 kernel leds-reset driver build error

Replace reset boolean parameters with flags parameter[1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=dad35f7d2fc14e446669d4cab100597a6798eae5
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: enable 6.18 testing kernel
Shiji Yang [Fri, 3 Apr 2026 14:40:29 +0000 (22:40 +0800)] 
ath79: enable 6.18 testing kernel

The 6.18 testing kernel for ath79 target is ready now.

Tested on ath79/nand:Netgear R6100

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: adapt to the 6.18 kernel to fix build errors
Shiji Yang [Fri, 3 Apr 2026 15:30:29 +0000 (23:30 +0800)] 
ath79: adapt to the 6.18 kernel to fix build errors

s/irq_linear_revmap/irq_find_mapping/ [1]
s/del_timer_sync/timer_delete_sync/ [2]
s/from_timer/timer_container_of/ [3]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=14ebb11ba895c9223d9a453a17df2fd81410c96c
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=87bdd932e85881895d4720255b40ac28749c4e32
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=41cb08555c4164996d67c78b3bf1c658075b75f1
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: refresh 6.18 kernel config files
Shiji Yang [Fri, 3 Apr 2026 14:40:13 +0000 (22:40 +0800)] 
ath79: refresh 6.18 kernel config files

CONFIG_PAGE_BLOCK_MAX_ORDER was set to 10 as the page size is 4k.

All other kernel symbols are automatically refreshed by
`make kernel_oldconfig CONFIG_TARGET=target` and
`make kernel_oldconfig CONFIG_TARGET=subtarget`.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: refresh 6.18 kernel patches
Shiji Yang [Fri, 3 Apr 2026 14:38:49 +0000 (22:38 +0800)] 
ath79: refresh 6.18 kernel patches

Remove upstreamed:
001-irqchip-ath79-misc-fix-missing-prototypes-warnings.patch [1]

Manually rebased:
341-wifi-ath9k-obtain-system-gpios.patch
820-mfd-syscon-support-skip-reset-control-for-syscon-devices.patch
900-unaligned_access_hacks.patch

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=3085ef9d9e7ab5ae4cddbe809e2e3b8dc11cdc75

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: restore kernel 6.12 config files and patches
Shiji Yang [Fri, 3 Apr 2026 11:57:16 +0000 (19:57 +0800)] 
ath79: restore kernel 6.12 config files and patches

Copy patches and kernel configs from 6.18 kernel to restore the
default 6.12 kernel support files.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agoath79: rename patchset and kernel configs to 6.18
Shiji Yang [Fri, 3 Apr 2026 11:56:31 +0000 (19:56 +0800)] 
ath79: rename patchset and kernel configs to 6.18

This is a preparation for 6.18 kernel support. It can help us
track the files history by using the Git tool.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22771
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agorealtek: drop support for 6.12 22869/head
Jonas Jelonek [Mon, 30 Mar 2026 11:34:54 +0000 (11:34 +0000)] 
realtek: drop support for 6.12

Drop support for 6.12 by removing files, patches and kernel configs
since 6.18 is the default now.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22869
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agorealtek: switch to 6.18
Jonas Jelonek [Mon, 30 Mar 2026 11:36:20 +0000 (11:36 +0000)] 
realtek: switch to 6.18

Make 6.18 the default kernel version now after the testing phase showed
no big issues.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22869
Signed-off-by: Nick Hainke <vincent@systemli.org>
10 days agorealtek: gs1900: use lzma for sysupgrade 22714/head
Klaus Rubenstein [Thu, 2 Apr 2026 20:20:16 +0000 (22:20 +0200)] 
realtek: gs1900: use lzma for sysupgrade

Add $(Device/uimage-rt-loader) to Device/zyxel_gs1900 to use lzma
compression for the sysupgrade kernel image. This saves approximately
1 MB of flash space compared to the previous gzip compression, leaving
more room for the rootfs overlay.

Signed-off-by: Klaus Rubenstein <klaus.rubenstein@gmail.com>
Tested-by: Sander Vanheule <sander@svanheule.net> # GS1900-{8,48} A1
Signed-off-by: Sander Vanheule <sander@svanheule.net>
10 days agorealtek: gs1900-48: add RTL8231 resets
Klaus Rubenstein [Wed, 1 Apr 2026 07:57:18 +0000 (09:57 +0200)] 
realtek: gs1900-48: add RTL8231 resets

Add reset-gpios for both RTL8231 expanders and hog the PHY reset
line on expander@3.

Signed-off-by: Klaus Rubenstein <klaus.rubenstein@gmail.com>
Tested-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
10 days agorealtek: add Zyxel GS1900-48HP A1 support
Klaus Rubenstein [Wed, 1 Apr 2026 07:01:42 +0000 (09:01 +0200)] 
realtek: add Zyxel GS1900-48HP A1 support

Add support for the Zyxel GS1900-48HP A1 managed PoE switch based on
RTL8393 SoC with 48 copper ports (6x RTL8218B), 2 SFP slots and PoE
(170W budget). Includes DTS, image definition, network config and
u-boot-env support.

The device has 48 copper ports but only ports 1-24 are powered by
the PoE PSE controller.

PoE support requires the realtek-poe package from the packages feed
with an additional configuration for PSE ID 7 to address the MCU on
this device.

Signed-off-by: Klaus Rubenstein <klaus.rubenstein@gmail.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
10 days agorealtek: extract shared GS1900-48 dtsi
Klaus Rubenstein [Wed, 1 Apr 2026 06:59:53 +0000 (08:59 +0200)] 
realtek: extract shared GS1900-48 dtsi

Move the shared hardware description from rtl8393_zyxel_gs1900-48-a1.dts
into a common rtl8393_zyxel_gs1900-48.dtsi include file. This allows
other GS1900-48 variants to reuse the shared definitions.

Signed-off-by: Klaus Rubenstein <klaus.rubenstein@gmail.com>
Tested-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
10 days agomalta: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18 22843/head
Mieczyslaw Nalewaj [Wed, 8 Apr 2026 10:08:34 +0000 (12:08 +0200)] 
malta: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18

Restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 in malta 6.18 config fragments
to fix build failures where PAGE_BLOCK_MAX_ORDER was undefined.

Support for Linux 6.18 on malta was added after this OpenWrt change:
https://github.com/openwrt/openwrt/commit/ac0cb87a453698efc6c812e4f27cadbeb208f14e.
Before that integration, the kernel option CONFIG_PAGE_BLOCK_MAX_ORDER=10
was provided in target/linux/generic/config-6.18 and applied broadly.
After the malta 6.18 integration the generic fragment no longer supplied
this option for malta targets, which caused some backported code paths
and drivers to assume PAGE_BLOCK_MAX_ORDER was defined and led
to compilation failures.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22843
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agoarm-trusted-firmware-mvebu: bump to 2.14 22863/head
Andre Heider [Fri, 3 Apr 2026 07:36:22 +0000 (09:36 +0200)] 
arm-trusted-firmware-mvebu: bump to 2.14

Bump the bundled software pieces to their current version too.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22863
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agolantiq: move device tree files to target dts directory 22876/head
Shiji Yang [Fri, 10 Apr 2026 13:08:24 +0000 (21:08 +0800)] 
lantiq: move device tree files to target dts directory

In this target, we only use downstream dts files. And it doesn't
seem like there will be significant changes upstream. Move dts files
to the target dts folder to avoid copying them over and over again
during annual kernel upgrades.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22876
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agoopenssl: update to 3.5.6 22847/head
Jack Sun [Wed, 8 Apr 2026 13:15:24 +0000 (21:15 +0800)] 
openssl: update to 3.5.6

This release incorporates the following bug fixes and mitigations:

Fixed incorrect failure handling in RSA KEM RSASVE encapsulation.
(CVE-2026-31790)

Fixed loss of key agreement group tuple structure when the DEFAULT keyword
is used in the server-side configuration of the key-agreement group list.
(CVE-2026-2673)

Fixed potential use-after-free in DANE client code.
(CVE-2026-28387)

Fixed NULL pointer dereference when processing a delta CRL.
(CVE-2026-28388)

Fixed possible NULL dereference when processing CMS KeyAgreeRecipientInfo.
(CVE-2026-28389)

Fixed possible NULL dereference when processing CMS
KeyTransportRecipientInfo.
(CVE-2026-28390)

Fixed heap buffer overflow in hexadecimal conversion.
(CVE-2026-31789)

No need refresh patches

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22847
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: Fix pair-order for rtl930x based plasmacloud devices 22826/head
Harshal Gohel [Tue, 7 Apr 2026 13:39:27 +0000 (13:39 +0000)] 
realtek: Fix pair-order for rtl930x based plasmacloud devices

This change is needed as we move towards removing rtk init from bootloader
and makes it possible to initialize and configure RTL8224 phy driver

Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/22826
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agoipq40xx: avoid randomized MAC address on boot 22857/head
Rosen Penev [Wed, 8 Apr 2026 21:01:36 +0000 (14:01 -0700)] 
ipq40xx: avoid randomized MAC address on boot

In cases where an nvmem definition is applied to the switch ports,
change to apply to the root gmac so that a randomized MAC address does
not get set.

Also remove the aliases. Since nvmem is used, we don't care about the
bootloader.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22857
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: pcs: drop confusing macros 22885/head
Jonas Jelonek [Sat, 11 Apr 2026 08:20:40 +0000 (08:20 +0000)] 
realtek: pcs: drop confusing macros

Drop two confusing macros 'PHY_PAGE_2' and 'PHY_PAGE_4'. Though we
rather want to have meaningful names instead of magic values everywhere,
those two macros do it totally wrong. They still have the old naming
from times where SerDes was treated as a PHY, and they add no real
context to what page they are actually referring. Thus, replace them
with plain values in their two usages each until we have a better
overall solution.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22885
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: pcs: cleanup some macros
Jonas Jelonek [Sat, 11 Apr 2026 08:16:31 +0000 (08:16 +0000)] 
realtek: pcs: cleanup some macros

Cleanup some odd macros still existing from older code. Drop the old
RTL931X_ prefix and use RTPCS_931X_ instead, and drop a totally unused
macro.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22885
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: pcs: rename init function
Jonas Jelonek [Thu, 5 Mar 2026 20:15:24 +0000 (20:15 +0000)] 
realtek: pcs: rename init function

Give the one-time PCS init hook a shorter and simpler name, using simply
'init' instead of 'init_serdes_common'. Keep it short and sweet.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22885
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: pcs: give struct a shorter name
Jonas Jelonek [Thu, 5 Mar 2026 20:09:12 +0000 (20:09 +0000)] 
realtek: pcs: give struct a shorter name

Shorten the name of the SerDes ops struct from 'rtpcs_serdes_ops' to
'rtpcs_sds_ops' to be consistent with other naming throughout the
driver.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22885
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: eth: convert rteth_839x_hw_reset() to regmap 22853/head
Markus Stockhausen [Wed, 8 Apr 2026 18:47:39 +0000 (20:47 +0200)] 
realtek: eth: convert rteth_839x_hw_reset() to regmap

Drop another few sw() macros.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22853
Signed-off-by: Robert Marko <robimarko@gmail.com>
10 days agorealtek: eth: convert to regmap/msleep
Markus Stockhausen [Wed, 8 Apr 2026 18:28:08 +0000 (20:28 +0200)] 
realtek: eth: convert to regmap/msleep

Convert some coding

- from sw() macros to regmap and
- from mdelay() to msleep()

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22853
Signed-off-by: Robert Marko <robimarko@gmail.com>
11 days agoethtool: drop rss-input-xfrm compatibility patch 22841/head
Nick Hainke [Wed, 8 Apr 2026 07:59:24 +0000 (09:59 +0200)] 
ethtool: drop rss-input-xfrm compatibility patch

The rss-input-xfrm workaround for Linux 6.6 is no longer needed with
current kernel versions. Remove the patch and the associated
--enable-rss-input-xfrm configure flag.

Link: https://github.com/openwrt/openwrt/pull/22841
Signed-off-by: Nick Hainke <vincent@systemli.org>
11 days agompc85xx: switch to libdeflate-gzip 22873/head
Rosen Penev [Wed, 8 Apr 2026 00:45:52 +0000 (17:45 -0700)] 
mpc85xx: switch to libdeflate-gzip

Slightly smaller compressed size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22873
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agomediatek: fix patch filename
Daniel Golle [Thu, 9 Apr 2026 22:57:57 +0000 (23:57 +0100)] 
mediatek: fix patch filename

A previous commit wrongly renamed a patch file omitting the final 'h'
character. Rename it to again have the correct '.patch' suffix.

Fixes: c23b9256f0 ("mediatek: replace patches with upstream version")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
12 days agoarm-trusted-firmware-mediatek: update to v2026-01-23 21717/head
Shiji Yang [Mon, 26 Jan 2026 15:10:10 +0000 (23:10 +0800)] 
arm-trusted-firmware-mediatek: update to v2026-01-23

The highlight of this version is that the bl2 size will be reduced
by 60+ KB. The MT7987 SPI interface selection hack was replaced by
upstream implementation with the new symbol SPIM_NAND_PREFER_SPI2.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
12 days agoqualcommax: ipq807x: mx5300: use existing aliases node
Robert Marko [Thu, 9 Apr 2026 11:21:58 +0000 (13:21 +0200)] 
qualcommax: ipq807x: mx5300: use existing aliases node

No need to add another aliases node just for the label-mac-device,
luckily DTC was smart enough to combine them together in the final DTB.

Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agoairoha: an7581: update partition table for EVB DTS
Christian Marangi [Thu, 9 Apr 2026 09:51:48 +0000 (11:51 +0200)] 
airoha: an7581: update partition table for EVB DTS

The Airoha AN7581 EVB board switched to full UBI support. Update the
partition table to reflect the new implementation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
12 days agoairoha: an7581: generalize eMMC DTS and add Kite variant
Christian Marangi [Thu, 9 Apr 2026 09:49:26 +0000 (11:49 +0200)] 
airoha: an7581: generalize eMMC DTS and add Kite variant

Generalize the eMMC DTS to common node and add a variant with the Kite WiFi
chip installed. Also rename the eMMC model name and add the Eagle name to
it.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
12 days agoairoha: an7581: add specific NPU dtsi and update eMMC and W1700K
Christian Marangi [Thu, 9 Apr 2026 09:38:40 +0000 (11:38 +0200)] 
airoha: an7581: add specific NPU dtsi and update eMMC and W1700K

Add specific DTSI for NPU firmware based on the supported WiFi chip and
update the supported device by including the relevant new DTSI.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
12 days agoath79: wndap360: fix sysupgrade 22769/head
Rosen Penev [Mon, 6 Apr 2026 18:57:03 +0000 (11:57 -0700)] 
ath79: wndap360: fix sysupgrade

BLOCKSIZE is wrong here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22769
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agoath79: wndap360: use lzma-loader for kernel
Rosen Penev [Sat, 4 Apr 2026 23:34:16 +0000 (16:34 -0700)] 
ath79: wndap360: use lzma-loader for kernel

The bootloader on this device is old and supports no lzma. So use
lzma-loader to work around this and get the size smaller so that an
image can actuallly be created and flashed. Because of these size
problems, the last usable version of OpenWrt was 23.05.

This UIMAGE_MAGIC seems to be used by other Netgear devices. Add to
avoid

jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000000: 0x2705 instead

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22769
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agoath79: wndap360: don't pass bootloader args
Rosen Penev [Sun, 5 Apr 2026 06:06:12 +0000 (23:06 -0700)] 
ath79: wndap360: don't pass bootloader args

Stocks args have

console=ttyS0,9600
rootfstype=squashfs

root=31:03
init=/sbin/init
mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-env),
1024k(vmlinux.gz.uImage),6208k(rootfs),512k(var),
64k(manufacturing-data),64k(ART)
rootfstype=squashfs,jffs2

which is wrong and interferes with OpenWrt. Keep the non default console
parameter to have console working properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22769
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agoath79: wndap360: add green LED definition
Rosen Penev [Sat, 4 Apr 2026 00:15:10 +0000 (17:15 -0700)] 
ath79: wndap360: add green LED definition

For running, have it be the green LED as in stock firmware.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22769
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agouboot-env: ath79: add wndap360
Rosen Penev [Sat, 4 Apr 2026 23:33:04 +0000 (16:33 -0700)] 
uboot-env: ath79: add wndap360

This is just a typical setup.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22769
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: convert addr to pn 22830/head
Markus Stockhausen [Tue, 7 Apr 2026 16:22:08 +0000 (18:22 +0200)] 
realtek: mdio: convert addr to pn

Make clear that the driver instructs the hardware via a port and
its number. To be consistent with other refactoring swap variable
addr for pn in this case.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: adapt debug output
Markus Stockhausen [Tue, 7 Apr 2026 16:22:08 +0000 (18:22 +0200)] 
realtek: mdio: adapt debug output

Now that the driver drives multiple busses adapt the debug output
from port based to bus/phy based.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: drop dn attribute
Markus Stockhausen [Tue, 7 Apr 2026 16:22:08 +0000 (18:22 +0200)] 
realtek: mdio: drop dn attribute

The dn attribute was used to register the phys of the mdio bus
individually. With the new multiple busses this is not needed
any longer. Drop it.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: activate multiple busses
Markus Stockhausen [Tue, 7 Apr 2026 16:22:07 +0000 (18:22 +0200)] 
realtek: mdio: activate multiple busses

The mdio controller inside the Realtek switches drives multiple busses.
Until now the driver exposed a flattened single bus (aka port view).
Align to the upstream driver and expose up to 4 busses depending on
the dts definition. For this:

1. Adapt rtmdio_probe() so it calls rtmdio_probe_one() for each child
dts child node that represents a single bus.

2. Adapt rtmdio_probe_one() so it registers a single bus in "full-auto"
mode. No more hacks via fwnode_mdiobus_register_phy() needed.

3. Adapt rtmdio_phy_to_port() so it uses a lookup based on the new
topology.

4. Adapt rtmdio_get_phy_info() for multiple busses.

5. In the DSA driver adapt the mdio controller load check to wait
until all busses have been registered.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: decouple controller setup from bus reset
Markus Stockhausen [Tue, 7 Apr 2026 16:22:07 +0000 (18:22 +0200)] 
realtek: mdio: decouple controller setup from bus reset

Some central controller setup is currently realized in the bus reset
functions. As soon as we have multiple busses this coding will be
called multiple times. Rename the reset() functions to setup_ctrl()
and call that only once before the bus probing.

While we are here harmonize the variable for the bus loops and name
it smi_bus.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: derive polling setup from control structure
Markus Stockhausen [Tue, 7 Apr 2026 16:22:07 +0000 (18:22 +0200)] 
realtek: mdio: derive polling setup from control structure

All configuration helpers have been converted to look at the
control structure. Do the same for setup_polling(). With
this move the call location out of rtmdio_probe_one() into
the parent rtmdio_probe() where it belongs.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: derive phy info from control structure
Markus Stockhausen [Tue, 7 Apr 2026 16:22:07 +0000 (18:22 +0200)] 
realtek: mdio: derive phy info from control structure

For polling setup the driver looks up the atached phy ids with
function rtmdio_get_phy_info(). This derives the data from a
given bus and a port number. While this works for a single bus
the combination of port and bus makes no sense. One is the global
view the other the bus individual view. Change the signature so
the lookup is done globally via ctrl/port.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: provide bidirectional bus lookup
Markus Stockhausen [Tue, 7 Apr 2026 16:22:07 +0000 (18:22 +0200)] 
realtek: mdio: provide bidirectional bus lookup

Add two attributes to the central control and the channel structure.

chan->smi_bus: The index of the selected channel.
ctrl->bus[].mii_bus: Links to all busses

With this ctrl/chan can lookup each others data more easily.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
12 days agorealtek: mdio: rename for_each_phy() to for_each_port()
Markus Stockhausen [Tue, 7 Apr 2026 16:22:07 +0000 (18:22 +0200)] 
realtek: mdio: rename for_each_phy() to for_each_port()

Currently phy and port are basically the same. One bus and each
port has a phy assigned. In the future the driver will make use
of multiple busses. Each of them will have a distinct set of
phys.

To make the iterators clearer use "port" for macros when the
driver must access the hardware independent from the bus. In this
case use "pn" (aka port number) as an iterator variable.

No functional changes.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
13 days agorealtek: add RTL8224 initialization to Realtek driver 22609/head
Damien Dejean [Thu, 17 Jul 2025 14:52:40 +0000 (16:52 +0200)] 
realtek: add RTL8224 initialization to Realtek driver

Adds an initialization sequence for the RTL8224. It relies a lot on magic
values, however it explicitely initializes the SerDes part of the chip.

Signed-off-by: Damien Dejean <dam.dejean@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22609
Signed-off-by: Robert Marko <robimarko@gmail.com>
13 days agorealtek: pcs: rtl930x: enable USXGMII-QX configuration
Jonas Jelonek [Wed, 25 Mar 2026 17:16:53 +0000 (18:16 +0100)] 
realtek: pcs: rtl930x: enable USXGMII-QX configuration

The RTL8224 driver now puts the PHY into the proper mode, but the SerDes
side is still missing. It was deactivated due to a known regression.
Thus, allow USXGMII-QX configuration since both sides should be properly
configured now.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22609
Signed-off-by: Robert Marko <robimarko@gmail.com>
13 days agotreewide: strip trailing whitespace 22840/head
Mieczyslaw Nalewaj [Wed, 8 Apr 2026 07:34:53 +0000 (09:34 +0200)] 
treewide: strip trailing whitespace

Strip trailing whitespace in all code:
find . -type f | grep "\.c$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.h$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.dts$" | xargs sed -i 's/[ \t]\+$//'
find . -type f | grep "\.dtsi$" | xargs sed -i 's/[ \t]\+$//'

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22840
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
13 days agomediatek: filogic: fix EAX17 rootfs hash in FIT node for per-device rootfs builds 22839/head
Jascha Sundaresan [Wed, 8 Apr 2026 07:21:58 +0000 (11:21 +0400)] 
mediatek: filogic: fix EAX17 rootfs hash in FIT node for per-device rootfs builds

When CONFIG_TARGET_PER_DEVICE_ROOTFS is enabled (as in buildbot builds),
the final per-device rootfs is assembled at root.squashfs+pkg=<hash> rather
than root.squashfs. The gen_netgear_rootfs_node.sh script was always hashing
root.squashfs (the base rootfs without device-specific packages), causing the
size and hash in the FIT node to not match the actual rootfs written to the
UBI volume, resulting in boot failure on buildbot-produced images.

Fix by using the per-device rootfs path when TARGET_PER_DEVICE_ROOTFS is set,
consistent with how include/image.mk handles the same distinction elsewhere.

Fixes: 46ab9f3f1c ("filogic: add support for Netgear EAX17")
Signed-off-by: Jascha Sundaresan <flizarthanon@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22839
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2 weeks agobuild: set max-page-size linker flag to match target page size 22800/head
Hauke Mehrtens [Sun, 5 Apr 2026 11:53:32 +0000 (13:53 +0200)] 
build: set max-page-size linker flag to match target page size

ELF binaries embed the maximum page size used during linking in the
PT_LOAD segment alignment. If this value is larger than the actual
system page size, the kernel will still load the binary but wastes
memory due to over-alignment. If it is smaller, the binary may fail
to load or cause incorrect behavior with features like RELRO.

Most architectures use 4KB pages, but loongarch64 uses 16KB pages
(CONFIG_PAGE_SIZE_16KB). Explicitly pass -z max-page-size to the
linker so that binaries are built with the correct page alignment for
the target, avoiding issues with RELRO segment padding and ensuring
correct memory mapping on the target system.

Before binutils 2.39 RELRO sections were padded to common page size
which is 4K on MIPS, with binutils 3.29 the padding was changed to
max page size which is 64K on MIPS. With this change we will pad them to
4K again.

This reduces the size of user space binaries in OpenWrt.
The size of the uncompressed root file system of a mips malta be build
decreased by about 20%.

old file size:
```
$ du -s build_dir/target-mips_24kc_musl/root-malta/
15844 build_dir/target-mips_24kc_musl/root-malta/
```

New file size:
```
$ du -s build_dir/target-mips_24kc_musl/root-malta/
12564 build_dir/target-mips_24kc_musl/root-malta/
```

The size of the image did not decrease much because of the strong
compression used by OpenWrt.

Link: https://github.com/openwrt/openwrt/pull/22800
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agouboot-mediatek: bpi-r4-lite fix emmc frequency 22615/head
Janusz Dziedzic [Tue, 31 Mar 2026 16:20:34 +0000 (18:20 +0200)] 
uboot-mediatek: bpi-r4-lite fix emmc frequency

Use lower emmc frequency.
This fix issue when mmc write, from uboot, failed.

Failed case:
 - we boot from NAND
 - choose "Install bootloader, recovery and production to eMMC"

MMC erase: dev # 0, block # 0, count 1024 ... 1024 blocks erased: OK
MMC write: dev # 0, block # 0, count 1024 ... mmc write failed
0 blocks written: ERROR

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@holisticon.pl>
Link: https://github.com/openwrt/openwrt/pull/22615
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoramips: refresh patches 22810/head
Mieczyslaw Nalewaj [Mon, 6 Apr 2026 11:36:25 +0000 (13:36 +0200)] 
ramips: refresh patches

Refreshed patches by running: make target/linux/refresh

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22810
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoramips: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18 22831/head
Mieczyslaw Nalewaj [Tue, 7 Apr 2026 17:12:37 +0000 (19:12 +0200)] 
ramips: restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 for 6.18

Restore CONFIG_PAGE_BLOCK_MAX_ORDER=10 in ramips 6.18 config fragments
to fix build failures where PAGE_BLOCK_MAX_ORDER was undefined.

Support for Linux 6.18 on ramips was added after this OpenWrt change:
https://github.com/openwrt/openwrt/commit/ac0cb87a453698efc6c812e4f27cadbeb208f14e.
Before that integration, the kernel option CONFIG_PAGE_BLOCK_MAX_ORDER=10
was provided in target/linux/generic/config-6.18 and applied broadly.
After the ramips 6.18 integration the generic fragment no longer supplied
this option for ramips targets, which caused some backported code paths
and drivers to assume PAGE_BLOCK_MAX_ORDER was defined and led
to compilation failures.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/22831
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotools/cmake: update to 4.3.1 22693/head
Jack Sun [Mon, 30 Mar 2026 13:39:23 +0000 (21:39 +0800)] 
tools/cmake: update to 4.3.1

Release notes:https://cmake.org/cmake/help/latest/release/4.3.html

Refresh patches:
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
- 160-disable_xcode_generator.patch

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22693
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agomediatek: device tree overlay for BPI-R4 with BE14 module 22447/head
Daniel Pawlik [Mon, 16 Mar 2026 13:26:51 +0000 (14:26 +0100)] 
mediatek: device tree overlay for BPI-R4 with BE14 module

Some Banana Pi BPI-R4 BE14 WiFi modules are shipped with zeroed
tx_power fields in EEPROM (2G/5G/6G). This leads to low transmit power
on affected bands.
This overlay provides known-good EEPROM data (including correct tx_power
values for 2G/5G/6G bands) dumped from a working BE14 module.

To enable BE14 overlay, add into u-boot bootconf_extra
parameter: 'mt7988a-bananapi-bpi-r4-wifi-be14'.
You can use example script:

    overlay="mt7988a-bananapi-bpi-r4-wifi-be14"
    current="$(fw_printenv -n bootconf_extra 2>/dev/null)"
    if [ -n "${current}" ]; then
        fw_setenv bootconf_extra "${current}#${overlay}"
    else
        fw_setenv bootconf_extra "${overlay}"
    fi

Earlier proposal proposed in [1] was fallback to default values if
invalid EEPROM content is detected.

[1] https://github.com/openwrt/openwrt/pull/19503/

Fixes: https://github.com/openwrt/openwrt/issues/17489
Signed-off-by: Daniel Pawlik <pawlik.dan@gmail.com>
2 weeks agoqualcommax: ipq807x: label mac for Linksys MX5300 22801/head
Steffen Förster [Sun, 5 Apr 2026 16:47:41 +0000 (18:47 +0200)] 
qualcommax: ipq807x: label mac for Linksys MX5300

The correct label mac is needed in a downstream project.

Signed-off-by: Steffen Förster <nemesis@chemnitz.freifunk.net>
Link: https://github.com/openwrt/openwrt/pull/22801
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: dsa: drop priv->id 22794/head
Markus Stockhausen [Sun, 5 Apr 2026 08:38:38 +0000 (10:38 +0200)] 
realtek: dsa: drop priv->id

There is only one check left for that attribute in rtldsa_port_mdb_add().
Split the consumer into device specific implementations and remove the
attribute from the private structure.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22794
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: dsa: drop soc_info usage
Markus Stockhausen [Sun, 5 Apr 2026 08:17:00 +0000 (10:17 +0200)] 
realtek: dsa: drop soc_info usage

The soc_info structure should only be used in the mach setup
functions. Drop its usage in the dsa qos functions. Instead
derive the data from the das private structure.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22794
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: dsa: fix ingress priority setter
Markus Stockhausen [Sun, 5 Apr 2026 08:11:50 +0000 (10:11 +0200)] 
realtek: dsa: fix ingress priority setter

There are two issues with the current setter.

- It is only called for RTL839x
- It unconditionally overwrites the register and not only
  the needed bits.

Fix that by renaming it to the right prefix and using a
register write based on mask.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22794
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: dsa: remove family check from priority settings
Markus Stockhausen [Sun, 5 Apr 2026 08:03:41 +0000 (10:03 +0200)] 
realtek: dsa: remove family check from priority settings

Split the existing generic priority setters with family
checks into two dedicated paths.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22794
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: dsa: drop dsa builtin mdio bus 22799/head
Markus Stockhausen [Sun, 5 Apr 2026 16:23:53 +0000 (18:23 +0200)] 
realtek: dsa: drop dsa builtin mdio bus

For a long time the dsa driver has been providing a builtin mdio bus
via dsa default attribute user_mii_bus. This simply uses read/write
commands from the standard realtek otto bus (aka parent). The reason
has always been unclear.

Looking around the kernel 6.18 codebase there is only one case where
this is really needed. The only consumer is dsa_user_phy_setup().

ret = phylink_of_phy_connect(dp->pl, port_dn, phy_flags);
if (ret == -ENODEV && ds->user_mii_bus) {
/* We could not connect to a designated PHY or SFP, so try to
 * use the switch internal MDIO bus instead
 */
ret = dsa_user_phy_connect(user_dev, dp->index, phy_flags);
}

Luckily the phylink_of_phy_connect() works fine and the internal bus
access is not needed at all. No need to keep the bus alive. Drop it.

While we are here fix the error handling issue of this code

if (!of_device_is_available(dn))
ret = -ENODEV;

Returncode was set to error but never handed back to the caller.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22799
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agotreewide: use -n for fw_[saveprint]env 22806/head
Rosen Penev [Sat, 4 Apr 2026 23:12:49 +0000 (16:12 -0700)] 
treewide: use -n for fw_[saveprint]env

Using awk and cut to simulate -n is pointless.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22806
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agokernel: modules: add hinic3 support 22768/head
Tan Zien [Fri, 3 Apr 2026 21:35:44 +0000 (05:35 +0800)] 
kernel: modules: add hinic3 support

Add support for Huawei 3rd gen NIC

Signed-off-by: Tan Zien <nabsdh9@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22768
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agox86: enable Intel MID serial for Denverton SoCs 22739/head
Cristian Sloberg [Thu, 2 Apr 2026 06:57:09 +0000 (08:57 +0200)] 
x86: enable Intel MID serial for Denverton SoCs

Enable CONFIG_SERIAL_8250_MID in the generic x86 configuration.

This enables hardware serial console access on Intel Atom C3000
(Denverton) platforms, which rely on the High-Speed UART driver.
It also benefits other Intel MID platforms across the x86
architecture.

Signed-off-by: Cristian Sloberg <crilleslo@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22739
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: cake_mq: expose sync_time parameter via debugfs 22380/head
Jonas Köppeler [Wed, 11 Mar 2026 17:14:52 +0000 (18:14 +0100)] 
kernel: cake_mq: expose sync_time parameter via debugfs

This patch enables for the configuration of the sync_time parameter.
The value of the sync_time needs to be specified in nanoseconds.
The default value is 200us (200 000 ns).
This is especially helpful to get feedback from users about suitable
values. Once a solid solution is found this patch can be removed.

Signed-off-by: Jonas Köppeler <j.koeppeler@tu-berlin.de>
Link: https://github.com/openwrt/openwrt/pull/22380
[Add patch to kernel 6.18 too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotools: e2fsprogs: update to version 1.47.4 22415/head
John Audia [Sat, 14 Mar 2026 12:20:26 +0000 (08:20 -0400)] 
tools: e2fsprogs: update to version 1.47.4

Changelog:
https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.47.4

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/22415
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoe2fsprogs: update to version 1.47.4
John Audia [Sat, 14 Mar 2026 12:19:36 +0000 (08:19 -0400)] 
e2fsprogs: update to version 1.47.4

Changelog: https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.47.4

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/22415
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agomediatek: add Huasifei WH3000 Pro NAND support 22694/head
Fil Dunsky [Mon, 30 Mar 2026 14:07:28 +0000 (17:07 +0300)] 
mediatek: add Huasifei WH3000 Pro NAND support

This commit adds support for Huasifei WH3000 Pro NAND version.
There is an eMMC already supported in OpenWrt. The only difference is NAND chip.
This commit adds common .dtsi and separate .dts
for eMMC and nand versions.

**Huasifei WH3000 Pro NAND**
Portable Wi-Fi 6 travel router based on MediaTek MT7981A SoC. MT7981B+MT7976CN+RTL8221B Dual Core 1.3GHZ with 5G modems module and PWM Fan.

**Specifications**
SoC: Filogic 820 MT7981A (1.3GHz)
RAM: DDR4 1GB
Flash: 256mb Winbond SPI NAND
WiFi: 2.4GHz and 5GHz with 3 antennas
Ethernet:
1x WAN (10/100/1000M)
1x LAN (10/100/1000/2500M)
USB: 1x USB 3.0 port
Two buttons: reset and mode (BTN_0)
LEDS: blue, red, blue+red=pink
UART: 3.3V, TX, RX, GND / 115200 8N1
M.2 (WWAN) slot

**Installation via U-Boot rescue**
1. Set static IP 192.168.1.2 on your computer and default route as 192.168.1.1
2. Connect to the WAN port and hold the reset button while booting the device.
3. Wait for the LED to blink 5 times, and release the reset button.
4. Open U-boot web page on your browser at http://192.168.1.1
5. Select the OpenWRT sysupgrade image, upload it, and start the upgrade.
6. Wait for the router to flash the new firmware.
7. Wait for the router to reboot itself.

**Installation via sysupgrade**
Just flash sysupgrade file via [LuCI upgrade page](http://192.168.1.1/cgi-bin/luci/admin/system/flash) without saving the settings.

**Installation via SSH**
Upload the file to the router `/tmp` directory, `ssh root@192.168.1.1` and issue a command:
```
sysupgrade -n /tmp/openwrt-mediatek-filogic-huasifei_wh3000-pro-nand-squashfs-sysupgrade.bin
```

Signed-off-by: Fil Dunsky <filipp.dunsky@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22694
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agomwlwifi: add patch series for kernel 6.18 compatibility 22775/head
Stefan Kalscheuer [Fri, 3 Apr 2026 15:15:25 +0000 (17:15 +0200)] 
mwlwifi: add patch series for kernel 6.18 compatibility

Migrate timer handling (removed in 6.13) and netdev dummy initialization
(removed in 6.16) to new methods with guards to not break older kernels.

This resolves compilation errors due to missing del_timer_sync(),
from_timer() and init_dummy_netdev().

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Link: https://github.com/openwrt/openwrt/pull/22775
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agombedtls: update to 3.6.6 22787/head
Hauke Mehrtens [Sat, 4 Apr 2026 23:32:36 +0000 (01:32 +0200)] 
mbedtls: update to 3.6.6

This version fixes some security problems:
 * Client impersonation while resuming a TLS 1.3 session
   (CVE-2026-34873)
 * Entropy on Linux can fall back to /dev/urandom (CVE-2026-34871)
 * PSA random generator cloning (CVE-2026-25835)
 * Compiler-induced constant-time violations (CVE-2025-66442)
 * Null pointer dereference when setting a distinguished name
   (CVE-2026-34874)
 * Buffer overflow in FFDH public key export (CVE-2026-34875)
 * FFDH: lack of contributory behaviour due to improper input validation
   (CVE-2026-34872)
 * Signature Algorithm Injection (CVE-2026-25834)
 * CCM multipart finish tag-length validation bypass (CVE-2026-34876)
 * Risk of insufficient protection of serialized session or context data
   leading to potential memory safety issues (CVE-2026-34877)
 * Buffer underflow in x509_inet_pton_ipv6() (CVE-2026-25833)

Changelog: https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.6

Size increases by 470 bytes on aarch64:
343995 bin/packages/aarch64_generic/base/libmbedtls21-3.6.5-r1.apk
344465 bin/packages/aarch64_generic/base/libmbedtls21-3.6.6-r1.apk

Link: https://github.com/openwrt/openwrt/pull/22787
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoutil-linux: add column utility 22782/head
Eric Fahlgren [Sat, 4 Apr 2026 16:52:13 +0000 (09:52 -0700)] 
util-linux: add column utility

Include the column utility to allow simple formatting of columnar
output.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22782
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agotools/xz: update to 5.8.3 22790/head
Shiji Yang [Sun, 5 Apr 2026 01:06:23 +0000 (09:06 +0800)] 
tools/xz: update to 5.8.3

This includes a fix for (CVE-2026-34743).

Release Notes:
https://github.com/tukaani-project/xz/releases/tag/v5.8.3

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22790
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agoethtool: update to 6.19 22780/head
Nick Hainke [Sat, 4 Apr 2026 15:38:48 +0000 (17:38 +0200)] 
ethtool: update to 6.19

Version 6.19 - Feb 14, 2026
* Feature: support HW timestamp configuration (--set-hwtimestamp-cfg)
* Feature: display HW timestamp source (-T)
* Feature: support PLCA notifications (--get/set-plca-cfg)
* Feature: add PSE priority management support (--show/set-pse)
* Feature: support PSE notifications (--show/set-pse)
* Feature: support configuring RSS on IPv6 Flow Label (-n/-N)
* Feature: support FEC bit error histograms (--show-fec)
* Feature: register dump decoding for TI K3 CPSW and its ALE table (-d)
* Fix: fix missing headers in text output
* Fix: fix print_string when the value is NULL (-Werror=format-security)
* Fix: fix JSON output of SFP diagnostics
* Fix: fix duplicated JSON keys in module info
* Misc: clarify that symmetric RSS may be on by default (-x/-X)
* Misc: add AppStream metainfo file to %files section

Link: https://github.com/openwrt/openwrt/pull/22780
Signed-off-by: Nick Hainke <vincent@systemli.org>
2 weeks agoramips: enable 6.18 testing kernel 21418/head
Mieczyslaw Nalewaj [Tue, 6 Jan 2026 09:42:57 +0000 (10:42 +0100)] 
ramips: enable 6.18 testing kernel

The ramips now supports 6.18 kernel as testing.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: mt7621_nand: fix MODULE_DEVICE_TABLE reference
Mieczyslaw Nalewaj [Wed, 7 Jan 2026 07:09:29 +0000 (08:09 +0100)] 
ramips: mt7621_nand: fix MODULE_DEVICE_TABLE reference

The MODULE_DEVICE_TABLE macro was using an incorrect parameter 'match'
instead of the actual device table name 'mt7621_nfc_id_table'.

This fixes the reference to use the correct symbol name, ensuring
proper device table registration for module autoloading.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: mtk_eth_soc: handle frag_cache on Linux >= 6.13
Mieczyslaw Nalewaj [Tue, 6 Jan 2026 10:14:37 +0000 (11:14 +0100)] 
ramips: mtk_eth_soc: handle frag_cache on Linux >= 6.13

Fix fe_clean_rx to handle the changed frag_cache layout on newer kernels.

For kernels >= 6.13 the fragment cache needs to be converted from its
encoded_page value instead of using the old va field. Add an ifdef
to use frag_cache.encoded_page & PAGE_MASK and virt_to_page for those
kernels, keep the old path for older kernels.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: 6.18: refresh patches
Mieczyslaw Nalewaj [Tue, 6 Jan 2026 10:04:07 +0000 (11:04 +0100)] 
ramips: 6.18: refresh patches

Refreshed patches for ramips/patches-6.18 by running
make target/linux/refresh

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: 6.18: update 802-GPIO-MIPS-ralink patch
Mieczyslaw Nalewaj [Tue, 6 Jan 2026 10:10:22 +0000 (11:10 +0100)] 
ramips: 6.18: update 802-GPIO-MIPS-ralink patch

Replace previous bgpio_init usage with a full gpio_chip registration so the driver
integrates cleanly with the kernel GPIO core.
Add drivers/gpio/gpio-ralink.c implementing a gpio_chip with:
 - get/set, direction_input/direction_output, get_direction
 - get_multiple/set_multiple to support efficient multi-bit ops
 - DT handling for determining ngpios (reads "ngpios" or falls back to gpio-ranges)
 - MAX_NGPIOS cap and safe defaults

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: 6.18: update 831-03-mmc-mtk-sd patch
Mieczyslaw Nalewaj [Tue, 6 Jan 2026 10:20:21 +0000 (11:20 +0100)] 
ramips: 6.18: update 831-03-mmc-mtk-sd patch

Update patch 831-03-mmc-mtk-sd-use-default-PATCH_BIT1-2-values-for-mt762.patch
to a newer version compatible with kernel 6.18.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: 6.18: manually rebuild patches
Mieczyslaw Nalewaj [Tue, 6 Jan 2026 10:00:39 +0000 (11:00 +0100)] 
ramips: 6.18: manually rebuild patches

Manually rebuild patches:
 - 102-01-pwm-mediatek-set-mt7628-pwm45_fixup-flag-to-false.patch
 - 102-02-pwm-mediatek-correct-mt7628-clock-source-setting.patch
 - 312-MIPS-ralink-add-cpu-frequency-scaling.patch
 - 810-uvc-add-iPassion-iP2970-support.patch
 - 821-SPI-ralink-add-Ralink-SoC-spi-driver.patch
 - 831-01-mmc-mtk-sd-add-tuning-parameters-for-legacy-MIPS-MT7.patch
 - 831-02-mmc-mtk-sd-disable-auto-CMD23-support-for-mt7620.patch
 - 835-asoc-add-mt7620-support.patch

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: 6.18: remove obsolete patches
Mieczyslaw Nalewaj [Mon, 6 Apr 2026 07:41:38 +0000 (09:41 +0200)] 
ramips: 6.18: remove obsolete patches

Remove obsolete patches already included in kernel 6.18.
 - 001-v6.13-clocksource-drivers-ralink-Add-Ralink-System-Tick-Co.patch[1]
 - 002-03-v6.13-clk-ralink-mtmips-add-mmc-related-clocks-for-SoCs-MT.patch[2]
 - 003-v6.13-mmc-mtk-sd-Implement-Host-Software-Queue-for-eMMC.patch[3]
 - 004-v6.15-dt-bindings-clock-add-clock-definitions-for-Ralink-S.patch[4]
 - 860-ramips-add-eip93-driver.patch[5]
 - 900-pci-rt2880-static-pcibios_init.patch[6]
 - 931-mips-ralink-add-missing-include.patch[7]

[1] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=cd5375610baadd3a0842a9e83ca502684f938be8
[2] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=198675bbc03d437fb80a35d781ad13d622d0ff68
[3] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=7e9ddd7d45897b15a64c4a3c88f2f7909bf49749
[4] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=adb2424d0d05506c2f36fcba66101d34f7409e45
[5] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=9739f5f93b7806a684713ba42e6ed2d1df7c8100
[6] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=de94259d064814b7eacd6d1f4b26e934eed02590
[7] https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.18.y&id=f13e645e15f1a4a33f0709844dac1a962b335b16

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agoramips: 6.18: update kernel symbols
Mieczyslaw Nalewaj [Mon, 5 Jan 2026 18:35:51 +0000 (19:35 +0100)] 
ramips: 6.18: update kernel symbols

Remove symbols no longer present in version 6.18,
add new 6.18 kernel symbols.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agokernel/ramips: restore files for v6.12
Mieczyslaw Nalewaj [Mon, 6 Apr 2026 07:41:28 +0000 (09:41 +0200)] 
kernel/ramips: restore files for v6.12

This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.

For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agokernel/ramips: create files for v6.18 (from v6.12)
Mieczyslaw Nalewaj [Mon, 6 Apr 2026 07:41:25 +0000 (09:41 +0200)] 
kernel/ramips: create files for v6.18 (from v6.12)

This is an automatically generated commit.

When doing `git bisect`, consider `git bisect --skip`.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/21418
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: mdio: add phy to port lookup 22731/head
Markus Stockhausen [Wed, 1 Apr 2026 16:51:47 +0000 (18:51 +0200)] 
realtek: mdio: add phy to port lookup

The Realtek mdio bus operations are based on the port number. As
of now the driver exposes a single bus with a 1:1 mapping between
phy and port. This will change in the future when the driver
exposes multiple busses. This will need a mapping - e.g.

- bus 0, phy 23 -> read/write port 23
- bus 1, phy 0 -> read/write port 24

Provide a rtmdio_phy_to_port() indirection function that will
lookup the port number based on a bus and a phy. For now it
will only run some basic sanity checks and return the given
input address (because of 1:1 mapping).

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22731
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: mdio: add mutex for multiple busses
Markus Stockhausen [Wed, 1 Apr 2026 15:43:11 +0000 (17:43 +0200)] 
realtek: mdio: add mutex for multiple busses

When the mdio driver gets enhanced for multiple busses it must
snchronize reads/writes to the single controller. Add a lock
to the control structure and guard the critical operations.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22731
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: eth: convert set_rx_mode() to regmap 22757/head
Markus Stockhausen [Fri, 3 Apr 2026 10:25:59 +0000 (12:25 +0200)] 
realtek: eth: convert set_rx_mode() to regmap

Make use of regmap in all device specific set_rx_mode() functions.
Adapt the constant prefixes to the rest of the driver. While we
are here:

- align the RTL931x function name with the other targets
- replace constants with GENMASK()
- use new lowercase style for hexadecimal values

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22757
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agorealtek: eth: introduce regmap
Markus Stockhausen [Fri, 3 Apr 2026 10:04:38 +0000 (12:04 +0200)] 
realtek: eth: introduce regmap

The ethernet driver currently uses the legacy sw() macros. Add a
regmap to the driver that is derived from the parent mfd (like in
the mdio drivers). As a first consumer make use of that in the IRQ
functions.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22757
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 weeks agokernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 22730/head
Shiji Yang [Fri, 3 Apr 2026 14:33:38 +0000 (22:33 +0800)] 
kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic

This symbol is selected by CONFIG_BPF, which was already enabled
on generic config-6.18.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic
Shiji Yang [Fri, 3 Apr 2026 14:30:38 +0000 (22:30 +0800)] 
kernel: 6.12: move CONFIG_CRYPTO_LIB_SHA1 to generic

This symbol is selected by CONFIG_BPF, which was already enabled
on generic config-6.12.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: enable CRYPTO_RNG2 and CRYPTO_SIG2 by default
Shiji Yang [Fri, 3 Apr 2026 13:46:44 +0000 (21:46 +0800)] 
kernel: enable CRYPTO_RNG2 and CRYPTO_SIG2 by default

These two symbols are selected by CONFIG_CRYPTO_MANAGER2[1-2], which
was already enabled on generic config-{6.12,6.18}.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=fb28fabfad332a731423ffdd2be122b73ea90f1e
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=6cb8815f41a966b217c0d9826c592254d72dcc31
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: 6.18: move CONFIG_PAGE_BLOCK_MAX_ORDER to subtargets
Shiji Yang [Wed, 1 Apr 2026 11:28:54 +0000 (19:28 +0800)] 
kernel: 6.18: move CONFIG_PAGE_BLOCK_MAX_ORDER to subtargets

This symbol depends on the specific CPU type, so we should not
set it globally.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: 6.18: disable CONFIG_GENERIC_BUILTIN_DTB
Shiji Yang [Wed, 1 Apr 2026 11:24:03 +0000 (19:24 +0800)] 
kernel: 6.18: disable CONFIG_GENERIC_BUILTIN_DTB

This symbol is selected by CONFIG_BUILTIN_DTB. However, we didn't
enable it in generic config-6.18.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2 weeks agokernel: reorganize config files
Shiji Yang [Tue, 31 Mar 2026 23:28:58 +0000 (07:28 +0800)] 
kernel: reorganize config files

Automatically refreshed by `./scripts/kconfig-reorder.sh`.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22730
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>