[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <532896C3.106@linux.intel.com>
Date: Tue, 18 Mar 2014 11:56:03 -0700
From: "H. Peter Anvin" <hpa@...ux.intel.com>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
CC: Ted Ts'o <tytso@....edu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <michael@...erman.id.au>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists