Commit Graph

4552 Commits

Author SHA1 Message Date
lean
9fdd43d6ed generic: 5.15: revert sysctl_no_window_check 2022-06-04 00:16:27 +08:00
Felix Fietkau
49ccd16f2f mt76: update to the latest version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:32:37 +08:00
Felix Fietkau
e78e4dcf22 mac80211: add a bug fix for a rare crash
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:27:41 +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
AmadeusGhost
95b3b801e0 fullconenat: move to network 2022-05-28 00:28:44 +08:00
AmadeusGhost
fda63a952c target.mk: remove oc dependencies by default
Obviously we don't need to select these by default.
This reverts commit f061029ed1.
2022-05-28 00:25:51 +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
Hugo Yuan
f2cae55d40
qca_ath10k.mk sync with upstream (#9438) 2022-05-25 22:05:12 +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
AmadeusGhost
fc044f23f2 mtk-eip93: update to latest git HEAD 2022-05-24 15:19:14 +08:00
TonyTeng22
4132115fc2
kirkwood: add support for Surfilter Net110 88F6281 (#9433) 2022-05-24 11:10:56 +08:00
Beginner
b4cef7fb1d
ucode: update to latest Git HEAD (#9421)
* ucode: update to latest Git HEAD

e14b099 syntax: implement support for ES6 template literals
111cf06 vm: stop executing bytecode on return of nested calls

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: fix PKG_MIRROR_HASH

Fixes: 0400774a10 ("ucode: update to latest Git HEAD")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: reorder BuildPackage calls

Ensure that the libucode recipe is processed before the ucode one in
order to reliably encode the ABI version into ucode's libucode dependency.

Fixes: #9788
Ref: https://forum.openwrt.org/t/fw4-wont-start-after-upgrade/126308
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

* ucode: update to latest Git HEAD

081871e compiler: fix segmentation fault on compiling unexpected unary expressions
090b426 fs: avoid input buffering with small limits in fs.readfile()
8da140f lib: introduce hexenc() and hexdec()
9a72423 Update README.md

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2022-05-23 19:30:06 +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
Beginner
46e5c437a8
wolfssl: bump to v5.3.0-stable (#9404)
This is mostly a bug fix release, including two that were already
patched here:
- 300-fix-SSL_get_verify_result-regression.patch
- 400-wolfcrypt-src-port-devcrypto-devcrypto_aes.c-remove-.patch

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-05-18 14:28:13 +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
Beginner
39b67eaf58
util-linux: update to 2.38 (#9402)
* util-linux: add lsns

lsns lists system namespaces

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>

* util-linux: update to 2.38

Various fixes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Oskari Rauta <oskari.rauta@gmail.com>
Co-authored-by: Rosen Penev <rosenp@gmail.com>
2022-05-17 19:19:09 +08:00
Eneas U de Queiroz
c4b3927bdc openssl: bump to 1.1.1o
This release comes with a security fix related to c_rehash.  OpenWrt
does not ship or use it, so it was not affected by the bug.

There is a fix for a possible crash in ERR_load_strings() when
configured with no-err, which OpenWrt does by default.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-05-17 00:08:09 +08:00
Christian Lamparter
43286b0af7 linux-firmware: Update to version 20220509
git log --pretty=oneline --abbrev-commit 20220411..20220509 (sorted)

amdgpu:
480d6c2 amdgpu: update dcn_3_1_6_dmcub firmware
b4994be amdgpu: update gc_10_3_7_rlc firmware
61eb408 amdgpu: update psp_13_0_8 firmware
fcf9d8c amdgpu: update yellow carp DMCUB firmware

ath10k:
73743b8 ath10k: QCA4019 hw1.0: update board-2.bin
6ad0930 ath10k: QCA6174 hw3.0: update board-2.bin
729bd7f ath10k: QCA6174 hw3.0: update firmware-6.bin to WLAN.RM.4.4.1-00288-QCARMSWPZ-1
9fce09f ath10k: QCA9888 hw2.0: update board-2.bin
b155d85 ath10k: QCA9888 hw2.0: update firmware-5.bin to 10.4-3.9.0.2-00156
44b8aee ath10k: QCA9984 hw1.0: update board-2.bin
4ad3bd3 ath10k: QCA9984 hw1.0: update firmware-5.bin to 10.4-3.9.0.2-00156
1962cba ath10k: QCA99X0 hw2.0: add board-2.bin

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-05-17 00:06:34 +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
3efcb21ecc target.mk: add new cortex-a55 type 2022-05-06 21:12:39 +08:00
lean
59f95e73bc rockchip: add rk356x.mk 2022-05-06 21:08:14 +08:00
lean
f061029ed1 target: add some default package 2022-05-06 20:42:45 +08:00