Commit Graph

1447 Commits

Author SHA1 Message Date
aakkll
6adba088c0
kernel: bump 5.15 to 5.15.50 (#9649) 2022-06-26 13:56:24 +08:00
Arınç ÜNAL
5d8d544aa9 ramips: mt7621-dts: fix claiming rgmii2 pin group for EdgeRouter X SFP
For a TX->TX connected external phy to transmit/receive data, the rgmii2
pin group needs to be claimed with gpio function, at least for EdgeRouter X
SFP. We already claim the pin group under the pinctrl node with gpio
function on the gpio node on mt7621_ubnt_edgerouter-x.dtsi.

However, we should claim a pin group under its consumer node. It's the
ethernet node in this case, which we already claim the rgmii2 pin group
under it on mt7621.dtsi. Therefore, set the function as gpio on the rgmii2
node for EdgeRouter X SFP and get rid of claiming the rgmii2 pin group
under the pinctrl node. With this change, we also get to remove a
definition from mt7621_ubnt_edgerouter-x.dtsi which is specific to
EdgeRouter X SFP.

This change is tested on an EdgeRouter X SFP.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-06-25 16:35:12 +08:00
aakkll
04d870e468
kernel: bump 5.15 to 5.15.49 (#9633)
* kernel: bump 5.15 to 5.15.49

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

* kernel: 5.15: x86-64: enable CONFIG_SLS
2022-06-23 13:27:11 +08:00
Stalker
06066a637c
rockchip: fix drm for 5.15 (#9618)
Signed-off-by: xiangfeidexiaohuo <jsjson@163.com>
2022-06-20 02:30:41 +08:00
lean
f01d99d612 Revert "rockchip: kernel switch to 5.10"
This reverts commit a056909dc2.
2022-06-18 00:34:04 +08:00
José Hwong
a0cac9a6d1
kernel: bump 5.4 to 5.4.199 (#9601)
Removed:
target/linux/bcm27xx/patches-5.4/950-1014-Revert-mailbox-avoid-timer-start-from-callback.patch [1]

[1]6d8b9f574b

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-06-18 00:30:30 +08:00
AmadeusGhost
8c76a6f498 ramips: mt7621/network: drop mtwifi hack 2022-06-18 00:16:36 +08:00
AmadeusGhost
d41530dba8 ramips: jcg q20: drop ubootmod version 2022-06-18 00:13:26 +08:00
AmadeusGhost
c78af7bc21 ramips: jcg y2: switch to new hnat driver 2022-06-18 00:12:35 +08:00
AmadeusGhost
f46c60443c ramips: mi ac2100: switch to new hnat driver 2022-06-18 00:11:39 +08:00
AmadeusGhost
0eed36f2ea ramips: gehua ghl: switch to new hnat driver 2022-06-18 00:09:13 +08:00
AmadeusGhost
b31fe9b0f6 ramips: c5/k2p: switch to new hnat driver 2022-06-18 00:08:10 +08:00
AmadeusGhost
58accb6699 ramips: msg1500 x.00: switch to new hnat driver 2022-06-18 00:07:03 +08:00
AmadeusGhost
2be7428fbd ramips: newifi-d2: switch to new hnat driver 2022-06-18 00:06:24 +08:00
MeIsReallyBa
9cd22dd829 ramips: mt7621: improve hnat driver support 2022-06-17 23:56:22 +08:00
AmadeusGhost
590517f040 ramips: mt7621: add both gsw/dsa hnat support
Signed-off-by: meisreallyba <meisreallyba@gmail.com>
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2022-06-17 23:55:14 +08:00
AmadeusGhost
c85b4ebbc1 ramips: mt7621: switch to new ethernet driver 2022-06-17 23:54:46 +08:00
AmadeusGhost
177dd50bc6 ramips: add MediaTek Vendor Ethernet driver 2022-06-17 23:54:24 +08:00
Aviana Cruz
dc771a1c11 ramips: decrease SPI frequency for Phicomm K2P
Some K2P comes with the worse boards with GD25Q128 (may be A2), which
only works with 50MHz frequency and less. Reduce spi frequency so that
these routers can boot.
remove m25p,fast-read because it isn't needed for 50MHz SPI.

Signed-off-by: Aviana Cruz <gwencroft@proton.me>
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2022-06-16 15:01:02 +08:00
aakkll
d77de26442
kernel: bump 5.15 to 5.15.47 (#9582)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-15 23:04:26 +08:00
John Audia
c5351b2e56 kernel: bump 5.10 to 5.10.120
All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:24:24 +08:00
John Audia
56dd091b41 kernel: bump 5.10 to 5.10.119
Delete the crypto-lib-blake2s kmod package, as BLAKE2s is now built-in.
Patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800, x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:22:53 +08:00
John Audia
aba1f6e072 kernel: bump 5.10 to 5.10.118
Removed upstreamed:
    generic-backport/774-v5.15-1-igc-remove-_I_PHY_ID-checking.patch
    generic-backport/774-v5.15-2-igc-remove-phy-type-checking.patch

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-06-15 22:20:57 +08:00
google-you-ok?
972c8aed91
kernel:rockchip:phy add JLSemi jl2xxx driver (#9563)
* drv-net-phy-add-JLSemi-jl2xxx-driver

* drv-net-phy-add-JLSemi-jl2xxx-driver

* drv-net-phy-add-JLSemi-jl2xxx-driver

* Enable JL201 config

* Enable JL201 config

* Enable JL201 config

* change default driver

Since the mac80211 driver cannot turn on the wireless, it can only be turned off by default.
2022-06-14 02:23:49 +08:00
aakkll
76a4c855a2
kernel: bump 5.15 to 5.15.46 (#9504)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-09 23:18:30 +08:00
aakkll
df4850bfc4
kernel: 5.15: refresh patches (#9499) 2022-06-08 13:08:19 +08:00
lean
a056909dc2 rockchip: kernel switch to 5.10 2022-06-07 19:40:18 +08:00
lean
1cb98d7be6 shortcut-fe: fix tcp_no_window_check api with kernel 5.15.43+ 2022-06-07 19:05:57 +08:00
Rui Salvaterra
7b60931f79 kernel: bump 5.15 to 5.15.45
Patches automatically rebased.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-07 14:36:58 +08:00
aakkll
91b3516ba1
kernel: bump 5.15 to 5.15.44 (#9457)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-06-04 23:25:35 +08:00
lean
9fdd43d6ed generic: 5.15: revert sysctl_no_window_check 2022-06-04 00:16:27 +08:00
Felix Fietkau
5264273007 kernel: fix crashes in bridge offload code
- fix an issues when accessing the port pointer of an expired/invalid fdb entry

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:26:55 +08:00
Christian 'Ansuel' Marangi
de633a7ab0 generic: 5.15: fix panic on tcp_no_window_check set with interface up
The current reworked version cause kernel panic when the value is changes and
an interface is up. Following the tcp_be_liberal impelementation,
reimplement this to permit a safe change of this value without any
panic.
This has been tested with a QSDK package where tcp_no_window_check is used.

Fixes: 92fb51bc9881 ("generic: 5.15: standardize tcp_no_window_check pending patch")
Signed-off-by: Christian 'Ansuel' Marangi <ansuelsmth@gmail.com>
2022-06-03 12:25:42 +08:00
lean
2a33e979c8 kernel: fix kernel 5.15 FLOWOFFLOAD patch 2022-06-02 11:00:35 +08:00
lean
2b57a426cb kernel: backport flow offload fixes 2022-05-31 23:00:41 +08:00
lean
434154fd97 Revert "Revert "kernel: bump 5.15 to 5.15.43 (#9440)""
This reverts commit 6c2e9050b4.
2022-05-31 22:58:09 +08:00
lean
89547e1fce Revert "Revert "kernel: bump 5.15 to 5.15.42 (#9439)""
This reverts commit cdc5007358.
2022-05-31 22:57:58 +08:00
Arınç ÜNAL
bcfcad5a03 ramips: mt7621-dts: add pinctrl properties for ethernet
Add the missing pinctrl properties on the ethernet node.
GMAC1 will start working with this change.

Link: https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd8c8@arinc9.com/

Overwrite pinctrl-0 property without rgmii2_pins on devicetrees which use
the rgmii2 pins as GPIO (22 - 33).

Give gpio function to rgmii2 pin group on mt7621_tplink_archer-x6-v3.dtsi
which uses GPIO 28.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
[Rebase to current source code]
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2022-05-30 00:05:18 +08:00
Arınç ÜNAL
5478c9ba40 ramips: mt7621-dts: enable flow control on port@6
Flow control needs to be enabled on both sides to work.
It is already enabled on gmac0, enable it on port@6 too.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Tested-by: Sungbo Eo <mans0n@gorani.run>
2022-05-30 00:03:09 +08:00
Arınç ÜNAL
1f58a419c3 ramips: mt7621-dts: fix switch@1f warnings
Remove reg property from ports node to fix this warning:

Warning (unit_address_vs_reg): /ethernet@1e100000/mdio-bus/switch@1f/ports: node has a reg or ranges property, but no unit name

Another warning surfaces afterwards. Remove #address-cells and #size-cells
from switch@1f node to fix this warning:

Warning (avoid_unnecessary_addr_size): /ethernet@1e100000/mdio-bus/switch@1f: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
2022-05-30 00:02:50 +08:00
Sergio Paracuellos
3db20586a2 ramips: mt7621-dts: properly organize pcie node
Device tree pcie node for this SoC is using different
styles in its different properties. Hence properly
unify them to be able to write a a proper yaml schema
documentation.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210505121736.6459-11-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:56:15 +08:00
Sergio Paracuellos
140eb0f99a ramips: mt7621-dts: add missing device_type in pcie root ports
According to the YAML schema 'pci-bus.yaml' the 'device_type'
property is mandatory for all pcie root ports. Hence add it.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210506170742.28196-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:56:01 +08:00
Sergio Paracuellos
436cfda73b ramips: mt7621-dts: remove 'bug-range' property
Property 'bus-range' when values are the default are
not necessary to be defined. Hence, remove all of them.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210506170742.28196-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:55:37 +08:00
Sergio Paracuellos
16f0b2d843 ramips: mt7621-dts: use standard 'syscon' string
Both 'memc' and 'sysc' nodes are not using 'syscon'
as a node string which is the standard one to be used.
Update both of them.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210505132154.8263-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:55:21 +08:00
Sergio Paracuellos
4ec4b8e5e0 ramips: mt7621-dts: properly define 'cpc' and 'mc' nodes
'cpc' and 'mc' nodes correspond with the MIPS 'Cluster Power Controller'
and 'MIPS Common Device Memory Map' which are present in some MIPS related
boards. There is already bindings documentation for these two located in:
- Documentation/devicetree/bindings/power/mti,mips-cpc.yaml
- Documentation/devicetree/bindings/bus/mti,mips-cdmm.yaml

Hence, properly update compatible strings and align nodes with already
mainlined bindings documentation. Also, move their definition to a proper
place since both of them are not related with the palmbus at all.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211002060706.30511-1-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:55:06 +08:00
Sergio Paracuellos
8fe4b3ad8d ramips: mt7621-dts: change some node hex addresses to lower case
Hexadecimal addresses in device tree must be defined using lower case.
There are some of them that are still in upper case. Change them all.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211017070656.12654-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:54:48 +08:00
Sergio Paracuellos
78cbbce7b6 ramips: mt7621-dts: make use of 'IRQ_TYPE_LEVEL_HIGH' instead of magic numbers
Nodes 'gdma' and 'hsdma' are using magic number '4' in interrupts property.
Use 'IRQ_TYPE_LEVEL_HIGH' instead to align with the rest of the nodes in
the file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211019102915.15409-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-29 23:54:34 +08:00
lean
cdc5007358 Revert "kernel: bump 5.15 to 5.15.42 (#9439)"
This reverts commit b5cdd73cb4.
2022-05-26 17:12:07 +08:00
lean
6c2e9050b4 Revert "kernel: bump 5.15 to 5.15.43 (#9440)"
This reverts commit d4cadadb49.
2022-05-26 17:11:57 +08:00
aakkll
d4cadadb49
kernel: bump 5.15 to 5.15.43 (#9440)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-26 01:06:43 +08:00