Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: testers wanted -- hardware RNG driver patches



On 12/16/16 23:24, Taylor R Campbell wrote:
I've been sitting for a while on the attached patches to simplify
various ARM hardware RNG device drivers, following some simplification
in the kernel's hardware RNG API, but I lack hardware and time to test
them.

- am335x_rng.patch is for Beaglebone and other TI Sitara AM335x systems.
- bcm2835_rng.patch is for Raspberry Pi.
- tegra_rng.patch is for NVIDIA Tegra boards.
- amlogic_rng.patch is for some other ARM platform I can't keep straight.

Would anyone like to give them a spin?  Just make sure the system
boots, you can read from /dev/random, `rndctl -l' lists some bits from
the hardware RNG device, and the kernel doesn't spew errors about
rngtest failures.

rpi (bcm2835) and beaglebone (am335x) were fine, but with tegra I get


jetsontk1# dd if=/dev/random of=/tmp/out count=1024
Kernel RNG "819 3 0" long run test FAILURE: Run of 27 1s found
cprng 819 3 0: failed statistical RNG test
Kernel RNG "819 3 0" long run test FAILURE: Run of 26 0s found
cprng 819 3 0: failed statistical RNG test
0+1024 records in
32+0 records out
16384 bytes transferred in 0.388 secs (42226 bytes/sec)
jetsontk1#

Nick


Home | Main Index | Thread Index | Old Index