Tianling Shen
b5e01b2571
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2024-03-16 13:53:37 +08:00
Daniel Golle
5c786dcb2b
kernel: hack: support inverted LEDs on MaxLinear GPY211 PHY
...
Add downstream DT property to setup the PHY LEDs of the MaxLinear
GPY211 PHY in such way that the VDD of the LED is driven by the SoC
pin rather than the GND (which is the default).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 90fbec89be )
[removed patches for kernel 6.1]
Signed-off-by: Tom Herbers <mail@tomherbers.de>
2024-03-15 23:28:14 +01:00
Tianling Shen
b9ef43ac2f
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2024-03-15 14:47:41 +08:00
Daniel Golle
82e2d3478a
generic: mtk_eth_soc: fix PPE hanging issue
...
A patch to resolve an issue was found in MediaTek's GPL-licensed SDK:
In the mtk_ppe_stop() function, the PPE scan mode is not disabled before
disabling the PPE. This can potentially lead to a hang during the process
of disabling the PPE.
Without this patch, the PPE may experience a hang during the reboot test.
Reference: b40da332df
Suggested-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 003b9ff61c )
2024-03-14 02:33:26 +00:00
Daniel Golle
83e37f71fa
generic: 5.15: mtk_eth_soc: backport fix for hang on link up
...
Backport commit faa5f17fe2 ("kernel: mtk_eth_soc: release
MAC_MCR_FORCE_LINK only when MAC is up") to Linux 5.15 as well.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 33d6ba5045 )
2024-03-14 02:33:26 +00:00
Tianling Shen
dbfb253e5b
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
2024-03-09 13:57:42 +08:00
Hauke Mehrtens
7f1d043b23
kernel: Remove unused schedulers
...
These schedulers were removed in kernel 5.15.150 and 6.1.180.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit cd450923ab )
2024-03-08 11:28:10 +01:00
Hauke Mehrtens
db7b247fa9
kernel: bump 5.15 to 5.15.150
...
Removed because it is upstream:
bcm53xx/patches-5.15/030-v5.16-0019-ARM-dts-BCM53573-Describe-on-SoC-BCM53125-rev-4-swit.patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb1003c07e746e4e82bdd3959c9ea37018ed41a3
Removed because it is upstream:
bcm53xx/patches-5.15/037-v6.6-0004-ARM-dts-BCM53573-Drop-nonexistent-default-off-LED-tr.patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c65a23e98e38dc991f495d6bdb3cfa6163a88a0c
Removed because it is upstream:
bcm53xx/patches-5.15/037-v6.6-0005-ARM-dts-BCM53573-Drop-nonexistent-usb-cells.patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=71475bcee001cae3844644c2787eef93b26489d1
Adapted hack-5.15/650-netfilter-add-xt_FLOWOFFLOAD-target.patch to match
the changes from the upstream flow offload patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7c71b831220edeab7ce603d818dc1708d9ea4137
Manually Adapted the following patch:
bcm53xx/patches-5.15/035-v6.2-0004-ARM-dts-broadcom-align-LED-node-names-with-dtschema.patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 387fde0da0 )
2024-03-08 11:28:10 +01:00
Hauke Mehrtens
4c1d13e995
kernel: bump 5.15 to 5.15.149
...
Removed because it is upstream:
generic/pending-5.15/540-ksmbd-only-v2-leases-handle-the-directory.patch
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=81ea755b8fa57ce186f56f14b709cf491c2a5505
Manually Adapted the following patches:
ath79/patches-5.15/900-unaligned_access_hacks.patch
ipq806x/patches-5.15/113-v5.19-03-PM-devfreq-Rework-freq_table-to-be-local-to-devfr.patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 26d1d52403 )
2024-03-08 11:28:10 +01:00
Tianling Shen
40fc71646a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-03-04 14:45:18 +08:00
Tianling Shen
c88f3520a4
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-28 14:17:42 +08:00
Daniel Golle
37c2bc4397
mediatek: fixes for Ethernet on MT7988 SoC
...
* fix switch ports with modes other than 1000M/Full
* set 32-bit dma_coherent_mask to get PPE to work with 4 GiB of RAM
* sync driver for built-in 1GE PHY with MediaTek SDK sources
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 4ae2f43b3a )
2024-02-27 18:33:41 +00:00
David Bauer
78d493af22
generic l2tp: drop flow hash on forward
...
Drop the flow-hash of the skb when forwarding to the L2TP netdev.
This avoids the L2TP qdisc from using the flow-hash from the outer
packet, which is identical for every flow within the tunnel.
This does not affect every platform but is specific for the ethernet
driver. It depends on the platform including L4 information in the
flow-hash.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 35a5e62da7 )
2024-02-27 12:46:06 +01:00
David Bauer
a2943e3795
generic vxlan: don't learn non-unicast L2 destinations
...
This patch avoids learning non-unicast targets in the vxlan FDB. They
are non-unicast and thus should be sent to the broadcast-IPv6 instead of
a unicast address
Link: https://lore.kernel.org/netdev/15ee0cc7-9252-466b-8ce7-5225d605dde8@david-bauer.net/
Link: https://github.com/freifunk-gluon/gluon/issues/3191
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 0985262fd0 )
2024-02-27 12:46:06 +01:00
Tianling Shen
98bbd0b33e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-14 13:00:37 +08:00
Christian Marangi
eda5930d43
generic: 5.15: backport upstream Aquantia PHY firmware loader patches
...
Backport merged upstream patch that adds support for firmware loader
from NVMEM or attached filesystem for Aquantia PHYs.
Refresh all kernel patches affected by this change.
Also update the path for aquantia .ko that got moved to dedicated
directory upstream.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
[rmilecki: port to 5.15]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 1b3259eb5c )
2024-02-13 05:41:32 +01:00
Rafał Miłecki
277d97e0d9
kernel: 5.15: update Aquantia PHY driver to v6.1 code
...
Backport few upstream changes included between v5.15 and v6.1.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 418aadaec9 )
2024-02-13 05:41:32 +01:00
Tianling Shen
88002d1bc7
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-12 12:54:55 +08:00
John Audia
1c28058710
kernel: bump 5.15 to 5.15.148
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.148
Removed upstreamed:
generic/hack-5.15/321-powerpc_crtsavres_prereq.patch[1]
Manually rebased:
target/linux/octeontx/patches-5.15/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch[2]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.148&id=0b11a145eb00d51f7ef18cfcae587b93f9adb1e9
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?h=v5.15.148&id=b67064bd372300a75293efbbc70624996dccffd4
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 99c9d8abd6 )
[Refresh on OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-02-10 20:19:28 +01:00
Tianling Shen
055d4b4878
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-02-01 16:08:21 +08:00
Rafał Miłecki
8a7f667fb5
kernel: 5.15: backport v6.1 PHY changes required for Aquantia
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 2df8a0ccb0 )
2024-01-31 11:57:41 +01:00
Rosen Penev
6d962cabba
kernel: backport ethtool_puts
...
Will be used for conversions in later commits and is a requirement for
PHY backports.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
[rmilecki: update commit message for 23.05]
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 511c7ff032 )
2024-01-31 11:57:41 +01:00
Tianling Shen
09f58ad300
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-24 11:18:46 +08:00
John Audia
c1615f3148
kernel: bump 5.15 to 5.15.147
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.147
Manually rebased:
generic/backport-5.15/005-v5.17-01-Kbuild-use-Wdeclaration-after-statement.patch
All other patches automatically rebased.
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 3891355015 )
[Refresh on top of OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-01-21 12:51:29 +01:00
Tianling Shen
d28b3f653e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-09 20:24:33 +08:00
John Audia
40cfdf5ffe
kernel: bump 5.15 to 5.15.146
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.146
All patches automatically rebased.
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 37bb389392 )
[Refresh on top of OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2024-01-08 23:15:35 +01:00
John Audia
67d998e25d
kernel: bump 5.15 to 5.15.145
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.145
No patches needed a rebase.
23.05 backport:
Rebased patch mediatek/100-dts-update-mt7622-rfb1.patch due to
changes introduced in commit e37aa926447f ("arm64: dts: mediatek:
mt7622: fix memory node warning check") in version v5.15.143 and we
jumped over from v5.15.139 directly to v5.15.145.
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
23.05 backport:
Stijn:
Compile-tested: ath79/generic, ipq40xx/generic, mvebu/cortexa72, ramips/mt{7621,7620,76x8}, realtek/rtl{838x,930x}, 86/64.
Run-tested: cortexa72 (RB5009UG+S+IN), mt7621 (EAP615-Wall v1), rtl838x (GS1900-10HP, GS1900-8HP, GS108T v3).
Petr:
Compile-tested: ipq807x, mvebu/cortexa9
Run-tested: turris-omnia, prpl-haze
Tested-by: Stijn Segers <foss@volatilesystems.org> [23.05 testing]
Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [23.05 refresh]
(cherry picked from commit 8de4cc77a6 )
2024-01-07 12:57:30 +00:00
Tianling Shen
80ef582dee
rockchip: configure eth pad driver strength for orangepi r1 plus lts
...
The default strength is not enough to provide stable connection
under 3.3v LDO voltage.
Fixes: 3f3586a06d ("rockchip: add Orange Pi R1 Plus LTS support")
Fixes : #13117
Fixes : #13759
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 3645ac8a10 )
[rebased onto openwrt-23.05 branch]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-05 23:36:31 +01:00
Felix Fietkau
c6425bb525
kernel: delete stray linux 6.1 patch
...
Fixes: cc285dc2b6 ("generic: net: phy: realtek: add interrupt support for RTL8221B")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-01-05 12:55:37 +01:00
Felix Fietkau
49bde57679
kernel: fix bridge proxyarp issue with some broken DHCP clients
...
There are broken devices in the wild that handle duplicate IP address
detection by sending out ARP requests for the IP that they received from a
DHCP server and refuse the address if they get a reply.
When proxyarp is enabled, they would go into a loop of requesting an address
and then NAKing it again.
Fixes: https://github.com/openwrt/openwrt/issues/14309
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit c1ad78318c )
2024-01-05 12:54:49 +01:00
Tianling Shen
129fc1f044
kernel: backport MTK T7XX WWAN driver support
...
fbafc3e621/Documentation/networking/device_drivers/wwan/t7xx.rst
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 6ff8a2e28f )
2023-12-28 10:38:43 +08:00
Tianling Shen
041c7cc5cc
kernel: backport pad driver strength cfg support for motorcomm phy
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 22616d37fe )
2023-12-13 21:09:14 +08:00
Jianhui Zhao
cc285dc2b6
generic: net: phy: realtek: add interrupt support for RTL8221B
...
This commit introduces interrupt support for RTL8221B.
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
(cherry picked from commit 1db949a632 )
2023-12-07 11:12:12 +01:00
Tianling Shen
2c767ac1a7
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-27 22:45:01 +08:00
John Audia
95ebd609ae
kernel: bump 5.15 to 5.15.139
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.139
Removed upstreamed:
x86/patches-5.15/120-hwrng-geode-fix-accessing-registers.patch[3]
All other patches automatically rebased.
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.139&id=a5c83c8043d70b9a28d1bd78a2dbbab340f43889
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
[Refresh on top of OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit df167450a5 )
2023-11-25 20:17:09 +01:00
Tianling Shen
7c7862df7a
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-22 13:55:05 +08:00
John Audia
a39dca7ead
kernel: bump 5.15 to 5.15.138
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.138
Removed upstreamed:
generic/backport-5.15/819-v6.6-0018-nvmem-imx-correct-nregs-for-i.MX6SLL.patch[1]
generic/backport-5.15/819-v6.6-0019-nvmem-imx-correct-nregs-for-i.MX6UL.patch[2]
generic/backport-5.15/819-v6.6-0020-nvmem-imx-correct-nregs-for-i.MX6ULL.patch[3]
All other patches automatically rebased.
1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.138&id=6e22bf6f00d593b0a7e0b2f418fde89317424671
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.138&id=6efd498009b987a92f57f3bdae476f0503364fb7
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.138&id=6e22bf6f00d593b0a7e0b2f418fde89317424671
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
[Refreshed on top of OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 573c8c3d78 )
2023-11-19 14:44:36 +01:00
Hauke Mehrtens
bd075ef351
kernel: phy: motorcomm: Fix compile
...
Fix compilation on starfive target.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 03ce5598a0 )
2023-11-15 20:27:56 +08:00
Tianling Shen
695bf40a48
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-13 12:40:17 +08:00
Daniel Golle
03e26f856f
kernel: support reading hex MAC address from NVMEM
...
In addition to binary and ASCII-formatted MAC addresses, add support
for processing hexadecimal encoded MAC addresses from NVMEM.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 7db87d7c68 )
2023-11-13 00:58:08 +00:00
Daniel Golle
a00fc406b9
kernel: add support MeigLink SLM828 modem
...
Another Qualcomm-based USB-connected modem, offering endpoints
0 : rndis_host (link to voip subsystem listening on 169.254.5.100)
1 : rndis_host (?)
2 : option (?)
3 : option (at)
4 : option (at)
5 : option (?)
6 : GobiNet (qmi)
7 : ?
Add support for this modem in rndis_host, option and qmi_wwan driver
which allows the modem to be used with ModemManager.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit f32baf6a65 )
2023-11-13 00:58:08 +00:00
Tianling Shen
73eac7e437
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-04 12:58:38 +08:00
Rafał Miłecki
0dec0e0f19
kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver
...
Fixes: 20736013e9 ("kernel: backport nvmem v6.6 fixes and v6.7 changes")
Fixes: https://github.com/openwrt/openwrt/issues/13831
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit c997634c01 )
2023-11-02 09:45:08 +01:00
Rafał Miłecki
20736013e9
kernel: backport nvmem v6.6 fixes and v6.7 changes
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit b595670070 )
2023-11-02 09:37:45 +01:00
Rafał Miłecki
066971615f
kernel: backport v6.6 nvmem changes
...
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 52c365f055 )
2023-11-02 09:37:19 +01:00
Rafał Miłecki
b649b0bf71
kernel: nvmem: fix "fixed-layout" & support "mac-base"
...
DT binding for MAC cells in fixed layout was upstream approved and
accepted. Add support for it. This can replace quite some of our
downstream hacks.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 61f674df4f )
2023-11-02 09:36:20 +01:00
Tianling Shen
118e064605
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-11-02 12:48:52 +08:00
Daniel Golle
958817b1c3
kernel: serial: 8250_mtk: track busclk state to avoid bus error
...
UARTs not used as boot console are currently broken on some MediaTek
targets due to register access depending on the bus clock being enabled.
Add patch to make sure this dependency is always met.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 9f62abbb60 )
2023-10-31 22:16:52 +00:00
Tianling Shen
abd382a7e8
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-10-29 22:51:49 +08:00
John Audia
64ab02aff8
kernel: bump 5.15 to 5.15.137
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.137
All patches automatically rebased.
Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
[Refreshed on top of OpenWrt 23.05]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 75aeb7ed62 )
2023-10-29 13:00:28 +01:00