Commit Graph

56 Commits

Author SHA1 Message Date
Shiji Yang
71813b0d03 generic: crypto: fix jitterentropy initialization failed issue
Sync jitterentropy source code with linux-6.12 to solve the
issue of jitterentropy initialization failed:

[ 9.523489] jitterentropy: Initialization failed with host not compliant with requirements: 9
[ 9.661916] kmodloader: 1 module could not be probed
[ 9.662377] kmodloader: - jitterentropy_rng - 0

In linux upstream commit cf27d9475f37 ("crypto: jitter - use
permanent health test storage"), when FIPS crypto is disabled,
the health test results are always explicitly skipped. That means
it will never return error code 9 (health test failed) again.

Fixes: https://github.com/openwrt/openwrt/issues/16684
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18399
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-04-10 11:59:41 +08:00
Álvaro Fernández Rojas
efbab19385 generic: backport gpio-regmap ops patch
Some checks failed
OpenWrt-CI / Build OpenWrt Firmware (push) Failing after 3s
This patch has been accepted for linux v6.14
so we can move it from pending to backport.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-04-02 22:10:16 +08:00
Martin Schiller
129f2e50f1 generic: backport some copper SFP fixes
Some checks failed
OpenWrt-CI / Build OpenWrt Firmware (push) Failing after 6s
This fixes the handling of some FS copper SFP modules using
the RollBall protocol and needing some extra treatment.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2025-03-29 22:10:38 +08:00
coolsnowwolf
75f99ed4fd kernel: bump 6.6 to 6.6.82 2025-03-13 12:39:59 +08:00
Felix Fietkau
81419528c1 kernel: backport MHI patch required by an upcoming mac80211 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-02-16 16:22:39 +08:00
Luiz Angelo Daros de Luca
0263cb3835 kernel: netdevices: add realtek DSA modules
Uses upstream DSA switch modules (rtl8365mb, rtl8366), similar to
RTL8367C and rtl8366rb swconfig drivers.

The package dependencies exclude targets built without kernel CONFIG_OF.

It also fixes the rtl8366rb LED support.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-14 20:10:08 +08:00
Christian Marangi
d5b41ff34f generic: move Qcom SNAND driver to backports
Add patch to fix Qcom SNAND driver and move the SNAND patches to
backports directory as they are shared between qualcommax and qualcommbe
target.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-02-09 17:00:16 +08:00
Daniel Golle
3b3ed936ec generic: net: phy: mxl-gpy: add support for PHY LEDs
Add driver support for PHY LEDs for MaxLinear/Intel GPY Ethernet PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-03 23:02:26 +08:00
Daniel Golle
5c7361ebdc generic: net: phy: intel-way: add support for PHY LEDs
Add driver support for PHY LEDs for MaxLinear/Intel/Lantiq XWAY
Ethernet PHYs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-02-03 23:00:09 +08:00
Christian Marangi
eda8bc8395 generic: backport BLOCK OF support patch
Backport BLOCK OF support patch merged upstream and refresh pending
BLOCK patches.

This is a new way to declare partition table for BLOCK device (eMMC
currently supported) with the use of DTS.

Current pending patch are adapted to not cause regression with current
downstream implementation of a similar functionality.

Also enable the new OF_PARTITION config by default.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-01-10 20:30:02 +08:00
Marco von Rosenberg
b20c1bceba generic: fix BCM54612E ethernet backport patch
This backport patch inserted suspend/resume callbacks
for the wrong PHY driver.

Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-12-24 22:36:03 +08:00
Beginner
23d466fba0
kernel: bump 6.6 to 6.6.66 (#13214) 2024-12-16 20:30:22 +08:00
Bohdan Chubuk
d6318bba0f generic: mtd: spinand: add support for F35SQA001G
Add support for FORESEE F35SQA001G SPI NAND.

Similar to F35SQA002G, but differs in capacity.
Datasheet:
  -  https://cdn.ozdisan.com/ETicaret_Dosya/704795_871495.pdf

Tested on Xiaomi AX3000T flashed with OpenWRT.

Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-12-14 22:40:08 +08:00
Bohdan Chubuk
79545017e8 generic: mtd: spinand: add support for F35SQA002G
Add support for FORESEE F35SQA002G SPI NAND.
Datasheet:
  https://www.longsys.com/uploads/LM-00006FORESEEF35SQA002GDatasheet_1650183701.pdf

Refresh all affected patch with make target/linux/refresh.

Signed-off-by: Bohdan Chubuk <chbgdn@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-12-14 22:35:30 +08:00
Beginner
fd9b9cc78b
kernel: refresh 6.6 patches (#13179) 2024-12-07 15:13:57 +08:00
Álvaro Fernández Rojas
446d071896 generic: backport upstream r8169 patches
These patches have been added in linux v6.12 release.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-11-27 21:40:20 +08:00
coolsnowwolf
85d99596b4 generic: fix netfilter xtables NFLOG and MARK not load on IPv4 on linux 6.6 2024-11-22 23:57:01 +08:00
coolsnowwolf
20b3f20e53 kernel: bump 6.6 to 6.6.61 2024-11-17 23:23:59 +08:00
John Audia
44a23972ec kernel: bump 6.6 to 6.6.60
All other patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2024-11-15 16:40:05 +08:00
Beginner
eba03073ab kernel: bump 6.6 to 6.6.59 2024-11-15 16:18:19 +08:00
Daniel Golle
897572506f generic: phy: aquantia: correctly describe LED polarity
Backport newly introduced support for 'active-high' property and use
it to correctly implement polarity assignment for Aquantia PHY LEDs.
Previously the 'active-low' property was used to switch a LED PIN to
active-high ("drive VDD" in Aquantia-speak) mode.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-01 13:00:09 +08:00
Robert Marko
e5c20ddcd0 generic: add fix for AQR113 PMD Global Transmit Disable bit
PMD Global Transmit Disable bit should be cleared for normal operation.
This should be HW default, however I found that on Asus RT-AX89X that uses
AQR113C PHY and firmware 5.4 this bit is set by default.

With this bit set the AQR cannot achieve a link with its link-partner and
it took me multiple hours of digging through the vendor GPL source to find
this out, so lets always clear this bit during .config_init() to avoid a
situation like this in the future.

aqr107_wait_processor_intensive_op() is moved up because datasheet notes
that any changes to this bit are processor intensive.

This is a modified version of patch that got merged upstream as AQR113C
has a separate config_init() upstream.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-01 12:38:20 +08:00
Beginner
ce88975693
kernel: bump 6.6 to 6.6.58 (#12593) 2024-10-24 22:16:05 +08:00
Beginner
e325c0a2db
kernel: bump 6.6 to 6.6.57 (#12556) 2024-10-20 18:20:19 +08:00
Daniel Golle
b3eded6f1c generic: phy: aquantia: move accepted patches to backport-6.6
Move patches accepted upstream from pending-6.6 to backport-6.6.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-10-19 21:29:16 +08:00
Beginner
ecaf84009c
kernel: bump 6.6 to 6.6.56 (#12530) 2024-10-12 10:10:41 +08:00
Mieczyslaw Nalewaj
57abb30ed3 generic: mtd: winbond: more serial NAND flash types
Add support for W25N01JW, W25N02JWZEIF, W25N512GW, W25N02KWZEIR and W25N01GWZEIG.
Add support for W25N04KV.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-10-09 22:20:09 +08:00
Beginner
6df0b2d9f4
kernel: bump 6.6 to 6.6.54 (#12519) 2024-10-05 01:55:15 +08:00
coolsnowwolf
6dc420855a kernel: bump 6.6 to 6.6.52 2024-09-19 22:24:09 +08:00
John Audia
530265022e kernel: bump 6.6 to 6.6.50 (#16351)
All patch automatically rebased.

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-09-12 22:40:09 +08:00
Álvaro Fernández Rojas
83273215e8 generic: 6.6: backport upstream r8169 patches
- improve RTL8411b phy-down fixup
- remove not needed check in rtl_fw_write_firmware
- remove multicast filter limit
- improve handling task scheduling
- simplify EEE handling
- simplify code by using core-provided pcpu stats allocation
- add generic rtl_set_eee_txidle_timer function
- support setting the EEE tx idle timer on RTL8168h
- add support for returning tx_lpi_timer in ethtool get_eee
- annotate writes on dev->mtu from ndo_change_mtu()
- disable interrupt source RxOverflow
- remove detection of chip version 11 (early RTL8168b)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-09-08 22:08:04 +08:00
Álvaro Fernández Rojas
821b80c796 generic: 6.6: backport upstream Realtek PHY patch
- Fix setting of PHY LEDs Mode B bit on RTL8211F.
- Rename pending Realtek PHY patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-09-07 21:16:17 +08:00
Álvaro Fernández Rojas
92ccb72981 generic: 6.6: backport realtek phy patches from 6.11
- add support for rtl8224 2.5Gbps PHY
- add support for PHY LEDs on RTL8211F

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-09-06 23:28:22 +08:00
Álvaro Fernández Rojas
bbe8198ea5 generic: 6.6: backport upstream RealTek PHY patches
Replace downstream RealTek PHY patches with backported ones.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-09-05 22:00:09 +08:00
aakkll
a6c9d54925 kernel: bump 6.6 to 6.6.46 and update config (#12413) 2024-08-17 18:40:01 +08:00
John Audia
062d85f8fd kernel: bump 6.6 to 6.6.40 (#15956)
All other patches automatically rebased.

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-07-23 22:00:08 +08:00
Daniel Golle
e693552f7f generic: 6.6: mtk_eth_soc: import accepted patches
Import two imported patches accepted upstream.
Move from pending:
 - net: ethernet: mtk_eth_soc: implement .{get,set}_pauseparam ethtool ops

Initial import:
 - net: ethernet: mtk_ppe: Change PPE entries number to 16K

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-08 11:30:46 +08:00
Daniel Golle
ded1993bd6 generic: 6.6: mtk_eth_soc: add support for flow-control settings
Add patch implementing operations to get and set flow-control link
parameters of mtk_eth_soc via ethtool.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-08 11:25:29 +08:00
Martin Schiller
a0cb802ac6 generic: 6.6: backport fix for broken cmdline "nosmp" and "maxcpus=0"
This backports the fix for the broken "nosmp" and "maxcpus=0" cmdline
params.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Link: https://github.com/openwrt/openwrt/pull/15811
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-07-07 22:23:24 +08:00
Daniel Golle
487e180766 generic: 6.6: (re-)add support multiple PPE to mtk_eth_soc
Now that the issue with WED has been sorted out, re-add support for
multiple PPE to the mtk_eth_soc driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-29 22:56:13 +08:00
coolsnowwolf
b75357d1a0 generic: sync kernel 6.6 from upstream 2024-06-27 15:57:09 +08:00
Beginner
de0b0aa0b7
kernel: bump 6.6 to 6.6.34 (#12252) 2024-06-21 10:01:05 +08:00
Daniel Golle
176eb7d8ef generic: 6.6: net: sfp-bus: fix SFP mode detect from bitrate
Backport commit fixing detection of SFP modules which has been broken
since Linux 6.4 for some modules.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-06-11 23:00:24 +08:00
Beginner
bcbc08ab45
kernel: bump 6.6 to 6.6.31 (#12164)
delete target/linux/generic/backport-6.6/600-v6.9-01-net-gro-parse-ipv6-ext-headers-without-frag0-invalid.patch
 delete target/linux/generic/backport-6.6/600-v6.9-02-net-gro-fix-udp-bad-offset-in-socket-lookup-by-addin.patch
 delete target/linux/generic/backport-6.6/600-v6.9-03-net-gro-add-flush-check-in-udp_gro_receive_segment.patch
 delete target/linux/generic/backport-6.6/816-v6.7-0002-nvmem-add-explicit-config-option-to-read-old-syntax-.patch
 delete target/linux/generic/pending-6.6/681-net-bridge-fix-multicast-to-unicast-with-fraglist-GS.patch
 delete target/linux/generic/pending-6.6/682-net-core-reject-skb_copy-_expand-for-fraglist-GSO-sk.patch
 delete target/linux/generic/pending-6.6/684-net-bridge-fix-corrupted-ethernet-header-on-multicas.patch
2024-05-18 15:50:32 +08:00
coolsnowwolf
e5d8feddc3 kernel: backport upstream GRO fixes 2024-05-05 14:23:46 +08:00
Beginner
fcd30851f7
kernel: bump 6.6 to 6.6.28 (#12106) 2024-04-30 23:32:40 +08:00
Felix Fietkau
bdcee653dc kernel: backport flow offload pppoe fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-04-30 10:00:10 +08:00
Beginner
c44b8f56de
kernel: bump 6.6 to 6.6.27 (#12074)
* kernel: bump 6.6 to 6.6.27

* kernel: Reorder kernel 6.6 config
2024-04-14 23:37:18 +08:00
Daniel Golle
7e90035c77 generic: 6.6: backport support for SDX75-based MHI 5G modems
Also backport most recent MHI modem additions to Linux 6.6.
Adds support for generic SDX75-based modems.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-04-06 19:35:31 +08:00
Beginner
7d7e578142
kernel: bump 6.6 to 6.6.24 (#12047) 2024-04-04 00:10:16 +08:00