Need help converting usb/faraday,fotg210.yaml to yaml

2021-04-16 Thread Corentin Labbe
Hello I am converting Documentation/devicetree/bindings/usb/faraday,fotg210.txt to yaml with the patch attached below. But validating it give me: Documentation/devicetree/bindings/usb/faraday,fotg210.example.dt.yaml: usb@6800: 'syscon', 'wakeup-source' do not match any of the regexes: 'pinc

[PATCH] MAINTAINERS: gemini: add missing dts pattern

2021-04-16 Thread Corentin Labbe
The MAINTAINERS entry for cortina/gemini miss all dts of this platform. Signed-off-by: Corentin Labbe --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index f64a75945b06..927fa29f05ed 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1816,6 +1816,7 @@ F

Re: crashkernel reservation failed - No suitable area found on a cortina/gemini SoC

2021-04-09 Thread Corentin Labbe
Le Fri, Apr 09, 2021 at 04:53:13PM +0200, Corentin Labbe a écrit : > Le Wed, Apr 07, 2021 at 07:59:27AM -0700, Bruce Mitchell a écrit : > > On 4/7/2021 07:48, Corentin Labbe wrote: > > > Le Wed, Apr 07, 2021 at 07:28:26AM -0700, Bruce Mitchell a écrit : > > >> On

Re: crashkernel reservation failed - No suitable area found on a cortina/gemini SoC

2021-04-09 Thread Corentin Labbe
Le Wed, Apr 07, 2021 at 07:59:27AM -0700, Bruce Mitchell a écrit : > On 4/7/2021 07:48, Corentin Labbe wrote: > > Le Wed, Apr 07, 2021 at 07:28:26AM -0700, Bruce Mitchell a écrit : > >> On 4/7/2021 07:23, Corentin Labbe wrote: > >>> Le Wed, Apr 07, 2021 at 07:13:04AM

Re: crashkernel reservation failed - No suitable area found on a cortina/gemini SoC

2021-04-07 Thread Corentin Labbe
Le Wed, Apr 07, 2021 at 07:28:26AM -0700, Bruce Mitchell a écrit : > On 4/7/2021 07:23, Corentin Labbe wrote: > > Le Wed, Apr 07, 2021 at 07:13:04AM -0700, Bruce Mitchell a écrit : > >> On 4/7/2021 05:54, Corentin Labbe wrote: > >>> Hello > >>> >

Re: crashkernel reservation failed - No suitable area found on a cortina/gemini SoC

2021-04-07 Thread Corentin Labbe
Le Wed, Apr 07, 2021 at 07:13:04AM -0700, Bruce Mitchell a écrit : > On 4/7/2021 05:54, Corentin Labbe wrote: > > Hello > > > > I try to do kexec on a cortina/gemini SoC. > > On a "normal" boot, kexec fail to find memory so I added crashkernel=8M to > >

crashkernel reservation failed - No suitable area found on a cortina/gemini SoC

2021-04-07 Thread Corentin Labbe
Hello I try to do kexec on a cortina/gemini SoC. On a "normal" boot, kexec fail to find memory so I added crashkernel=8M to cmdline. (kernel size is ~6M). But now, kernel fail to reserve memory: Load Kern image from 0x3002 to 0x80 size 7340032

Re: gemini: sl3516: Mainlining of NS 2502

2021-04-06 Thread Corentin Labbe
Le Tue, Apr 06, 2021 at 10:15:51AM +0200, Linus Walleij a écrit : > On Mon, Apr 5, 2021 at 8:39 PM Corentin Labbe > wrote: > > > I own an Edimax NS 2502, which is a NAS based on StormLinix 3516. > > I successfully upgraded it with a recent Linux. > > Pretty cool! >

Re: gemini: sl3516: Mainlining of NS 2502

2021-04-06 Thread Corentin Labbe
Le Mon, Apr 05, 2021 at 10:36:32PM +0200, Andrew Lunn a écrit : > On Mon, Apr 05, 2021 at 08:39:54PM +0200, Corentin Labbe wrote: [ ... ] > > libphy: Fixed MDIO Bus: probed > > mdio-gpio ethernet-phy: failed to get alias id > > That does not look too good. But

gemini: sl3516: Mainlining of NS 2502

2021-04-05 Thread Corentin Labbe
Hello I own an Edimax NS 2502, which is a NAS based on StormLinix 3516. I successfully upgraded it with a recent Linux. The DTB I use is the following: /dts-v1/; #include "gemini.dtsi" #include / { model = "Edimax NS-2502"; compatible = "edimax,ns-2502", "cortina,gemini";

Re: [PATCH][next] crypto: sun8i-ss: Fix memory leak of pad

2021-04-02 Thread Corentin Labbe
418a917 ("crypto: sun8i-ss - support hash algorithms") > Signed-off-by: Colin Ian King > --- Hello Acked-by: Corentin Labbe Tested-by: Corentin Labbe Tested-on: sun8i-a83t-bananapi-m3 Thanks

[PATCH] crypto: allwinner: add missing CRYPTO_ prefix

2021-03-29 Thread Corentin Labbe
Some CONFIG select miss CRYPTO_. Reported-by: Chen-Yu Tsai Fixes: 56f6d5aee88d1 ("crypto: sun8i-ce - support hash algorithms") Fixes: d9b45418a9177 ("crypto: sun8i-ss - support hash algorithms") Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 14 ++

[PATCH] net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes

2021-03-19 Thread Corentin Labbe
-h5-nanopi-neo-plus2 Tested-on: sun50i-h6-pine-h64 Fixes: 9f93ac8d408 ("net-next: stmmac: Add dwmac-sun8i") Reported-by: Belisko Marek Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/eth

Re: set mtu size broken for dwmac-sun8i

2021-03-17 Thread Corentin Labbe
Le Wed, Mar 17, 2021 at 12:37:48PM +0100, Belisko Marek a écrit : > On Wed, Mar 17, 2021 at 12:33 PM Corentin Labbe > wrote: > > > > Le Wed, Mar 17, 2021 at 10:19:26AM +0100, Belisko Marek a écrit : > > > Hi, > > > > > > I'm hunting an is

sensors-detect: Found unknown chip with ID 0x0404

2021-03-11 Thread Corentin Labbe
Hello I have a server where sensors-detecte gives: Some Super I/O chips contain embedded sensors. We have to write to standard I/O ports to probe them. This is usually safe. Do you want to scan for Super I/O sensors? (YES/no): Probing for Super-I/O at 0x2e/0x2f Trying family `National Semiconduct

rtc: rtc-m48t59: rtc-m48t59.0: IRQ index 0 not found

2021-03-10 Thread Corentin Labbe
Hello On my SPARC sunblade 100, I got this: [ 13.613727] rtc-m48t59 rtc-m48t59.0: IRQ index 0 not found [ 13.805777] rtc-m48t59 rtc-m48t59.0: registered as rtc0 [ 14.385092] rtc-m48t59 rtc-m48t59.0: setting system clock to 2021-03-01T05:34:33 UTC (1614576873) The IRQ index 0 message is fou

Re: [PATCH] crypto: sun8i-ss: Fix memory leak of object d when dma_iv fails to map

2021-03-08 Thread Corentin Labbe
te(struct crypto_rng *tfm, const > u8 *src, > memcpy(ctx->seed, d + dlen, ctx->slen); > } > memzero_explicit(d, todo); > +err_free: > kfree(d); > > return err; > -- > 2.30.0 > Hello Tested-by: Corentin Labbe Acked-by: Corentin Labbe Thanks

Re: [PATCH] crypto: allwinner: sun8i-ce: fix error return code in sun8i_ce_prng_generate()

2021-03-08 Thread Corentin Labbe
, DMA_TO_DEVICE); > if (dma_mapping_error(ce->dev, dma_iv)) { > dev_err(ce->dev, "Cannot DMA MAP IV\n"); > + err = -EFAULT; > goto err_iv; > } > > -- > 2.17.1 > Hello Tested-by: Corentin Labbe Acked-by: Corentin Labbe Thanks

[PATCH] sparc: sparc64_defconfig: remove duplicate CONFIGs

2021-03-08 Thread Corentin Labbe
After my patch there is CONFIG_ATA defined twice. Remove the duplicate one. Same problem for CONFIG_HAPPYMEAL, except I added as builtin for boot test with NFS. Reported-by: Stephen Rothwell Fixes: a57cdeb369ef ("sparc: sparc64_defconfig: add necessary configs for qemu") Signed-off-by

[PATCH] crypto: sun8i-ss: fix result memory leak on error path

2021-03-02 Thread Corentin Labbe
This patch fixes a memory leak on an error path. Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms") Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 2 +- 1 file changed, 1

Re: [PATCH] crypto: sun8i-ss: Fix memory leak of object d when dma_iv fails to map

2021-03-02 Thread Corentin Labbe
s free'd before the return. > > Addresses-Coverity: ("Resource leak") > Fixes: ac2614d721de ("crypto: sun8i-ss - Add support for the PRNG") > Signed-off-by: Colin Ian King > --- Acked-by: Corentin Labbe Thanks!

Re: linux-next: build warnings after merge of the sparc tree

2021-02-25 Thread LABBE Corentin
Le Mon, Feb 22, 2021 at 07:09:28PM +1100, Stephen Rothwell a écrit : > Hi all, > > After merging the sparc tree, today's linux-next build (sparc64 defconfig) > produced these warnings: > > arch/sparc/configs/sparc64_defconfig:237:warning: override: reassigning to > symbol ATA > arch/sparc/config

[PATCH] crypto: sun8i-ss: fix result memory leak on error path

2021-02-12 Thread Corentin Labbe
This patch fixes a memory leak on an error path. Fixes: d9b45418a917 ("crypto: sun8i-ss - support hash algorithms") Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 2 +- 1 file changed, 1

Fail to boot on bpim3 with next-20210128

2021-01-30 Thread Corentin Labbe
Hello next-20210128 cannot be booted on my bpim3. It start booting then freeze. [0.00] Linux version 5.11.0-rc5-03084-g7426957d237f (compile@Red) (armv7a-unknown-linux-gnueabihf-gcc (Gentoo 9.3.0-r2 p4) 9.3.0, GNU ld (Gentoo 2.34 p6) 2.34.0) #390 SMP Sat Jan 30 14:59:48 CET 2021 [0.

arm: sunxi: &83t: WARNING: CPU: 2 PID: 57 at drivers/thermal/thermal_core.c:563 thermal_zone_device_update

2021-01-30 Thread Corentin Labbe
Hello When booting next-20210128, I got the following warning on by bpim3 6.148421] [ cut here ] [6.153145] WARNING: CPU: 2 PID: 57 at drivers/thermal/thermal_core.c:563 thermal_zone_device_update+0x134/0x154 [6.163378] 'thermal_zone_device_update' must not be

Re: Fail to boot qemu xlnx-zcu102 due to lot of drivers not probing

2021-01-25 Thread Corentin Labbe
Le Fri, Jan 22, 2021 at 11:51:53AM +0100, Edgar E. Iglesias a écrit : > On Fri, Jan 22, 2021 at 10:52:18AM +0100, Michal Simek wrote: > > Hi, > > > > On 1/22/21 10:24 AM, Corentin Labbe wrote: > > > Hello > > > > > > With at least qemu 5.1.

[PATCH] spi: spi-au1550: pr_err instead of printk

2021-01-22 Thread corentin noel
Signed-off-by: corentin noel --- drivers/spi/spi-au1550.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index dfb7196f4caf..8f92bbdf391b 100644 --- a/drivers/spi/spi-au1550.c +++ b/drivers/spi/spi-au1550.c @@ -972,8

Fail to boot qemu xlnx-zcu102 due to lot of drivers not probing

2021-01-22 Thread Corentin Labbe
Hello With at least qemu 5.1.0 (and later), the xlnx-zcu102 machine boot lead to a panic due to missing console. qemu-system-aarch64 -kernel Image -nographic -machine xlnx-zcu102 -device ide-hd,drive=lavatest -serial mon:stdio -serial null -append 'earlycon=cdns,mmio,0xFF00,115200n8 console

[PATCH] drivers: spi: spi-au1550: quoted string break

2021-01-22 Thread corentin
Signed-off-by: corentin --- drivers/spi/spi-au1550.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index dfb7196f4caf..cbb6604ba8f7 100644 --- a/drivers/spi/spi-au1550.c +++ b/drivers/spi/spi-au1550.c @@ -447,8

[PATCH] drivers: spi: spi-au1550: Fix various whitespace warnings

2021-01-22 Thread corentin
From: corentin Signed-off-by: corentin --- drivers/spi/spi-au1550.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index dfb7196f4caf..ca9121ce668d 100644 --- a/drivers/spi/spi-au1550.c +++ b

[PATCH] drivers: spi: spi-au1550: Add suffix "int" to all "unsigned"

2021-01-21 Thread corentin
From: corentin Signed-off-by: corentin --- drivers/spi/spi-au1550.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index dfb7196f4caf..13ee3a95078d 100644 --- a/drivers/spi/spi-au1550.c +++ b

[PATCH] alpha: defconfig: add necessary configs for boot testing

2021-01-18 Thread Corentin Labbe
Gentoo's KernelCI will soon boot test alpha kernel and we need CONFIG_DEVTMPFS=y to be set for that. Note that CONFIG_DEVTMPFS=y is already necessary for lot of other distribution/tools like recent udev/systemd. Signed-off-by: Corentin Labbe --- arch/alpha/configs/defconfig | 1 + 1

[PATCH v2] sparc: sparc64_defconfig: add necessary configs for qemu

2021-01-18 Thread Corentin Labbe
CONFIG_DEVTMPFS for handling recent udev/systemd. All those options will permit to enable boot testing in both kernelCI and gentoo's kernelCI. Signed-off-by: Corentin Labbe --- Changes since v1: - Added CONFIG_DEVTMPFS for udev - Changed PCNET32 to HAPPYMEAL, as the default netword card is sunhme arch/

Re: [kbuild] drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c:443 sun8i_ss_hash_run() warn: possible memory leak of 'result'

2021-01-10 Thread LABBE Corentin
Le Thu, Jan 07, 2021 at 04:12:36PM +0300, Dan Carpenter a écrit : > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 > commit: d9b45418a91773b7672e4c60037a28074b495c6d crypto: sun8i-ss - support > hash algorith

Re: [PATCH v2 -next] media: zoran: convert comma to semicolon

2021-01-10 Thread LABBE Corentin
A32; > vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC; > vq->min_buffers_needed = 9; > vq->lock = &zr->lock; > -- > 2.22.0 > Acked-by: Corentin Labbe Thanks!

Re: [PATCH -next] media: zoran: use resource_size

2021-01-06 Thread LABBE Corentin
Le Wed, Jan 06, 2021 at 05:51:00PM +0300, Dan Carpenter a écrit : > On Wed, Jan 06, 2021 at 09:17:02PM +0800, Zheng Yongjun wrote: > > Use resource_size rather than a verbose computation on > > the end and start fields. > > > > Signed-off-by: Zheng Yongjun > > --- > > drivers/staging/media/zoran

Re: r8a77950-salvator-x does nto boot since cfa7ede20f133cc81cef01dc3a516dda3a9721ee arm64: set TEXT_OFFSET to 0x0 in preparation for removing it entirely

2021-01-05 Thread Corentin Labbe
Le Tue, Jan 05, 2021 at 11:13:03AM +0100, Geert Uytterhoeven a écrit : > Hi Corentin, > > On Tue, Jan 5, 2021 at 10:52 AM Corentin Labbe > wrote: > > Due to DTB renaming, salvatorX was not booted since a long time in kernelCI. > > Now the rename is handled, the board fail

r8a77950-salvator-x does nto boot since cfa7ede20f133cc81cef01dc3a516dda3a9721ee arm64: set TEXT_OFFSET to 0x0 in preparation for removing it entirely

2021-01-05 Thread Corentin Labbe
Hello Due to DTB renaming, salvatorX was not booted since a long time in kernelCI. Now the rename is handled, the board fail to boot. I have bisected the problem: git bisect start # good: [6b9830fecd4a87d7ebb4d93484fef00f46d0fa0f] Linux 5.7.19 git bisect good 6b9830fecd4a87d7ebb4d93484fef00f46d0f

[PATCH RESEND] ARM: configs: sunxi: enable brcm wireless

2020-12-27 Thread Corentin Labbe
Lot of sunxi boards have BRCM wireless device, so let's enable necessary options for it in our defconfig. Signed-off-by: Corentin Labbe --- arch/arm/configs/sunxi_defconfig | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/arm/co

[PATCH v4 5/8] crypto: sun4i-ss: initialize need_fallback

2020-12-14 Thread Corentin Labbe
The need_fallback is never initialized and seem to be always true at runtime. So all hardware operations are always bypassed. Fixes: 0ae1f46c55f87 ("crypto: sun4i-ss - fallback when length is not multiple of blocksize") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinne

[PATCH v4 4/8] crypto: sun4i-ss: handle BigEndian for cipher

2020-12-14 Thread Corentin Labbe
Ciphers produce invalid results on BE. Key and IV need to be written in LE. Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 12 ++-- 1 fi

[PATCH v4 8/8] crypto: sun4i-ss: add SPDX header and remove blank lines

2020-12-14 Thread Corentin Labbe
This patchs fixes some remaining style issue. Signed-off-by: Corentin Labbe Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 3 --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a

[PATCH v4 7/8] crypto: sun4i-ss: enabled stats via debugfs

2020-12-14 Thread Corentin Labbe
This patch enable to access usage stats for each algorithm. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 9 .../allwinner/sun4i-ss/sun4i-ss-cipher.c | 20 +++ .../crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 52 +++ .../crypto

[PATCH v4 6/8] crypto: sun4i-ss: fix kmap usage

2020-12-14 Thread Corentin Labbe
t place. Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Signed-off-by: Corentin Labbe --- .../allwinner/sun4i-ss/sun4i-ss-cipher.c | 109 +++--- 1 file changed, 65 insertions(+), 44 deletions(-) diff --git a/drivers/crypto/al

[PATCH v4 3/8] crypto: sun4i-ss: IV register does not work on A10 and A13

2020-12-14 Thread Corentin Labbe
Signed-off-by: Corentin Labbe --- .../allwinner/sun4i-ss/sun4i-ss-cipher.c | 34 +++ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c b/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c index f4979758832

[PATCH v4 1/8] crypto: sun4i-ss: linearize buffers content must be kept

2020-12-14 Thread Corentin Labbe
educe stack usage") Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 12 drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h| 2 ++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-c

[PATCH v4 0/8] crypto: sun4i-ss: prevent always fallback for ciphers

2020-12-14 Thread Corentin Labbe
since v1: - patch #4 is sufficient to fix BE problem (removed todo) Corentin Labbe (8): crypto: sun4i-ss: linearize buffers content must be kept crypto: sun4i-ss: checking sg length is not sufficient crypto: sun4i-ss: IV register does not work on A10 and A13 crypto: sun4i-ss: handle BigEnd

[PATCH v4 2/8] crypto: sun4i-ss: checking sg length is not sufficient

2020-12-14 Thread Corentin Labbe
rypto accelerator") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c b/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-ciph

Re: crypto: sun4i-ss: error with kmap

2020-12-07 Thread Corentin Labbe
On Mon, Dec 07, 2020 at 01:15:49AM +0100, Thomas Gleixner wrote: > On Sun, Dec 06 2020 at 22:40, Corentin Labbe wrote: > > On Sat, Dec 05, 2020 at 08:48:15PM +0100, Thomas Gleixner wrote: > >> So this maps two pages and unmaps the first one. That's all called from > >&

Re: crypto: sun4i-ss: error with kmap

2020-12-06 Thread Corentin Labbe
On Sat, Dec 05, 2020 at 08:48:15PM +0100, Thomas Gleixner wrote: > Corentin, > > On Sat, Dec 05 2020 at 19:43, Corentin Labbe wrote: > > On Fri, Dec 04, 2020 at 09:58:21PM +0100, Thomas Gleixner wrote: > >> Can you please replace the debug patch with the one below and tr

Re: crypto: sun4i-ss: error with kmap

2020-12-05 Thread Corentin Labbe
On Fri, Dec 04, 2020 at 09:58:21PM +0100, Thomas Gleixner wrote: > On Fri, Dec 04 2020 at 20:27, Corentin Labbe wrote: > > On Fri, Dec 04, 2020 at 04:08:27PM +0100, Thomas Gleixner wrote: > >> On Fri, Dec 04 2020 at 14:26, Corentin Labbe wrote: > >> > On Fri, De

Re: crypto: sun4i-ss: error with kmap

2020-12-04 Thread Corentin Labbe
On Fri, Dec 04, 2020 at 04:08:27PM +0100, Thomas Gleixner wrote: > On Fri, Dec 04 2020 at 14:26, Corentin Labbe wrote: > > On Fri, Dec 04, 2020 at 12:34:05AM +0100, Thomas Gleixner wrote: > >> The unmap comes from sg_miter_stop() and looking at the previous > >> map/u

Re: crypto: sun4i-ss: error with kmap

2020-12-04 Thread Corentin Labbe
On Fri, Dec 04, 2020 at 12:34:05AM +0100, Thomas Gleixner wrote: > On Thu, Dec 03 2020 at 18:38, Corentin Labbe wrote: > > On Wed, Dec 02, 2020 at 09:59:36PM +0100, Thomas Gleixner wrote: > >> On Wed, Dec 02 2020 at 20:55, Corentin Labbe wrote: > >> > On Tue, De

Re: crypto: sun4i-ss: error with kmap

2020-12-03 Thread Corentin Labbe
On Wed, Dec 02, 2020 at 09:59:36PM +0100, Thomas Gleixner wrote: > On Wed, Dec 02 2020 at 20:55, Corentin Labbe wrote: > > On Tue, Dec 01, 2020 at 04:15:08PM +0100, Thomas Gleixner wrote: > > > > The result could be seen at http://kernel.montjoie.ovh/129768.log > > The

Re: crypto: sun4i-ss: error with kmap

2020-12-02 Thread Corentin Labbe
On Tue, Dec 01, 2020 at 04:15:08PM +0100, Thomas Gleixner wrote: > On Tue, Dec 01 2020 at 15:45, Corentin Labbe wrote: > > On Tue, Dec 01, 2020 at 03:16:36PM +0100, Thomas Gleixner wrote: > > In fact the warn was a bit later so I added: > >preempt_disab

Re: crypto: sun4i-ss: error with kmap

2020-12-01 Thread Corentin Labbe
On Tue, Dec 01, 2020 at 03:16:36PM +0100, Thomas Gleixner wrote: > On Tue, Dec 01 2020 at 14:52, Corentin Labbe wrote: > > On Tue, Dec 01, 2020 at 02:28:54PM +0100, Thomas Gleixner wrote: > > The patch made the board too busy logging and fail to boot until the test. > > Stup

Re: crypto: sun4i-ss: error with kmap

2020-12-01 Thread Corentin Labbe
On Tue, Dec 01, 2020 at 02:28:54PM +0100, Thomas Gleixner wrote: > On Tue, Dec 01 2020 at 14:01, Corentin Labbe wrote: > > +[ 213.050152] [ cut here ] > > +[ 213.050207] WARNING: CPU: 0 PID: 18430 at mm/highmem.c:581 > > kunmap_loca

crypto: sun4i-ss: error with kmap

2020-12-01 Thread Corentin Labbe
Hello When testing 20201130, I hit this problem: +[ 213.050152] [ cut here ] +[ 213.050207] WARNING: CPU: 0 PID: 18430 at mm/highmem.c:581 kunmap_local_indexed+0x194/0x1d4 +[ 213.050214] Modules linked in: sm4_generic authenc vmac xcbc hmac streebog_generic sm3_generi

Re: [PATCH] staging:media:zoran: Fixed grammar issue

2020-11-30 Thread LABBE Corentin
+ * the driver as a parameter or set in a VIDIOCSFBUF ioctl > */ > > static unsigned long vidmem; /* default = 0 - Video memory base address */ > -- > 2.17.1 > Hello Acked-by: Corentin Labbe Thanks

[PATCH v2] x86/defconfigs: enable HDA realtek codec

2020-11-16 Thread Corentin Labbe
commit 8b1bb90701f9 ("defconfig reduction") Anyway, one of those system is part of kernelCI and having CONFIG_SND_HDA_CODEC_REALTEK back will permit more testing. Signed-off-by: Corentin Labbe --- Change since v1: - Do the same change on i386, to keep them sync. arch/x86/configs/i3

[PATCH v3 0/7] crypto: sun4i-ss: prevent always fallback for ciphers

2020-11-16 Thread Corentin Labbe
- patch #1: move buf/bufo out of function for reducing stack usage - patch #4: use writesl() - patch #6: use IS_ENABLED instead of #ifdef Changes since v1: - patch #4 is sufficient to fix BE problem (removed todo) Corentin Labbe (7): crypto: sun4i-ss: linearize buffers content must be kept

[PATCH v3 2/7] crypto: sun4i-ss: checking sg length is not sufficient

2020-11-16 Thread Corentin Labbe
rypto accelerator") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c b/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-ciph

[PATCH v3 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-11-16 Thread Corentin Labbe
Ciphers produce invalid results on BE. Key and IV need to be written in LE. Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 12 ++-- 1 fi

[PATCH v3 5/7] crypto: sun4i-ss: initialize need_fallback

2020-11-16 Thread Corentin Labbe
The need_fallback is never initialized and seem to be always true at runtime. So all hardware operations are always bypassed. Fixes: 0ae1f46c55f87 ("crypto: sun4i-ss - fallback when length is not multiple of blocksize") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinne

[PATCH v3 7/7] crypto: sun4i-ss: add SPDX header and remove blank lines

2020-11-16 Thread Corentin Labbe
This patchs fixes some remaining style issue. Signed-off-by: Corentin Labbe Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 3 --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a

[PATCH v3 3/7] crypto: sun4i-ss: IV register does not work on A10 and A13

2020-11-16 Thread Corentin Labbe
Signed-off-by: Corentin Labbe --- .../allwinner/sun4i-ss/sun4i-ss-cipher.c | 34 +++ 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c b/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c index 4dd736ee5a4

[PATCH v3 1/7] crypto: sun4i-ss: linearize buffers content must be kept

2020-11-16 Thread Corentin Labbe
educe stack usage") Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 12 drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h| 2 ++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/sun4i-ss-c

[PATCH v3 6/7] crypto: sun4i-ss: enabled stats via debugfs

2020-11-16 Thread Corentin Labbe
This patch enable to access usage stats for each algorithm. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 9 +++ .../allwinner/sun4i-ss/sun4i-ss-cipher.c | 20 +++ .../crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 56 +++ .../crypto

[PATCH] ARM: configs: sunxi: enable brcm wireless

2020-11-15 Thread Corentin Labbe
Lot of sunxi boards have BRCM wireless device, so let's enable necessary options for it in our defconfig. Signed-off-by: Corentin Labbe --- arch/arm/configs/sunxi_defconfig | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/arch/arm/co

[PATCH] hwmon: drivetemp: fix typo temperatire => temperature

2020-11-15 Thread Corentin Labbe
This patch fix a trivial typo temperatire => temperature. Signed-off-by: Corentin Labbe --- drivers/hwmon/drivetemp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/drivetemp.c b/drivers/hwmon/drivetemp.c index 72c760373957..1eb37106a220 100644 --- a/driv

[PATCH] crypto: allwinner: sun8i-ce: fix two error path's memory leak

2020-11-15 Thread Corentin Labbe
was an error. Fixes: 56f6d5aee88d ("crypto: sun8i-ce - support hash algorithms") Reported-by: kernel test robot Reported-by: Dan Carpenter Signed-off-by: Corentin Labbe --- .../crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 20 +++ 1 file changed, 12 insertions(+), 8 dele

[PATCH] x86/defconfigs: enable HDA realtek codec

2020-11-15 Thread Corentin Labbe
commit 8b1bb90701f9 ("defconfig reduction") Anyway, one of those system is part of kernelCI and having CONFIG_SND_HDA_CODEC_REALTEK back will permit more testing. Signed-off-by: Corentin Labbe --- arch/x86/configs/x86_64_defconfig | 1 + 1 file changed, 1 insertion(+)

[PATCH] ARM: configs: sunxi: enable Realtek PHY

2020-11-12 Thread Corentin Labbe
Lot of sunxi boards has a Realtek PHY, so let's enable it. Signed-off-by: Corentin Labbe --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 244126172fd6..05f7f4ed8ded 100644

Re: drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c:412 sun8i_ce_hash_run() warn: possible memory leak of 'result'

2020-11-11 Thread LABBE Corentin
On Tue, Nov 10, 2020 at 01:47:37PM +0300, Dan Carpenter wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 407ab579637ced6dc32cfb2295afb7259cca4b22 > commit: 56f6d5aee88d129b2424902cd630f10794550763 crypto: sun8i-ce - support > hash algorithms >

Re: [BUG] Error applying setting, reverse things back on lot of devices

2020-11-01 Thread Corentin Labbe
On Sun, Nov 01, 2020 at 02:31:15AM +0100, Ondřej Jirman wrote: > Hello Michał, > > On Sat, Oct 24, 2020 at 01:53:07PM +0200, Michał Mirosław wrote: > > On Fri, Oct 23, 2020 at 10:39:43PM +0200, Corentin Labbe wrote: > > > On Fri, Oct 23, 2020 at 03:42:01PM +0200, Corentin

Re: [linux-sunxi] [PATCH v2] arm64: dts: allwinner: h6: PineH64 model B: Add wifi

2020-10-31 Thread Corentin Labbe
On Fri, Oct 30, 2020 at 06:25:30PM +0100, Jernej Skrabec wrote: > PineH64 model B contains RTL8723CS wifi+bt combo module. > > Since bluetooth support is not yet squared away, only wifi is enabled > for now. > > Acked-by: Chen-Yu Tsai > Signed-off-by: Jernej Skrabec > --- > Changes from v1: > -

Re: [linux-sunxi] [PATCH 10/10] arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY

2020-10-24 Thread Corentin Labbe
mp;ehci1 { > &emac { > pinctrl-names = "default"; > pinctrl-0 = <&rgmii_pins>; > - phy-mode = "rgmii"; > + phy-mode = "rgmii-id"; > phy-handle = <&ext_rgmii_phy>; > phy-supply = <®_dc1sw>; > status = "okay"; > -- > 2.28.0 Tested-by: Corentin Labbe Thanks

Re: [BUG] Error applying setting, reverse things back on lot of devices

2020-10-23 Thread Corentin Labbe
On Fri, Oct 23, 2020 at 03:42:01PM +0200, Corentin Labbe wrote: > On Wed, Oct 21, 2020 at 08:31:49PM +0200, Corentin Labbe wrote: > > Hello > > > > On next-20201016, booting my sun8i-r40-bananapi-m2-ultra, the boot end > > without at least stmmac working. > >

Re: [BUG] Error applying setting, reverse things back on lot of devices

2020-10-23 Thread Corentin Labbe
On Wed, Oct 21, 2020 at 08:31:49PM +0200, Corentin Labbe wrote: > Hello > > On next-20201016, booting my sun8i-r40-bananapi-m2-ultra, the boot end > without at least stmmac working. > [0.00] Booting Linux on physical CPU 0x0 > [0.00] Linux version 5.9.0-n

[BUG] Error applying setting, reverse things back on lot of devices

2020-10-21 Thread Corentin Labbe
Hello On next-20201016, booting my sun8i-r40-bananapi-m2-ultra, the boot end without at least stmmac working. [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 5.9.0-next-20201016-00055-g98489213ff7c-dirty (compile@Red) (armv7a-unknown-linux-gnueabihf-gcc (Gentoo 9.3.

[PATCH] arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay

2020-10-18 Thread Corentin Labbe
64") Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index af85b2074867..96173

Re: [PATCH 2/2] crypto: sun8x-ce*: update entries to its documentation

2020-10-09 Thread Corentin Labbe
/arm/sunxi/README > + * You could find a link for the datasheet in Documentation/arm/sunxi.rst > */ > #include "sun8i-ce.h" > #include > -- > 2.26.2 > Hello Acked-by: Corentin Labbe Thanks

Re: [v2 PATCH] crypto: sun4i-ss - Fix sparse endianness markers

2020-10-07 Thread Corentin Labbe
On Thu, Oct 08, 2020 at 04:52:38PM +1100, Herbert Xu wrote: > On Thu, Sep 24, 2020 at 03:27:38PM +0200, Corentin Labbe wrote: > > > > This is an example on next-20200923+BigEndian > > alg: ahash: sha1 test failed (wrong result) on test vector \"random: > > p

Re: WARNING: at kernel/workqueue.c:1473 __queue_work+0x3b8/0x3d0

2020-10-07 Thread Corentin Labbe
On Mon, Oct 05, 2020 at 01:09:10PM -0400, Daniel Jordan wrote: > On Thu, Oct 01, 2020 at 07:50:22PM +0200, Corentin Labbe wrote: > > On Tue, Mar 03, 2020 at 04:30:17PM -0500, Daniel Jordan wrote: > > > Barring other ideas, Corentin, would you be willing to boot with > >

Re: [PATCH][next] media: zoran: fix spelling mistake and make error message more meaningful

2020-10-05 Thread LABBE Corentin
_CAPTURE) { > - pci_err(zr->pci_dev, "%s invalid combinaison\n", __func__); > + pci_err(zr->pci_dev, "%s invalid selection type combination\n", > __func__); > return -EINVAL; > } > > -- > 2.27.0 > Hello Acked-by: Corentin Labbe Thanks

Re: [PATCH] media: zoran.rst: place it at the right place this time

2020-10-04 Thread LABBE Corentin
mepage at <http://mjpeg.sf.net/driver-zoran/>. For > - more information, check > . > + more information, check > . > > To compile this driver as a module, choose M here: the > module will be called zr36067. > -- > 2.26.2 > Hello Acked-by: Corentin Labbe Thanks

Re: [PATCH 1/4] media: zoran: move documentation file to the right place

2020-10-04 Thread LABBE Corentin
st > rename to Documentation/driver-api/media/drivers/v4l-drivers/zoran.rst > -- > 2.26.2 > Hello Acked-by: Corentin Labbe Thanks

Re: [PATCH 3/3] media: zoran: fix mixed case on vars

2020-10-02 Thread LABBE Corentin
zoran_driver.c | 94 > drivers/staging/media/zoran/zr36016.c | 14 +- > drivers/staging/media/zoran/zr36050.c | 2 +- > drivers/staging/media/zoran/zr36057.h | 122 +-- > drivers/staging/media/zoran/zr36060.c | 76 +++ > drivers/staging/media/zoran/zr36060.h | 66 +++--- > 10 files changed, 350 insertions(+), 350 deletions(-) Acked-by: Corentin Labbe Thanks

Re: [PATCH 2/3] media: zoran: get rid of an unused var

2020-10-02 Thread LABBE Corentin
for testing */ > unsigned int ghost_int; > - int jpeg_error; > int intr_counter_GIRQ1; > int intr_counter_GIRQ0; > int intr_counter_CodRepIRQ; > -- > 2.26.2 > Acked-by: Corentin Labbe Thanks

Re: [PATCH][next] crypto: sun8i-ss - Fix memory leak in sun8i_ss_prng_generate()

2020-10-02 Thread Corentin Labbe
> Hello The label could be better placed just before the kfree. In error case, there are no need to memzero the not used "d". But a patch with it, was already sent to the ML. Anyway if you fix it, you could add "Acked-by: Corentin Labbe " Regards

[PATCH RFT/RFC v2 46/47] staging: media: zoran: convert to vb2

2020-09-25 Thread Corentin Labbe
This is it! the ultimate last step, the vb2 conversion. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/Kconfig|2 +- drivers/staging/media/zoran/zoran.h| 83 +- drivers/staging/media/zoran/zoran_card.c | 45 +- drivers/staging/media/zoran/zoran_device.c

[PATCH RFT/RFC v2 45/47] staging: media: zoran: remove deprecated .vidioc_g_jpegcomp

2020-09-25 Thread Corentin Labbe
This patchs removed the deprecated .vidioc_g_jpegcomp and replace it with corresponding v4l2_ctrl_ops code. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_card.c | 22 ++ drivers/staging/media/zoran/zoran_driver.c | 49 -- 2 files changed, 22

[PATCH RFT/RFC v2 47/47] staging: media: zoran: update TODO

2020-09-25 Thread Corentin Labbe
Update the TODO of the zoran driver Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/TODO | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/zoran/TODO b/drivers/staging/media/zoran/TODO index 54464095d0d7

[PATCH RFT/RFC v2 44/47] staging: media: zoran: fix some compliance test

2020-09-25 Thread Corentin Labbe
Add TODO for "TRY_FMT cannot handle an invalid pixelformat" We need to set pixelformat in some case. We should also handle some minimum requirement. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_driver.c | 12 +++- 1 file changed, 11 insertions(+),

[PATCH RFT/RFC v2 38/47] staging: media: zoran: device support only 32bit DMA address

2020-09-25 Thread Corentin Labbe
The zoran device only supports 32bit DMA address. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_card.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c index dbdb1c4b0515

[PATCH RFT/RFC v2 42/47] staging: media: zoran: remove test_interrupts

2020-09-25 Thread Corentin Labbe
The test_interrupts function is useless, remove it. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran.h| 3 --- drivers/staging/media/zoran/zoran_card.c | 27 -- drivers/staging/media/zoran/zoran_device.c | 16 - 3 files changed, 46

[PATCH RFT/RFC v2 37/47] staging: media: zoran: disable output

2020-09-25 Thread Corentin Labbe
Zoran is picky about jpeg data it accepts. At least it seems to not support COM and APPn. So until a way to filter data will be done, disable output. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_card.c | 2 ++ drivers/staging/media/zoran/zoran_driver.c | 20

[PATCH RFT/RFC v2 41/47] staging: media: zoran: add vidioc_g_parm

2020-09-25 Thread Corentin Labbe
Adding vidioc_g_parm made v4l compliance happy. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_driver.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media/zoran/zoran_driver.c index bcbe2c78ea16

[PATCH RFT/RFC v2 39/47] staging: media: zoran: enable makefile

2020-09-25 Thread Corentin Labbe
This patch enables compilation of the zoran driver. Signed-off-by: Corentin Labbe --- drivers/staging/media/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/Makefile b/drivers/staging/media/Makefile index 25910221b100..965a8b0e6cf2 100644 --- a/drivers/staging

[PATCH RFT/RFC v2 35/47] staging: media: zoran: Add more check for compliance

2020-09-25 Thread Corentin Labbe
The zoran driver miss some sanity checks, and this made v4l compliance happy. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_driver.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/staging/media/zoran/zoran_driver.c b/drivers/staging/media

  1   2   3   4   5   6   7   8   9   10   >