[PATCH] staging: vc04_services: remove unused files

2018-02-01 Thread Corentin Labbe
All thoses files are not used by anybody. Lets just remove them. Signed-off-by: Corentin Labbe --- .../interface/vchiq_arm/vchiq_build_info.h | 37 -- .../interface/vchiq_arm/vchiq_memdrv.h | 59 -- .../interface/vchiq_arm/vchiq_version.c

[PATCH 1/3] documentation: watchdog: remove documentation of at32ap700x_wdt

2018-02-01 Thread Corentin Labbe
Since at32ap700x_wdt is gone, no need to keep its documentation Signed-off-by: Corentin Labbe --- Documentation/watchdog/watchdog-parameters.txt | 5 - 1 file changed, 5 deletions(-) diff --git a/Documentation/watchdog/watchdog-parameters.txt b/Documentation/watchdog/watchdog

[PATCH 2/3] documentation: watchdog: remove documentation for ixp2000

2018-02-01 Thread Corentin Labbe
The ixp2000 watchdog driver was removed in commit 065e8238302b ("watchdog: remove ixp2000 driver") No need to keep its documentation, so remove it. Signed-off-by: Corentin Labbe --- Documentation/watchdog/watchdog-parameters.txt | 5 - 1 file changed, 5 deletions(-) di

[PATCH 3/3] documentation: watchdog: remove documentation of w83697hf_wdt/w83697ug_wdt

2018-02-01 Thread Corentin Labbe
Since w83697hf_wdt/w83697ug_wdt watchdogs drivers were removed in commit 7285fae9345e ("watchdog: Remove drivers for W83697HF and W83697UG") There are no need to keep their documentation Signed-off-by: Corentin Labbe --- Documentation/watchdog/watchdog-parameters.txt | 13 ---

[PATCH] input: remove at32psif

2018-01-18 Thread Corentin Labbe
Since AVR32 arch is gone, at32psif driver is useless. This patch remove it. Signed-off-by: Corentin Labbe --- drivers/input/serio/Kconfig| 10 -- drivers/input/serio/Makefile | 1 - drivers/input/serio/at32psif.c | 357 - 3 files changed, 368

Re: [PATCH] input: remove at32psif

2018-01-18 Thread Corentin Labbe
On Thu, Jan 18, 2018 at 11:20:17AM -0800, Dmitry Torokhov wrote: > On Thu, Jan 18, 2018 at 07:58:11PM +0100, Corentin Labbe wrote: > > Since AVR32 arch is gone, at32psif driver is useless. > > This patch remove it. > > > > Signed-off-by: Corentin Labbe > > Ap

[PATCH] watchdog: remove at32ap700x_wdt

2018-01-18 Thread Corentin Labbe
Since AVR32 is gone, this driver is useless. Signed-off-by: Corentin Labbe --- drivers/watchdog/Kconfig | 9 - drivers/watchdog/Makefile | 3 - drivers/watchdog/at32ap700x_wdt.c | 433 -- 3 files changed, 445 deletions(-) delete mode

[PATCH] misc: remove AVR32 dependencies

2018-01-18 Thread Corentin Labbe
AVR32 is gone, no more need to depends on it Signed-off-by: Corentin Labbe --- drivers/misc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 7c0fa24f9067..6722073e339b 100644 --- a/drivers/misc/Kconfig +++ b

[PATCH] pwm: remove depends on AVR32

2018-01-18 Thread Corentin Labbe
AVR32 is gone, so no more need to depends on it. Signed-off-by: Corentin Labbe --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 763ee50ea57d..f16aad3bf5d6 100644 --- a/drivers/pwm/Kconfig +++ b/drivers

[PATCH] cpufreq: remove at32ap-cpufreq

2018-01-18 Thread Corentin Labbe
Since AVR32 arch was removed, at32ap-cpufreq is useless. Remove this driver. Signed-off-by: Corentin Labbe --- drivers/cpufreq/Kconfig | 10 --- drivers/cpufreq/Makefile | 1 - drivers/cpufreq/at32ap-cpufreq.c | 127 --- 3 files changed

[PATCH] ata: remove pata_at32

2018-01-18 Thread Corentin Labbe
Since AVR32 was removed, pata_at32 is unselectable/uncompilable. Remove this driver. Signed-off-by: Corentin Labbe --- drivers/ata/Kconfig | 9 -- drivers/ata/Makefile| 1 - drivers/ata/pata_at32.c | 400 3 files changed, 410

[PATCH] rtc: remove rtc-at32ap700x

2018-01-18 Thread Corentin Labbe
Since PLATFORM_AT32AP is an AVR32 platform which was removed, the rtc driver rtc-at32ap700x is useless. This patch remove it. Signed-off-by: Corentin Labbe --- drivers/rtc/Kconfig | 7 -- drivers/rtc/Makefile | 1 - drivers/rtc/rtc-at32ap700x.c | 287

[PATCH] auxdisplay: img-ascii-lcd: fix typo on select SYSCON/MFD_SYSCON

2018-01-18 Thread Corentin Labbe
img-ascii-lcd select un-existing SYSCON kconfig name. This patch fix this error by using the correct MFD_SYSCON kconfig name. Signed-off-by: Corentin Labbe --- drivers/auxdisplay/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/auxdisplay/Kconfig b/drivers

[PATCH] input: touchscreen: remove atmel-wm97xx

2018-01-19 Thread Corentin Labbe
Since AVR32 arch is gone, atmel-wm97xx driver is useless. Remove it. Signed-off-by: Corentin Labbe --- drivers/input/touchscreen/Kconfig| 15 -- drivers/input/touchscreen/Makefile | 1 - drivers/input/touchscreen/atmel-wm97xx.c | 436 --- 3 files

[PATCH] clk: sunxi-ng: remove select on obsolete SUNXI_CCU_X kconfig name

2018-01-19 Thread Corentin Labbe
i-ng: Add sun4i/sun7i CCU driver") Signed-off-by: Corentin Labbe --- drivers/clk/sunxi-ng/Kconfig | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig index 6427d0ebe2de..33168f94ee39 100644 --- a/drivers/clk/sunxi-ng/Kconfig +++ b/

[PATCH] usb: serial: keyspan: remove unused USB_SERIAL_KEYSPAN_X firmware kconfig

2018-01-22 Thread Corentin Labbe
All USB_SERIAL_KEYSPAN_X are not used anywhere in kernel tree. Furthermore all firmware files was removed since commit 2971c579f93bi ("keyspan: use request_firmware()") So let's clean thoses unused symbols. Signed-off-by: Corentin Labbe --- drivers/usb/seri

[PATCH] video: remove unused kconfig SH_LCD_MIPI_DSI

2018-01-22 Thread Corentin Labbe
SH_LCD_MIPI_DSI is unused since commit 18b6562c243f ("fbdev: sh_mipi_dsi: remove driver") So no need to keep it. Fixes: 18b6562c243f ("fbdev: sh_mipi_dsi: remove driver") Signed-off-by: Corentin Labbe --- drivers/video/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff -

[PATCH v2 0/6] crypto: engine - Permit to enqueue all async requests

2018-01-26 Thread Corentin Labbe
crypto_transfer_xxx_request_to_engine functions Corentin Labbe (6): Documentation: crypto: document crypto engine API 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-hash: convert to the new

[PATCH v2 2/6] crypto: engine - Permit to enqueue all async requests

2018-01-26 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 Tested-by: Fabien Dessenne --- crypto/crypto_engine.c | 301 ++-- include

[PATCH v2 4/6] crypto: virtio: convert to new crypto engine API

2018-01-26 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 | 16 ++-- drivers/crypto/virtio/virtio_crypto_common.h | 3 +-- drivers/crypto/virtio/virtio_crypto_core.c | 3 --- 3 files changed, 11

[PATCH v2 6/6] crypto: stm32-cryp: convert to the new crypto engine API

2018-01-26 Thread Corentin Labbe
This patch convert the stm32-cryp driver to the new crypto engine API. Signed-off-by: Corentin Labbe Tested-by: Fabien Dessenne --- drivers/crypto/stm32/stm32-cryp.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/crypto/stm32/stm32

[PATCH v2 3/6] crypto: omap: convert to new crypto engine API

2018-01-26 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 v2 5/6] crypto: stm32-hash: convert to the new crypto engine API

2018-01-26 Thread Corentin Labbe
This patch convert the stm32-hash driver to the new crypto engine API. Signed-off-by: Corentin Labbe Tested-by: Fabien Dessenne --- drivers/crypto/stm32/stm32-hash.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/crypto/stm32/stm32-hash.c b

[PATCH v2 1/6] Documentation: crypto: document crypto engine API

2018-01-26 Thread Corentin Labbe
Signed-off-by: Corentin Labbe --- Documentation/crypto/crypto_engine.rst | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/crypto/crypto_engine.rst diff --git a/Documentation/crypto/crypto_engine.rst b/Documentation/crypto

[PATCH] block: remove smart1,2.h

2018-01-26 Thread Corentin Labbe
smart1,2.h is unused since commit d436641439e0 ("cpqarray: remove it from the kernel") Remove it from tree. Signed-off-by: Corentin Labbe --- drivers/block/smart1,2.h | 278 --- 1 file changed, 278 deletions(-) delete mode 100644 dri

[PATCH] media: drx-j remove bsp_i2c.h

2018-01-26 Thread Corentin Labbe
bsp_i2c.h is unused since commit ffe7c4f92183 ("[media] drx-j: Get rid of drx39xyj/bsp_tuner.h") Remove it from tree. Signed-off-by: Corentin Labbe --- drivers/media/dvb-frontends/drx39xyj/bsp_i2c.h | 139 - 1 file changed, 139 deletions(-) delete mode 1006

[PATCH] scsi: aic7xxx: remove really aiclib.c

2018-01-27 Thread Corentin Labbe
aiclib.c is unused (and contain no code) since commit 1ff927306e08 ("[SCSI] aic7xxx: remove aiclib.c") 13 years later, finish the cleaning by remove it from tree. Signed-off-by: Corentin Labbe --- drivers/scsi/aic7xxx/aiclib.c | 34 -- 1 file c

[PATCH] IB/mthca: remove mthca_user.h

2018-01-28 Thread Corentin Labbe
mthca_user.h is unused since commit 486f60954c71 ("IB/mthca: Move user vendor structures") Remove it from tree. Signed-off-by: Corentin Labbe --- drivers/infiniband/hw/mthca/mthca_user.h | 112 --- 1 file changed, 112 deletions(-) delete mode 1006

[PATCH] IB/qib: remove qib_keys.c

2018-01-28 Thread Corentin Labbe
qib_keys.c was left uncompilable in commit 7c2e11fe2dbe ("IB/qib: Remove qp and mr functionality from qib") Since nothing need it, remove it from tree. Signed-off-by: Corentin Labbe --- drivers/infiniband/hw/qib/qib_keys.c | 235 --- 1 file ch

[PATCH] IB/cxgb3: remove cxio_dbg.c

2018-01-28 Thread Corentin Labbe
cxio_dbg.c is uncompiled since commit 2b540355cd2f ("RDMA/cxgb3: cleanups") 10 years after, we could remove it. Signed-off-by: Corentin Labbe --- drivers/infiniband/hw/cxgb3/cxio_dbg.c | 206 - 1 file changed, 206 deletions(-) delete mode 1006

[PATCH] media: mantis: remove mantis_vp3028.c/mantis_vp3028.h

2018-01-28 Thread Corentin Labbe
Thoses files are unused since commit b3b961448f70 ("V4L/DVB (13795): [Mantis/Hopper] Code overhaul, add Hopper devices into the PCI ID list") 8 year after, we could remove it. Signed-off-by: Corentin Labbe --- drivers/media/pci/mantis/mantis_vp3

[PATCH] net: ethernet: i40e: remove i40e_fcoe files

2018-01-28 Thread Corentin Labbe
i40e_fcoe support was removed via commit 9eed69a9147c ("i40e: Drop FCoE code from core driver files") But this left files in place but uncompilable. Let's finish the cleaning. Signed-off-by: Corentin Labbe --- drivers/net/ethernet/intel/i40e/i40

[PATCH] Documentation: networking: ixgb: Remove reference to IXGB_NAPI

2018-01-29 Thread Corentin Labbe
NAPI is enabled by default and IXGB_NAPI was removed since commit 6d37ab282e24 ("ixgb: make NAPI the only option and the default") Update the doc accordingly. Signed-off-by: Corentin Labbe --- Documentation/networking/ixgb.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH] Documentation: mips: Update AU1xxx_IDE Kconfig dependencies

2018-01-29 Thread Corentin Labbe
c ("ide: AU1200 IDE update") Remove them from documentation Signed-off-by: Corentin Labbe --- Documentation/mips/AU1xxx_IDE.README | 7 --- 1 file changed, 7 deletions(-) diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README index 52844a58c

[PATCH] Asoc: samsung: clean makefile about inexistant files

2018-01-29 Thread Corentin Labbe
Clean makefile rules about inexistant files. Thoses files were removed in commit a076d418235f ("ASoC: samsung: Drop AC97 drivers") Signed-off-by: Corentin Labbe --- sound/soc/samsung/Makefile | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/samsung/Makefile b/sound/s

[PATCH] ASoC: remove dead makefile about sn95031

2018-01-29 Thread Corentin Labbe
All sn95031 stuff was removed in commit 987da3fe1759 ("ASoC: sn95031: remove this code") Since SND_SOC_SN95031 was gone, remove makefile about it. Signed-off-by: Corentin Labbe --- sound/soc/codecs/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/Makefi

[PATCH] scsi: remove dead makefile about oktagon files

2018-01-29 Thread Corentin Labbe
Remove line using inexistant files which were removed in commit 642978beb483 ("[SCSI] remove m68k NCR53C9x based drivers") Signed-off-by: Corentin Labbe --- drivers/scsi/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index fc

[PATCH] ASoC: Intel: remove select on non-existing SND_SOC_INTEL_COMMON

2018-01-17 Thread Corentin Labbe
SND_SST_ATOM_HIFI2_PLATFORM_PCI select SND_SOC_INTEL_COMMON which do not exists anymore. So remove this select. Fixes: c6059879be29 ("ASoC: Intel: Fix Kconfig with top-level selector") Signed-off-by: Corentin Labbe --- sound/soc/intel/Kconfig | 1 - 1 file changed, 1 deletion(-) di

[PATCH] crypto: artpec6 - remove select on non-existing CRYPTO_SHA384

2018-01-17 Thread Corentin Labbe
Since CRYPTO_SHA384 does not exists, Kconfig should not select it. Anyway, all SHA384 stuff is in CRYPTO_SHA512 which is already selected. Fixes: a21eb94fc4d3i ("crypto: axis - add ARTPEC-6/7 crypto accelerator driver") Signed-off-by: Corentin Labbe --- drivers/crypto/Kconfig | 1

[PATCH] MIPS: fix typo BIG_ENDIAN to CPU_BIG_ENDIAN

2018-01-17 Thread Corentin Labbe
based board support") Signed-off-by: Corentin Labbe --- arch/mips/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 13c6e5cb6055..504e78ff0b00 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -119,

[PATCH] lib: Remove select of inexistant GENERIC_IO

2018-01-17 Thread Corentin Labbe
config option GENERIC_IO was removed but still selected by lib/kconfig This patch finish the cleaning. Fixes: 9de8da47742b ("kconfig: kill off GENERIC_IO option") Signed-off-by: Corentin Labbe --- lib/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kco

[BUG] skcipher: Test 1 failed (invalid result) on encryption for cts(virtio_crypto_aes_cbc)

2018-01-18 Thread Corentin Labbe
Hello When modprobing tcrypt on a qemu virtual machine, I get the following trace in dmesg: skcipher: Test 1 failed (invalid result) on encryption for cts(virtio_crypto_aes_cbc) Regards Corentin Labbe

[PATCH v4 00/11] crypto: crypto_user_stat: misc enhancement

2018-11-23 Thread Corentin Labbe
since v1: - Better locking of crypto_alg via crypto_alg_get/crypto_alg_put - remove all intermediate variables in crypto/crypto_user_stat.c - splited all internal stats variables into different structures Corentin Labbe (11): crypto: crypto_user_stat: made crypto_user_stat optional crypto

[PATCH v3 04/10] crypto: crypto_user_stat: split user space crypto stat structures

2018-11-20 Thread Corentin Labbe
It is cleaner to have each stat in their own structures. Signed-off-by: Corentin Labbe --- crypto/crypto_user_stat.c | 20 +++ include/uapi/linux/cryptouser.h | 100 2 files changed, 72 insertions(+), 48 deletions(-) diff --git a/crypto

[PATCH v3 02/10] crypto: CRYPTO_STATS should depend on CRYPTO_USER

2018-11-20 Thread Corentin Labbe
CRYPTO_STATS is using CRYPTO_USER stuff, so it should depends on it. Signed-off-by: Corentin Labbe --- crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 62dbd1a99fa3..a2f1b4a86b92 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1829,6

[PATCH v5 10/11] crypto: crypto_user_stat: rename err_cnt parameter

2018-11-29 Thread Corentin Labbe
Since now all crypto stats are on their own structures, it is now useless to have the algorithm name in the err_cnt member. Signed-off-by: Corentin Labbe --- crypto/algapi.c | 38 - crypto/crypto_user_stat.c | 18 include

[PATCH v5 09/11] crypto: crypto_user_stat: Split stats in multiple structures

2018-11-29 Thread Corentin Labbe
Like for userspace, this patch splits stats into multiple structures, one for each algorithm class. Signed-off-by: Corentin Labbe --- crypto/algapi.c | 108 +++ crypto/crypto_user_stat.c | 82 - include/linux/crypto.h| 180

[PATCH v5 06/11] crypto: crypto_user_stat: fix use_after_free of struct xxx_request

2018-11-29 Thread Corentin Labbe
rypto statistics") Reported-by: syzbot Signed-off-by: Corentin Labbe --- crypto/ahash.c | 17 ++- crypto/algapi.c| 233 + crypto/rng.c | 4 +- include/crypto/acompress.h | 38 ++ include/crypto/aead.h

[PATCH v5 04/11] crypto: crypto_user_stat: split user space crypto stat structures

2018-11-29 Thread Corentin Labbe
It is cleaner to have each stat in their own structures. Signed-off-by: Corentin Labbe --- crypto/crypto_user_stat.c | 20 +++ include/uapi/linux/cryptouser.h | 100 2 files changed, 72 insertions(+), 48 deletions(-) diff --git a/crypto

[PATCH v5 11/11] crypto: crypto_user_stat: Add crypto_stats_init

2018-11-29 Thread Corentin Labbe
This patch add the crypto_stats_init() function. This will permit to remove some ifdef from __crypto_register_alg(). Signed-off-by: Corentin Labbe --- crypto/algapi.c| 10 +++--- include/linux/crypto.h | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/crypto

[PATCH v5 00/11] crypto: crypto_user_stat: misc enhancement

2018-11-29 Thread Corentin Labbe
header to algapi.c for using crypto_alg_get/put Changes since v1: - Better locking of crypto_alg via crypto_alg_get/crypto_alg_put - remove all intermediate variables in crypto/crypto_user_stat.c - splited all internal stats variables into different structures Corentin Labbe (11): crypto

Re: [GIT PULL] ARM: SoC fixes

2018-11-11 Thread Corentin Labbe
On Sat, Nov 10, 2018 at 10:09:19AM -0800, Olof Johansson wrote: > On Thu, Nov 8, 2018 at 7:49 AM Tony Lindgren wrote: > > > > * Olof Johansson [181107 09:28]: > > > On Wed, Nov 7, 2018 at 9:17 AM Linus Torvalds > > > wrote: > > > > > > > > On Wed, Nov 7, 2018 at 9:10 AM Olof Johansson wrote: >

[PATCH RFC] locking/lockdep: replace simple printk by pr_info

2018-11-12 Thread Corentin Labbe
dependency info: 4623 kB While the cause is still unknown to me, converting printk to pr_info fixed the issue. Signed-off-by: Corentin Labbe --- kernel/locking/lockdep.c | 152 +++ 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a

[PATCH] ARM: dts: sun8i: sun8i-a83t-bananapi-m3: enhance vcc-pd to 3.3v

2018-07-09 Thread Corentin Labbe
that this behaviour is random for all BPIM3 (some works with 2.5, some not) Finnaly, someone from bananapi confirmed that this regulator must be set to 3.3 Fixes: d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes") Signed-off-by: Corentin Labbe --- arch/arm

[PATCH] zlib: remove fall through warnings

2018-07-04 Thread Corentin Labbe
/inflate.c:696:25: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Corentin Labbe --- lib/zlib_inflate/inflate.c | 12 1 file changed, 12 insertions(+) diff --git a/lib/zlib_inflate/inflate.c b/lib/zlib_inflate/inflate.c index 58a733b10387..48f14cd58

Re: [PATCH] crypto: sun4i-ss: prevent deadlock on emulated hardware

2018-06-15 Thread Corentin Labbe
On Fri, Jun 15, 2018 at 09:57:54AM +0200, Maxime Ripard wrote: > On Thu, Jun 14, 2018 at 09:36:59PM +0200, Corentin Labbe wrote: > > Running a qemu emulated cubieboard with sun4i-ss driver enabled led to a > > never > > ending boot. > > This is due to sun4i-ss deadlock

Re: [PATCH] crypto: reorder paes test lexicographically

2018-05-17 Thread Corentin Labbe
hardware keys") > Reported-by: Abdul Haleem > Signed-off-by: Gilad Ben-Yossef Tested-by: Corentin Labbe Thanks

[PATCH 1/2] crypto: crypto_user_stat: remove unused dump functions

2018-12-13 Thread Corentin Labbe
This patch removes unused dump functions for crypto_user_stats. There are remains of the copy/paste of crypto_user_base to crypto_user_stat and I forgot to remove them. Signed-off-by: Corentin Labbe --- crypto/crypto_user_base.c| 4 +--- crypto/crypto_user_stat.c| 33

[PATCH 2/2] crypto: document missing stats member

2018-12-13 Thread Corentin Labbe
This patchs adds missing member of stats documentation. Signed-off-by: Corentin Labbe --- include/linux/crypto.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/crypto.h b/include/linux/crypto.h index 9850b41e38ae..81e178fb9ed8 100644 --- a/include/linux/crypto.h +++ b

[PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB

2018-12-10 Thread Corentin Labbe
When playing with a virtual SPARC machine with qemu, I found that the IDE emulated device was not probing with the ata/pata_oldpiix driver. But with the old ide/piix, it was probed. This is due to this PCI devid was not migrated from the old ide/piix. Signed-off-by: Corentin Labbe --- drivers

[PATCH 1/2] MAINTAINERS: add driver/soc/amlogic/ to amlogic list

2018-12-10 Thread Corentin Labbe
While sending a patch for drivers/soc/amlogic/Kconfig, I saw that getmaintainer.pl give nobody for it. This patchs adds drivers/soc/amlogic/ to amlogic maintainers. Signed-off-by: Corentin Labbe --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 2/2] soc: amlogic: meson-clk-measure: Add missing REGMAP_MMIO dependency

2018-12-10 Thread Corentin Labbe
This patchs adds a missing dependency on REGMAP_MMIO. This cause the following build failure on SPARC: drivers/soc/amlogic/meson-clk-measure.o: In function `meson_msr_probe': meson-clk-measure.c:(.text+0xc4): undefined reference to `__devm_regmap_init_mmio_clk' Signed-off-by: Core

[PATCH] sparc: Set "ARCH: sunxx" information on the same line

2018-12-11 Thread Corentin Labbe
ned-off-by: Corentin Labbe --- arch/sparc/kernel/setup_32.c | 13 ++--- arch/sparc/kernel/setup_64.c | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/sparc/kernel/setup_32.c b/arch/sparc/kernel/setup_32.c index 7df3d704284c..afe1592a6d08 100644 --- a/arch/sp

[BUG] net: sungem: device driver frees DMA memory with wrong function

2018-12-23 Thread Corentin Labbe
Hello During a boot on a qemu machine, I hit the following problem: [ 21.613659] [ cut here ] [ 21.614039] DMA-API: gem :00:0f.0: device driver frees DMA memory with wrong function [device address=0x185c5402] [size=408 bytes] [mapped as page] [unmapped as

Re: [RFC PATCH 2/3] crypto: Add Xilinx SHA3 driver

2019-01-07 Thread Corentin Labbe
On Mon, Jan 07, 2019 at 02:32:55PM +0530, Kalyani Akula wrote: > This patch adds SHA3 driver suuport for the Xilinx > ZynqMP SoC. > > Signed-off-by: Kalyani Akula Hello I have some comment below > +static int zynqmp_sha_init(struct ahash_request *req) > +{ > + const struct zynqmp_eemi_ops

[PATCH] powerpc: build virtex dtb

2019-01-08 Thread Corentin Labbe
-by: Corentin Labbe --- arch/powerpc/boot/dts/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/boot/dts/Makefile b/arch/powerpc/boot/dts/Makefile index fb335d05aae8..cae14fca682e 100644 --- a/arch/powerpc/boot/dts/Makefile +++ b/arch/powerpc/boot/dts/Makefile @@ -4,3

[BUG] rmmod g_mass_storage result to segmentation fault

2019-01-08 Thread Corentin Labbe
Hello When running an imx_defconfig on a imx6q-sabrelite, rmmod g_mass_storage lead to the following crash: [ 143.952834] Internal error: Oops: 817 [#1] SMP ARM [ 143.957639] Modules linked in: dmatest psmouse serport da9063_wdt wl12xx wl18xx wlcore wlcore_sdio brcmfmac brcmutil mwifiex_sdio m

Re: [BUG] net: sungem: device driver frees DMA memory with wrong function

2019-01-02 Thread Corentin Labbe
On Fri, Dec 28, 2018 at 12:36:21AM -0800, Christoph Hellwig wrote: > Please try this patch: > The error type change to "DMA-API: gem :00:0f.0: device driver failed to check map error" (I will send patch for fixing this). Note that I used the patch from your just sent DMA series (since the pa

arch/mips/jazz/jazzdma.c:77:30: error: implicit declaration of function ‘KSEG1ADDR’

2019-01-02 Thread Corentin Labbe
Hello I hit the following build error on next-20190102: /linux-next/arch/mips/jazz/jazzdma.c: In function ‘vdma_init’: /linux-next/arch/mips/jazz/jazzdma.c:77:30: error: implicit declaration of function ‘KSEG1ADDR’; did you mean ‘CKSEG1ADDR’? [-Werror=implicit-function-declaration] pgtbl = (V

[PATCH] PCI: amlogic: fix build failure due to missing linux/gpio/consumer.h header

2019-01-04 Thread Corentin Labbe
missing linux/gpio/consumer.h header Signed-off-by: Corentin Labbe --- drivers/pci/controller/dwc/pci-meson.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/dwc/pci-meson.c b/drivers/pci/controller/dwc/pci-meson.c index 241ebe0c4505..e35e9eaa50ee 100644 --- a/drivers/p

[PATCH] powerpc: build dtb even without COMPILE_TEST

2019-01-04 Thread Corentin Labbe
pendent of COMPILE_TEST (by depending only on the PPC arch) A better selection of which DTB to build could be done in the future like that do the ARM arch. Signed-off-by: Corentin Labbe --- arch/powerpc/boot/dts/Makefile | 2 +- arch/powerpc/boot/dts/fsl/Makefile | 2 +- 2 files changed, 2

[PATCH v3 5/7] net: ethernet: stmmac: dwmac-sun8i: use xxxsetbits_le32

2018-10-24 Thread Corentin Labbe
This patch convert dwmac-sun8i driver to use all xxxsetbits_le32 functions. Signed-off-by: Corentin Labbe --- .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 62 +-- 1 file changed, 16 insertions(+), 46 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c

[PATCH v3 1/7] powerpc: rename setbits32/clrbits32 to setbits_be32/clrbits_be32

2018-10-24 Thread Corentin Labbe
Since setbits32/clrbits32 work on be32, it's better to remove ambiguity on the used data type. Signed-off-by: Corentin Labbe --- arch/powerpc/include/asm/fsl_lbc.h| 2 +- arch/powerpc/include/asm/io.h | 4 +- arch/powerpc/platforms/44x/canyonlands.c

[PATCH v3 2/7] include: add setbits_leXX/clrbits_leXX/clrsetbits_leXX in linux/setbits.h

2018-10-24 Thread Corentin Labbe
This patch adds setbits_le32/clrbits_le32/clrsetbits_le32 and setbits_le64/clrbits_le64/clrsetbits_le64 in linux/setbits.h header. Signed-off-by: Corentin Labbe --- include/linux/setbits.h | 84 + 1 file changed, 84 insertions(+) create mode 100644

[PATCH v3 6/7] drm: meson: use xxxsetbits_le32

2018-10-24 Thread Corentin Labbe
This patch convert meson DRM driver to use all xxxsetbits_le32 functions. Signed-off-by: Corentin Labbe Reviewed-by: Neil Armstrong Tested-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_crtc.c | 14 +++--- drivers/gpu/drm/meson/meson_dw_hdmi.c | 33 +++-- drivers/gpu/drm

[PATCH v3 0/7] include: add setbits32/clrbits32/clrsetbits32/setbits64/clrbits64/clrsetbits64

2018-10-24 Thread Corentin Labbe
patch with JLawall's comments Corentin Labbe (7): powerpc: rename setbits32/clrbits32 to setbits_be32/clrbits_be32 include: add setbits_leXX/clrbits_leXX/clrsetbits_leXX in linux/setbits.h coccinelle: add xxxsetbits_leXX converting spatch ata: ahci_sunxi: use xxxsetbitsi_le32

[PATCH] Revert "ata: ahci_platform: convert kcalloc to devm_kcalloc"

2018-07-17 Thread Corentin Labbe
Since ahci_platform_put_resources() use target_pwrs after "devm_" freed it, we cannot use devm_kcalloc for allocating target_pwrs. This reverts commit bd0038b1b4f499d814d8f33a55b1df5ea6cf3b85. Reported-by: Mikko Perttunen Signed-off-by: Corentin Labbe --- drivers/ata/libahci_plat

Re: [PATCH v6 4/4] crypto: Add Allwinner Security System crypto accelerator

2015-04-02 Thread Corentin LABBE
Le 26/03/2015 19:31, Boris Brezillon a écrit : > Hi Corentin, > > Here is a quick review, there surely are a lot of other things I didn't > spot. > > On Mon, 16 Mar 2015 20:01:22 +0100 > LABBE Corentin wrote: > >> Add support for the Security System included in Allwinner SoC A20. >> The Securit

Re: [PATCH v9 4/4] crypto: Add Allwinner Security System crypto accelerator

2015-06-03 Thread Corentin LABBE
Le 23/05/2015 16:35, Boris Brezillon a écrit : > Hi Corentin, > > On Sat, 23 May 2015 15:12:23 +0200 > Corentin LABBE wrote: > >> Le 17/05/2015 10:45, Boris Brezillon a écrit : >>> Hi Corentin, >>> >>> I started to review this new version, and I

[PATCH] mmc: dw_mmc should depend on COMMON_CLK

2018-06-06 Thread Corentin Labbe
This patch fix the following build failure on m68k: ERROR: "clk_set_rate" [drivers/mmc/host/dw_mmc.ko] undefined! Signed-off-by: Corentin Labbe --- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/ho

[PATCH] serial: 8250_dw: 8250_dw need to depend on COMMON_CLK

2018-06-06 Thread Corentin Labbe
ON_CLK. Signed-off-by: Corentin Labbe --- drivers/tty/serial/8250/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index f005eaf8bc57..37d4ec5f3cc9 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/dri

[BUG] net: stmmac: dwmac-sun8i broken in linux-next

2018-05-16 Thread Corentin Labbe
Hello The dwmac-sun8i driver is broken in next-20180515, symptom are no RX and TX errors as shown by ifconfig: eth0: flags=4163 mtu 1500 inet 192.168.1.204 netmask 255.255.255.0 broadcast 192.168.1.255 ether 96:75:ff:0d:f6:d8 txqueuelen 1000 (Ethernet) RX packets 0 b

Re: [linux-sunxi] [PATCH v2 00/10] Allwinner sunxi message box support

2019-02-28 Thread Corentin Labbe
On Thu, Feb 28, 2019 at 11:29:37PM -0600, Samuel Holland wrote: > This series adds support for the "hardware message box" in sun8i, sun9i, > and sun50i SoCs, used for communication with the ARISC management > processor (the platform's equivalent of the ARM SCP). The end goal is to > use the arm_scp

[PATCH 4/4] crypto: sun4i-ss: fallback when length is not multiple of blocksize

2019-04-18 Thread Corentin Labbe
sun4i-ss does not handle requests when length are not a multiple of blocksize. This patch adds a fallback for that case. Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Signed-off-by: Corentin Labbe --- drivers/crypto/sunxi-ss/sun4i-ss-cip

[PATCH 2/2] arc: hsdk_defconfig: enable CONFIG_ARC_UBOOT_SUPPORT

2019-02-05 Thread Corentin Labbe
hsdk_defconfig. Signed-off-by: Corentin Labbe --- arch/arc/configs/hsdk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/configs/hsdk_defconfig b/arch/arc/configs/hsdk_defconfig index 0e5fd29ed238..b80e3ac5c93c 100644 --- a/arch/arc/configs/hsdk_defconfig +++ b/arch/arc

[PATCH 1/2] arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM

2019-02-05 Thread Corentin Labbe
We have now a HSDK device in our kernelci lab, but kernel builded via the hsdk_defconfig lacks ramfs supports, so it cannot boot kernelci jobs yet. So this patch enable CONFIG_BLK_DEV_RAM in hsdk_defconfig. Signed-off-by: Corentin Labbe --- arch/arc/configs/hsdk_defconfig | 1 + 1 file changed

[PATCH 0/2] arc: hsdk_defconfig: permit kernelci jobs

2019-02-05 Thread Corentin Labbe
hsdk_defconfig, it miss two CONFIGs for let hsdk boot. Thanks Regards Corentin Labbe (2): arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM arc: hsdk_defconfig: enable CONFIG_ARC_UBOOT_SUPPORT arch/arc/configs/hsdk_defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.19.2

Re: [PATCH 1/5] perf/arm-cci: Fix CPU hotplug race avoidance

2019-02-05 Thread Corentin Labbe
driver probed", cci_pmu->model->name); > - return 0; > +out: > + cpus_read_unlock(); > + return ret; > } > > static int cci_pmu_remove(struct platform_device *pdev) > -- > 2.20.1.dirty Hello Thanks, this patch fix my issue that I has reported here: https://lkml.org/lkml/2017/12/29/139 https://lkml.org/lkml/2018/11/12/1901 Tested-by: Corentin Labbe Tested-on: sun8i-a83t-bananapi-m3 Regards

[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

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

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.

Re: [PATCH] crypto: sun8i-ce - Fix writel byte-order on big-endian

2020-07-31 Thread Corentin Labbe
On Tue, Jul 28, 2020 at 04:00:40PM +1000, Herbert Xu wrote: > On Tue, Jul 28, 2020 at 01:10:13PM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 92ed301919932f13b9172e525674157e983d > > commit: 93c7f4d357de68

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 > >&

[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] 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

[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] 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

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

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

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! >

<    1   2   3   4   5   6   7   8   9   10   >