[PATCH] staging: ccree: fix __dump_byte_array() declaration mismatch

2017-12-20 Thread Corentin Labbe
("staging: ccree: turn compile time debug log to params") Signed-off-by: Corentin Labbe --- drivers/staging/ccree/ssi_driver.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/ccree/ssi_driver.h b/drivers/staging/ccree/ssi_driver.h index 5a

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-14 Thread Corentin Labbe
On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > Hi, > > On Mon, Dec 11, 2017 at 08:35:34PM +0100, Corentin Labbe wrote: > > On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote: > > > This series adds SMP support for Allwinner Sun8i-a83t > &

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-14 Thread Corentin Labbe
On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > Hi, > > On Mon, Dec 11, 2017 at 08:35:34PM +0100, Corentin Labbe wrote: > > On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote: > > > This series adds SMP support for Allwinner Sun8i-a83t > &

[PATCH] watchdog: document watchdog_init_timeout() wdd parameter

2017-12-13 Thread Corentin Labbe
All parameters of watchdog_init_timeout() are documented with exception of wdd, thus generating a build warning. This patch document it and so remove the following build warning: drivers/watchdog/watchdog_core.c:113: warning: No description found for parameter 'wdd' Signed-off-by: Corentin

[PATCH] watchdog: document watchdog_init_timeout() wdd parameter

2017-12-13 Thread Corentin Labbe
All parameters of watchdog_init_timeout() are documented with exception of wdd, thus generating a build warning. This patch document it and so remove the following build warning: drivers/watchdog/watchdog_core.c:113: warning: No description found for parameter 'wdd' Signed-off-by: Corentin

[PATCH 1/2] arm: dts: sun8i: a83t: remove leading zero from cpucfg node address

2017-12-13 Thread Corentin Labbe
This will fix the following warning: Warning (simple_bus_reg): Node /soc/cpucfg@0170 simple-bus unit address format error, expected "170" Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- 1 file changed, 1 insertio

[PATCH 1/2] arm: dts: sun8i: a83t: remove leading zero from cpucfg node address

2017-12-13 Thread Corentin Labbe
This will fix the following warning: Warning (simple_bus_reg): Node /soc/cpucfg@0170 simple-bus unit address format error, expected "170" Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/2] arm: dts: sun8i: a83t: Add an unit address to the memory node

2017-12-13 Thread Corentin Labbe
This will fix the following warning: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 2/2] arm: dts: sun8i: a83t: Add an unit address to the memory node

2017-12-13 Thread Corentin Labbe
This will fix the following warning: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i

[PATCH 2/2] crypto: seqiv - Remove unused alg/spawn variable

2017-12-12 Thread Corentin Labbe
This patch remove two unused variable and some dead "code" using it. Fixes: 92932d03c2b3 ("crypto: seqiv - Remove AEAD compatibility code") Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- crypto/seqiv.c | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 2/2] crypto: seqiv - Remove unused alg/spawn variable

2017-12-12 Thread Corentin Labbe
This patch remove two unused variable and some dead "code" using it. Fixes: 92932d03c2b3 ("crypto: seqiv - Remove AEAD compatibility code") Signed-off-by: Corentin Labbe --- crypto/seqiv.c | 5 - 1 file changed, 5 deletions(-) diff --git a/crypto/seqiv.c b/

[PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable

2017-12-12 Thread Corentin Labbe
This patch remove two unused variable and some dead "code" using it. Fixes: 66008d4230f6 ("crypto: echainiv - Remove AEAD compatibility code") Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- crypto/echainiv.c | 5 - 1 file changed, 5 deletions(-) diff -

[PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable

2017-12-12 Thread Corentin Labbe
This patch remove two unused variable and some dead "code" using it. Fixes: 66008d4230f6 ("crypto: echainiv - Remove AEAD compatibility code") Signed-off-by: Corentin Labbe --- crypto/echainiv.c | 5 - 1 file changed, 5 deletions(-) diff --git a/crypto/echainiv.c b/cry

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-11 Thread Corentin Labbe
On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote: > Hello everyone, > > This series adds SMP support for Allwinner Sun8i-a83t > with MCPM (Multi-Cluster Power Management). > Series information: > - Based on last linux-next (next-20171211) > - Had dependencies on Chen

Re: [PATCH 0/4] Sunxi: Add SMP support on A83T

2017-12-11 Thread Corentin Labbe
On Mon, Dec 11, 2017 at 08:49:57AM +0100, Mylène Josserand wrote: > Hello everyone, > > This series adds SMP support for Allwinner Sun8i-a83t > with MCPM (Multi-Cluster Power Management). > Series information: > - Based on last linux-next (next-20171211) > - Had dependencies on Chen

[PATCH] ARM: dts: sun8i-h3: Remove allwinner,leds-active-low for non internal PHY

2017-12-07 Thread Corentin Labbe
allwinner,leds-active-low have effect only on boards which us the internal PHY. So this patch remove it from all boards which do not use the internal PHY. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 1 - arch/arm/boot/dts

[PATCH] ARM: dts: sun8i-h3: Remove allwinner,leds-active-low for non internal PHY

2017-12-07 Thread Corentin Labbe
allwinner,leds-active-low have effect only on boards which us the internal PHY. So this patch remove it from all boards which do not use the internal PHY. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 1 - arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 2

Re: [PATCH RFC 0/4] crypto: engine - Permit to enqueue all async requests

2017-12-07 Thread Corentin Labbe
pe that this proposal is fine for > Herbert too. > Thanks for your test, I hope other maintainer will test it also. Regards Corentin Labbe

Re: [PATCH RFC 0/4] crypto: engine - Permit to enqueue all async requests

2017-12-07 Thread Corentin Labbe
pe that this proposal is fine for > Herbert too. > Thanks for your test, I hope other maintainer will test it also. Regards Corentin Labbe

Re: [PATCH RFC 1/4] crypto: engine - Permit to enqueue all async requests

2017-12-07 Thread Corentin Labbe
On Wed, Dec 06, 2017 at 11:02:23AM +, Fabien DESSENNE wrote: > > > On 29/11/17 09:41, Corentin Labbe wrote: > > The crypto engine could actually only enqueue hash and ablkcipher request. > > This patch permit it to enqueue any type of crypto_async_request. > >

Re: [PATCH RFC 1/4] crypto: engine - Permit to enqueue all async requests

2017-12-07 Thread Corentin Labbe
On Wed, Dec 06, 2017 at 11:02:23AM +, Fabien DESSENNE wrote: > > > On 29/11/17 09:41, Corentin Labbe wrote: > > The crypto engine could actually only enqueue hash and ablkcipher request. > > This patch permit it to enqueue any type of crypto_async_request. > >

[PATCH] crypto: stm32: fix module device table name

2017-11-30 Thread Corentin Labbe
replace sti_dt_ids with stm32_dt_ids which is just declared before. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/crypto/stm32/stm32-cryp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32

[PATCH] crypto: stm32: fix module device table name

2017-11-30 Thread Corentin Labbe
replace sti_dt_ids with stm32_dt_ids which is just declared before. Signed-off-by: Corentin Labbe --- drivers/crypto/stm32/stm32-cryp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32/stm32-cryp.c index 098fad266c41

Re: [PATCH] net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling

2017-11-29 Thread Corentin Labbe
On Tue, Nov 28, 2017 at 06:38:26PM +0100, Andrew Lunn wrote: > On Tue, Nov 28, 2017 at 05:48:22PM +0100, Corentin Labbe wrote: > > The driver expect "allwinner,leds-active-low" to be in PHY node, but > > the binding doc expect it to be in MAC node. > > > >

Re: [PATCH] net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling

2017-11-29 Thread Corentin Labbe
On Tue, Nov 28, 2017 at 06:38:26PM +0100, Andrew Lunn wrote: > On Tue, Nov 28, 2017 at 05:48:22PM +0100, Corentin Labbe wrote: > > The driver expect "allwinner,leds-active-low" to be in PHY node, but > > the binding doc expect it to be in MAC node. > > > >

[PATCH RFC 1/4] crypto: engine - Permit to enqueue all async requests

2017-11-29 Thread Corentin Labbe
The crypto engine could actually only enqueue hash and ablkcipher request. This patch permit it to enqueue any type of crypto_async_request. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- crypto/crypto_engine.c | 188 +++- i

[PATCH RFC 1/4] crypto: engine - Permit to enqueue all async requests

2017-11-29 Thread Corentin Labbe
The crypto engine could actually only enqueue hash and ablkcipher request. This patch permit it to enqueue any type of crypto_async_request. Signed-off-by: Corentin Labbe --- crypto/crypto_engine.c | 188 +++- include/crypto/engine.h | 46

[PATCH RFC 2/4] crypto: omap: convert to new crypto engine API

2017-11-29 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/crypto/omap-aes.c | 21 +++-- drivers/crypto/omap-aes.h | 3 +++ drivers/crypto/omap-des.c | 24 ++-- 3 files chang

[PATCH RFC 2/4] crypto: omap: convert to new crypto engine API

2017-11-29 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe --- drivers/crypto/omap-aes.c | 21 +++-- drivers/crypto/omap-aes.h | 3 +++ drivers/crypto/omap-des.c | 24 ++-- 3 files changed, 36 insertions(+), 12 deletions

[PATCH RFC 4/4] crypto: stm32: convert to the new crypto engine API

2017-11-29 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/crypto/stm32/stm32-hash.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/stm32/stm32-hash.c b/d

[PATCH RFC 4/4] crypto: stm32: convert to the new crypto engine API

2017-11-29 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe --- drivers/crypto/stm32/stm32-hash.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/stm32/stm32-hash.c b/drivers/crypto/stm32/stm32-hash.c

[PATCH RFC 3/4] crypto: virtio: convert to new crypto engine API

2017-11-29 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/crypto/virtio/virtio_crypto_algs.c | 15 ++- drivers/crypto/virtio/virtio_crypto_common.h | 2 +- drivers/crypto/virtio/virtio_crypto_core.c

[PATCH RFC 3/4] crypto: virtio: convert to new crypto engine API

2017-11-29 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe --- drivers/crypto/virtio/virtio_crypto_algs.c | 15 ++- drivers/crypto/virtio/virtio_crypto_common.h | 2 +- drivers/crypto/virtio/virtio_crypto_core.c | 3 --- 3 files changed, 11

[PATCH RFC 0/4] crypto: engine - Permit to enqueue all async requests

2017-11-29 Thread Corentin Labbe
driver. Regards [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1474434.html Corentin Labbe (4): crypto: engine - Permit to enqueue all async requests crypto: omap: convert to new crypto engine API crypto: virtio: convert to new crypto engine API crypto: stm32: convert

[PATCH RFC 0/4] crypto: engine - Permit to enqueue all async requests

2017-11-29 Thread Corentin Labbe
driver. Regards [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1474434.html Corentin Labbe (4): crypto: engine - Permit to enqueue all async requests crypto: omap: convert to new crypto engine API crypto: virtio: convert to new crypto engine API crypto: stm32: convert

[PATCH] net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling

2017-11-28 Thread Corentin Labbe
The driver expect "allwinner,leds-active-low" to be in PHY node, but the binding doc expect it to be in MAC node. Since all board DT use it also in MAC node, the driver need to search allwinner,leds-active-low in MAC node. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com&

[PATCH] net: stmmac: dwmac-sun8i: fix allwinner,leds-active-low handling

2017-11-28 Thread Corentin Labbe
The driver expect "allwinner,leds-active-low" to be in PHY node, but the binding doc expect it to be in MAC node. Since all board DT use it also in MAC node, the driver need to search allwinner,leds-active-low in MAC node. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/stmi

[PATCH v2] ARM64: crypto: do not call crypto_unregister_skcipher twice on error

2017-11-24 Thread Corentin Labbe
When a cipher fails to register in aes_init(), the error path goes thought aes_exit() then crypto_unregister_skciphers(). Since aes_exit calls also crypto_unregister_skcipher, this triggers a refcount_t: underflow; use-after-free. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- C

[PATCH v2] ARM64: crypto: do not call crypto_unregister_skcipher twice on error

2017-11-24 Thread Corentin Labbe
When a cipher fails to register in aes_init(), the error path goes thought aes_exit() then crypto_unregister_skciphers(). Since aes_exit calls also crypto_unregister_skcipher, this triggers a refcount_t: underflow; use-after-free. Signed-off-by: Corentin Labbe --- Changes since v1: - Instead

[PATCH] crypto: arm64/aes - do not call crypto_unregister_skcipher twice on error

2017-11-22 Thread Corentin Labbe
When a cipher fail to register in aes_init(), the error path go thought aes_exit() then crypto_unregister_skciphers(). Since aes_exit calls also crypto_unregister_skcipher, this trigger a refcount_t: underflow; use-after-free. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- arch

[PATCH] crypto: arm64/aes - do not call crypto_unregister_skcipher twice on error

2017-11-22 Thread Corentin Labbe
When a cipher fail to register in aes_init(), the error path go thought aes_exit() then crypto_unregister_skciphers(). Since aes_exit calls also crypto_unregister_skcipher, this trigger a refcount_t: underflow; use-after-free. Signed-off-by: Corentin Labbe --- arch/arm64/crypto/aes-glue.c | 5

[PATCH] arm: Remove unused __readwrite_bug function

2017-11-15 Thread Corentin Labbe
The function __readwrite_bug() is not used at all, so this patch remove it. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- arch/arm/include/asm/io.h | 5 - arch/arm/kernel/traps.c | 7 --- 2 files changed, 12 deletions(-) diff --git a/arch/arm/include/asm/io.h b/ar

[PATCH] arm: Remove unused __readwrite_bug function

2017-11-15 Thread Corentin Labbe
The function __readwrite_bug() is not used at all, so this patch remove it. Signed-off-by: Corentin Labbe --- arch/arm/include/asm/io.h | 5 - arch/arm/kernel/traps.c | 7 --- 2 files changed, 12 deletions(-) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index

[PATCH] mm: shmem: remove unused info variable

2017-11-15 Thread Corentin Labbe
This patch fix the following build warning by simply removing the unused info variable. mm/shmem.c:3205:27: warning: variable 'info' set but not used [-Wunused-but-set-variable] Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- mm/shmem.c | 2 -- 1 file changed, 2 deletions(-) diff

[PATCH] mm: shmem: remove unused info variable

2017-11-15 Thread Corentin Labbe
This patch fix the following build warning by simply removing the unused info variable. mm/shmem.c:3205:27: warning: variable 'info' set but not used [-Wunused-but-set-variable] Signed-off-by: Corentin Labbe --- mm/shmem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/shmem.c b/mm

[PATCH 2/2] musb: remove unused pipe variable

2017-11-15 Thread Corentin Labbe
This patch fix the following build warning: drivers/usb/musb/musb_host.c:1809:8: warning: variable 'pipe' set but not used [-Wunused-but-set-variable] by removing the pipe variable in musb_host_rx() Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/usb/musb/musb_host.c | 3

[PATCH 2/2] musb: remove unused pipe variable

2017-11-15 Thread Corentin Labbe
This patch fix the following build warning: drivers/usb/musb/musb_host.c:1809:8: warning: variable 'pipe' set but not used [-Wunused-but-set-variable] by removing the pipe variable in musb_host_rx() Signed-off-by: Corentin Labbe --- drivers/usb/musb/musb_host.c | 3 --- 1 file changed, 3

[PATCH 1/2] musb: remove unused frame variable

2017-11-15 Thread Corentin Labbe
This patch fix the following warning drivers/usb/musb/musb_host.c:223:8: warning: variable 'frame' set but not used [-Wunused-but-set-variable] by remove the frame variable in musb_start_urb(). Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/usb/musb/musb_host.c | 2 --

[PATCH 1/2] musb: remove unused frame variable

2017-11-15 Thread Corentin Labbe
This patch fix the following warning drivers/usb/musb/musb_host.c:223:8: warning: variable 'frame' set but not used [-Wunused-but-set-variable] by remove the frame variable in musb_start_urb(). Signed-off-by: Corentin Labbe --- drivers/usb/musb/musb_host.c | 2 -- 1 file changed, 2 deletions

Re: [linux-sunxi] [PATCH] arm64: allwinner: a64: add Ethernet PHY regulator for several boards

2017-11-11 Thread Corentin Labbe
On Fri, Nov 10, 2017 at 05:26:54PM +0800, Icenowy Zheng wrote: > On several A64 boards the Ethernet PHY is powered by the DC1SW regulator > on the AXP803 PMIC. > > Add phy-handle property to these boards' emac node. > > Signed-off-by: Icenowy Zheng <icen...@aosc.io>

Re: [linux-sunxi] [PATCH] arm64: allwinner: a64: add Ethernet PHY regulator for several boards

2017-11-11 Thread Corentin Labbe
On Fri, Nov 10, 2017 at 05:26:54PM +0800, Icenowy Zheng wrote: > On several A64 boards the Ethernet PHY is powered by the DC1SW regulator > on the AXP803 PMIC. > > Add phy-handle property to these boards' emac node. > > Signed-off-by: Icenowy Zheng Acked-by: Corentin LABBE T

Re: [PATCH v2 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-09 Thread Corentin Labbe
On Fri, Nov 10, 2017 at 11:48:11AM +0800, Chen-Yu Tsai wrote: > On Thu, Nov 9, 2017 at 4:29 PM, Corentin Labbe > <clabbe.montj...@gmail.com> wrote: > > The dwmac-sun8i hardware is present on the bananapi m3 > > It uses an external PHY rtl8211e via RGMII. > > > &g

Re: [PATCH v2 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-09 Thread Corentin Labbe
On Fri, Nov 10, 2017 at 11:48:11AM +0800, Chen-Yu Tsai wrote: > On Thu, Nov 9, 2017 at 4:29 PM, Corentin Labbe > wrote: > > The dwmac-sun8i hardware is present on the bananapi m3 > > It uses an external PHY rtl8211e via RGMII. > > > > This patch create

[PATCH v2 1/2] ARM: sun8i: a83t: add dwmac-sun8i device node

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch add support for it on the Allwinner a83t SoC Device-tree. This patch add the emac device node and the related RGMII pins node. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Reviewed-by: C

[PATCH v2 0/2] Add dwmac-sun8i on A83T DT

2017-11-09 Thread Corentin Labbe
Hello This patch series add some device node for dwmac-sun8i on A83T. Changes since v1: - reworked commit log of patch #1 - added comment on drive strength Corentin Labbe (2): ARM: sun8i: a83t: add dwmac-sun8i device node ARM: sun8i: bananapi-m3: Enable dwmac-sun8i arch/arm/boot/dts/sun8i

[PATCH v2 1/2] ARM: sun8i: a83t: add dwmac-sun8i device node

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch add support for it on the Allwinner a83t SoC Device-tree. This patch add the emac device node and the related RGMII pins node. Signed-off-by: Corentin Labbe Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts

[PATCH v2 0/2] Add dwmac-sun8i on A83T DT

2017-11-09 Thread Corentin Labbe
Hello This patch series add some device node for dwmac-sun8i on A83T. Changes since v1: - reworked commit log of patch #1 - added comment on drive strength Corentin Labbe (2): ARM: sun8i: a83t: add dwmac-sun8i device node ARM: sun8i: bananapi-m3: Enable dwmac-sun8i arch/arm/boot/dts/sun8i

[PATCH v2 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the bananapi m3 It uses an external PHY rtl8211e via RGMII. This patch create the needed emac and phy nodes. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 ++ 1 file c

[PATCH v2 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-09 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the bananapi m3 It uses an external PHY rtl8211e via RGMII. This patch create the needed emac and phy nodes. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 ++ 1 file changed, 18 insertions(+) diff

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-08 Thread Corentin Labbe
On Wed, Nov 08, 2017 at 08:48:58AM +0100, Maxime Ripard wrote: > On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > > <clabbe.montj...@gmail.com> wrote: > > > The dwmac-sun8i is an ethernet MAC har

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-08 Thread Corentin Labbe
On Wed, Nov 08, 2017 at 08:48:58AM +0100, Maxime Ripard wrote: > On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > > wrote: > > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 >

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-08 Thread Corentin Labbe
On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > <clabbe.montj...@gmail.com> wrote: > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. > > This patch enable the dwmac-sun8i on the A

Re: [PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-08 Thread Corentin Labbe
On Wed, Nov 08, 2017 at 02:27:21PM +0800, Chen-Yu Tsai wrote: > On Wed, Nov 8, 2017 at 4:13 AM, Corentin Labbe > wrote: > > The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. > > This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree

[PATCH 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-07 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the bananapi m3 It uses an external PHY rtl8211e via RGMII. This patch create the needed emac and phy nodes. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 ++ 1 file c

[PATCH 2/2] ARM: sun8i: bananapi-m3: Enable dwmac-sun8i

2017-11-07 Thread Corentin Labbe
The dwmac-sun8i hardware is present on the bananapi m3 It uses an external PHY rtl8211e via RGMII. This patch create the needed emac and phy nodes. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 18 ++ 1 file changed, 18 insertions(+) diff

[PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-07 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Reviewed-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun8i-a8

[PATCH 1/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-11-07 Thread Corentin Labbe
The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch enable the dwmac-sun8i on the Allwinner a83t SoC Device-tree. Signed-off-by: Corentin Labbe Reviewed-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a83t.dtsi | 29 + 1 file changed

Re: UBSAN: Undefined behaviour in mm/sparse.c:81:17

2017-11-06 Thread Corentin Labbe
On Sun, Nov 05, 2017 at 01:57:33PM +0100, Corentin Labbe wrote: > Hello > > At least since next-20171102 I hit the following boot crash: > [0.00] Booting Linux on physical CPU 0x00 [0x410fd034] > [0.00] Linux version 4.14.0-rc7-next-20171103+ (compile@Red)

Re: UBSAN: Undefined behaviour in mm/sparse.c:81:17

2017-11-06 Thread Corentin Labbe
On Sun, Nov 05, 2017 at 01:57:33PM +0100, Corentin Labbe wrote: > Hello > > At least since next-20171102 I hit the following boot crash: > [0.00] Booting Linux on physical CPU 0x00 [0x410fd034] > [0.00] Linux version 4.14.0-rc7-next-20171103+ (compile@Red)

UBSAN: Undefined behaviour in mm/sparse.c:81:17

2017-11-05 Thread Corentin Labbe
Hello At least since next-20171102 I hit the following boot crash: [0.00] Booting Linux on physical CPU 0x00 [0x410fd034] [0.00] Linux version 4.14.0-rc7-next-20171103+ (compile@Red) (gcc version 6.4.0 (Gentoo 6.4.0 p1.0)) #227 SMP PREEMPT Sun Nov 5 10:12:13 CET 2017 [

UBSAN: Undefined behaviour in mm/sparse.c:81:17

2017-11-05 Thread Corentin Labbe
Hello At least since next-20171102 I hit the following boot crash: [0.00] Booting Linux on physical CPU 0x00 [0x410fd034] [0.00] Linux version 4.14.0-rc7-next-20171103+ (compile@Red) (gcc version 6.4.0 (Gentoo 6.4.0 p1.0)) #227 SMP PREEMPT Sun Nov 5 10:12:13 CET 2017 [

[PATCH 1/1] ARM: dts: sunxi: sun8i-h3-nanopi-m1-plus: Add missing regulator

2017-11-01 Thread Corentin Labbe
This patch add the missing regulator for sun8i-h3-nanopi-m1-plus. Fixes: ("ARM: dts: sunxi: Restore EMAC changes (boards)") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 10 ++ 1 file changed, 10 insertion

[PATCH 1/1] ARM: dts: sunxi: sun8i-h3-nanopi-m1-plus: Add missing regulator

2017-11-01 Thread Corentin Labbe
This patch add the missing regulator for sun8i-h3-nanopi-m1-plus. Fixes: ("ARM: dts: sunxi: Restore EMAC changes (boards)") Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dt

[PATCH 0/1] ARM: dts: sunxi: sun8i-h3-nanopi-m1-plus: fix build failure

2017-11-01 Thread Corentin Labbe
Hello The following patch fix the build failure due to "ARM: dts: sunxi: Restore EMAC changes (boards)". A made a mistake when rebasing and a part of sun8i-h3-nanopi-m1-plus emac was added without the needed regulator. Regards Corentin Labbe (1): ARM: dts: sunxi: sun8i-h3-nanopi-m1

[PATCH 0/1] ARM: dts: sunxi: sun8i-h3-nanopi-m1-plus: fix build failure

2017-11-01 Thread Corentin Labbe
Hello The following patch fix the build failure due to "ARM: dts: sunxi: Restore EMAC changes (boards)". A made a mistake when rebasing and a part of sun8i-h3-nanopi-m1-plus emac was added without the needed regulator. Regards Corentin Labbe (1): ARM: dts: sunxi: sun8i-h3-nanopi-m1

Re: linux-next: build failure after merge of the sunxi tree

2017-11-01 Thread Corentin Labbe
On Wed, Nov 01, 2017 at 07:43:45AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the sunxi tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dtb: ERROR (phandle_references): > Reference to non-existent node or

Re: linux-next: build failure after merge of the sunxi tree

2017-11-01 Thread Corentin Labbe
On Wed, Nov 01, 2017 at 07:43:45AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the sunxi tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dtb: ERROR (phandle_references): > Reference to non-existent node or

[PATCH v10 2/8] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-10-31 Thread Corentin Labbe
This patch add documentation about the MDIO switch used on sun8i-h3-emac for integrated PHY. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f.faine...@gmail.com> Reviewed-by: Andrew Lunn <and...@lunn.ch> --- .../devicetree/bindings/n

[PATCH v10 1/8] dt-bindings: net: Restore sun8i dwmac binding

2017-10-31 Thread Corentin Labbe
ot;dt-bindings: net: Revert sun8i dwmac binding") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Florian Fainelli <f.faine...@gmail.com> --- .../devicetree/bindings/net/dwmac-sun8i.txt| 84 ++

[PATCH v10 2/8] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-10-31 Thread Corentin Labbe
This patch add documentation about the MDIO switch used on sun8i-h3-emac for integrated PHY. Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli Reviewed-by: Andrew Lunn --- .../devicetree/bindings/net/dwmac-sun8i.txt| 147 +++-- 1 file changed, 135 insertions

[PATCH v10 1/8] dt-bindings: net: Restore sun8i dwmac binding

2017-10-31 Thread Corentin Labbe
ot;dt-bindings: net: Revert sun8i dwmac binding") Signed-off-by: Corentin Labbe Acked-by: Rob Herring Acked-by: Florian Fainelli --- .../devicetree/bindings/net/dwmac-sun8i.txt| 84 ++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bi

[PATCH v10 3/8] arm: dts: sunxi: h3/h5: Restore EMAC changes

2017-10-31 Thread Corentin Labbe
evert EMAC changes") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f.faine...@gmail.com> --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dts

[PATCH v10 3/8] arm: dts: sunxi: h3/h5: Restore EMAC changes

2017-10-31 Thread Corentin Labbe
evert EMAC changes") Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index c1bd09dab3da..d7

[PATCH v10 6/8] arm64: dts: allwinner: A64: Restore EMAC changes

2017-10-31 Thread Corentin Labbe
: dts: allwinner: Revert EMAC changes") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f.faine...@gmail.com> --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 16 .../boot/dts/allwinner/sun50i-a64-pine64-plus.dts| 15

[PATCH v10 6/8] arm64: dts: allwinner: A64: Restore EMAC changes

2017-10-31 Thread Corentin Labbe
: dts: allwinner: Revert EMAC changes") Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 16 .../boot/dts/allwinner/sun50i-a64-pine64-plus.dts| 15 +++ arch/arm64/boot/dts/allwinner/sun50i-a64-

[PATCH v10 7/8] arm64: dts: allwinner: H5: Restore EMAC changes

2017-10-31 Thread Corentin Labbe
arm64: dts: allwinner: Revert EMAC changes") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f.faine...@gmail.com> --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts | 17 + .../arm64/boot/dts/allwinner/sun50i-h5

[PATCH v10 7/8] arm64: dts: allwinner: H5: Restore EMAC changes

2017-10-31 Thread Corentin Labbe
arm64: dts: allwinner: Revert EMAC changes") Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts | 17 + .../arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 17 + .../boot/dts/allwinner

[PATCH v10 5/8] ARM: dts: sunxi: Restore EMAC changes (boards)

2017-10-31 Thread Corentin Labbe
: dts: sunxi: Revert EMAC changes") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f.faine...@gmail.com> --- arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 9 + arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 19

[PATCH v10 5/8] ARM: dts: sunxi: Restore EMAC changes (boards)

2017-10-31 Thread Corentin Labbe
: dts: sunxi: Revert EMAC changes") Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli --- arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 9 + arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 19 +++ arch/arm/boot/dts/sun8i-h3-nanopi-m1-plus.dt

[PATCH v10 4/8] ARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac

2017-10-31 Thread Corentin Labbe
Since dwmac-sun8i could use either an integrated PHY or an external PHY (which could be at same MDIO address), we need to represent this selection by a MDIO switch. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f.faine...@gmail.com> Reviewed-by:

[PATCH v10 4/8] ARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac

2017-10-31 Thread Corentin Labbe
Since dwmac-sun8i could use either an integrated PHY or an external PHY (which could be at same MDIO address), we need to represent this selection by a MDIO switch. Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli Reviewed-by: Andrew Lunn --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 31

[PATCH v10 8/8] arm64: dts: allwinner: add snps,dwmac-mdio compatible to emac/mdio

2017-10-31 Thread Corentin Labbe
stmmac bindings docs said that its mdio node must have compatible = "snps,dwmac-mdio"; Since dwmac-sun8i does not have any good reasons to not doing it, all their MDIO node must have it. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> Acked-by: Florian Fainelli <f

[PATCH v10 0/8] net: stmmac: dwmac-sun8i: Handle integrated PHY

2017-10-31 Thread Corentin Labbe
rom SoC dtsi to final board DT. Corentin Labbe (8): dt-bindings: net: Restore sun8i dwmac binding dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY arm: dts: sunxi: h3/h5: Restore EMAC changes ARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac

[PATCH v10 8/8] arm64: dts: allwinner: add snps,dwmac-mdio compatible to emac/mdio

2017-10-31 Thread Corentin Labbe
stmmac bindings docs said that its mdio node must have compatible = "snps,dwmac-mdio"; Since dwmac-sun8i does not have any good reasons to not doing it, all their MDIO node must have it. Signed-off-by: Corentin Labbe Acked-by: Florian Fainelli --- arch/arm64/boot/dts/allwinner/sun50

[PATCH v10 0/8] net: stmmac: dwmac-sun8i: Handle integrated PHY

2017-10-31 Thread Corentin Labbe
rom SoC dtsi to final board DT. Corentin Labbe (8): dt-bindings: net: Restore sun8i dwmac binding dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY arm: dts: sunxi: h3/h5: Restore EMAC changes ARM: dts: sunxi: h3/h5: represent the mdio switch used by sun8i-h3-emac

Re: [PATCH v9 06/10] arm64: dts: allwinner: Restore EMAC changes

2017-10-30 Thread Corentin Labbe
On Fri, Oct 27, 2017 at 05:11:14PM +0200, Maxime Ripard wrote: > On Tue, Oct 24, 2017 at 07:57:10PM +0200, Corentin Labbe wrote: > > The original dwmac-sun8i DT bindings have some issue on how to handle > > integrated PHY and was reverted in last RC of 4.13. > > But now we

Re: [PATCH v9 06/10] arm64: dts: allwinner: Restore EMAC changes

2017-10-30 Thread Corentin Labbe
On Fri, Oct 27, 2017 at 05:11:14PM +0200, Maxime Ripard wrote: > On Tue, Oct 24, 2017 at 07:57:10PM +0200, Corentin Labbe wrote: > > The original dwmac-sun8i DT bindings have some issue on how to handle > > integrated PHY and was reverted in last RC of 4.13. > > But now we

Re: [PATCH v9 02/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-10-30 Thread Corentin Labbe
On Fri, Oct 27, 2017 at 09:37:10AM -0500, Rob Herring wrote: > On Tue, Oct 24, 2017 at 07:57:06PM +0200, Corentin Labbe wrote: > > This patch add documentation about the MDIO switch used on sun8i-h3-emac > > for integrated PHY. > > > > Signed-off-by: Corentin Labbe

Re: [PATCH v9 02/10] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-10-30 Thread Corentin Labbe
On Fri, Oct 27, 2017 at 09:37:10AM -0500, Rob Herring wrote: > On Tue, Oct 24, 2017 at 07:57:06PM +0200, Corentin Labbe wrote: > > This patch add documentation about the MDIO switch used on sun8i-h3-emac > > for integrated PHY. > > > > Signed-off-by: Corentin Labbe

[PATCH 1/4] usb: xhci: remove unused variable last_freed_endpoint

2017-10-26 Thread Corentin Labbe
This patch fix the following build warnings: drivers/usb/host/xhci.c:3378:6: warning: variable 'last_freed_endpoint' set but not used [-Wunused-but-set-variable] Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/usb/host/xhci.c | 3 --- 1 file changed, 3 deletions(-) diff

<    3   4   5   6   7   8   9   10   11   12   >