[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191025151828.l4gdnuw3ud5gkfw2@gondor.apana.org.au>
Date: Fri, 25 Oct 2019 23:18:28 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Sumit Garg <sumit.garg@...aro.org>
Cc: linux-crypto@...r.kernel.org, dsaxena@...xity.net, mpm@...enic.com,
romain.perier@...e-electrons.com, arnd@...db.de,
gregkh@...uxfoundation.org, daniel.thompson@...aro.org,
ralph.siemsen@...aro.org, milan.stevanovic@...com,
ryan.harkin@...aro.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] hwrng: omap - Fix RNG wait loop timeout
On Mon, Oct 14, 2019 at 05:32:45PM +0530, Sumit Garg wrote:
> Existing RNG data read timeout is 200us but it doesn't cover EIP76 RNG
> data rate which takes approx. 700us to produce 16 bytes of output data
> as per testing results. So configure the timeout as 1000us to also take
> account of lack of udelay()'s reliability.
>
> Fixes: 383212425c92 ("hwrng: omap - Add device variant for SafeXcel IP-76 found in Armada 8K")
> Cc: <stable@...r.kernel.org>
> Signed-off-by: Sumit Garg <sumit.garg@...aro.org>
> ---
> drivers/char/hw_random/omap-rng.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists