[PATCH] x86: remove unused IOMMU_STRESS kconfig

2018-01-24 Thread Corentin Labbe
Last use of IOMMU_STRESS was removed in commit 29b68415e335 ("x86: amd_iommu: move to drivers/iommu/") 6 years after, we could remove it. Signed-off-by: Corentin Labbe --- arch/x86/Kconfig.debug | 8 1 file changed, 8 deletions(-) diff --git a/arch/x86/Kconfig.debug

[PATCH] Documentation: decnet: remove reference to CONFIG_DECNET_ROUTE_FWMARK

2018-01-24 Thread Corentin Labbe
CONFIG_DECNET_ROUTE_FWMARK was removed in commit 47dcf0cb1005 ("[NET]: Rethink mark field in struct flowi") Since nothing replace it (and nothing need to replace it), simply remove it from documentation. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- Documentation/netwo

[PATCH] Documentation: decnet: remove reference to CONFIG_DECNET_ROUTE_FWMARK

2018-01-24 Thread Corentin Labbe
CONFIG_DECNET_ROUTE_FWMARK was removed in commit 47dcf0cb1005 ("[NET]: Rethink mark field in struct flowi") Since nothing replace it (and nothing need to replace it), simply remove it from documentation. Signed-off-by: Corentin Labbe --- Documentation/networking/decnet.txt | 2

[PATCH] staging: media: remove unused VIDEO_ATOMISP_OV8858 kconfig

2018-01-23 Thread Corentin Labbe
Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/staging/media/atomisp/i2c/Kconfig | 12 1

[PATCH] staging: media: remove unused VIDEO_ATOMISP_OV8858 kconfig

2018-01-23 Thread Corentin Labbe
Nothing in kernel use VIDEO_ATOMISP_OV8858 since commit 3a81c7660f80 ("media: staging: atomisp: Remove IMX sensor support") Lets remove this kconfig option. Signed-off-by: Corentin Labbe --- drivers/staging/media/atomisp/i2c/Kconfig | 12 1 file changed, 12 deletion

[PATCH] staging: fbtft: remove unused FB_TFT_SSD1325 kconfig

2018-01-23 Thread Corentin Labbe
Since nothing builds/depends on FB_TFT_SSD1325, we could remove it. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/staging/fbtft/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/fbtft/Kconfig b/drivers/staging/fbtft/Kconfig index dba676

[PATCH] staging: fbtft: remove unused FB_TFT_SSD1325 kconfig

2018-01-23 Thread Corentin Labbe
Since nothing builds/depends on FB_TFT_SSD1325, we could remove it. Signed-off-by: Corentin Labbe --- drivers/staging/fbtft/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/fbtft/Kconfig b/drivers/staging/fbtft/Kconfig index dba676761d72..84b2e7ebc024 100644

[PATCH] staging: rtlwifi: remove unused RTLHALMAC_ST and RTLPHYDM_ST

2018-01-23 Thread Corentin Labbe
Since nothing builds/depends on RTLHALMAC_ST and RTLPHYDM_ST, we could remove them. Furthermore, they are totally undocumented Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/staging/rtlwifi/Kconfig | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/s

[PATCH] staging: rtlwifi: remove unused RTLHALMAC_ST and RTLPHYDM_ST

2018-01-23 Thread Corentin Labbe
Since nothing builds/depends on RTLHALMAC_ST and RTLPHYDM_ST, we could remove them. Furthermore, they are totally undocumented Signed-off-by: Corentin Labbe --- drivers/staging/rtlwifi/Kconfig | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtlwifi/Kconfig b

[PATCH] sparc64: fix typo in CONFIG_CRYPTO_DES_SPARC64 => CONFIG_CRYPTO_CAMELLIA_SPARC64

2018-01-23 Thread Corentin Labbe
This patch fixes the typo CONFIG_CRYPTO_DES_SPARC64 => CONFIG_CRYPTO_CAMELLIA_SPARC64 Fixes: 81658ad0d923 ("sparc64: Add CAMELLIA driver making use of the new camellia opcodes.") Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- arch/sparc/crypto/Makefile | 2 +-

[PATCH] sparc64: fix typo in CONFIG_CRYPTO_DES_SPARC64 => CONFIG_CRYPTO_CAMELLIA_SPARC64

2018-01-23 Thread Corentin Labbe
This patch fixes the typo CONFIG_CRYPTO_DES_SPARC64 => CONFIG_CRYPTO_CAMELLIA_SPARC64 Fixes: 81658ad0d923 ("sparc64: Add CAMELLIA driver making use of the new camellia opcodes.") Signed-off-by: Corentin Labbe --- arch/sparc/crypto/Makefile | 2 +- 1 file changed, 1 insertion(+

[PATCH] x86: kvm: Remove unused KVM_DEBUG_FS

2018-01-23 Thread Corentin Labbe
KVM_DEBUG_FS is unused since commit cfd8983f03c7 ("x86, locking/spinlocks: Remove ticket (spin)lock implementation") Simply remove it. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- arch/x86/Kconfig | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/x86/Kc

[PATCH] x86: kvm: Remove unused KVM_DEBUG_FS

2018-01-23 Thread Corentin Labbe
KVM_DEBUG_FS is unused since commit cfd8983f03c7 ("x86, locking/spinlocks: Remove ticket (spin)lock implementation") Simply remove it. Signed-off-by: Corentin Labbe --- arch/x86/Kconfig | 9 - 1 file changed, 9 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kco

[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 <clabbe.montj...@gmail.com> --- drivers/video/Kconfig | 3 --- 1

[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] 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 <clabbe.montj...@gmail.com> --- drivers/us

[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/serial/Kc

[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 <clabbe.montj...@gmail.com> --- 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/dr

[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] 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 <clabbe.montj...@gmail.com> --- drivers/input/touchscreen/Kconfig| 15 -- drivers/input/touchscreen/Makefile | 1 - drivers/input/touchscreen/atmel-wm97xx.c

[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] 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 <clabbe.montj...@gmail.com> --- drivers/auxdisplay/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[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] 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 <clabbe.montj...@gmail.com> --- drivers/rtc/Kconfig | 7 -- drivers/rtc/Makefile | 1 - drivers/rtc/rtc-at32ap

[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] 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 <clabbe.montj...@gmail.com> --- drivers/ata/Kconfig | 9 -- drivers/ata/Makefile| 1 - drivers/ata/pata_at32.c | 400 -

[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] 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 <clabbe.montj...@gmail.com> --- drivers/cpufreq/Kconfig | 10 --- drivers/cpufreq/Makefile | 1 - drivers/cpufreq/at32ap-cpufreq.c

[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] 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 <clabbe.montj...@gmail.com> --- 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/d

[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] 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 <clabbe.montj...@gmail.com> --- drivers/misc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 7c0fa24f9067..6722073e339b

[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] watchdog: remove at32ap700x_wdt

2018-01-18 Thread Corentin Labbe
Since AVR32 is gone, this driver is useless. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/watchdog/Kconfig | 9 - drivers/watchdog/Makefile | 3 - drivers/watchdog/at32ap700x_wdt.c | 433 -- 3 files change

[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

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 <clabbe.mo

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] 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 <clabbe.montj...@gmail.com> --- drivers/input/serio/Kconfig| 10 -- drivers/input/serio/Makefile | 1 - drivers/input/serio/at32psif.c

[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

[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

[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] 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 <clabbe.montj...@gmail.com> --- lib/Kconfig | 1 - 1 file changed, 1 deletion(-)

[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

[PATCH] MIPS: fix typo BIG_ENDIAN to CPU_BIG_ENDIAN

2018-01-17 Thread Corentin Labbe
based board support") Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- 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

[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] 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 <clabbe.montj...@gmail.com> ---

[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] 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 <clabbe.montj...@gmail.com> --- sound/soc/intel/Kconfig | 1 - 1

[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(-)

[PATCH 1/2] crypto: Implement a generic crypto statistics

2018-01-11 Thread Corentin Labbe
This patch implement a generic way to get statistics about all crypto usages. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- crypto/Kconfig | 11 crypto/ablkcipher.c | 9 +++ crypto/acompress.c | 9 +++ crypto/

[PATCH 1/2] crypto: Implement a generic crypto statistics

2018-01-11 Thread Corentin Labbe
This patch implement a generic way to get statistics about all crypto usages. Signed-off-by: Corentin Labbe --- crypto/Kconfig | 11 crypto/ablkcipher.c | 9 +++ crypto/acompress.c | 9 +++ crypto/aead.c | 10

[PATCH 2/2] crypto: tools: Add cryptostat userspace

2018-01-11 Thread Corentin Labbe
Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- tools/crypto/getstat.c | 283 + 1 file changed, 283 insertions(+) create mode 100644 tools/crypto/getstat.c diff --git a/tools/crypto/getstat.c b/tools/crypto/getstat.c new file mode

[PATCH 2/2] crypto: tools: Add cryptostat userspace

2018-01-11 Thread Corentin Labbe
Signed-off-by: Corentin Labbe --- tools/crypto/getstat.c | 283 + 1 file changed, 283 insertions(+) create mode 100644 tools/crypto/getstat.c diff --git a/tools/crypto/getstat.c b/tools/crypto/getstat.c new file mode 100644 index

[PATCH 0/2] crypto: Implement generic crypto statistics

2018-01-11 Thread Corentin Labbe
tlink) instead of /sys - Use atomic_t instead of unsigned long - moved stat code into dedicated inline function - spelling fixes Corentin Labbe (2): crypto: Implement a generic crypto statistics crypto: tools: Add cryptostat userspace crypto/Kconfig | 11 ++ crypto/ablkcipher.c

[PATCH 0/2] crypto: Implement generic crypto statistics

2018-01-11 Thread Corentin Labbe
tlink) instead of /sys - Use atomic_t instead of unsigned long - moved stat code into dedicated inline function - spelling fixes Corentin Labbe (2): crypto: Implement a generic crypto statistics crypto: tools: Add cryptostat userspace crypto/Kconfig | 11 ++ crypto/ablkcipher.c

Re: [PATCH 3/7] crypto: ccree: add ablkcipher support

2018-01-11 Thread Corentin Labbe
On Thu, Jan 11, 2018 at 09:17:10AM +, Gilad Ben-Yossef wrote: > Add CryptoCell ablkcipher support > Hello I have some minor comments: ablkcipher is deprecated, so you need to use skcipher instead. > Signed-off-by: Gilad Ben-Yossef > --- >

Re: [PATCH 3/7] crypto: ccree: add ablkcipher support

2018-01-11 Thread Corentin Labbe
On Thu, Jan 11, 2018 at 09:17:10AM +, Gilad Ben-Yossef wrote: > Add CryptoCell ablkcipher support > Hello I have some minor comments: ablkcipher is deprecated, so you need to use skcipher instead. > Signed-off-by: Gilad Ben-Yossef > --- > drivers/crypto/ccree/Makefile|2 +- >

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

2018-01-10 Thread Corentin Labbe
y ?). I didn't add aead (and kpp/acompress), since I do not have any way to test it. Since you have a way to test aead, I will add it to the next release. Regards > > On 03/01/18 21:11, Corentin Labbe wrote: > > Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> > > --

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

2018-01-10 Thread Corentin Labbe
y ?). I didn't add aead (and kpp/acompress), since I do not have any way to test it. Since you have a way to test aead, I will add it to the next release. Regards > > On 03/01/18 21:11, Corentin Labbe wrote: > > Signed-off-by: Corentin Labbe > > --- > > Documentation/c

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

2018-01-03 Thread Corentin Labbe
Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- Documentation/crypto/crypto_engine.rst | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/crypto/crypto_engine.rst diff --git a/Documentation/crypto/crypto_engine.

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

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

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

2018-01-03 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 | 230 i

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

2018-01-03 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 | 230 include/crypto/engine.h | 59

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

2018-01-03 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 | 10 +++--- drivers/crypto/virtio/virtio_crypto_common.h | 3 +-- drivers/crypto/virtio/virtio_crypto_core.c | 3

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

2018-01-03 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 | 10 +++--- drivers/crypto/virtio/virtio_crypto_common.h | 3 +-- drivers/crypto/virtio/virtio_crypto_core.c | 3 --- 3 files changed, 8 insertions

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

2018-01-03 Thread Corentin Labbe
crypto_engine_op functions from crypto_async_request to void* - Reintroduced 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

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

2018-01-03 Thread Corentin Labbe
crypto_engine_op functions from crypto_async_request to void* - Reintroduced 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

[PATCH 5/6] crypto: stm32-hash: convert to the new crypto engine API

2018-01-03 Thread Corentin Labbe
This patch convert the stm32-hash driver to the new crypto engine API. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/crypto/stm32/stm32-hash.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/stm32/stm32-has

[PATCH 5/6] crypto: stm32-hash: convert to the new crypto engine API

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

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

2018-01-03 Thread Corentin Labbe
This patch convert the stm32-cryp driver to the new crypto engine API. Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- drivers/crypto/stm32/stm32-cryp.c | 21 - 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/stm32/stm32-cry

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

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

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

2018-01-03 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 | 17 + drivers/crypto/omap-aes.h | 3 +++ drivers/crypto/omap-des.c | 20 3 files changed, 32 inse

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

2018-01-03 Thread Corentin Labbe
This patch convert the driver to the new crypto engine API. Signed-off-by: Corentin Labbe --- drivers/crypto/omap-aes.c | 17 + drivers/crypto/omap-aes.h | 3 +++ drivers/crypto/omap-des.c | 20 3 files changed, 32 insertions(+), 8 deletions(-) diff --git

[PATCH] ARM: sunxi_defconfig: Enable SUNXI_CCU

2018-01-01 Thread Corentin Labbe
-by: Corentin Labbe <clabbe.montj...@gmail.com> --- 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 5caaf971fb50..5ed920e75842 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/c

[PATCH] ARM: sunxi_defconfig: Enable SUNXI_CCU

2018-01-01 Thread Corentin Labbe
-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 5caaf971fb50..5ed920e75842 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -16,6

[BUG] sleeping function called from invalid context in perf_pmu_register()

2017-12-29 Thread Corentin Labbe
Hello When testing "Sunxi: Add SMP support on A83T" ( https://lkml.org/lkml/2017/12/11/69 ) I hit the following trace: [0.902401] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238 [0.914838] in_atomic(): 1, irqs_disabled(): 0, pid: 1, name: swapper/0 [

[BUG] sleeping function called from invalid context in perf_pmu_register()

2017-12-29 Thread Corentin Labbe
Hello When testing "Sunxi: Add SMP support on A83T" ( https://lkml.org/lkml/2017/12/11/69 ) I hit the following trace: [0.902401] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238 [0.914838] in_atomic(): 1, irqs_disabled(): 0, pid: 1, name: swapper/0 [

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

2017-12-28 Thread Corentin Labbe
On Wed, Dec 27, 2017 at 04:07:29PM +0100, Mylene JOSSERAND wrote: > Hello Corentin, > > Le Fri, 15 Dec 2017 07:10:46 +0100, > Corentin Labbe <clabbe.montj...@gmail.com> a écrit : > > On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > > > Hi, > &

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

2017-12-28 Thread Corentin Labbe
On Wed, Dec 27, 2017 at 04:07:29PM +0100, Mylene JOSSERAND wrote: > Hello Corentin, > > Le Fri, 15 Dec 2017 07:10:46 +0100, > Corentin Labbe a écrit : > > On Tue, Dec 12, 2017 at 09:24:25AM +0100, Maxime Ripard wrote: > > > Hi, > > > > > > On Mo

[BUG] sun8i-a83t-bananapi-m3: Ethernet unstable since d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes")

2017-12-28 Thread Corentin Labbe
Hello Since d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes"), my BPIM3 does not have stable ethernet. from 50% to 100% packet loss. According to the logs (below), vcc-ephy is disabled during boot With the following hack,

[BUG] sun8i-a83t-bananapi-m3: Ethernet unstable since d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes")

2017-12-28 Thread Corentin Labbe
Hello Since d7c5f6863550 ("ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes"), my BPIM3 does not have stable ethernet. from 50% to 100% packet loss. According to the logs (below), vcc-ephy is disabled during boot With the following hack,

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

2017-12-22 Thread Corentin Labbe
On Fri, Dec 22, 2017 at 08:06:03PM +1100, Herbert Xu wrote: > On Fri, Dec 22, 2017 at 09:41:48AM +0100, Corentin Labbe wrote: > > > > It's you that was suggesting using crypto_async_request: > > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1474434.ht

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

2017-12-22 Thread Corentin Labbe
On Fri, Dec 22, 2017 at 08:06:03PM +1100, Herbert Xu wrote: > On Fri, Dec 22, 2017 at 09:41:48AM +0100, Corentin Labbe wrote: > > > > It's you that was suggesting using crypto_async_request: > > https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1474434.ht

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

2017-12-22 Thread Corentin Labbe
On Fri, Dec 22, 2017 at 05:57:24PM +1100, Herbert Xu wrote: > On Wed, Nov 29, 2017 at 09:41:18AM +0100, 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-22 Thread Corentin Labbe
On Fri, Dec 22, 2017 at 05:57:24PM +1100, Herbert Xu wrote: > On Wed, Nov 29, 2017 at 09:41:18AM +0100, 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 RFC 3/3] crypto: tools: Add cryptostat userspace

2017-12-20 Thread Corentin Labbe
Add an example tool for getting easily crypto statistics. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- tools/crypto/cryptostat | 40 1 file changed, 40 insertions(+) create mode 100755 tools/crypto/cryptostat diff --git a/tools/

[PATCH RFC 2/3] crypto: Implement a generic crypto statistics

2017-12-20 Thread Corentin Labbe
This patch implement a generic way to get statistics about all crypto usages. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- crypto/Kconfig | 11 +++ crypto/ahash.c | 18 + crypto/algapi.c

[PATCH RFC 3/3] crypto: tools: Add cryptostat userspace

2017-12-20 Thread Corentin Labbe
Add an example tool for getting easily crypto statistics. Signed-off-by: Corentin Labbe --- tools/crypto/cryptostat | 40 1 file changed, 40 insertions(+) create mode 100755 tools/crypto/cryptostat diff --git a/tools/crypto/cryptostat b/tools/crypto

[PATCH RFC 2/3] crypto: Implement a generic crypto statistics

2017-12-20 Thread Corentin Labbe
This patch implement a generic way to get statistics about all crypto usages. Signed-off-by: Corentin Labbe --- crypto/Kconfig | 11 +++ crypto/ahash.c | 18 + crypto/algapi.c| 186 + crypto/rng.c

[PATCH RFC 0/3] crypto: Implement a generic crypto statistics

2017-12-20 Thread Corentin Labbe
bytes 5036 sha512-generic (hash) sha512 Hash: 24bytes 5036 zlib-deflate-scomp (compress) zlib-deflate Compress: 2 bytes 261 Decompress: 4 bytes 345 Note that this patch could be a starting base for a /proc/crypto replacement. Please let me know your opinio

[PATCH RFC 0/3] crypto: Implement a generic crypto statistics

2017-12-20 Thread Corentin Labbe
bytes 5036 sha512-generic (hash) sha512 Hash: 24bytes 5036 zlib-deflate-scomp (compress) zlib-deflate Compress: 2 bytes 261 Decompress: 4 bytes 345 Note that this patch could be a starting base for a /proc/crypto replacement. Please let me know your opinio

[PATCH RFC 1/3] crypto: Prevent to register duplicate cra_driver_name

2017-12-20 Thread Corentin Labbe
me (crypto_alg_match() in crypto/crypto_user.c) will get only the first one found. So this patch prevent the registration of two implementation with the same cra_driver_name. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- crypto/algapi.c | 5 + 1 file changed, 5 insertio

[PATCH RFC 1/3] crypto: Prevent to register duplicate cra_driver_name

2017-12-20 Thread Corentin Labbe
me (crypto_alg_match() in crypto/crypto_user.c) will get only the first one found. So this patch prevent the registration of two implementation with the same cra_driver_name. Signed-off-by: Corentin Labbe --- crypto/algapi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/crypto/algapi

[PATCH] agp: Add bridge parameter documentation

2017-12-20 Thread Corentin Labbe
' drivers/char/agp/generic.c:1283: warning: No description found for parameter 'bridge' Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/char/agp/generic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 27a022

[PATCH] agp: Add bridge parameter documentation

2017-12-20 Thread Corentin Labbe
' drivers/char/agp/generic.c:1283: warning: No description found for parameter 'bridge' Signed-off-by: Corentin Labbe --- drivers/char/agp/generic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 27a022f806fa..cf50a180c8d6 100644

[PATCH] ia64: agp: Replace empty define with do while

2017-12-20 Thread Corentin Labbe
emptyness by "do {} while(0)" Signed-off-by: Corentin Labbe <clabbe.montj...@gmail.com> --- arch/ia64/include/asm/agp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ia64/include/asm/agp.h b/arch/ia64/include/asm/agp.h index 2b451c4496da..0261507dc264 1

[PATCH] ia64: agp: Replace empty define with do while

2017-12-20 Thread Corentin Labbe
emptyness by "do {} while(0)" Signed-off-by: Corentin Labbe --- arch/ia64/include/asm/agp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ia64/include/asm/agp.h b/arch/ia64/include/asm/agp.h index 2b451c4496da..0261507dc264 100644 --- a/arch/ia64/include

[PATCH] crypto: stm32 - Use standard CONFIG name

2017-12-20 Thread Corentin Labbe
All hardware crypto devices have their CONFIG names using the following convention: CRYPTO_DEV_name_algo This patch apply this conventions on STM32 CONFIG names. Signed-off-by: Corentin Labbe <cla...@baylibre.com> --- drivers/crypto/stm32/Kconfig | 6 +++--- drivers/crypto/stm32/Makefi

[PATCH] crypto: stm32 - Use standard CONFIG name

2017-12-20 Thread Corentin Labbe
All hardware crypto devices have their CONFIG names using the following convention: CRYPTO_DEV_name_algo This patch apply this conventions on STM32 CONFIG names. Signed-off-by: Corentin Labbe --- drivers/crypto/stm32/Kconfig | 6 +++--- drivers/crypto/stm32/Makefile | 6 +++--- 2 files

[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 <cla...@baylibre.com> --- 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/ss

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