Re: [PATCH v3 0/4] Assorted changes for Exynos PRNG driver

From: Herbert Xu
Date: Fri Dec 22 2017 - 04:10:21 EST


On Tue, Dec 12, 2017 at 05:36:03PM +0100, Åukasz Stelmach wrote:
> Hello,
>
> This is a series of patches for exynos-rng driver I've decided to
> create after adding support for Exynos5250+ chips. They do not
> strictly depend on each other, but I think it is better to send them
> as a single patch-set.
>
> The driver requires appropriate DT configuration introduced in
>
> https://patchwork.kernel.org/patch/10106797/
>
> Patch #1 Add support for PRNG in Exynos5250+ SoCs
>
> Patch #2 Improve output performance by using memcpy() rather than a
> custom function to retrieve random bytes from registers. Rearrange
> the loop for polling the hardware.
>
> Patch #3 Reseed the PRNG after reading 2^16 bytes. Simmilar approach
> is implemented in DRBG. (Thanks Stephan Mueller)
>
> Patch #4 Introduce locking to prevent simultaneous access to the
> hardware from more than one thread/process.
>
> Changes since v2:

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt