Re: [PATCH 3/3] hwrng: st: Use real-world device timings for timeout

2015-10-07 Thread Lee Jones
On Tue, 06 Oct 2015, Russell King - ARM Linux wrote: > On Tue, Oct 06, 2015 at 09:51:22PM +0100, Lee Jones wrote: > > On Tue, 06 Oct 2015, Russell King - ARM Linux wrote: > > > On Tue, Oct 06, 2015 at 03:44:00PM +0100, Lee Jones wrote: > > > > Samples are documented to be available every 0.667us,

Re: [PATCH 3/3] hwrng: st: Use real-world device timings for timeout

2015-10-06 Thread Russell King - ARM Linux
On Tue, Oct 06, 2015 at 09:51:22PM +0100, Lee Jones wrote: > On Tue, 06 Oct 2015, Russell King - ARM Linux wrote: > > On Tue, Oct 06, 2015 at 03:44:00PM +0100, Lee Jones wrote: > > > Samples are documented to be available every 0.667us, so in theory > > > the 8 sample deep FIFO should take 5.336us

Re: [PATCH 3/3] hwrng: st: Use real-world device timings for timeout

2015-10-06 Thread Lee Jones
On Tue, 06 Oct 2015, Russell King - ARM Linux wrote: > On Tue, Oct 06, 2015 at 03:44:00PM +0100, Lee Jones wrote: > > Samples are documented to be available every 0.667us, so in theory > > the 8 sample deep FIFO should take 5.336us to fill. However, during > > thorough testing, it became apparent

Re: [PATCH 3/3] hwrng: st: Use real-world device timings for timeout

2015-10-06 Thread Russell King - ARM Linux
On Tue, Oct 06, 2015 at 03:44:00PM +0100, Lee Jones wrote: > Samples are documented to be available every 0.667us, so in theory > the 8 sample deep FIFO should take 5.336us to fill. However, during > thorough testing, it became apparent that filling the FIFO actually > takes closer to 12us. Is th