Commit Graph

5452 Commits

Author SHA1 Message Date
coolsnowwolf
e9e7e64a1f Merge branch 'master' of https://github.com/coolsnowwolf/lede 2022-11-25 02:59:56 +08:00
coolsnowwolf
857a955f1e x86: fix Bintel's ZHITAI Ti Plus 5000 fw bug 2022-11-25 02:59:14 +08:00
AmadeusGhost
1f9c2a3e1f rockchip: 5.15: add missing kernel config 2022-11-24 20:05:56 +08:00
Christian Marangi
2c83210409 generic: 5.15: add missing PAGE_POOL_STATS config
Add new PAGE_POOL_STATS config backported for the mtk offload patches.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-11-24 20:02:06 +08:00
Rafał Miłecki
667b8a7613 kernel: add CONFIG_NVMEM_U_BOOT_ENV symbol to configs
This fixes:
  U-Boot environment variables support (NVMEM_U_BOOT_ENV) [N/m/y/?] (NEW)

Fixes: 34cf310435044 ("kernel: backport U-Boot environment data NVMEM driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-11-24 20:01:21 +08:00
coolsnowwolf
d1bed1ba23 ipq60xx: add 360_v6 ath11k wifi BDF 2022-11-23 22:21:27 +08:00
coolsnowwolf
2612e362b6 ath11k-wifi: add board bdf files package 2022-11-23 22:07:11 +08:00
coolsnowwolf
8a0982186e kernel: sysctl: update nf_ct_expect settings for fullcone nat mode 2 2022-11-23 18:34:51 +08:00
coolsnowwolf
9e3f3a90e4 Revert "dnsmasq: bump to v2.87"
This reverts commit c5b0c71a92.
2022-11-23 18:28:26 +08:00
coolsnowwolf
8d2bd3273c
x86: add kmod-tg3 by default 2022-11-23 17:20:15 +08:00
lovehackintosh
1d0708842f
upx: fix hash (#10479)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-11-22 20:59:36 +08:00
sdf8057
4badcf31c7
fix ntpd path problem (#10478) 2022-11-22 20:45:25 +08:00
Albert Xu
9cd6f162e9
tools/patch: apply patch for EACCES on xattr copy (#10469)
When compiling OpenWRT on a compressed btrfs volume the build fails in
libtool.
The file `libltdl/config/ltmain.m4sh` from `libtool-2.4.2.tar.xz` is
missing write permissions, therefore patch falls back to copying the
file and patching that. During this patch tries to preserve all file
attribute on the new copy.
However the attribute `btrfs.compression` is privileged and btrfs return
EACCES.
While patch ignores multiple other error codes during the copy of xattr
copy it is not prepared for EACCES and aborts.

EACCES should be ignored the same way as the other errors.

Build log:
```
...
Applying ./patches/000-relocatable.patch using plaintext:
patching file libltdl/config/general.m4sh
patching file libtoolize.in
patching file libtoolize.m4sh
patching file libltdl/m4/libtool.m4

Applying ./patches/100-libdir-fixes.patch using plaintext:
patching file libltdl/config/ltmain.m4sh
File libltdl/config/ltmain.sh is read-only; trying to patch anyway
patching file libltdl/config/ltmain.sh
patch: setting attribute btrfs.compression for btrfs.compression: Permission denied
Patch failed!  Please fix ./patches/100-libdir-fixes.patch!
```

Link: https://lists.gnu.org/archive/html/bug-patch/2022-11/msg00000.html
Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2022-11-21 21:08:31 +08:00
coolsnowwolf
58692d5c98 kernel: sysctl: update nf_ct settings for fullcone nat 2022-11-20 22:14:41 +08:00
Aleksander Jan Bajkowski
e5bf907be5 kernel: backport tso for asix driver
Performance comparison (iperf3, mtu 1500):
Before: 53.9 Mbps
After: 87.9 Mbps

The tests were performed on a BT Home Hub 5A router.
The iperf3 server was running on the router, the client
on the host.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-11-20 20:24:27 +08:00
Uwe Kleine-König
75d2934a6f kernel: add kmod-hwmon-sht3x support
The driver supports the temperature and humidity sensors chips SHT3x and
STS3x by Sensirion.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
2022-11-20 20:23:34 +08:00
Pawel Dembicki
334012492f kernel: add missing symbol in generic config
Found during work on qoriq target.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[improve commit message, remove from target configs]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-20 20:22:30 +08:00
Albert Xu
3c707a2ef8
firmware: Sync with upstream (#10459)
* firmware: intel-microcode: update to 20220809

Debian's changelog by Henrique de Moraes Holschuh <hmh@debian.org>:

  * New upstream microcode datafile 20220809
    * Fixes INTEL-SA-00657, CVE-2022-21233
      Stale data from APIC leaks SGX memory (AEPIC leak)
    * Fixes unspecified errata (functional issues) on Xeon Scalable
    * Updated Microcodes:
      sig 0x00050653, pf_mask 0x97, 2022-03-14, rev 0x100015e, size 34816
      sig 0x00050654, pf_mask 0xb7, 2022-03-08, rev 0x2006e05, size 44032
      sig 0x000606a6, pf_mask 0x87, 2022-04-07, rev 0xd000375, size 293888
      sig 0x000706a1, pf_mask 0x01, 2022-03-23, rev 0x003c, size 75776
      sig 0x000706a8, pf_mask 0x01, 2022-03-23, rev 0x0020, size 75776
      sig 0x000706e5, pf_mask 0x80, 2022-03-17, rev 0x00b2, size 112640
      sig 0x000806c2, pf_mask 0xc2, 2022-03-19, rev 0x0028, size 97280
      sig 0x000806d1, pf_mask 0xc2, 2022-03-28, rev 0x0040, size 102400
      sig 0x00090672, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064
      sig 0x00090675, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064
      sig 0x000906a3, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064
      sig 0x000906a4, pf_mask 0x80, 2022-06-15, rev 0x0421, size 216064
      sig 0x000a0671, pf_mask 0x02, 2022-03-17, rev 0x0054, size 103424
      sig 0x000b06f2, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064
      sig 0x000b06f5, pf_mask 0x03, 2022-06-07, rev 0x0022, size 216064

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>

* bcm27xx-gpu-fw: update to latest version

Multiple firmware fixes needed for kernel updates.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* bcm27xx-gpu-fw: update to latest version

Latest GPU FW contains multiple fixes and improvements.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* bcm63xx-cfe: update to the latest master

e5050f3 linksys: ea9500-v2: add cferam file

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

* nat46: fix translation of ICMP protocols parameter problem and unreachable

9b3a819 nat46-core: Fix translation of ICMP protocols parameter problem and unreachable (#27)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* nat46: update to latest git HEAD

1fdf2a3 Fix kernel panic due to device deletion (#29)
e7b48d1 add the mutex lock for create/delete/config/insert nat46 devices to fix nat46 module crash issues. (#28)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* nat46: update to latest git HEAD

d9bc161 nat46-core: Fix typo since day one (#31)
840e235 Fix coverity issues observed so far (#30)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* nat46: update to git HEAD

95ca1c3 nat46-core: ignore IPv4 options when translating packets
39778c2 add a module argument to ignore TOS translate for IPv4
9a36ee1 add a module argument to ignore TOS translate for IPv4
79190a8 add a module argument to ignore TOS translate for IPv4

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

* mwlwifi: fix 5.15 kernel support

Fix compilation and usage under kernel 5.15 for the mwlwifi driver.

For detailed description of changes, check individual patches.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>

* rtl8812au-ct: Fix compile

Replace the extern inline with a static inline. With extern inline the
compiler will generate the function in all compile units including this
file which breaks linking later.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Co-authored-by: Christian Lamparter <chunkeey@gmail.com>
Co-authored-by: Álvaro Fernández Rojas <noltari@gmail.com>
Co-authored-by: Rafał Miłecki <rafal@milecki.pl>
Co-authored-by: Hans Dedecker <dedeckeh@gmail.com>
Co-authored-by: Robert Marko <robert.marko@sartura.hr>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-20 01:09:37 +08:00
lovehackintosh
75d227e14f
include: sync with upstream (#10454)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-11-19 18:03:18 +08:00
coolsnowwolf
c5b0c71a92 dnsmasq: bump to v2.87 2022-11-19 15:23:46 +08:00
coolsnowwolf
6f77eb8769 mt76: add mt7922 firmware 2022-11-19 04:01:48 +08:00
coolsnowwolf
128c5d20dd ath10k-ct: update to 2022-05-13 2022-11-19 03:48:26 +08:00
coolsnowwolf
6fb280ac46 mediatek: add LED support for Xiaomi Redmi Router AX6000 2022-11-18 19:51:59 +08:00
coolsnowwolf
a01f34b7be mediatek: fix mt7981 clk clock support 2022-11-18 03:36:57 +08:00
coolsnowwolf
cce06e82a4 mediatek: add filogic 820 (MT7981) subtarget support 2022-11-18 03:03:21 +08:00
Daniel Golle
38462122bd kernel: modules: package Marvell gigE PHY driver
Some copper SFP modules come with Marvell's 88E1xxx PHY and need this
module to function. Package it, so users can easily install this PHY
driver and use e.g. FINISAR CORP. FCLF-8521-3-HC SFP.

Without marvell PHY driver:
sfp sfp2: module FINISAR CORP.    FCLF-8521-3-HC   rev A    sn XXXXXXX          dc XXXXXX
mt7530 mdio-bus:1f sfp2: validation with support 0000000,00000000,00000000 failed: -22
sfp sfp2: sfp_add_phy failed: -22

With marvell PHY driver:
sfp sfp2: module FINISAR CORP.    FCLF-8521-3-HC   rev A    sn XXXXXXX          dc XXXXXX
mt7530 mdio-bus:1f sfp2: switched to inband/sgmii link mode
mt7530 mdio-bus:1f sfp2: PHY [i2c:sfp2:16] driver [Marvell 88E1111] (irq=POLL)
mt7530 mdio-bus:1f sfp2: Link is Up - 1Gbps/Full - flow control rx/tx

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-18 01:35:52 +08:00
Daniel Golle
dfd0df2c6b uboot-mediatek: optimize MMC erase
Fix mmc_write_vol hush script used by many boards to avoid timeouts on
slow SD cards:
Instead of erasing a complete partition, only erase blocks for the
to-be-written image when writing to MMC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-18 01:33:31 +08:00
lovehackintosh
3d8184bdf3
tools: update versions (#10444)
* tools/xz: update to 5.2.8

Update to latest release.

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/sed: update to 4.9

Release Notes:
https://lists.gnu.org/archive/html/info-gnu/2022-11/msg00001.html

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/bash: update to 5.2.9

Update to latest release.

Signed-off-by: Nick Hainke <vincent@systemli.org>

* tools/llvm: update to 15.0.0

Release Notes:
https://discourse.llvm.org/t/llvm-15-0-0-release/65099

Signed-off-by: Nick Hainke <vincent@systemli.org>

Signed-off-by: Nick Hainke <vincent@systemli.org>
Co-authored-by: Nick Hainke <vincent@systemli.org>
2022-11-17 23:56:34 +08:00
lovehackintosh
c052e55f49
kernel: bump 5.15 to 5.15.79 (#10441)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-17 23:56:17 +08:00
lovehackintosh
9543671fe5
kernel: bump 5.10 to 5.10.155 (#10443)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-11-17 23:56:01 +08:00
Albert Xu
5e0279bb55
libnetfilter-conntrack: bump to 1.0.9 (#10442)
* libnetfilter-conntrack: bump to 1.0.9

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Jo-Philipp Wich <jo@mein.io>

* libnetfilter-conntrack: backport patch fixing compilation with 5.15

Backport patch fixing compilation with 5.15 and musl provided by Robert Marko

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be>
Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-11-17 23:55:29 +08:00
coolsnowwolf
d3a96f1bd5 ipq60xx: sync patches from upstream 2022-11-17 18:23:03 +08:00
coolsnowwolf
00db463826 Update README.md 2022-11-17 17:39:05 +08:00
edwardostara
32633277da
netsupport.mk: fix rxrpc dependence 2022-11-17 17:11:47 +08:00
coolsnowwolf
5080fb656a ipq6000: add usb3 DT description 2022-11-17 16:38:23 +08:00
aakkll
805cff4080
kernel: bump 6.0 to 6.0.9 (#10429) 2022-11-17 11:35:41 +08:00
coolsnowwolf
6533370814 ipq60xx: add Qihoo 360v6 wireless support 2022-11-16 22:25:49 +08:00
AmadeusGhost
524dfad990 mac80211/ath10k: add sdio chip support 2022-11-15 19:30:17 +08:00
coolsnowwolf
2c52782fd1 mt76: backport changed IEEE80211_MAX_AMPDU_BUF define 2022-11-15 00:34:58 +08:00
Nick Hainke
ddf2366cf4 mediatek: replace mt7986 watchdog assert patch with upstream
Replace "920-watchdog-add-mt7986-assert.patch" with upstreamed
- 920-v5.16-watchdog-mtk-add-disable_wdt_extrst-support.patch
- 921-v5.19-watchdog-mtk_wdt-mt7986-Add-toprgu-reset-controller.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:23:05 +08:00
Nick Hainke
1bba21463c mediatek: mt7629: add tag to upstreamed patches
The patches were upstreamed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:22:37 +08:00
Nick Hainke
c725219406 mediatek: add tag for upstreamed patches
The patches were upstreamed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:22:13 +08:00
Nick Hainke
0569656184 mediatek: mt7986: add tag to upstreamed patches
The patch "210-pinctrl-mediatek-add-support-for-MT7986-SoC.patch" and
"212-clk-mediatek-add-mt7986-clock-support.patch" are upstreamed.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:21:19 +08:00
Nick Hainke
bef1844645 mediatek: mt7622: add tag to upstreamed patches
The patches "191-arm64-dts-mt7622-specify-the-L2-cache-topology.patch"
and "192-arm64-dts-mt7622-specify-the-number-of-DMA-requests.patch" are
upstreamed to 5.19.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-11-14 18:18:14 +08:00
Aleksander Jan Bajkowski
0e6a364d29 mediatek: filogic: disable swconfig
This subtarget supports 3 devices:
 * Bananapi BPi-R3 (added in a96382c1bb204698cd43e82193877c10e4b63027),
 * MediaTek MTK7986 rfba AP (added in cffc77ae55ed0e5b9e70417d6a1e1d280cea92cf),
 * MediaTek MTK7986 rfbb AP (added in cffc77ae55ed0e5b9e70417d6a1e1d280cea92cf).

This subtarget supports DSA from the beginning. It looks like CONFIG_SWCONFIG
was copied from another config when the subtarget was created.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-11-14 18:17:17 +08:00
Aleksander Jan Bajkowski
60e14b312e mediatek: filogic: refresh config
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
2022-11-14 18:16:57 +08:00
coolsnowwolf
4a69c8aac3 ramips: fix Beeline SmartBox TURBO+ support 2022-11-13 20:22:27 +08:00
coolsnowwolf
27ed0acf3b libpcap: enable remote capture support 2022-11-13 20:09:51 +08:00
coolsnowwolf
1770fdd319 mt76: add EHT 1K aggregation definitions backport 2022-11-13 19:50:36 +08:00
Hauke Mehrtens
0583068db1 kernel: Refresh generic patches
This patch was out of sync.

Fixes: 1673b7dca384 ("kernel: backport fixes for MediaTek Ethernet driver")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-12 19:08:04 +08:00