[PATCH] kernel: backport mtk_soc_eth fixes from v5.13

2021-04-23 Thread Ilya Lipnitskiy
Fixes logic that leads to this error when booting mt7621 and other devices that use the mediatek ethernet driver: [ 23.144378] mtk_soc_eth 1e10.ethernet: PPE table busy The rest are mostly moved from pending-5.10 to backport-5.10 with a couple of cleanups and improvements from upstream.

[PATCH v2] treewide: consolidate named GPIO patch into hack-5.10

2021-04-23 Thread Ilya Lipnitskiy
ath79, lantiq, ipq40xx, ramips all use the OpenWrt-specific gpio-export functionality. Consolidate the patch that adds it under hack-5.10 since this logic is obviously not target-specific. For those who want to disable it, unsetting CONFIG_GPIO_SYSFS symbol will disable this code. Signed-off-by:

[PATCH 2/2] blob: fix exceeding maximum buffer length

2021-04-23 Thread Zefir Kurtisi
Currently there is no measure in place to prevent the blob buffer to exceed its maximum allowed length of 16MB. Continuously calling blob_add() will expand the buffer until it exceeds BLOB_ATTR_LEN_MASK and after that will return valid blob_attr pointer without increasing the buflen. A test

[PATCH 1/2] tests: add blob-buffer overflow test

2021-04-23 Thread Zefir Kurtisi
The blob buffer has no limitation in place to prevent buflen to exceed maximum size. This commit adds a test to demonstrate how a blob increases past the maximum allowd size of 16MB. It continuously adds chunks of 64KB and with the 255th one blob_add() returns a valid attribute pointer but the

[PATCH 0/2] blob: detect and fix buflen overflow

2021-04-23 Thread Zefir Kurtisi
The current implementation of the blob buffer misses a mechanism to prevent the buflen to exceed its maximum allowed size of 16MB (given by BLOB_ATTR_LEN_MASK). Instead of aborting and returning false in blob_buf_grow() when the limit is reached, blob_add() succeeds providing valid blob_attr

[PATCH 21.02] kernel: backport "mvmdio avoid error message for optional IRQ"

2021-04-23 Thread Daniel González Cabanelas
Rid of kernel error message: [0.780828] orion-mdio d0072004.mdio: IRQ index 0 not found on Marvell targets backporting the kernel commit fa2632f74e57 Signed-off-by: Daniel González Cabanelas --- ...avoid-error-message-for-optional-IRQ.patch | 35 +++ 1 file changed, 35

Re: [PATCH] package: openssl: Enable built engines per default

2021-04-23 Thread Eneas U de Queiroz
On Fri, Apr 23, 2021 at 3:11 AM Florian Eckert wrote: > How about if we create a uci default script and check on the running > system what is installed? > And then we could generate a file and add or remove an include line form > the openssl.cnf [1]? Hi Florian, Daniel I think we can manage

commit 2683eeb627 breaks buffalo wzr600dhp

2021-04-23 Thread Russell Senior
Building master (182eaa4916) with kernel 5.10 and booting, I get: [...] [0.706515] spi-nor spi0.0: mx25l12805d (16384 Kbytes) [0.716193] spi-nor spi0.1: unrecognized JEDEC id bytes: 20 18 c2 20 18 c2 [0.723165] spi-nor: probe of spi0.1 failed with error -2 [0.730576] libphy:

Re: [PATCH v2] netfilter: remove no-op kconfig symbols

2021-04-23 Thread Rui Salvaterra
Hi, Jason, On Fri, 23 Apr 2021 at 03:15, Jason A. Donenfeld wrote: > > https://git.zx2c4.com/wireguard-linux/commit/?h=backport-5.4.y=ac8265d3b26e7c2674e066af6451c5a61d3f2e7a > > This will be included in the patchset next time I push a refresh of those. Ok, I'll drop the patch changes and send

Re: [PATCH] package: openssl: Enable built engines per default

2021-04-23 Thread Florian Eckert
Hello Daniel, Hello Eneas, On 2021-04-23 01:36, Eneas U de Queiroz wrote: On Thu, Apr 22, 2021 at 3:55 AM Daniel Danzberger wrote: Automatically enable an engine in the openssl.cnf if it has been build. Before this change, /etc/openssl.cnf had to be edited manually on the system to enable