[PATCH] crypto: s5p-sss - Enable COMPILE_TEST

2016-03-13 Thread Krzysztof Kozlowski
Get some build coverage of S5P/Exynos AES H/W acceleration driver. Driver uses DMA and devm_ioremap_resource() so add DMA and IOMEM dependencies for the compile testing. Signed-off-by: Krzysztof Kozlowski --- Compile-tested on x86, x86_64, ppc64, arm, arm64 and mips. --- drivers/crypto/Kconfig

[PATCH] hwrng: exynos - Enable COMPILE_TEST

2016-03-13 Thread Krzysztof Kozlowski
Get some build coverage of Exynos H/W random number generator driver. Driver uses devm_ioremap_resource() so add IOMEM dependency for the compile testing. Signed-off-by: Krzysztof Kozlowski --- Compile-tested on x86, x86_64, ppc64, arm, arm64 and mips. --- drivers/char/hw_random/Kconfig | 3 ++

КЛИЕНТСКИЕ БАЗЫ! Тел\Viber\Whatsapp: +79133913837 Email: aburo...@gmail.com Skype: prodawez389

2016-03-13 Thread linux-crypto@vger.kernel.org
КЛИЕНТСКИЕ БАЗЫ! Соберем для Вас по интернет базу данных потенциальных клиентов для Вашего Бизнеса! Много! Быстро! Недорого! Узнайте об этом подробнее по Тел: +79133913837 Viber: +79133913837 Whatsapp: +79133913837 Skype: prodawez389 Email: aburo...@gmail.com -- To unsubscribe from this list: s

[PATCH v2 4/4] hwrng: exynos - Disable runtime PM on driver unbind

2016-03-13 Thread Krzysztof Kozlowski
Driver enabled runtime PM but did not revert this on removal. Re-binding of a device triggered warning: exynos-rng 10830400.rng: Unbalanced pm_runtime_enable! Fixes: b329669ea0b5 ("hwrng: exynos - Add support for Exynos random number generator") Signed-off-by: Krzysztof Kozlowski --- C

[PATCH v2 3/4] hwrng: exynos - Disable runtime PM on probe failure

2016-03-13 Thread Krzysztof Kozlowski
Add proper error path (for disabling runtime PM) when registering of hwrng fails. Fixes: b329669ea0b5 ("hwrng: exynos - Add support for Exynos random number generator") Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Call also pm_runtime_dont_use_autosuspend() to revert everything

[PATCH v2 2/4] hwrng: exynos - Fix unbalanced PM runtime put on timeout error path

2016-03-13 Thread Krzysztof Kozlowski
In case of timeout during read operation, the exit path lacked PM runtime put. This could lead to unbalanced runtime PM usage counter thus leaving the device in an active state. Fixes: d7fd6075a205 ("hwrng: exynos - Add timeout for waiting on init done") Cc: # v4.4+ Signed-off-by: Krzysztof Kozlo

[PATCH v2 1/4] hwrng: exynos - Runtime suspend device after init

2016-03-13 Thread Krzysztof Kozlowski
The driver uses pm_runtime_put_noidle() after initialization so the device might remain in active state if the core does not read from it (the read callback contains regular runtime put). The put_noidle() was chosen probably to avoid unneeded suspend and resume cycle after the initialization. Howe

[PATCH] crypto: Improve wording for CRYPTO_DEV_OMAP_DES in Kconfig

2016-03-13 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- drivers/crypto/Kconfig |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 07d4942..b4da268 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -301,15 +301,15 @@ confi

[BUG] crypto: sun4i-ss: Random data corruption

2016-03-13 Thread Corentin LABBE
Hello I had some report of random data corruption of people using cryptsetup with my sun4i-ss driver (via AF_ALG). Even if it is hard to hit, I could confirm it by continuously moving files on a LUKS encrypted FS and comparing hash of it before and after. The corruption is always when decipherin