[PATCH 2/5] hwrng: exynos - Runtime suspend device after init

2016-03-10 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.

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

2016-03-10 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

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

2016-03-10 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 --- drivers/char/hw_random/exynos-rng.c | 7 ++- 1 file

[PATCH 3/5] hwrng: exynos - Fix unbalanced PM runtime put on timeout error path

2016-03-10 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+

[PATCH 1/5] hwrng: exynos - Hide PM functions with __maybe_unused

2016-03-10 Thread Krzysztof Kozlowski
Replace ifdef with __maybe_unused to silence compiler warning on when SUSPEND=n and PM=y: drivers/char/hw_random/exynos-rng.c:166:12: warning: ‘exynos_rng_suspend’ defined but not used [-Wunused-function] static int exynos_rng_suspend(struct device *dev) ^

Re: [PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-10 Thread Baolin Wang
On 10 March 2016 at 17:42, Robert Jarzmik wrote: >> >> >> Ah, sorry that's a mistake. It should check as below: >> static inline bool sg_is_contiguous(struct scatterlist *sga, struct >> scatterlist *sgb) >> { >> return (unsigned int)sg_virt(sga) + sga->length ==

Re: [PATCH v2 2/2] crypto: af_alg - add async support to algif_aead

2016-03-10 Thread Herbert Xu
On Mon, Feb 01, 2016 at 11:17:35AM -0800, Tadeusz Struk wrote: > > @@ -240,6 +255,7 @@ static int aead_sendmsg(struct socket *sock, struct > msghdr *msg, size_t size) > if (!aead_writable(sk)) { > /* user space sent too much data */ >

Re: [PATCH 1/4] scatterlist: Introduce some helper functions

2016-03-10 Thread Robert Jarzmik
Baolin Wang writes: > Hi Robert, > > On 4 March 2016 at 03:15, Robert Jarzmik wrote: >> Baolin Wang writes: >>> +static inline bool sg_is_contiguous(struct scatterlist *sga, >>> + struct

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

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