On Fri, 2017-08-04 at 01:12:18 UTC, Matt Brown wrote:
> This adds the powernv_get_random_darn function which utilises the darn
> instruction, introduced in POWER9. The powernv_get_random_darn function
> is used as the ppc_md.get_random_seed on P9.
>
> The DARN instruction can potentially throw an
Michael Ellerman writes:
> Matt Brown writes:
>> On Sat, Aug 5, 2017 at 3:06 AM, Tyrel Datwyler
>> wrote:
>>> On 08/03/2017 06:12 PM, Matt Brown wrote:
@@ -135,8 +152,9 @@ static __init int rng_create(struct device_node *dn)
@@ -150,6 +168,21 @@ static __init int rng_init(void)
Matt Brown writes:
> On Sat, Aug 5, 2017 at 3:06 AM, Tyrel Datwyler
> wrote:
>> On 08/03/2017 06:12 PM, Matt Brown wrote:
>>> @@ -135,8 +152,9 @@ static __init int rng_create(struct device_node *dn)
>>>
>>> static __init int rng_init(void)
>>> {
>>> + unsigned long darn_test;
>>> str
On Sat, Aug 5, 2017 at 3:06 AM, Tyrel Datwyler
wrote:
> On 08/03/2017 06:12 PM, Matt Brown wrote:
>> This adds the powernv_get_random_darn function which utilises the darn
>> instruction, introduced in POWER9. The powernv_get_random_darn function
>> is used as the ppc_md.get_random_seed on P9.
>>
On 08/03/2017 06:12 PM, Matt Brown wrote:
> This adds the powernv_get_random_darn function which utilises the darn
> instruction, introduced in POWER9. The powernv_get_random_darn function
> is used as the ppc_md.get_random_seed on P9.
>
> The DARN instruction can potentially throw an error, so we
This adds the powernv_get_random_darn function which utilises the darn
instruction, introduced in POWER9. The powernv_get_random_darn function
is used as the ppc_md.get_random_seed on P9.
The DARN instruction can potentially throw an error, so we attempt to
register the powernv_get_random_darn fun