Re: [PATCH v3 0/4] Raspberry Pi 4 HWRNG Support

From: Florian Fainelli
Date: Tue Dec 03 2019 - 23:55:15 EST




On 11/20/2019 9:30 PM, Herbert Xu wrote:
> On Wed, Nov 20, 2019 at 08:09:57PM -0800, Florian Fainelli wrote:
>> Hi Herbert,
>>
>> On 11/19/2019 7:16 PM, Stephen Brennan wrote:
>>> This patch series enables support for the HWRNG included on the Raspberry
>>> Pi 4. It is simply a rebase of Stefan's branch [1]. I went ahead and
>>> tested this out on a Pi 4. Prior to this patch series, attempting to use
>>> the hwrng gives:
>>>
>>> $ head -c 2 /dev/hwrng
>>> head: /dev/hwrng: Input/output error
>>>
>>> After this series, the same command gives two random bytes.
>>
>> When we get a review from Rob, you can take patches 1-2 through your
>> tree and Stefan/Nicholas can queue patches 3-4 through the BCM2835 tree
>> where the DTS files already exist. Does that work for you?
>
> Yes sure.

Rob has provided his Acked-by for the binding patch, are you targeting
these changes for 5.5 or 5.6 at this point?
--
Florian