openwrt/staging/ansuel.git
18 months agoTODROP ipq806x: set 6.1 as default kernel version support-kernel-6.1
Christian Marangi [Tue, 18 Oct 2022 22:06:29 +0000 (00:06 +0200)]
TODROP ipq806x: set 6.1 as default kernel version

Needed to compile test this kernel version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: enable testing kernel version with 6.1 version
Christian Marangi [Tue, 18 Oct 2022 22:05:36 +0000 (00:05 +0200)]
ipq806x: enable testing kernel version with 6.1 version

Enable testing kernel version with 6.1 kernel version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: refresh config and add missing symbols
Christian Marangi [Tue, 18 Oct 2022 22:00:38 +0000 (00:00 +0200)]
ipq806x: 6.1: refresh config and add missing symbols

Refresh config for kernel 6.1 and add missing symbols
Then sorted using:
$ ./scripts/kconfig.pl '+' target/linux/ipq806x/config-6.1 /dev/null > target/linux/ipq806x/config-6.1-new
$ mv target/linux/ipq806x/config-6.1-new target/linux/ipq806x/config-6.1

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: refresh dts
Christian Marangi [Thu, 20 Oct 2022 15:50:06 +0000 (17:50 +0200)]
ipq806x: 6.1: refresh dts

Refresh dts for kernel 6.1 support.
Changes:
- nbg6817 drop amba node and reference directly sdcc1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: refresh kernel patches
Christian Marangi [Tue, 18 Oct 2022 23:09:53 +0000 (01:09 +0200)]
ipq806x: 6.1: refresh kernel patches

Refresh kernel patches for version 6.1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: add pending OPP set opp improvement patch
Christian Marangi [Tue, 18 Oct 2022 23:12:04 +0000 (01:12 +0200)]
generic: 6.1: add pending OPP set opp improvement patch

Add pending OPP set opp improvement patch to better handle _set_opp
function in clock scaling.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: drop other upstream patch
Christian Marangi [Tue, 18 Oct 2022 21:53:26 +0000 (23:53 +0200)]
ipq806x: 6.1: drop other upstream patch

Drop other upstream patch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: replace ZRELADDR HACK patch with new version
Christian Marangi [Tue, 18 Oct 2022 21:49:18 +0000 (23:49 +0200)]
ipq806x: 6.1: replace ZRELADDR HACK patch with new version

With 6.1 lots have changed and the platform for Makefile.boot got
dropped. Replace the patch with a new version that is alligned to the
new implementation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: drop upstream patch
Christian Marangi [Tue, 18 Oct 2022 21:48:45 +0000 (23:48 +0200)]
ipq806x: 6.1: drop upstream patch

Drop patch that got merged upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 6.1: copy patches, files and config from 5.15
Christian Marangi [Tue, 18 Oct 2022 21:46:43 +0000 (23:46 +0200)]
ipq806x: 6.1: copy patches, files and config from 5.15

Copy patches, files and config from 5.15 kernel version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: add patch to compile iee8211 headers
Christian Marangi [Thu, 20 Oct 2022 01:45:31 +0000 (03:45 +0200)]
generic: 6.1: add patch to compile iee8211 headers

With kernel 6.1 ieee2111_ptr is not compiled by default. Add pending
patch to restore this to make backports project compatible.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agokernel: modules: wwan: adapt for kernel 6.1
Robert Marko [Fri, 21 Oct 2022 11:08:35 +0000 (13:08 +0200)]
kernel: modules: wwan: adapt for kernel 6.1

Update the WWAN kmods for compilation under kernel 6.1:
* Depend on kernel not being 5.10 rather than only 5.15
* Enable CONFIG_WWAN_DEBUGFS as its now optional from 5.17
* Add missing symbols for new WWAN drivers to generic config

Signed-off-by: Robert Marko <robimarko@gmail.com>
18 months agokernel: modules: mhi: adapt for kernel 6.1
Robert Marko [Fri, 21 Oct 2022 11:06:43 +0000 (13:06 +0200)]
kernel: modules: mhi: adapt for kernel 6.1

Update the MHI bus kmods for compilation under kernel 6.1:
* Depend on kernel not being 5.10 rather than only 5.15
* Kmod path has changed from 5.18

Signed-off-by: Robert Marko <robimarko@gmail.com>
18 months agokernel: modules: adapt for kernel 6.1
Christian Marangi [Thu, 20 Oct 2022 01:13:50 +0000 (03:13 +0200)]
kernel: modules: adapt for kernel 6.1

Adapt kernel modules to support kernel 6.1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: refresh config and add missing symbols
Christian Marangi [Tue, 18 Oct 2022 21:45:09 +0000 (23:45 +0200)]
generic: 6.1: refresh config and add missing symbols

Refresh generic config for 6.1 and add missing symbols.
Then sorted using:
$ ./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: Christian Marangi <ansuelsmth@gmail.com>
18 months agokernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function
Christian Marangi [Tue, 18 Oct 2022 22:03:17 +0000 (00:03 +0200)]
kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs function

New kernel version 6.1 introduced new INITRAMFS option. Add them to the
Initramfs functions to correctly compile initramfs images.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agokernel: refresh swconfig_leds to handle new trigger locking
Christian Marangi [Thu, 20 Oct 2022 00:20:17 +0000 (02:20 +0200)]
kernel: refresh swconfig_leds to handle new trigger locking

Refresh swconfig_leds source to handle new trigger locking that is now a
spinlock.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agokernel: refresh IFF_NO_IP_ALIGN ifdef for kernel >= 6.1
Christian Marangi [Wed, 19 Oct 2022 21:48:42 +0000 (23:48 +0200)]
kernel: refresh IFF_NO_IP_ALIGN ifdef for kernel >= 6.1

Kernel 6.1 expanded the priv_flags to long bitmap so update and restore
it to priv_flags.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: refresh hack patches
Christian Marangi [Tue, 18 Oct 2022 21:43:43 +0000 (23:43 +0200)]
generic: 6.1: refresh hack patches

Refresh hack patches for kernel 6.1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: refresh pending patches
Christian Marangi [Tue, 18 Oct 2022 21:24:43 +0000 (23:24 +0200)]
generic: 6.1: refresh pending patches

Refresh pending patches for kernel 6.1.

Changes:
- Refresh mtd patches with new implementation.
- Change 191-rtc-rs5c372-let_the_alarm_to_be_used_as_wakeup_source as
  uie_unsupported got dropped and we now set the bit directly.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: refresh backport patches
Christian Marangi [Tue, 18 Oct 2022 22:56:57 +0000 (00:56 +0200)]
generic: 6.1: refresh backport patches

Refresh backport patches that still needs to be merged for kernel 6.1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoTODROP generic: 6.1: add tomerge mtd fixup backport patch
Christian Marangi [Wed, 19 Oct 2022 22:10:56 +0000 (00:10 +0200)]
TODROP generic: 6.1: add tomerge mtd fixup backport patch

There is a patch for mtd that still has to merge in 6.1-rc :D

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 6.1: drop backport patches
Christian Marangi [Tue, 18 Oct 2022 20:49:57 +0000 (22:49 +0200)]
generic: 6.1: drop backport patches

Drop all backport patches that are now included in kernel 6.1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: copy backport, hack, pending patch and config from 5.15 to 6.1
Christian Marangi [Tue, 18 Oct 2022 20:26:34 +0000 (22:26 +0200)]
generic: copy backport, hack, pending patch and config from 5.15 to 6.1

Copy backport, hack, pending patch and config from 5.15 to 6.1.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agokernel: add define for 6.1-rc2
Christian Marangi [Tue, 18 Oct 2022 20:24:40 +0000 (22:24 +0200)]
kernel: add define for 6.1-rc2

Add define for kernel 6.1-rc2.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agobase-files: wifi: for wifi reconf, scan_wifi after network reload
Bob Cantor [Sun, 4 Jul 2021 17:26:46 +0000 (03:26 +1000)]
base-files: wifi: for wifi reconf, scan_wifi after network reload

Commit e8b542960921 included an unintended change and we now call
scan_wifi before a network reload.

Restore the original behaviour and call scan_wifi only after a network
reload.

Fixes: e8b542960921 ("base-files: wifi: tidy up the reconf code")
Signed-off-by: Bob Cantor <bobc@confidesk.com>
18 months agobase-files: wifi: for wifi up, scan_wifi after network reload
Bob Cantor [Sun, 4 Jul 2021 17:03:58 +0000 (03:03 +1000)]
base-files: wifi: for wifi up, scan_wifi after network reload

Commit b82cc8071366 included an unintended change and we now call
scan_wifi before a network reload.

Restore the original behaviour and call scan_wifi only after a network
reload.

Fixes: b82cc8071366 ("base-files: wifi: swap the order of some ubus calls")
Signed-off-by: Bob Cantor <bobc@confidesk.com>
18 months agorealtek: 5.10: refresh kernel patches
Christian Marangi [Tue, 25 Oct 2022 02:56:16 +0000 (04:56 +0200)]
realtek: 5.10: refresh kernel patches

Refresh kernel patches for realtek 5.10 kernel

Refreshed patch:
- 300-mips-add-rtl838x-platform.patch

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq40xx: convert to DSA and enable Netgear Orbi devices
Davide Fioravanti [Tue, 4 Oct 2022 21:20:39 +0000 (23:20 +0200)]
ipq40xx: convert to DSA and enable Netgear Orbi devices

Convert to DSA and enable again Netgear Orbi devices:
 - RBR50
 - RBS50
 - SRR60
 - SRS60

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
18 months agogeneric: 5.15: add missing CMDLINE_OVERRIDE patch
Christian Marangi [Mon, 24 Oct 2022 21:08:06 +0000 (23:08 +0200)]
generic: 5.15: add missing CMDLINE_OVERRIDE patch

This patch was wrongly dropped with the assumption that it was moved to
generic. This wasn't the case and caused the malfunction of the Asrock
G10 router.

Reintroduce it to fix Asrock G10 functionality.

Fixes: 8cc2caed58e7 ("ipq806x: 5:15: add testing kernel version")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 5.15: drop mmc-ddr-1_8v from sdcc1 node
Christian Marangi [Sat, 22 Oct 2022 14:58:19 +0000 (16:58 +0200)]
ipq806x: 5.15: drop mmc-ddr-1_8v from sdcc1 node

Zyxel NGB6817 is the only router that use mmc for rootfs. Upstream
kernel dtsi have mmc-ddr-1_8v enabled for sddc1. This is wrong as mmc on
ipq806x is supplied by a fixed 3.3v regulator and can't operate at 1.8v.
This cause the sddc1 to malfunction and cause kernel panic.
In old 5.15 version this was disabled but it was put in addition to many
other changes so it was dropped silently. Restore this patch to fix
working condition of such router.

Fixes: 88bf652 ("ipq806x: 5.15: replace dtsi patches with upstream version")
Fixes: #11000
Tested-by: Hendrik Koerner <koerhen@web.de>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 5.15: revert unwanted DSA conversion for ASRock G10
Christian Marangi [Thu, 20 Oct 2022 14:53:01 +0000 (16:53 +0200)]
ipq806x: 5.15: revert unwanted DSA conversion for ASRock G10

In refreshing DTS to the upstream version an unwanted change slipped in
the commit. The ASRock G10 dts got converted to DSA without any support.

Revert this to swconfig driver to restore normal functionality.

Fixes: 88bf6525251f ("ipq806x: 5.15: replace dtsi patches with upstream version")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agoipq806x: 5.15: backport qcom_nandc patch for unprotected spare data fix
Christian Marangi [Fri, 21 Oct 2022 16:56:08 +0000 (18:56 +0200)]
ipq806x: 5.15: backport qcom_nandc patch for unprotected spare data fix

We currently ignore ret of the nandc partition parser if unprotected
spare data is true. This is the case for ipq806x nand.

Backport patch that fix this error and correctly handle error from
partition parser.

Fixes: ae6a63bc97cf ("ipq806x: 5.15: replace nandc patch with upstream version")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: backport smempart parser fixup patch with EPROBE_DEFER error
Christian Marangi [Thu, 20 Oct 2022 14:48:16 +0000 (16:48 +0200)]
generic: 5.15: backport smempart parser fixup patch with EPROBE_DEFER error

Backport patch from kernel 5.15 that mute error on EPROBE_DEFER with
smempart parser.

This parser require the smem device to be probed first and currently it
may happen that mtd gets probed before the smem device causing an error
on the smempart parser. This error may be confusing and should be muted.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: backport qcom smem patch for reserved-space support
Christian Marangi [Thu, 20 Oct 2022 14:44:56 +0000 (16:44 +0200)]
generic: 5.15: backport qcom smem patch for reserved-space support

In new kernel version from 5.16, smem node can be declared directly in
the reserved-space node. Upstream ipq806x (and to-be-merged) ipq807x
allign to this new implementation. Backport this patch to kernel 5.15 to
fix support for smem parser for ipq806x target.

Fixes: 88bf6525251f ("ipq806x: 5.15: replace dtsi patches with upstream version")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move not backport patch to pending dir
Christian Marangi [Sat, 22 Oct 2022 13:43:47 +0000 (15:43 +0200)]
generic: 5.15: move not backport patch to pending dir

Move patch wrongly placed in backport dir to pending dir as they still
didn't got merged upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move MGLRU patches from pending to backport
Christian Marangi [Fri, 21 Oct 2022 22:24:49 +0000 (00:24 +0200)]
generic: 5.15: move MGLRU patches from pending to backport

Move MGLRU patches from pending to backport as they got merged upstream.
These are direct porting from one of the dev so it's better to just move
than trying to backport them again from upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move mvebu aardvark patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 21:55:37 +0000 (23:55 +0200)]
generic: 5.15: move mvebu aardvark patch from pending to backport

Move mvebu aardvark patch from pending to backport as they got merged
upstream.
One additional patch is needed as a later fixup for it.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move ZTE MF286D modem patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 21:36:04 +0000 (23:36 +0200)]
generic: 5.15: move ZTE MF286D modem patch from pending to backport

Move ZTE MF286D modem patch from pending to backport as it was merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move bluetooth mt79 usb id patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 21:29:39 +0000 (23:29 +0200)]
generic: 5.15: move bluetooth mt79 usb id patch from pending to backport

Move bluetooth mt79 usb id patch from pending to backport as it got
merged upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move mtk eth soc patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 21:19:44 +0000 (23:19 +0200)]
generic: 5.15: move mtk eth soc patch from pending to backport

Move mtk eth soc patch from pending to backport as it got merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move sfp HALNy patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 21:08:54 +0000 (23:08 +0200)]
generic: 5.15: move sfp HALNy patch from pending to backport

Move sfp HALNy patch from pending to backport as they got merged
upstream. The patch was reordered and one was squashed in the upstream
variant.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move pending xtx nand patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 20:43:07 +0000 (22:43 +0200)]
generic: 5.15: move pending xtx nand patch from pending to backport

Move pending xtx nand patch from pending to backport as it got merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move dtc drop interrupt check from pending to backport
Christian Marangi [Fri, 21 Oct 2022 20:37:06 +0000 (22:37 +0200)]
generic: 5.15: move dtc drop interrupt check from pending to backport

Move dtc drop interrupto check from pending to backport as it got merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agogeneric: 5.15: move MIPS cpuinfo patch from pending to backport
Christian Marangi [Fri, 21 Oct 2022 20:14:22 +0000 (22:14 +0200)]
generic: 5.15: move MIPS cpuinfo patch from pending to backport

Move MIPS cpuinfo patch from pending to backport as it got merged
upstream.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
18 months agomac80211: fix masking nested A-MSDU support for mesh
Andre Heider [Thu, 20 Oct 2022 10:52:17 +0000 (12:52 +0200)]
mac80211: fix masking nested A-MSDU support for mesh

CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch
useless. Match protecting the access of sta_info.mesh with the very same
define declaring it.

Fixes 45109f69a6 "mac80211: fix compile error when mesh is disabled"
Signed-off-by: Andre Heider <a.heider@gmail.com>
18 months agomac80211: use KERNEL_MAKEOPTS instead of KERNEL_MAKE_FLAGS
Felix Fietkau [Mon, 24 Oct 2022 18:43:14 +0000 (20:43 +0200)]
mac80211: use KERNEL_MAKEOPTS instead of KERNEL_MAKE_FLAGS

Fixes issues with disabling stack validation on non-linux systems

Signed-off-by: Felix Fietkau <nbd@nbd.name>
18 months agobutton-hotplug: simplify build
Felix Fietkau [Mon, 24 Oct 2022 16:16:56 +0000 (18:16 +0200)]
button-hotplug: simplify build

Remove unnecessary kconfig junk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
18 months agoramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C
Shiji Yang [Sat, 17 Sep 2022 10:50:00 +0000 (18:50 +0800)]
ramips: add missing WAN LED for Xiaomi Mi Router 4A / 4C

The blue WAN LED connected to GPIO37 is missing, so re-add it.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
18 months agotoolchain: gcc: Remove gcc 10.x support
Hauke Mehrtens [Sat, 22 Oct 2022 14:16:55 +0000 (16:16 +0200)]
toolchain: gcc: Remove gcc 10.x support

This compiler is old and was never used by default in OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
18 months agotoolchain: gcc: Remove gcc 8.x support
Hauke Mehrtens [Sat, 22 Oct 2022 14:15:16 +0000 (16:15 +0200)]
toolchain: gcc: Remove gcc 8.x support

This compiler is old and not used by OpenWrt for some time now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
18 months agomac80211: Update to version 5.15.74-1
Hauke Mehrtens [Sat, 15 Oct 2022 09:31:42 +0000 (11:31 +0200)]
mac80211: Update to version 5.15.74-1

This updates mac80211 to version 5.15.74-1 which is based on kernel
5.15.74.
The removed patches were applied upstream.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
18 months agorealtek: consistently flood RMA frames
Sander Vanheule [Fri, 9 Sep 2022 19:25:17 +0000 (21:25 +0200)]
realtek: consistently flood RMA frames

The switches support different actions for incoming ethernet multicast
frames with Reserved Multicast Addresses (01-80-C2-00-00-{01-2F}). The
current code will set the 2-bit action field to FLOOD (0x3) for most
classes, but the highest bit is always unset for the relevant control
registers. This means the DROP (0x1) action being used for these
classes; whatever class the MSB happens to be in.

For RTL838x, this results in {20,23-2F} frames being dropped, instead of
flooding all ports. On other switch generations, {0F,1F,2F} frames are
dropped. This is inconsistent, and appears to be a mistake. Remove this
inconsistency by flooding all multicast frames with RMA addresses.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agorealtek: remove RTL839x path in RTL838x multicast
Sander Vanheule [Fri, 9 Sep 2022 17:35:23 +0000 (19:35 +0200)]
realtek: remove RTL839x path in RTL838x multicast

The multicast setup function rtl838x_eth_set_multicast_list() checks if
the current SoC is a RTL839x family device. However, the function is
only included in the RTL838x ops table, so this path should never be
taken, making this dead code. rtl839x_eth_set_multicast_list() is
already present in the RTL839x ops table, so it should be safe to remove
this branch.

While touching the code, also re-sort the functions to match sorting
elsewhere, with rtl838x coming before rtl839x.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agorealtek: reduce excessive logging for FDB operations
Jan Hoffmann [Fri, 14 Oct 2022 21:06:17 +0000 (23:06 +0200)]
realtek: reduce excessive logging for FDB operations

Currently several messages at KERN_INFO level are printed for every FDB
del/dump operation. This can cause a significant slowdown for example
while using "bridge fdb", and may even trigger a watchdog.

Remove most of these log messages, as the new L2 table debugfs node
should be a good replacement. Change the remaining messages to
KERN_DEBUG level.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
18 months agorealtek: add debugfs node for L2 table
Jan Hoffmann [Fri, 14 Oct 2022 21:06:16 +0000 (23:06 +0200)]
realtek: add debugfs node for L2 table

This allows to view all unicast and multicast entries that are currently
in the L2 hash table and the CAM.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
18 months agorealtek: avoid busy waiting for RTL839x PHY read/write
Jan Hoffmann [Fri, 14 Oct 2022 21:06:14 +0000 (23:06 +0200)]
realtek: avoid busy waiting for RTL839x PHY read/write

Switch to a polling implementation similar to the one for RTL838x, to
allow other kernel tasks to run while waiting.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
18 months agorealtek: disable otto timer for RTL93xx targets
Markus Stockhausen [Mon, 3 Oct 2022 13:15:06 +0000 (15:15 +0200)]
realtek: disable otto timer for RTL93xx targets

The new timer is not yet ready for all targets. Avoid interactive
questions during build

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[rename symbol to CONFIG_REALTEK_OTTO_TIMER]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agorealtek: timer driver: activate for RTL839X devices
Markus Stockhausen [Mon, 3 Oct 2022 12:50:17 +0000 (14:50 +0200)]
realtek: timer driver: activate for RTL839X devices

Use the new timer driver for the RTL839X devices and remove the
no longer needed modules.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[correct timer compatible order, update selected symbols]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agorealtek: timer driver: activate for RTL838X devices
Markus Stockhausen [Mon, 3 Oct 2022 12:49:35 +0000 (14:49 +0200)]
realtek: timer driver: activate for RTL838X devices

Use the new timer driver for the RTL838X devices. Remove the no
longer needed modules.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[correct timer compatible order, update selected symbols]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agorealtek: timer driver: documentation
Markus Stockhausen [Mon, 3 Oct 2022 12:47:18 +0000 (14:47 +0200)]
realtek: timer driver: documentation

Provide some helpful information about the devicetree configuration of
our new driver

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[correct compatible order in examples]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agorealtek: resurrect timer driver
Markus Stockhausen [Mon, 3 Oct 2022 12:45:21 +0000 (14:45 +0200)]
realtek: resurrect timer driver

Now that we provide a clock driver for the Reltek SOCs the CPU frequency might
change on demand. This has direct visible effects during operation

- the CEVT 4K timer is no longer a stable clocksource
- after CPU frequencies changes time calculation works wrong
- sched_clock falls back to kernel default interval (100 Hz)
- timestamps in dmesg have only 2 digits left

[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps ...
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.080000] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.090000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ...

Looking around where we can start the CEVT timer for RTL930X is a good basis.
Initially it was developed as a clocksource driver for the broken timer in that
specific SOC series. Afterwards it was shifted around to the CEVT location,
got SMP enablement and lost its clocksource feature. So we at least have
something to copy from. As the timers on these devices are well understood
the implementation follows this way:

- leave the RTL930X implementation as is
- provide a new driver for RTL83XX devices only
- swap RTL930X driver at a later time

Like the clock driver this patch contains a self contained module that is SOC
independet and already provides full support for the RTL838X, RTL839X and
RTL930X devices. Some of the new (or reestablished) features are:

- simplified initialization routines
- SMP setup with CPU hotplug framework
- derived from LXB clock speed
- supplied clocksource
- dedicated register functions for better readability
- documentation about some caveats

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[remove unused header includes, remove old CONFIG_MIPS dependency, add
REALTEK_ prefix to driver symbol]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
18 months agoreadline: update to 8.2
Nick Hainke [Fri, 21 Oct 2022 12:48:58 +0000 (14:48 +0200)]
readline: update to 8.2

Release Announcement:
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00013.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agogdb: add patch adding support for readline 8.2
Nick Hainke [Sun, 23 Oct 2022 12:26:20 +0000 (14:26 +0200)]
gdb: add patch adding support for readline 8.2

Add "001-Add-support-for-readline-8.2.patch" adding support for readline
8.2.

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/mkimage: bring back removed patches
Daniel Golle [Sun, 23 Oct 2022 15:21:26 +0000 (16:21 +0100)]
tools/mkimage: bring back removed patches

Patches for mtk_image supporting newer SoCs have been dropped in the
process of updating mkimage to U-Boot 2022.10. While it is true that
the patches have been merged upstream a while ago, they were not merged
in time to be part of the U-Boot 2022.10 release.
See also commit 537b423d9f ("uboot-mediatek: update to U-Boot 2022.10")
which explicitly mentions that.

Fixes: 6e245777bd ("tools/mkimage: update to 2022.10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
18 months agoipq40xx: Convert Google Wifi to DSA, reenable
Brian Norris [Sat, 22 Oct 2022 20:00:38 +0000 (13:00 -0700)]
ipq40xx: Convert Google Wifi to DSA, reenable

Undo parts of these:

116feb4a1cad ipq40xx: remove non-converted network configs
db19efee9512 ipq40xx: disable boards not converted to DSA

Reintroduce the DT paths /soc/edma@c080000/gmac{0,1}, because the stock
bootloader has memorized them (instead of following aliases); then plug
the MAC address back in via 05_set_iface_mac_ipq40xx.sh, since the
'local-mac-address' property is no longer in the correct node.

Cc: David Bauer <mail@david-bauer.net>
Cc: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
18 months agoksmbd: update to 3.4.6
Nick Hainke [Fri, 21 Oct 2022 12:23:47 +0000 (14:23 +0200)]
ksmbd: update to 3.4.6

Release Announcement:
https://github.com/cifsd-team/ksmbd/releases/tag/3.4.6

Remove upstreamed:
- 10-fix-build-on-kernel-5.15.52-or-higher.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agoipq40xx: convert to DSA and enable mobipromo,cm520-79f
Jack Chen [Fri, 14 Oct 2022 07:58:46 +0000 (15:58 +0800)]
ipq40xx: convert to DSA and enable mobipromo,cm520-79f

Convert to DSA and enable the MobiPromo CM520-79F device again.

Signed-off-by: Jack Chen <redchenjs@live.com>
Reviewed-by: Robert Marko <robimarko@gmail.com>
18 months agoath79: fix reference clock for RouterBoard 912UAG
Pavel Kamaev [Sun, 16 Oct 2022 18:27:47 +0000 (21:27 +0300)]
ath79: fix reference clock for RouterBoard 912UAG

This fixes reference clock frequency of RB912. 25 MHz frequency leads
to system clock running too fast, uptime incrementing too fast and
delays (like `sleep 10`) returning too early.

Board has quartz with NSK 3KHAA Z 40 000 marking.

Signed-off-by: Pavel Kamaev <pavel@kamaev.me>
18 months agoramips: fix WAN mac address allocation for Unielec 01 and 06 models
David Bentham [Mon, 17 Oct 2022 14:43:29 +0000 (15:43 +0100)]
ramips: fix WAN mac address allocation for Unielec 01 and 06 models

Manufacturer has predetermined mac address values for lan and wan ports.

This change keeps inline with other mt7621 devices mac address allocation
from factory mtd partition.

Example from hexdump output:

0xe000 0x6 (lan) -           0xe006 0x6 (wan)

0000e000  70 b3 d5 10 02 96 70 b3  d5 10 02 95 ff ff ff ff

Previous change had created an overlapping mac address situation as it
would increment by one based on the lan mac address location found in the
factory partition, which would sometimes increment to the same as the
mt7603 wifi chip.

Tested on Unielec u7621-01 model

Signed-off-by: David Bentham <db260179@gmail.com>
18 months agoramips: rt3883: enable lzma-loader for Belkin F9K1109v1
Robert Senderek [Mon, 17 Oct 2022 19:15:35 +0000 (21:15 +0200)]
ramips: rt3883: enable lzma-loader for Belkin F9K1109v1

Fixes boot loader LZMA decompression issues

Fixes: #10968
Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
18 months agoramips: mt7621: enable lzma-loader for Asus RT-N56U-B1
Alex Khodin [Fri, 21 Oct 2022 17:47:38 +0000 (17:47 +0000)]
ramips: mt7621: enable lzma-loader for Asus RT-N56U-B1

Fixes boot loader LZMA decompression issues.

Without this change the board end up in a boot loop.

Signed-off-by: Alex Khodin <mxktz1@gmail.com>
18 months agoramips: add A-040W-Q alternative name for MSG1500 X.00
Chukun Pan [Thu, 2 Jun 2022 15:01:29 +0000 (23:01 +0800)]
ramips: add A-040W-Q alternative name for MSG1500 X.00

The hardware of Nokia A-040W-Q and RAISECOM MSG1500 X.00 are
exactly the same, both of which are customized by operators.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
18 months agokernel: move mac-address-ascii patches to generic
Chukun Pan [Wed, 1 Jun 2022 15:16:04 +0000 (23:16 +0800)]
kernel: move mac-address-ascii patches to generic

This enables other targets to use the mac-address-ascii
feature.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
18 months agolantiq: add 6.1 tag to upstream patch
Aleksander Jan Bajkowski [Wed, 5 Oct 2022 21:05:26 +0000 (23:05 +0200)]
lantiq: add 6.1 tag to upstream patch

Add 6.1 tag to upstream patch now that 6.1 got tagged. This permits to
track patch in a better way and directly drop them on kernel bump.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
18 months agotools/genext2fs: Add dependency to libtool
Hauke Mehrtens [Sat, 22 Oct 2022 23:43:36 +0000 (01:43 +0200)]
tools/genext2fs: Add dependency to libtool

This fixes the following build error:
  ./autogen.sh: line 13: aclocal: command not found

Fixes: b6d29af9475f ("tools/genext2fs: update to 1.5.0")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
18 months agotools/genext2fs: update to 1.5.0
Nick Hainke [Sun, 21 Aug 2022 07:33:46 +0000 (09:33 +0200)]
tools/genext2fs: update to 1.5.0

Update to latest version.

Remove patches:
- 100-c99_scanf.patch
- 200-autoconf.patch
- 300-blocksize-creator.patch
- 400-byteswap_fix.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/genext2fs: switch to codeload.github.com
Nick Hainke [Sun, 21 Aug 2022 06:43:52 +0000 (08:43 +0200)]
tools/genext2fs: switch to codeload.github.com

As written on the genext2fs.sourceforge.net page:
"If you want bugfixes and nicer features though, you will have to grab
the source from github and build it yourself."

This commit switches the download from sourceforge to
codeload.github.com.

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/dwarves: update to 1.24
Nick Hainke [Fri, 21 Oct 2022 21:24:29 +0000 (23:24 +0200)]
tools/dwarves: update to 1.24

Release Notes:
https://lwn.net/Articles/905738/

Switch to https "fedorapeople.org"-mirror. Use $(AUTORELEASE).

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/bash: update to 5.2
Nick Hainke [Fri, 21 Oct 2022 20:14:12 +0000 (22:14 +0200)]
tools/bash: update to 5.2

Release Notes:
https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00056.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/zlib: update to 1.2.13
Nick Hainke [Fri, 21 Oct 2022 20:41:06 +0000 (22:41 +0200)]
tools/zlib: update to 1.2.13

Switch to "https github.com" for downloading source files.

Release Announcements:
https://github.com/madler/zlib/releases/tag/v1.2.13

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/bc: update to 1.07.1
Nick Hainke [Fri, 21 Oct 2022 20:23:47 +0000 (22:23 +0200)]
tools/bc: update to 1.07.1

Changes:
  Fixed ibase extension causing problems for read()
  Fixed parallel make problem.

Remove the "003-bc-fix-hang.patch" because the hang is fixed upstream.

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/mtools: update to 4.0.41
Nick Hainke [Fri, 21 Oct 2022 20:01:48 +0000 (22:01 +0200)]
tools/mtools: update to 4.0.41

Release Notes:
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00011.html

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/xz: update to 5.2.7
Nick Hainke [Fri, 21 Oct 2022 20:06:49 +0000 (22:06 +0200)]
tools/xz: update to 5.2.7

Update to latest version.

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotools/mkimage: update to 2022.10
Nick Hainke [Fri, 21 Oct 2022 20:53:58 +0000 (22:53 +0200)]
tools/mkimage: update to 2022.10

Remove upstreamed patches:
- 020-tools-mtk_image-split-gfh-header-verification-into-a.patch
- 021-tools-mtk_image-split-the-code-of-generating-NAND-he.patch
- 022-tools-mtk_image-add-support-for-nand-headers-used-by.patch

Refreshed manually:
- 030-allow-to-use-different-magic.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agoiproute2: update to 6.0.0
Nick Hainke [Wed, 5 Oct 2022 10:37:47 +0000 (12:37 +0200)]
iproute2: update to 6.0.0

Release Notes:
https://lore.kernel.org/netdev/20221004082610.56b04719@hermes.local/t/

Remove upstreamed patch:
- 010-ipstats-Add-param.h-for-musl.patch

Refreshed:
- 140-keep_libmnl_optional.patch
- 145-keep_libelf_optional.patch
- 150-keep_libcap_optional.patch
- 155-keep_tirpc_optional.patch
- 170-ip_tiny.patch
- 190-fix-nls-rpath-link.patch
- 200-drop_libbsd_dependency.patch
- 300-selinux-configurable.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agothc-ipv6: update to 3.8
Nick Hainke [Mon, 26 Sep 2022 05:22:08 +0000 (07:22 +0200)]
thc-ipv6: update to 3.8

Remove upstreamed patches:
- 000-cflags_override.patch

Manually refresh patches:
- 100-no-ssl.patch

Add patches:
- 101-remove-march-native.patch

Add THC_APPLETS:
- toobigsniff6
- flood_unreach6
- connect6

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agogettext-full: update to 0.21.1
Nick Hainke [Sun, 16 Oct 2022 20:10:01 +0000 (22:10 +0200)]
gettext-full: update to 0.21.1

Release Announcement:
https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00009.html

Further, refresh 001-autotools.patch and manually refresh 010-m4.patch.

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agolibbsd: update to 0.11.7
Nick Hainke [Sun, 16 Oct 2022 18:19:01 +0000 (20:19 +0200)]
libbsd: update to 0.11.7

Changes:
084911c Release libbsd 0.11.7
3538d38 man: Discourage using the library in non-overlay mode
03fccd1 include: Adjust reallocarray() per glibc adoption
6b6e686 include: Adjust arc4random() per glibc adoption
da1f45a include: explicit_bzero() requires _DEFAULT_SOURCE
2f9eddc include: Simplify glibc version dependent macro handling
28298ac doc: Switch references from pkg-config to pkgconf
ef981f9 doc: Add missing empty line to separate README sections
6928d78 doc: Refer to the main git repository as primary
d586575 test: Fix explicit_bzero() test on the Hurd
be327c6 fgetwln: Add comment about lack of getwline(3) for recommendation
a14612d setmode: Dot not use saveset after free
f4baceb man: Rewrite gerprogname(3bsd) from scratch
f35c545 man: Lowercase man page title
b466b14 man: Document that some arc4random(3) functions are now in glibc 2.36
1f6a48b Sync arc4random(3) implementation from OpenBSD
873639e Fix ELF support for big endian SH
c9c78fd man: Use -compact also for alternative functions in libbsd(7)
5f21307 getentropy: Fix function cast for getauxval()

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agotrace-cmd: update to v3.1.4
Nick Hainke [Tue, 18 Oct 2022 15:51:49 +0000 (17:51 +0200)]
trace-cmd: update to v3.1.4

ae6db8e trace-cmd record: Use result of fcntl(GETPIPE_SZ)

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agouboot-envtools: update to 2022.10
Nick Hainke [Fri, 21 Oct 2022 12:10:28 +0000 (14:10 +0200)]
uboot-envtools: update to 2022.10

Update to latest version.

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agolinux-firmware: update to 20221012
Nick Hainke [Fri, 21 Oct 2022 12:17:33 +0000 (14:17 +0200)]
linux-firmware: update to 20221012

Changes:
cfbd668 rtl_bt: Update RTL8852C BT USB firmware to 0xD5B8_A40A
f49effc amdgpu: update GC 10.3.6 RLC firmware
f9a1c7f amdgpu: update GC 10.3.7 RLC firmware
eb1e45c amdgpu: update Yellow Carp RLC firmware
88557e1 amdgpu: update Beige Goby RLC firmware
2d3c1f8 amdgpu: update Dimgrey Cavefish RLC firmware
d513825 amdgpu: update Navy Flounder RLC firmware
c132bef amdgpu: update Sienna Cichlid RLC firmware
675bd6a mediatek: Update mt8195 SOF firmware to v0.4.1
44fa25d qcom: add squashed version of a530 zap shader
d2aac63 rtw89: 8852c: update fw to v0.27.56.1
c9a1ddf rtw89: 8852c: update fw to v0.27.56.0
b7d6c9f mediatek: Update mt8186 SCP firmware
fdf1a65 linux-firmware: Update AMD cpu microcode
375d450 mediatek: mt8195: Update scp.img to v2.0.11956
daee413 mediatek: Add new mt8195 SOF firmware
213255f mediatek: Update mt8186 SOF firmware to v0.2.1
9f88ec4 linux-firmware: update firmware for mediatek bluetooth chip (MT7922)
bb3f948 rtl_bt: Update RTL8852A BT USB firmware to 0xD9B8_8207
6be4c4c linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
ea94bda linux-firmware: update firmware for MT7922 WiFi device
9490e8a linux-firmware: update firmware for MT7921 WiFi device
e6e48db cxgb4: Update firmware to revision 1.27.0.0
51fff4e i915: Add versionless HuC files for current platforms
067440c i915: Add GuC v70.5.1 for DG1, DG2, TGL and ADL-P
0e8f546 qca: Update firmware files for BT chip WCN3991.
3593bb7 Removing crnv32

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agomtd-utils: update to 2.1.5
Nick Hainke [Fri, 21 Oct 2022 19:51:05 +0000 (21:51 +0200)]
mtd-utils: update to 2.1.5

Release Notes:
https://lore.kernel.org/buildroot/c0992bbb-9487-9a51-ea9f-39cf074b61ec@sigma-star.at/

Refresh patches:
- 130-lzma_jffs2.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
18 months agolantiq: Add Linux 5.15 as testing kernel version
Martin Blumenstingl [Mon, 21 Mar 2022 19:31:23 +0000 (20:31 +0100)]
lantiq: Add Linux 5.15 as testing kernel version

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 months agokernel: ltq-adsl-mei: Fix compilation with Linux 5.15
Martin Blumenstingl [Sat, 26 Mar 2022 10:19:04 +0000 (11:19 +0100)]
kernel: ltq-adsl-mei: Fix compilation with Linux 5.15

struct of_device_id is not implicitly included anymore. Include
<linux/mod_devicetable.h> to fix compilation on Linux 5.15.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 months agokernel: ltq-vmmc: Fix compilation with Linux 5.15
Martin Blumenstingl [Mon, 21 Mar 2022 19:28:07 +0000 (20:28 +0100)]
kernel: ltq-vmmc: Fix compilation with Linux 5.15

MODULE_SUPPORTED_DEVICE is gone after Linux 5.15. Drop it's usage on
newer kernels to fix compilation with Linux 5.15.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 months agokernel: ltq-vdsl-vr9-mei: Fix compilation with Linux 5.15
Martin Blumenstingl [Mon, 21 Mar 2022 19:21:04 +0000 (20:21 +0100)]
kernel: ltq-vdsl-vr9-mei: Fix compilation with Linux 5.15

The result of copy_to_user() now has to be checked explicitly. Also
MODULE_SUPPORTED_DEVICE is gone after Linux 5.10.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 months agokernel: ltq-tapi: Fix compilation with Linux 5.15
Martin Blumenstingl [Mon, 21 Mar 2022 19:14:08 +0000 (20:14 +0100)]
kernel: ltq-tapi: Fix compilation with Linux 5.15

MODULE_SUPPORTED_DEVICE was removed after Linux 5.10. Drop it from the
driver as well.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 months agokernel: ltq-deu: Fix compilation with Linux 5.15
Martin Blumenstingl [Mon, 21 Mar 2022 19:05:27 +0000 (20:05 +0100)]
kernel: ltq-deu: Fix compilation with Linux 5.15

struct of_device_id is not implicitly included anymore. Include
<linux/mod_devicetable.h> to fix compilation on Linux 5.15.
Also upstream commit a24d22b225ce15 ("crypto: sha - split sha.h into
sha1.h and sha2.h") from Linux 5.11 moves functionality from sha.h to
sha1.h.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
18 months agoltq-ifxos: add compatibility with kernel 5.15
Jan Hoffmann [Tue, 3 May 2022 13:26:29 +0000 (15:26 +0200)]
ltq-ifxos: add compatibility with kernel 5.15

set_fs is no longer supported since kernel 5.13 for mips.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>