Port-amd64 archive

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

Re: kern/54655: cpu_rng_rdseed() should check support of RDRAND instruction



On Wed, Oct 30, 2019 at 01:22:44PM +1100, matthew green wrote:
> rdrand should be retried 10 times in a row and if that
> fails, we probably should (default) to panicking the system
> as that indicates a really broken CPU.

Worth reminding that there are actual CPUs that might fail this test,
the recent broken Ryzen 3000s.

Here's one booting netbsd:
https://dmesgd.nycbug.org/index.cgi?do=view&id=5052

rnd: source "cpurng" failed continuous-output test.
rnd: disabling source "cpurng".


Home | Main Index | Thread Index | Old Index