Messages in this thread | | | Date | Tue, 18 Mar 2014 11:56:03 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH v2 4/4] random: Add arch_has_random[_seed]() |
| |
On 03/17/2014 08:44 PM, Benjamin Herrenschmidt wrote: > On Mon, 2014-03-17 at 16:36 -0700, H. Peter Anvin wrote: >> Add predicate functions for having arch_get_random[_seed]*(). The >> only current use is to avoid the loop in arch_random_refill() when >> arch_get_random_seed_long() is unavailable. > > Paul, I think our HW rng on P7+ and later would qualify no ? > > Cheers, > Ben.
Just to be clear: since I don't know the parameters of the PowerPC hwrng I just put in the stub functions, leaving it up to you to analyze if it is suitable and analyze it. Do let me know if I can be of any assistance, of course.
-hpa
| |