Re: [PATCH v3 2/4] crypto: exynos - Improve performance of PRNG

2017-12-13 Thread Krzysztof Kozlowski
On Tue, Dec 12, 2017 at 5:36 PM, Łukasz Stelmach wrote: > Use memcpy_fromio() instead of custom exynos_rng_copy_random() function > to retrieve generated numbers from the registers of PRNG. If I recall correctly, you mentioned before that it improves the performance. If

[PATCH v3 2/4] crypto: exynos - Improve performance of PRNG

2017-12-12 Thread Łukasz Stelmach
Use memcpy_fromio() instead of custom exynos_rng_copy_random() function to retrieve generated numbers from the registers of PRNG. Signed-off-by: Łukasz Stelmach --- drivers/crypto/exynos-rng.c | 31 ++- 1 file changed, 2 insertions(+), 29