Commit Graph

280 Commits

Author SHA1 Message Date
CN_SZTL
4170e91d1e kernel: bump 5.4 to 5.4.37
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-02 16:28:55 +08:00
CN_SZTL
920cf867f4
Merge Mainline 2020-05-01 10:38:39 +08:00
CN_SZTL
91c55c934c
kernel: bump 4.19 to 4.19.119
Remove upstreamed:
 - 551-loop-Better-discard-support-for-block-devices.patch

Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-05-01 00:33:53 +08:00
Petr Štetiar
2197351ec6 kernel: bump 5.4 to 5.4.36
Refreshed patches, removed upstreamed patch:

 generic/hack: 551-loop-Better-discard-support-for-block-devices.patch

Added generic config symbol `ARM64_ERRATUM_1542419` due to Fixes:
f2791551cedb ("arm64: errata: Hide CTR_EL0.DIC on systems affected by
Neoverse-N1 #1542419").

Run tested: qemu-x86-64, apalis, nbg6617
Build tested: x86/64, imx6, ipq40xx, sunxi/a53

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-30 08:26:17 +08:00
AmadeusGhost
244a0f8574 Revert "kernel: bump 4.14 to 4.14.177"
This reverts commit 89c18f5335.
2020-04-29 17:25:11 +08:00
Matt Merhar
774e8f6a51 kernel: backport fix for non-regular inodes on f2fs
Upstream commit dda9f4b9ca ("f2fs: fix to skip verifying block address
for non-regular inode").

On 4.14, attempting to perform operations on a non-regular inode
residing on an f2fs filesystem, such rm-ing a device node, would fail
and lead to a warning / call trace in dmesg. This fix was already
applied to other kernels upstream - including 4.19, from which the patch
was taken.

More info at https://bugzilla.kernel.org/show_bug.cgi?id=202495.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
2020-04-27 09:05:18 +08:00
DENG Qingfang
4f19971fbe kernel: backport support for clause 37 1000Base-X auto-negotiation
This patch is needed for clause 37 1000Base-X encoding used in many SFP modules.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Signed-off-by: René van Dorst <opensource@vdorst.com>
2020-04-26 11:55:26 +08:00
CN_SZTL
a89aeebf92
Merge Mainline 2020-04-25 11:43:44 +08:00
CN_SZTL
11789d9335
kernel: fix myloader on 4.9 2020-04-25 11:34:17 +08:00
Adrian Schmutzler
9bac15ce47 kernel: fix include of myloader.o since kernel 5.4
Between 4.19 and 5.4, mtd parsers have been moved to "parsers"
subdirectory. Based on this, the selection of myloader.o in OpenWrt
was also moved to that subdirectory, while the Kconfig and our local
myloader.c file remained in /drivers/mtd.

This resulted in linking errors like the following (on ath25@5.4):

make[8]: *** No rule to make target 'drivers/mtd/parsers/myloader.o', ...
   needed by 'drivers/mtd/parsers/built-in.a'.  Stop.
make[7]: *** [scripts/Makefile.build:500: drivers/mtd/parsers] Error 2
make[6]: *** [scripts/Makefile.build:500: drivers/mtd] Error 2

Since myloader.c is not too big, this patch moves it to the kernel patches,
allowing to adjust the path for kernel 5.4 and keeping Makefiles and
file paths better in sync.

Other patches have been refreshed accordingly.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-04-25 11:28:20 +08:00
CN_SZTL
0d6d3fd5d8 kernel: bump 4.19 to 4.19.118
Refreshed all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 11:08:19 +08:00
CN_SZTL
89c18f5335 kernel: bump 4.14 to 4.14.177
Fixes:
 - CVE-2020-11669

Remove upstreamd:
 - 001-irqchip-versatile-fpga-Handle-chained-IRQs-properly.patch
 - 002-irqchip-versatile-fpga-Apply-clear-mask-earlier.patch
 - 003-ARM-dts-oxnas-Fix-clear-mask-property.patch

Refresh all patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 10:18:50 +08:00
CN_SZTL
38032f3a97
Merge Mainline 2020-04-25 08:43:48 +08:00
CN_SZTL
0ddb22c585 kernel: bump 4.9 to 4.9.220
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-25 08:06:59 +08:00
CN_SZTL
d713bda74f
Revert "generic: fix flow table hw offload"
This reverts commit b36ae2bdc6.
2020-04-23 11:29:37 +08:00
John Crispin
b36ae2bdc6
generic: fix flow table hw offload
Make the driver work with recent upstream changes.

Signed-off-by: John Crispin <john@phrozen.org>
2020-04-23 06:24:14 +08:00
CN_SZTL
8e2e62cb6f
Merge Mainline 2020-04-22 23:18:30 +08:00
John Crispin
c6f0dcd2be generic: fix flow table hw offload
Make the driver work with recent upstream changes.

Signed-off-by: John Crispin <john@phrozen.org>
2020-04-22 17:50:13 +08:00
Koen Vandeputte
5991d737c6 kernel: bump 4.19 to 4.19.117
Refreshed all patches.

Compile-tested on: cns3xxx
Runtime-tested on: cns3xxx

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-22 11:05:03 +08:00
Petr Štetiar
b181b86a1d kernel: bump 5.4 to 5.4.34
Refreshed patches.

Run tested: qemu-x86-64, apalis, a64-olinuxino
Build tested: x86/64, imx6, sunxi/a53

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-22 09:09:42 +08:00
Mantas Pucka
0bdcaa1189 generic: spi-nor: fix 4-byte opcode support for w25q256
There are 2 different chips (w25q256fv and w25q256jv) that share
the same JEDEC ID. Only w25q256jv fully supports 4-byte opcodes.
Use SFDP header version to differentiate between them.

Fixes broken reboot on 8devices Habanero since f0f35fdac

Signed-off-by: Mantas Pucka <mantas@8devices.com>
2020-04-19 12:21:00 +08:00
Petr Štetiar
51332ec1c3
kernel: bump 5.4 to 5.4.33
Refreshed patches, removed upstreamed patches:

 oxnas: 001-irqchip-versatile-fpga-Handle-chained-IRQs-properly.patch
 oxnas: 002-irqchip-versatile-fpga-Apply-clear-mask-earlier.patch

Run tested: qemu-x86-64, apalis
Build tested: x86/64, imx6, sunxi/a53

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-04-17 22:44:22 +08:00
Koen Vandeputte
e111a8a555
kernel: add support for GD25D05 SPI NOR (5.4)
This chip is used on newer RB912UAG-5HPnD r2 and 922UAGS-5HPacD boards:

Before:

[    0.824562] spi-nor spi0.0: unrecognized JEDEC id bytes: c8 40 10 c8 40 10
[    0.831607] spi-nor: probe of spi0.0 failed with error -2

After:

[    0.825347] spi-nor spi0.0: gd25d05 (64 Kbytes)
[    0.830291] 1 routerbootpart partitions found on MTD device spi0.0
[    0.836577] Creating 1 MTD partitions on "spi0.0":
[    0.841448] 0x000000000000-0x000000010000 : "partitions"
[    0.848418] 4 routerbootpart partitions found on MTD device partitions
[    0.855092] Creating 4 MTD partitions on "partitions":
[    0.860318] 0x000000000000-0x00000000c000 : "routerboot"
[    0.866548] 0x00000000c000-0x00000000d000 : "hard_config"
[    0.872832] 0x00000000d000-0x00000000e000 : "bios"
[    0.878580] 0x00000000e000-0x00000000f000 : "soft_config"

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2020-04-17 05:34:06 +08:00
Ansuel Smith
a44de85704 ipq806x: add patch to fix broken buttons
From kernel 4.20 msm-gpio driver is broken and cause the
malfunction of the buttons on every ipq806x target.
Add a patch to fix this.

Tested-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-04-15 19:55:27 +08:00
AmadeusGhost
e7c65ce31c generic: refresh phy driver 2020-04-15 18:05:10 +08:00
CN_SZTL
20ee2055dc
kernel: bump 5.4 to 5.4.32
Remove upstreamed:
* 746-stable-net-dsa-mt7530-fix-null-pointer-dereferencing-in-por.patch

Refreshed all generic patches.

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-15 01:19:50 +08:00
CN_SZTL
534f1abc20
Merge Upstream 2020-04-14 20:33:17 +08:00
CN_SZTL
86e526f93c
kernel: bump to 4.9.219, 4.14.176, 4.19.115
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-14 20:17:38 +08:00
Mathias Kresin
adab38ed12
generic: make all phy drivers kernel 5.0 compatible
It adjusts the code to upstream changes from the commit 3c1bcc8614db
("net: ethernet: Convert phydev advertize and supported from u32 to link
 mode")

Signed-off-by: Mathias Kresin <dev@kresin.me>
2020-04-14 03:55:42 +08:00
Mathias Kresin
2111c6e03f
kernel: swconfig: make compatible with kernel 5.2
Since kernel 5.2 within netlink messages the NLA_F_NESTED nested flag is
validated. But swconfig/swlib doesn't set the flag for
SWITCH_ATTR_OP_VALUE_PORTS related netlink messages and assigning ports
to vlans via

  swconfig dev switch0 vlan 1 set ports '0 1 2 3 4 6t'

Errors put with "Failed to set attribute: Invalid input data or
parameter".

Relax the validation rules and use the deprecated functions, to use the
same level of validation as it was till kernel 5.1. Depending on who has
swconfig related netlink messages implemented, there might be more
broken tools out there and we should keep backward compatibility if
possible.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
2020-04-14 02:59:41 +08:00
CN_SZTL
9cbd449674
kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
Rafał Miłecki
a1aeb10921
kernel: backport mtd partition address fix sent upstream
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2020-04-13 23:43:08 +08:00
CN_SZTL
eb020983ca
target/generic: add missing config 2020-04-13 22:21:52 +08:00
Jo-Philipp Wich
12b295cf20
generic: drop 616-net_optimize_xfrm_calls.patch
The conditional check introduced by this patch may trigger a NULL pointer
dereference in case the result of dev_net() is NULL.

Since the purpose of this patch is neither sufficiently explained and since
this patch apparently has never been submitted upstream despite it being in
the pending-* patch directory, I propose to drop it without replacement.

If the performance implications of dropping this patch are found to be
significiant, it should be reintroduced with proper description and
benchmark results.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2943
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-12 07:47:50 +08:00
CN_SZTL
c0a2da80f2
kernel: bump 4.9 to 4.9.218
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-06 01:32:37 +08:00
CN_SZTL
02009b59e6
kernel: bump 4.19 to 4.19.114
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-06 01:14:37 +08:00
CN_SZTL
011f13255b
kernel: bump 4.14 to 4.14.175
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-06 00:58:37 +08:00
CN_SZTL
b34ff3b4fa
Merge Lean's source 2020-04-05 21:05:21 +08:00
AmadeusGhost
08637d8262
ar71xx: fix alloc_page_frag issue (#4184)
cherry-pick from 819800ab4f
2020-04-05 18:32:06 +08:00
AmadeusGhost
7d597c5347
mac80211: switch to upstream owl-loader driver (#4164)
The Owl Loader (named after the codename that Atheros gave
these devices back in the day) has been accepted upstream.

This patch removes the "misc" driver OpenWrt had and adds
the remaining differences against the version that ships
with 5.4-rc1 into a separate "120-owl-loader-compat.patch"
file that can be cut down once AR71XX is being dealt with.

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-04-04 15:55:52 +08:00
AmadeusGhost
6f0cc1cdf1 mac80211: switch to upstream owl-loader driver 2020-04-04 01:05:15 +08:00
CN_SZTL
d3151feec4
Kernel 4.9: remove outdated patches 2020-04-02 01:08:36 +08:00
CN_SZTL
b9749d61aa
kernel: bump 4.9 to 4.9.217
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-01 07:52:10 +08:00
CN_SZTL
211fbcc199
kernel: bump 4.19 to 4.19.113
Remove upstream patches:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-01 07:37:21 +08:00
CN_SZTL
9a4de1f5a2
kernel: bump 4.14 to 4.14.174
Remove upstream patches:
- 600-ipv6-addrconf-call-ipv6_mc_up-for-non-Ethernet-inter.patch

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2020-04-01 06:32:54 +08:00
ElonH
77d245bdfd
linux: config missing
Solarflare SFC9000/SFC9100-family MTD support (SFC_MTD) [Y/n/?] (NEW) aborted!
Solarflare SFC9000/SFC9100-family MCDI logging support (SFC_MCDI_LOGGING) [Y/n/?] (NEW) aborted!
2020-03-31 13:17:00 +08:00
CN_SZTL
5c947863e2
kernel: AQC111 driver: add missing linkmode header 2020-03-26 19:55:09 +08:00
CN_SZTL
2b448028d3
kernel/4.9: fix aqc111 driver patch 2020-03-25 22:22:17 +08:00
CN_SZTL
4b17e0bef5
kernel: add aqc111 driver 2020-03-25 21:51:33 +08:00
CN_SZTL
dc577dca98
Merge Lean's source 2020-03-21 01:20:39 +08:00