openwrt/staging/xback.git
3 weeks agotegra: cortexa9: enable VDE driver nvidia_jetson
Tomasz Maciej Nowak [Sun, 13 Aug 2023 16:21:13 +0000 (18:21 +0200)]
tegra: cortexa9: enable VDE driver

This drives power domain responsible for clean reboot.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agotegra: refresh 6.1 patches
Tomasz Maciej Nowak [Sun, 13 Aug 2023 13:57:39 +0000 (15:57 +0200)]
tegra: refresh 6.1 patches

Adjust LED patch to changes in LED subsystem and remove all the fuzz.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agotegra: refresh 6.1 config
Tomasz Maciej Nowak [Wed, 9 Aug 2023 22:43:30 +0000 (00:43 +0200)]
tegra: refresh 6.1 config

Avoids interrupting build by unresolved symbols.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agotegra: copy config for 6.1 kernel
Tomasz Maciej Nowak [Wed, 9 Aug 2023 21:56:42 +0000 (23:56 +0200)]
tegra: copy config for 6.1 kernel

Preparation for config 6.1 config refresh.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agotegra: refresh 5.15 kernel configs
Tomasz Maciej Nowak [Wed, 9 Aug 2023 12:29:09 +0000 (14:29 +0200)]
tegra: refresh 5.15 kernel configs

Some unresolved symbols interrupt build. This also applies to 6.1
config, as it was a copy of 5.15 config.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agokernel: narrow SHA ARM modules for tegra to cortexa9
Tomasz Maciej Nowak [Wed, 9 Aug 2023 12:25:54 +0000 (14:25 +0200)]
kernel: narrow SHA ARM modules for tegra to cortexa9

Fix packaging of SHA modules after tegra split.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agokernel: declare new symbol
Tomasz Maciej Nowak [Tue, 8 Aug 2023 17:46:44 +0000 (19:46 +0200)]
kernel: declare new symbol

Found on tegra/cortexa57 introduction.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 weeks agofirmware: add support for nvidia gm20b (WIP)
Koen Vandeputte [Wed, 12 Apr 2023 09:34:15 +0000 (11:34 +0200)]
firmware: add support for nvidia gm20b (WIP)

This commit allows to install the required firmware files
for the gm20b gpu.

This gpu is based on Maxwell and is present on Jetson Nano (t210).

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: 6.1: drop unrequired patch
Koen Vandeputte [Fri, 28 Jul 2023 12:00:02 +0000 (14:00 +0200)]
tegra: 6.1: drop unrequired patch

This one is not needed anymore to properly build this target

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agokernel: add missing config symbols for 6.1
Koen Vandeputte [Fri, 28 Jul 2023 11:59:08 +0000 (13:59 +0200)]
kernel: add missing config symbols for 6.1

Discovered during tegra target bump to 6.1

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: 6.1: add testing kernel support
Koen Vandeputte [Fri, 28 Jul 2023 09:31:42 +0000 (11:31 +0200)]
tegra: 6.1: add testing kernel support

Add testing kernel 6.1

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: 6.1: copy patches from 5.15
Koen Vandeputte [Fri, 28 Jul 2023 09:31:21 +0000 (11:31 +0200)]
tegra: 6.1: copy patches from 5.15

Copy patches from 5.15
drop upstreamed.

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: 6.1: copy config from 5.15
Koen Vandeputte [Fri, 28 Jul 2023 09:30:52 +0000 (11:30 +0200)]
tegra: 6.1: copy config from 5.15

Copy config from 5.15 version

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: t210: add vic firmware
Koen Vandeputte [Wed, 12 Apr 2023 09:33:51 +0000 (11:33 +0200)]
tegra: t210: add vic firmware

This adds the required blob for the Video Image Compositor

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: t210: add usb support
Koen Vandeputte [Wed, 12 Apr 2023 09:33:17 +0000 (11:33 +0200)]
tegra: t210: add usb support

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agotegra: add support for nVidia Jetson Nano Development board
Koen Vandeputte [Wed, 29 Mar 2023 16:09:15 +0000 (18:09 +0200)]
tegra: add support for nVidia Jetson Nano Development board

Add support for the nVidia Jetson Nano (4GB) Development Board (P3450 rev. B01)

Working:
- Ethernet
- USB ports
- PCIe controller

Not supported atm:
- GPU
- HDMI
- DP

Untested:
- CSI ports

Flashing:
- Use Balena Etcher tool to flash one of the img.gz files directly to an SD card (SquashFs or EXT4)
- Insert in devkit
- Power up

Device will be available via:
- Serial console
- ssh root@192.168.1.1

Warning: The 2GB model of the Jetson Nano module is NOT supported

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
3 weeks agobuild: add support for cortex-a57 cpu
Koen Vandeputte [Thu, 7 Jul 2022 14:55:49 +0000 (16:55 +0200)]
build: add support for cortex-a57 cpu

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
3 weeks agotegra: split to subtargets
Koen Vandeputte [Tue, 4 Apr 2023 09:45:44 +0000 (11:45 +0200)]
tegra: split to subtargets

This allows adding other targets based on different architectures

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agokernel: add missing config symbols for 5.15
Koen Vandeputte [Mon, 3 Apr 2023 12:34:41 +0000 (14:34 +0200)]
kernel: add missing config symbols for 5.15

These were found during tegra update

Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
3 weeks agoat91: 6.1: set testing kernel
Nick Hainke [Wed, 17 Apr 2024 22:18:47 +0000 (00:18 +0200)]
at91: 6.1: set testing kernel

Allow selecting 6.1 as testing kernel on at91.

Tested-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Nick Hainke <vincent@systemli.org>
3 weeks agoat91: 6.1: update kernel config
Nick Hainke [Thu, 18 Apr 2024 08:18:23 +0000 (10:18 +0200)]
at91: 6.1: update kernel config

Update the kernel config by running make kernel_oldconfig.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 weeks agoat91: 6.1: import patch to fix pinctrl unused function warning
Nick Hainke [Fri, 19 Apr 2024 05:05:48 +0000 (07:05 +0200)]
at91: 6.1: import patch to fix pinctrl unused function warning

Fixes error in the form of [0]:
  drivers/pinctrl/pinctrl-at91.c:1668:12: error: 'at91_gpio_resume' defined but not used [-Werror=unused-function]
   1668 | static int at91_gpio_resume(struct device *dev)
        |            ^~~~~~~~~~~~~~~~
  drivers/pinctrl/pinctrl-at91.c:1650:12: error: 'at91_gpio_suspend' defined but not used [-Werror=unused-function]
   1650 | static int at91_gpio_suspend(struct device *dev)
        |            ^~~~~~~~~~~~~~~~~

[0] - https://lore.kernel.org/all/20221215164301.934805-1-arnd@kernel.org/

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 weeks agoat91: 6.1: remove upstreamed patches
Nick Hainke [Thu, 18 Apr 2024 08:10:39 +0000 (10:10 +0200)]
at91: 6.1: remove upstreamed patches

Remove the upstreamed patches.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 weeks agokernel/at91: Restore kernel files for v5.15
Nick Hainke [Wed, 17 Apr 2024 22:15:30 +0000 (00:15 +0200)]
kernel/at91: Restore kernel files for v5.15

This is an automatically generated commit which aids following Kernel patch history,
as git will see the move and copy as a rename thus defeating the purpose.

See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
for the original discussion.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 weeks agokernel/at91: Create kernel files for v6.1 (from v5.15)
Nick Hainke [Wed, 17 Apr 2024 22:15:29 +0000 (00:15 +0200)]
kernel/at91: Create kernel files for v6.1 (from v5.15)

This is an automatically generated commit.

When doing `git bisect`, consider `git bisect --skip`.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 weeks agoppp: add sourcefilter option support
Chen Minqiang [Mon, 22 Jan 2024 14:35:41 +0000 (22:35 +0800)]
ppp: add sourcefilter option support

This make source based IPv6 routing option available for
ppp/pptp/pppoe/pppoa

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
3 weeks agokernel: backport ipeth CDC NCM support
Georgi Valkov [Fri, 19 Apr 2024 07:19:00 +0000 (10:19 +0300)]
kernel: backport ipeth CDC NCM support

Fixes no communication with tethered iOS devices in CDC NCM mode.
Freshly booted iOS devices start in legacy mode, but are put into
NCM mode by the official Apple driver.

[1] https://github.com/torvalds/linux/commit/a2d274c62e44b1995c170595db3865c6fe701226

Fixes: #12566
Tested-by: Georgi Valkov <gvalkov@gmail.com>
Signed-off-by: Foster Snowhill <forst@pen.gy>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
[ better reference fixed issue ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agogithub: add labels to bug-report issue to better identify type
Christian Marangi [Sun, 21 Apr 2024 16:23:30 +0000 (18:23 +0200)]
github: add labels to bug-report issue to better identify type

Add labels to bug-report issue to better identify type.
Also introduce label to-triage to better handle issue by CI actions.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agogithub: permits blank issue
Christian Marangi [Sun, 21 Apr 2024 16:15:58 +0000 (18:15 +0200)]
github: permits blank issue

Blank issue might be used by devs to create tracking issue or by
advanced user to report more strange issue.

These kind of issue won't be parsed and won't be tagged. Normally bBug
report should be used for 99% of the cases.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agogeneric: 5.15: Make support for BoHong bh25q128as generic
R Maru [Fri, 8 Mar 2024 21:55:52 +0000 (15:55 -0600)]
generic: 5.15: Make support for BoHong bh25q128as generic

Move the patch for BoHong bh25q128as out of ramips to make it
generic. Not including 6.1.y since the mtd subsystem has changed,
and does not need these changes.

Patch was dropped with ramips updating to 6.1, hence we reintroudce it
here for 5.15 generic.

5.15.y functionality was verified on a Wavlink WL-WN586X3 Rev.a.

Signed-off-by: R Maru <deviantmaru@gmail.com>
[ rebase and add extra info in commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agogeneric: 6.1: backport support for generic spi-nor from SFDP data
Christian Marangi [Sat, 2 Mar 2024 14:40:00 +0000 (15:40 +0100)]
generic: 6.1: backport support for generic spi-nor from SFDP data

Backport patches for support of generic spi-nor from SFDP data for
kernel 6.1.

Kernel 5.15 have major rework of the info flags and it's not trustable
to backport this amount of changes and expect correct function of it.

All affected patches automatically refreshed using make
target/linux/refresh.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agotoolchain/wrapper: fill and reference info.mk in staging_dir ext toolchain
Christian Marangi [Sat, 20 Apr 2024 16:29:23 +0000 (18:29 +0200)]
toolchain/wrapper: fill and reference info.mk in staging_dir ext toolchain

Currently when external toolchain is used, a info.mk is created (with
to-be-filled values) but is never actually filled with real values and
is never actually used in rules.mk.

This info.mk is used down the code with special packages like libgcc to
reference info like gcc version and package special library.

To mimic what is done with internal toolchain, add the include in
rules.mk for info.mk also for external library and in fix
toolchain/wrapper to fill the staging_dir info.mk.

The logic is to check if the external toolchain provide an info.mk and
if it doesn't we at least fill the GCC_VERSION with the value set in the
.config file.

With this special library like libgcc correctly reference and have set the
GCC_VERSION variable.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agolldpd: extended interface(s) parsing to handle patterns
Paul Donald [Fri, 12 Apr 2024 19:27:56 +0000 (21:27 +0200)]
lldpd: extended interface(s) parsing to handle patterns

For interface type parameters, the man page documents patterns:
```
*,!eth*,!!eth1

uses all interfaces, except interfaces starting with "eth",
but including "eth1".
```

* Renamed `_ifname` to `_l2dev`.
* get the l2dev via network_get_physdev (and not l3dev)
* Glob pattern `*` is also valid - use noglob for this

The net result is that now interface 'names' including globs '*' and '!'
inversions are included in the generated lldpd configs.

Temporarily `set -o noglob` and then `set +o noglob` to disable & enable
globbing respectively, because when we pass `*` as an interface choice,
other file and pathnames get sucked in from where the init script runs,
and the `*` never makes it to lldpd.

Tested extensively on: 22.03.6, 23.05.3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
[ squash with commit bumping release version ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agouclient: update to Git HEAD (2024-04-19)
Felix Fietkau [Fri, 19 Apr 2024 18:05:26 +0000 (20:05 +0200)]
uclient: update to Git HEAD (2024-04-19)

e8780fa7792a uclient: fix http regression

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 weeks agosunxi: move KERNEL_LOADADDR into subtargets
Zoltan HERPAI [Sat, 23 Mar 2024 22:58:36 +0000 (23:58 +0100)]
sunxi: move KERNEL_LOADADDR into subtargets

As preparation for the arm926ej-s support which has a different
load address, move the KERNEL_LOADADDR into the subtargets.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agosunxi: move fpu feature flag into the subtargets
Zoltan HERPAI [Sat, 23 Mar 2024 17:35:58 +0000 (18:35 +0100)]
sunxi: move fpu feature flag into the subtargets

As the upcoming arm926ej-s does not have an FPU, move this flag
into the subtargets.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agosifiveu: 6.6: set testing kernel
Zoltan HERPAI [Thu, 18 Apr 2024 21:44:23 +0000 (21:44 +0000)]
sifiveu: 6.6: set testing kernel

Allow selecting 6.6 as testing kernel on sunxi.

Runtime-tested: SiFive Unleashed

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agosifiveu: 6.6: refresh patches
Zoltan HERPAI [Thu, 18 Apr 2024 21:43:49 +0000 (21:43 +0000)]
sifiveu: 6.6: refresh patches

Refresh kernel patches.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agokernel/sifiveu: Restore kernel files for v6.1
Zoltan HERPAI [Thu, 18 Apr 2024 21:15:30 +0000 (23:15 +0200)]
kernel/sifiveu: Restore kernel files for v6.1

This is an automatically generated commit which aids following Kernel patch history,
as git will see the move and copy as a rename thus defeating the purpose.

See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
for the original discussion.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agokernel/sifiveu: Create kernel files for v6.6 (from v6.1)
Zoltan HERPAI [Thu, 18 Apr 2024 21:15:30 +0000 (23:15 +0200)]
kernel/sifiveu: Create kernel files for v6.6 (from v6.1)

This is an automatically generated commit.

During a `git bisect` session, `git bisect --skip` is recommended.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agomxs: add kernel 6.6 as testing
Zoltan HERPAI [Fri, 9 Feb 2024 10:12:54 +0000 (11:12 +0100)]
mxs: add kernel 6.6 as testing

Add new LTS kernel support.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agomxs: adjust DTS path for 6.6
Zoltan HERPAI [Thu, 18 Apr 2024 16:49:27 +0000 (16:49 +0000)]
mxs: adjust DTS path for 6.6

For the ARM arch on 6.6, DTS files are moved into their vendor directories,
mimicking arm64. Reflect this in the image Makefile.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
3 weeks agouclient: update to Git HEAD (2024-04-19)
Felix Fietkau [Fri, 19 Apr 2024 15:56:17 +0000 (17:56 +0200)]
uclient: update to Git HEAD (2024-04-19)

704c78111a92 uclient-http: use ustream_ssl without ustream_fd

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 weeks agoustream-ssl: update to Git HEAD (2024-04-19)
Felix Fietkau [Fri, 19 Apr 2024 15:56:02 +0000 (17:56 +0200)]
ustream-ssl: update to Git HEAD (2024-04-19)

524a76e5af78 ustream-ssl: add support for using a fd instead of ustream as backing

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 weeks agomediatek: backport PWM drivers
Daniel Golle [Fri, 19 Apr 2024 09:55:46 +0000 (10:55 +0100)]
mediatek: backport PWM drivers

 * MT7981 and MT7988 backported to Linux 6.1
 * MT7988 backported to Linux 6.6

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 weeks agouboot-mvebu: update to version 2024.04
Robert Marko [Mon, 8 Apr 2024 08:57:58 +0000 (10:57 +0200)]
uboot-mvebu: update to version 2024.04

Lets update to 2024.04 in order to drop all of the patches as they have
been merged upstream.

Tested on Methode eDPU.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
3 weeks agouclient: update to Git HEAD (2024-04-18)
Felix Fietkau [Thu, 18 Apr 2024 20:27:28 +0000 (22:27 +0200)]
uclient: update to Git HEAD (2024-04-18)

c2bf660d88ec lib: add log_msg callback to get more detailed log messages
9adb4ca5219d uclient-fetch: add uclient / ustream-ssl log messages (enabled via -v)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 weeks agoustream-ssl: update to Git HEAD (2024-04-18)
Felix Fietkau [Thu, 18 Apr 2024 20:27:33 +0000 (22:27 +0200)]
ustream-ssl: update to Git HEAD (2024-04-18)

f9a28a9ce864 ustream-ssl: poll connection on incomplete reads
3c49e70c4622 ustream-ssl: increase number of read buffers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 weeks agoustream-ssl: update to Git HEAD (2024-04-18)
Felix Fietkau [Thu, 18 Apr 2024 11:18:21 +0000 (13:18 +0200)]
ustream-ssl: update to Git HEAD (2024-04-18)

60d8fbb5e669 mbedtls: handle session tickets for TLS 1.3
ac42af7981ae mbedtls: add ifdefs to fix legacy compatibility
af7c3532ad49 mbedtls: another cosmetic ifdef fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 weeks agobase-files: reduce IPv6 ULA prefix generation to a single call
Paul Donald [Fri, 29 Mar 2024 15:04:30 +0000 (16:04 +0100)]
base-files: reduce IPv6 ULA prefix generation to a single call

Reduce calls and pipes and read from urandom once directly with hexdump
for the necessary 5 bytes of random data to build the 48 bit ULA Prefix.

Fewer calls and forks; finish quicker; less memory used.

Tested on: 23.05.3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
3 weeks agomac80211: ath11k: re-enable ipq807x coldboot calibration
Robert Marko [Wed, 17 Apr 2024 10:01:02 +0000 (12:01 +0200)]
mac80211: ath11k: re-enable ipq807x coldboot calibration

It seems that move to kernel 6.6 somehow fixed the remoteproc restart so
now it properly restarts and thus coldboot calibration works as well.

ipq60xx still seems to be broken in a different way so keep it disabled.

Signed-off-by: Robert Marko <robimarko@gmail.com>
3 weeks agoqca-nss-dp: add patch fixing rmmod and insmod
Christian Marangi [Tue, 16 Apr 2024 14:44:41 +0000 (16:44 +0200)]
qca-nss-dp: add patch fixing rmmod and insmod

Add patch fixing rmmod and insmod. Lots of flawed logic fixed that
permits the module to correctly rmmod and insmod later.

Just to quote some change, use phy_detach instead of phy_disconnect, fix
exclusive reset_control that could only be used once, fix kernel panic
on second edma_cleanup, stop traffic before module exit...

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agoqoriq: add kernel 6.1 support
Stijn Tintel [Wed, 17 Apr 2024 21:29:00 +0000 (00:29 +0300)]
qoriq: add kernel 6.1 support

Add support for kernel 6.1 as testing kernel for qoriq. Refresh config
using `make kernel_oldconfig`.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 weeks agokernel/qoriq: Restore kernel files for v5.15
Stijn Tintel [Wed, 17 Apr 2024 21:23:36 +0000 (00:23 +0300)]
kernel/qoriq: Restore kernel files for v5.15

This is an automatically generated commit which aids following Kernel patch history,
as git will see the move and copy as a rename thus defeating the purpose.

See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
for the original discussion.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 weeks agokernel/qoriq: Create kernel files for v6.1 (from v5.15)
Stijn Tintel [Wed, 17 Apr 2024 21:23:36 +0000 (00:23 +0300)]
kernel/qoriq: Create kernel files for v6.1 (from v5.15)

This is an automatically generated commit.

When doing `git bisect`, consider `git bisect --skip`.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 weeks agoqoriq: refresh kernel 5.15 config
Stijn Tintel [Wed, 17 Apr 2024 21:23:10 +0000 (00:23 +0300)]
qoriq: refresh kernel 5.15 config

Done with `make kernel_oldconfig`.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 weeks agoipq807x: add support for Zbtlink ZBT-Z800AX
Chukun Pan [Tue, 26 Mar 2024 15:16:05 +0000 (23:16 +0800)]
ipq807x: add support for Zbtlink ZBT-Z800AX

Hardware specifications:
  SoC: Qualcomm IPQ8072A
  RAM: 1GB of DDR4 600MHz
  Flash1: Winbond W25Q64DW 8MB
  Flash2: MX30UF2G28AD 256MB
  WiFi1: QCN5024 2.4GHz AX 4x4
  WiFi2: QCN5054 5GHz AX 4x4
  Ethernet: 5x 1G RJ45 port
  USB: 2x USB 3.0 (1x M.2)
  Button: Reset, WPS

Flash instructions:
  Upload factory.bin in stock firmware's
  upgrade page, do not preserve settings.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
3 weeks agoipq-wifi: update to version 2024-04-16
Chukun Pan [Tue, 16 Apr 2024 15:10:02 +0000 (23:10 +0800)]
ipq-wifi: update to version 2024-04-16

Contains following updates:

 * ipq8074: add Spectrum SAX1V1K BDF
 * ipq8074: add Zbtlink ZBT-Z800AX BDF
 * ipq8074: update regdb in Spectrum SAX1V1K BDF
 * ipq6018: add Linksys MR7350 BDF

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
3 weeks agotools: zstd: update patch with upstream version
Christian Marangi [Wed, 17 Apr 2024 09:28:58 +0000 (11:28 +0200)]
tools: zstd: update patch with upstream version

Proposed fixup has been replaced and merged with an advanced version.

install-pc-mt has been dropped and replaced for intall-pc MT=1 to
generate a .pc file with multithread libs.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
3 weeks agoqmi: add sourcefilter option support
Chen Minqiang [Mon, 22 Jan 2024 15:00:03 +0000 (23:00 +0800)]
qmi: add sourcefilter option support

This make source based IPv6 routing option available for qmi

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
3 weeks agombim: add sourcefilter option support
Chen Minqiang [Mon, 22 Jan 2024 14:59:44 +0000 (22:59 +0800)]
mbim: add sourcefilter option support

This make source based IPv6 routing option available for mbim

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
3 weeks agoncm: add sourcefilter option support
Chen Minqiang [Mon, 22 Jan 2024 14:59:18 +0000 (22:59 +0800)]
ncm: add sourcefilter option support

This make source based IPv6 routing option available for ncm

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
3 weeks agoipset: update to 7.21
Chuanhong Guo [Wed, 17 Apr 2024 04:09:07 +0000 (12:09 +0800)]
ipset: update to 7.21

release notes:
7.21: https://www.spinics.net/lists/netfilter-devel/msg85299.html
7.20: https://www.spinics.net/lists/netfilter-devel/msg85120.html
7.19: https://www.spinics.net/lists/netfilter-devel/msg82985.html

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
3 weeks agoipset: include libgen.h for basename
Chuanhong Guo [Wed, 17 Apr 2024 04:12:25 +0000 (12:12 +0800)]
ipset: include libgen.h for basename

musl dropped the GNU version of basename prototype from string.h
in 1.2.5.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
4 weeks agosunxi: fix network bringup on Olinuxino Micro boards
Zoltan HERPAI [Tue, 16 Apr 2024 22:42:56 +0000 (00:42 +0200)]
sunxi: fix network bringup on Olinuxino Micro boards

It's the A13-based Olinuxino Micro which has only wireless interfaces. The
A20-based board is a fully-fledged one which has an ethernet interface.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
4 weeks agokernel: bump 5.15 to 5.15.155
Hauke Mehrtens [Sat, 13 Apr 2024 17:22:41 +0000 (19:22 +0200)]
kernel: bump 5.15 to 5.15.155

Manual adapted the following patches:
   generic/hack-5.15/221-module_exports.patch
   octeontx/patches-5.15/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agotools: mold: update to 2.30.0
Robert Marko [Mon, 15 Apr 2024 08:59:46 +0000 (10:59 +0200)]
tools: mold: update to 2.30.0

Release Notes:
https://github.com/rui314/mold/releases/tag/v2.3.3
https://github.com/rui314/mold/releases/tag/v2.4.0
https://github.com/rui314/mold/releases/tag/v2.4.1
https://github.com/rui314/mold/releases/tag/v2.30.0

Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agoipq40xx: whw03v2: enable additional 5 GHz channels
Rodrigo Balerdi [Wed, 3 Apr 2024 03:30:46 +0000 (00:30 -0300)]
ipq40xx: whw03v2: enable additional 5 GHz channels

This device supports channel ranges 36-64 and 100-165, just like
others based on the same reference design, but its current DTS is
unnecessarily restricting these ranges to 36-48 and 149-165.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
4 weeks agosunxi: update a13-olimex-som DTS path
Zoltan HERPAI [Tue, 16 Apr 2024 16:56:59 +0000 (16:56 +0000)]
sunxi: update a13-olimex-som DTS path

In preparation for supporting kernel 6.6, where the DTS files are grouped into
vendors - similarly to what arm64 has been doing all along -, update the
SUNXI_DTS var of this board to prepend it with SUNXI_DTS_DIR.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
4 weeks agopistachio: remove 5.15 support
Zoltan HERPAI [Tue, 16 Apr 2024 10:21:42 +0000 (12:21 +0200)]
pistachio: remove 5.15 support

Now that 6.1 is default, remove 5.15 support.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
4 weeks agopistachio: default to kernel 6.1
Zoltan HERPAI [Tue, 16 Apr 2024 10:20:59 +0000 (12:20 +0200)]
pistachio: default to kernel 6.1

6.1 has been present as testing for some time now, so switch the
default to it.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
4 weeks agokernel: Add missing config option
Hauke Mehrtens [Mon, 15 Apr 2024 20:50:34 +0000 (22:50 +0200)]
kernel: Add missing config option

Kernel 6.1.83 allows to select CONFIG_GPIO_VF610, deactivate it by
default.

This fixes compilation of the armsr/armv8 target.

Fixes: 2ad898e091cb ("kernel: bump 6.1 to 6.1.83")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agoRevert "elfutils: fix a missing typedef in the last update"
Felix Fietkau [Mon, 15 Apr 2024 20:05:06 +0000 (22:05 +0200)]
Revert "elfutils: fix a missing typedef in the last update"

This reverts commit a9e22ffa5028e303dc32d15f1ce5e1be4c20e125.
After doing a clean rebuild, it turns out that this change is not necessary

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agotools: libdeflate: backport fix for AVX-VNNI
Robert Marko [Mon, 15 Apr 2024 09:03:08 +0000 (11:03 +0200)]
tools: libdeflate: backport fix for AVX-VNNI

Trying to compile with new new enough GCC but older binutils that dont
support AVX-VNNI will error out on the assembler, so backport an upstream
fix for it.

Fixes: 338b463e1e97 ("tools: libdeflate: update to 1.20")
Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agonetifd: add missing error checks to packet steering script
Felix Fietkau [Mon, 15 Apr 2024 10:32:35 +0000 (12:32 +0200)]
netifd: add missing error checks to packet steering script

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoelfutils: fix a missing typedef in the last update
Felix Fietkau [Mon, 15 Apr 2024 10:55:37 +0000 (12:55 +0200)]
elfutils: fix a missing typedef in the last update

Fixes perf

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agotools/dwarves: add myself as PKG_MAINTAINER
Tony Ambardar [Tue, 5 Mar 2024 08:28:48 +0000 (00:28 -0800)]
tools/dwarves: add myself as PKG_MAINTAINER

Missed setting this when first adding package.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
4 weeks agobridger: update to Git HEAD (2024-04-15)
Felix Fietkau [Mon, 15 Apr 2024 09:19:44 +0000 (11:19 +0200)]
bridger: update to Git HEAD (2024-04-15)

3159bbe0a2eb improve isolation when selecting a fixed output port
c77a7a1ff74d nl: fix getting flow offload stats
a08e51e679dd add support for disabling bridge-local flows via config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoramips: Add support for D-Link DIR-3040 A1
Vince McKinsey [Sun, 31 Mar 2024 18:29:05 +0000 (14:29 -0400)]
ramips: Add support for D-Link DIR-3040 A1

This adds support for the A1 hardware revision of the DIR-3040.
It is an exact copy of the DIR-3060 save for some cosmetic changes to the housing.
Even going so far as having the same FCC ID.

Hardware specification:
SoC: MediaTek MT7621AT
Flash: Winbond W29N01HVSINA 128MB
RAM: Micron MT41K128M16JT-125 256MB
Ethernet: 5x 10/100/1000 Mbps
WiFi1: MT7615DN 2.4GHz N 2x2:2
WiFi2: MT7615DN 5GHz AC 2x2:2
WiFi3: MT7615N 5GHz AC 4x4:4
Button: WPS, Reset

Flash instructions:
OpenWrt can be installed via D-Link Recovery GUI:
NOTE: Seems to only work in Firefox on Windows.
Tried with Chrome on Windows, Firefox in Linux, and Chromium in Linux.
None of these other browsers worked.

    1. Push and hold reset button (on the bottom of the device) until power led
starts flashing (about 10 secs or so) while plugging in the power cable.
    2. Give it ~30 seconds, to boot the recovery mode GUI
    3. Connect your client computer to LAN1 of the device
    4. Set your client IP address manually to 192.168.0.2 / 255.255.255.0.
    5. Call the recovery page for the device at http://192.168.0.1/
    6. Use the provided emergency web GUI to upload and flash a new firmware to the device

Thanks to @Lucky1openwrt and @iivailo for creating the DIR-3060 DTS file and related changes,
so it was possible for me to adapt them to the DIR-3040, build images,
test and fix minor issues.

MAC Addresses:

| use | address | example |
| --- | --- | --- |
| LAN | label | f4:*:61 |
| WAN | label + 4 | f4:*:65 |
| WI1/2g | label + 2 | f4:*:63 |
| WI1/5g | label + 1 | f4:*:62 |
| WI2/5g | label + 3 | f4:*:64 |

The label MAC address was found in Factory, 0xe000

Checklist:

✓ nand
✓ ethernet
✓ button
✓ wifi2g
✓ wifi5g
✓ wifi5g
✓ mac
✓ led

Signed-off-by: Vince McKinsey <vincemckinsey@gmail.com>
4 weeks agotools: libdeflate: update to 1.20
Robert Marko [Sat, 13 Apr 2024 18:15:45 +0000 (20:15 +0200)]
tools: libdeflate: update to 1.20

Changes:
* Improved CRC-32 performance on recent x86 CPUs by adding
VPCLMULQDQ-accelerated implementations using 256-bit and 512-bit vectors.

* Improved Adler-32 performance on recent x86 CPUs by adding
VNNI-accelerated implementations using 256-bit and 512-bit vectors.

* Improved CRC-32 and Adler-32 performance on short inputs.

* Optimized the portable implementation of Adler-32.

* Added some basic optimizations for RISC-V.

* Dropped support for gcc versions older than v4.9 (released in 2014) and
clang versions older than v3.9 (released in 2016).

* Dropped support for CRC-32 acceleration on 32-bit ARM using the ARMv8 pmull or crc32 instructions.
This code only worked on CPUs that also have a 64-bit mode, and it was
already disabled on many compiler versions due to compiler limitations.
CRC-32 acceleration remains fully supported on 64-bit ARM.

Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agomvebu: fix LEDs on IIJ SA-W2
INAGAKI Hiroshi [Sun, 18 Feb 2024 06:01:51 +0000 (15:01 +0900)]
mvebu: fix LEDs on IIJ SA-W2

On IIJ SA-W2, some multiple LEDs have no "function" property and only
"color" property is available for the newer binding of LED on Linux
Kernel.
9d93b6d091 ("mvebu: drop redundant label with new LED color/function
format") removes "label" property from LEDs, then, multiple "<color>:"
(ex.: "green:"/"red:") will be appeared and renamed to "<color>:_<num>"
(ex.: "green:_1", "green:_2", ...) by kernel.

log:

[    1.911118] leds-gpio leds: Led green: renamed to green:_1 due to name collision
[    1.918600] leds-gpio leds: Led red: renamed to red:_1 due to name collision
[    1.925727] leds-gpio leds: Led green: renamed to green:_2 due to name collision
[    1.933202] leds-gpio leds: Led red: renamed to red:_2 due to name collision
[    1.940321] leds-gpio leds: Led green: renamed to green:_3 due to name collision
[    1.947797] leds-gpio leds: Led red: renamed to red:_3 due to name collision
[    1.954939] leds-gpio leds: Led green: renamed to green:_4 due to name collision
[    1.962456] leds-gpio leds: Led green: renamed to green:_5 due to name collision

/sys/class/leds:

root@OpenWrt:/# ls /sys/class/leds/
green:        green:_3      green:status  red:_2
green:_1      green:_4      red:          red:_3
green:_2      green:_5      red:_1        red:status

Fix this issue by adding missing "function" (and "function-enumerator")
property to those LEDs on IIJ SA-W2.

Fixes: 9d93b6d091 ("mvebu: drop redundant label with new LED color/function format")
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
4 weeks agomvebu: fix LEDs on Fortinet FortiGate devices
INAGAKI Hiroshi [Sat, 17 Feb 2024 10:27:42 +0000 (19:27 +0900)]
mvebu: fix LEDs on Fortinet FortiGate devices

On Fortinet FortiGate 30E/50E, some multiple LEDs have no "function"
property and only "color" property is available for the new binding of
LED on Linux Kernel.
9d93b6d091 ("mvebu: drop redundant label with new LED color/function
format") removes "label" property from LEDs, then, multiple "<color>:"
(ex.: "green:"/"red:"/"amber:") will be appeared as LED names and
renamed to "<color>:_<num>" (ex.: "green:_1", "green:_2", ...) by
kernel.

log:

[   12.425170] leds-gpio gpio-leds: Led green: renamed to green:_1 due to name collision
[   12.520390] leds-gpio gpio-leds: Led amber: renamed to amber:_1 due to name collision
[   12.614931] leds-gpio gpio-leds: Led green: renamed to green:_2 due to name collision
[   12.709895] leds-gpio gpio-leds: Led green: renamed to green:_3 due to name collision
[   12.804439] leds-gpio gpio-leds: Led amber: renamed to amber:_2 due to name collision
[   12.898969] leds-gpio gpio-leds: Led green: renamed to green:_4 due to name collision
[   12.993504] leds-gpio gpio-leds: Led amber: renamed to amber:_3 due to name collision
[   13.088033] leds-gpio gpio-leds: Led green: renamed to green:_5 due to name collision
[   13.182570] leds-gpio gpio-leds: Led green: renamed to green:_6 due to name collision
[   13.277103] leds-gpio gpio-leds: Led amber: renamed to amber:_4 due to name collision
[   13.371636] leds-gpio gpio-leds: Led green: renamed to green:_7 due to name collision

/sys/class/leds:

root@OpenWrt:/# ls /sys/class/leds/
amber:        amber:_4      green:_2      green:_6      red:alarm
amber:_1      amber:alarm   green:_3      green:_7      red:status
amber:_2      green:        green:_4      green:status
amber:_3      green:_1      green:_5      red:

Fix this issue by adding missing "function" (and "function-enumerator")
property those to LEDs on Fortinet FortiGate devices.
Note: there is no appropriate function for "ha" LEDs in
dt-bindings/leds/common.h, so use the hardcoded string for them instead.

Fixes: 9d93b6d091 ("mvebu: drop redundant label with new LED color/function format")
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
4 weeks agokernel: add pending patches for new LED_FUNCTION_* definitions
INAGAKI Hiroshi [Wed, 20 Mar 2024 11:14:36 +0000 (20:14 +0900)]
kernel: add pending patches for new LED_FUNCTION_* definitions

Add pending patches to add LED_FUNCTION_MOBILE and LED_FUNCTION_SPEED_*
definitions for Fortinet FortiGate devices and IIJ SA-W2.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
4 weeks agoath79: add support for Comfast CF-EW71 v2
Felix Golatofski [Tue, 9 Jan 2024 23:44:35 +0000 (00:44 +0100)]
ath79: add support for Comfast CF-EW71 v2

Specifications:
Qualcomm/Atheros QCA9531
2x 10/100 Mbps Ethernet, with 48v PoE
2T2R 2.4 GHz, 802.11b/g/n
128MB RAM
16MB SPI Flash
4x LED (Always On Power, LAN, WAN, WLAN)

Flashing instructions:
The original firmware is based on OpenWrt, so flashing the sysupgrade image over the factory firmware is sufficient.
The bootloader has a built-in recovery web-ui. This is the method I used to flash OpenWrt. You can get to the recovery web-ui by holding down the reset button for a few seconds (~5s) while pluggin in the router. The LEDs should start blinking fast and the router should be available on 192.168.1.1 for the recovery.

Tested: Reset button, WAN LED, LAN LED, Power LED (always on, not much to test), WLAN LED, MAC addresses (same as factory firmware).

Signed-off-by: Felix Golatofski <git@xdfr.de>
4 weeks agouboot-rockchip: Update to 2024.04
Tianling Shen [Wed, 10 Apr 2024 06:39:43 +0000 (14:39 +0800)]
uboot-rockchip: Update to 2024.04

Removed upstreamed patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
4 weeks agorkbin: bump to latest git HEAD
Tianling Shen [Wed, 10 Apr 2024 06:35:38 +0000 (14:35 +0800)]
rkbin: bump to latest git HEAD

Fixed bugs for memory initialization/training,
improved memory compatibility/stability.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
4 weeks agokernel: bump 6.1 to 6.1.86
Hauke Mehrtens [Sat, 13 Apr 2024 15:48:42 +0000 (17:48 +0200)]
kernel: bump 6.1 to 6.1.86

Removed upstreamed:
   bcm27xx/patches-6.1/950-1235-drm-vc4-don-t-check-if-plane-state-fb-state-fb.patch  [1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.86&id=48bfb4b03c5ff6e1fa1dc73fb915e150b0968c40

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agokernel: bump 6.1 to 6.1.84
Hauke Mehrtens [Sat, 13 Apr 2024 11:49:12 +0000 (13:49 +0200)]
kernel: bump 6.1 to 6.1.84

Removed upstreamed:
   pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch [1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.84&id=44b6fb6cdedb2c391a2da355521d4610b2645fcc

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agokernel: bump 6.1 to 6.1.83
Hauke Mehrtens [Fri, 29 Mar 2024 22:15:26 +0000 (23:15 +0100)]
kernel: bump 6.1 to 6.1.83

Removed upstreamed:
   generic/backport-6.1/789-STABLE-01-net-dsa-mt7530-prevent-possible-incorrect-XTAL-frequ.patch [1]
   generic/backport-6.1/789-STABLE-02-net-dsa-mt7530-fix-link-local-frames-that-ingress-vl.patch [2]
   generic/backport-6.1/789-STABLE-03-net-dsa-mt7530-fix-handling-of-all-link-local-frames.patch [3]
   generic/pending-6.1/735-net-mediatek-mtk_eth_soc-release-MAC_MCR_FORCE_LINK-.patch [4]
   generic/pending-6.1/736-net-ethernet-mtk_eth_soc-fix-PPE-hanging-issue.patch [5]

Manual adjusted the following patches:
  mediatek/patches-6.1/100-dts-update-mt7622-rfb1.patch

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=be4512b9ac6fc53e1ca8daccbda84f643215c547
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=f1fa919ea59655f73cb3972264e157b8831ba546
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=86c0c154a759f2af9612a04bdf29110f02dce956
4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=6b62bad2da1b338f452a9380639fc9b093d75a25
5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.83&id=f78807362828ad01db2a9ed005bf79501b620f27

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agokernel: Reorder generic kernel 6.1 config
Hauke Mehrtens [Sat, 13 Apr 2024 16:25:16 +0000 (18:25 +0200)]
kernel: Reorder generic kernel 6.1 config

This reordering was done using these commands:
./scripts/kconfig.pl '+' target/linux/generic/config-6.1 /dev/null > target/linux/generic/config-6.1-new
mv target/linux/generic/config-6.1-new target/linux/generic/config-6.1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agokernel: bump 6.6 to 6.6.27
John Audia [Sat, 13 Apr 2024 12:19:04 +0000 (08:19 -0400)]
kernel: bump 6.6 to 6.6.27

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.27

Removed upstreamed:
pending-6.6/981-gcc-plugins-stackleak-Avoid-.head.txt.section.patch[1]

All patches automatically rebased.

1. https://github.com/gregkh/linux/commit/9dff96b8b3a404d3b3581af46450f2efeb7d290a

Build system: x86/64
Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64/AMD Cezanne
Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
4 weeks agox86: generic: config-6.6: refresh
John Audia [Wed, 10 Apr 2024 20:24:49 +0000 (16:24 -0400)]
x86: generic: config-6.6: refresh

Ran `make kernel_menuconfig`

Reference to CONFIG_SPECTRE_BHI_ON=y[1]

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.6.26&id2=v6.6.25

Signed-off-by: John Audia <therealgraysky@proton.me>
4 weeks agokernel: bump 6.6 to 6.6.26
John Audia [Wed, 10 Apr 2024 19:16:18 +0000 (15:16 -0400)]
kernel: bump 6.6 to 6.6.26

Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.26

Manually rebased:
generic/hack-6.6/210-darwin_scripts_include.patch

Added pending:
generic/pending-6.6/981-gcc-plugins-stackleak-Avoid-.head.txt.section.patch

All other patches automatically rebased.

Build system: x86/64
Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, flogic/glinet_gl-mt6000
Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, flogic/glinet_gl-mt6000

Signed-off-by: John Audia <therealgraysky@proton.me>
4 weeks agotoolchain/musl: Update to 1.2.5
Hannu Nyman [Fri, 1 Mar 2024 20:51:25 +0000 (22:51 +0200)]
toolchain/musl: Update to 1.2.5

Update musl C library to 1.2.5

This release adds extension functions statx and preadv2/pwritev2,
with fallback implementations for older kernels, and adds two new
ports: loongarch64 and riscv32. Minor changes to the printf family
of functions have been made for conformance to new standards
interpretations/requirements. TLSDESC support for riscv64 has also
been added.

Bugs fixed include some DNS issues related to new TCP fallback
functionality, several rare race conditions, potentially incorrect
return value when glob aborts, and several signifiant arch-specific
bugs affecting TLSDESC on arm, riscv64 icache flushing, and
sh sigsetjmp and dlsym RTLD_NEXT.

1.2.5 release notes:

new features:
- statx function (linux extension; via syscall and fallback using fstatat)
- clone function is now usable and gives _Fork-like consistency in child
- statvfs now provides f_type result
- preadv2 and pwritev2 (linux extension) syscall wrappers
- riscv64 TLSDESC support

new ports:
- loongarch64
- riscv32

compatibility:
- DNS resolver can now handle answers with long CNAME chains
- string.h no longer provides (C23-incompat) non-prototype decl of basename
- fstatat statx backend now matches stat syscall non-automounting behavior
- mntent interfaces now handle escaped whitespace in paths/options

standards updates:
- printf %lc of nul wchar now produces output
- snprintf and swprintf no longer fail on n > INT_MAX
- ppoll is now exposed in default feature profile

bugs fixed:
- some long DNS answers were wrongly rejected despite new TCP support
- glob could wrongly return GLOB_NOMATCH if aborted before any matches
- multithreaded set*id could malfunction from thread sequencing logic bug
- certain use of threads after fork could deadlock thread-list lock
- posix_spawn child could deadlock in race with async parent death
- mbrtowc return value was wrong if argument n exceeded UINT_MAX
- 80-bit extended acoshl and powl got some corner cases wrong
- syslog incorrectly generated localized timestamps

arch-specific bugs fixed:
- arm (32-bit) TLSDESC malfunctioned due to addends being processed wrong
- riscv64 icache flush operation was non-functional
- sh sigsetjmp failed to properly restore call-saved register r8 on return
- sh dlsym RTLD_NEXT did not identify calling module correctly

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
[Removed patch adding basename hack again]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
4 weeks agoelfutils: update to 1.91
Tony Ambardar [Tue, 5 Mar 2024 11:20:07 +0000 (03:20 -0800)]
elfutils: update to 1.91

Release Notes:
https://sourceware.org/pipermail/elfutils-devel/2024q1/006876.html

Refresh patch:
- 005-build_only_libs.patch

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
4 weeks agonetifd: rewrite packet steering script
Felix Fietkau [Fri, 12 Apr 2024 19:51:50 +0000 (21:51 +0200)]
netifd: rewrite packet steering script

The new script uses a different strategy compared to the previous one.
Instead of trying to split flows by hash and spread them to all CPUs,
use RPS to redirect packets to a single core only.
Try to spread NAPI thread and RPS target CPUs across available CPUs
and try to ensure that the NAPI thread is on a different CPU than the
RPS target. This significantly reduces cycles wasted on the scheduler.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
4 weeks agoipq40xx: whw03v2: change LED color for 'running' state to blue
Rodrigo Balerdi [Sat, 13 Apr 2024 19:36:31 +0000 (16:36 -0300)]
ipq40xx: whw03v2: change LED color for 'running' state to blue

Change the RGB indicator LED color for the running state from green to
blue. There are various reasons for this change:

- In stock firmware, green means internet connection is up, red means it
  is down, and blue means indeterminate. To track stock behavior as
  closely as possible, OpenWrt should indicate blue by default.

- In the current 23.x OpenWrt releases for this router, the led glows
  blue all the time -not green- because the bootloader sets it blue
  and there is an OpenWrt bug that makes it unable to control the LED.
  The bug is fixed in master, so without this commit there would be an
  unexpected change of behavior for this device in the next release.

- The ports other closely related Linksys devices (such as EA8300 and
  MR8300) get this right and use blue for the running state.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
4 weeks agoipq40xx: whw03v2: fix handling of RGB LED
Rodrigo Balerdi [Thu, 11 Apr 2024 18:44:10 +0000 (15:44 -0300)]
ipq40xx: whw03v2: fix handling of RGB LED

The RGB LED should glow green in the 'running' state, but it
was glowing cyan because the blue component defaulted to 'on'.

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
4 weeks agomac80211: ath11k: support DT property to limit channels
Robert Marko [Thu, 11 Apr 2024 19:08:44 +0000 (21:08 +0200)]
mac80211: ath11k: support DT property to limit channels

Limiting allowed channels per device may be required and is commonly
supported on other drivers, so include a pending patch to add support for
the same.

Signed-off-by: Robert Marko <robimarko@gmail.com>
4 weeks agomediatek: fix DTS defining mt7530 switch phys but not referencing them
Daniel Golle [Fri, 12 Apr 2024 12:24:38 +0000 (13:24 +0100)]
mediatek: fix DTS defining mt7530 switch phys but not referencing them

The upstream solution to define the MDIO bus in DT is a bit
more strict than our previous downstream solution doing the same thing
and now requires switch PHYs to be referenced in DT as well.

Arınç Ünal told us in #15141:
"With [the now upstream patch written by him which we backported], the
switch MDIO bus won't be assigned to ds->user_mii_bus when the switch
MDIO bus is defined on the device tree anymore. This was not the case
with the downstream patch.

When ds->user_mii_bus is populated, DSA will 1:1 map the port with
PHY. Meaning port with address 1 will be mapped to PHY with address 1.
Because that ds->user_mii_bus is not populated when the switch MDIO
bus is defined on the device tree, on every port node, the PHY address
must be supplied by the phy-handle property."

Add those phy-handles to affected devices' DT.

Fixes: 4354b34f6f ("generic: 6.6: sync mt7530 DSA driver with upstream")
Fixes: 401a6ccfaf ("generic: 6.1: sync mt7530 DSA driver with upstream")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>