Commit Graph

1416 Commits

Author SHA1 Message Date
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
aakkll
b5cdd73cb4
kernel: bump 5.15 to 5.15.42 (#9439)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-25 22:03:53 +08:00
AmadeusGhost
d5dc513703 ramips: newifi-d2: fix default internet led 2022-05-24 15:23:12 +08:00
TonyTeng22
4132115fc2
kirkwood: add support for Surfilter Net110 88F6281 (#9433) 2022-05-24 11:10:56 +08:00
José Hwong
1d13f2881c
kernel: bump 5.10 to 5.10.117 (#9419)
Remove:
target/linux/generic/backport-5.10/890-v5.19-net-sfp-Add-tx-fault-workaround-for-Huawei-MA5671A-SFP-ON.patch [1]
target/linux/generic/backport-5.10/900-regulator-consumer-Add-missing-stubs-to-regulator-co.patch [2]

[1] 3abbfac1ab
[2] a71658c7db

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-23 15:27:10 +08:00
aakkll
1787300141
kernel: bump 5.15 to 5.15.41 (#9412)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-20 13:20:52 +08:00
José Hwong
bc45671c00
kernel: bump 5.4 to 5.4.195 (#9408)
* kernel: bump 5.4 to 5.4.194

Signed-off-by: José Hwong <josehwong@hotmail.com>

* kernel: bump 5.4 to 5.4.195

Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-19 12:36:33 +08:00
Beginner
6c6f4d159f
kernel: Add missing devm_regulator_get_exclusive() (#9411)
This backports a patch from Linux 5.10.116 to fix a compile problem
introduced in 5.10.114.

drivers/usb/phy/phy-generic.c could not find
devm_regulator_get_exclusive().

Fixes: #9410
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-05-19 10:09:52 +08:00
Beginner
bbabd70e44
kernel: bump 5.10 to 5.10.115 (#9405)
* kernel: bump 5.10 to 5.10.114

All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>

* kernel: bump 5.10 to 5.10.115

Removed upstreamed:
  backport-5.10/850-v5.17-0004-PCI-aardvark-Clear-all-MSIs-at-setup.patch
  pending-5.10/850-0002-PCI-aardvark-Fix-reading-MSI-interrupt-number.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>

Co-authored-by: John Audia <therealgraysky@proton.me>
2022-05-18 14:28:29 +08:00
aakkll
664d5cee72
kernel: bump 5.15 to 5.15.40 (#9399)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-17 19:19:39 +08:00
José Hwong
ad67dcb784
kernel: bump 5.4 to 5.4.193 (#9393)
Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-16 01:41:30 +08:00
aakkll
a7446d2806
kernel: bump 5.15 to 5.15.39 (#9389)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-13 14:28:19 +08:00
José Hwong
0b8b34215f
kernel: bump 5.4 to 5.4.192 (#9386)
Signed-off-by: José Hwong <josehwong@hotmail.com>
2022-05-11 12:38:55 +08:00
aakkll
3516c9aa8a
kernel: bump 5.15 to 5.15.38 (#9378)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-05-09 22:25:14 +08:00
AmadeusGhost
6a5775c5cd ipq806x: rac2v1a: fixes button does not work issue 2022-05-09 16:35:25 +08:00
AmadeusGhost
5f75284ecd Revert "rockchip: add subtarget rk356x init support"
This reverts commit bbfc031f1c.
This part is identical to armv8 generic, remove redundant code.
2022-05-09 16:29:32 +08:00
José Hwong
77625481a6
ipq807x: refresh 5.10 patches (#9376)
Remove target/linux/ipq807x/patches-5.10/100-clk-qcom-ipq8074-fix-PCI-E-clock-oops.patch
2022-05-08 23:50:19 +08:00
lean
59f95e73bc rockchip: add rk356x.mk 2022-05-06 21:08:14 +08:00
Robert Marko
5943c67afc kernel: 5.15: add missing symbol
CONFIG_QCOM_SPMI_ADC_TM5 gets uncovered while building IPQ40xx with 5.15.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2022-05-06 20:27:38 +08:00
lean
bbfc031f1c rockchip: add subtarget rk356x init support 2022-05-06 18:07:24 +08:00
Beginner
4ddd124ec8
kernel: bump 5.10 to 5.10.113 (#9341)
All patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-05-05 01:03:34 +08:00
lean
71632794c1 kernel: fix Huawei MA5671A tx-fault with a Marvell mv88e6085 switch 2022-05-05 01:03:03 +08:00
José Hwong
d5622e3534
kernel: bump 5.4 to 5.4.191 (#9329)
Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-29 22:56:09 +08:00
aakkll
28faa95120
kernel: bump 5.15 to 5.15.36 (#9325)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-29 22:55:38 +08:00
Beginner
ce2fb409e0
kernel: bump 5.10 to 5.10.112 (#9311)
* kernel: x86: remove an upstreamed patch

012-pcengines-apu2-detect-apuv4-board.patch is upstream since Linux 5.5 [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.5&id=3d00da1de3ea36ba44f4a7ba76c8c8b16f98204b

Acked-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.112

Manually rebased:
  ath79/patches-5.10/901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
Co-authored-by: John Audia <graysky@archlinux.us>
2022-04-25 19:18:22 +08:00
lean
ca4dc08690 mtk-eip93: fix build with kernel 5.15 2022-04-25 18:57:38 +08:00
lean
cb609bce6c ramips: Xiaomi Mi Router 4A Gigabit Edition boot issue 2022-04-21 23:29:02 +08:00
José Hwong
07fa9114d6
kernel: bump 5.4 to 5.4.190 (#9287)
* kernel: bump 5.4 to 5.4.189

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>

* kernel: bump 5.4 to 5.4.190

Signed-off-by: José Hwong <88561480+JoseCoW@users.noreply.github.com>
2022-04-21 22:41:18 +08:00
lean
6a7ad84644 ipq807x: fix QNAP 301w 10G phy autneg at boot 2022-04-21 02:16:41 +08:00
aakkll
0bfab825ab
kernel: bump 5.15 to 5.15.35 (#9282)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-20 19:46:36 +08:00
Beginner
c015f9b542
kernel: bump 5.10 to 5.10.111 (#9259)
Removed upstreamed:
  pending-5.10/850-0003-PCI-aardvark-Fix-support-for-MSI-interrupts.patch
  apm821xx/patches-5.10/150-ata-sata_dwc_460ex-Fix-crash-due-to-OOB-write.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: bcm2711/RPi4B, mt7622/RT3200
Run-tested: bcm2711/RPi4B, mt7622/RT3200

Signed-off-by: John Audia <graysky@archlinux.us>

Co-authored-by: John Audia <graysky@archlinux.us>
2022-04-17 13:21:27 +08:00
aakkll
ad34521be6
kernel: bump 5.15 to 5.15.34 (#9252)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-04-14 20:38:40 +08:00