Re: cpu_rnd_messybits() for alpha, powerpc, sparc64

2020-06-04 Thread Theo de Raadt
sparc64 works alpha also works can't test macppc for a while more, but it also looks good.

Re: cpu_rnd_messybits() for alpha, powerpc, sparc64

2020-06-04 Thread David Gwynne
> On 5 Jun 2020, at 4:33 am, Christian Weisgerber wrote: > > Here's a proposal for implementing cpu_rnd_messybits() as a read of > the cycle counter on alpha, powerpc, and sparc64. Since I don't have > those archs, the diff is not even compile-tested. > > * alpha: RPCC is a 32-bit counter

Re: cpu_rnd_messybits() for alpha, powerpc, sparc64

2020-06-04 Thread Mark Kettenis
> Date: Thu, 4 Jun 2020 20:33:00 +0200 > From: Christian Weisgerber > > Here's a proposal for implementing cpu_rnd_messybits() as a read of > the cycle counter on alpha, powerpc, and sparc64. Since I don't have > those archs, the diff is not even compile-tested. > > * alpha: RPCC is a 32-bit

cpu_rnd_messybits() for alpha, powerpc, sparc64

2020-06-04 Thread Christian Weisgerber
Here's a proposal for implementing cpu_rnd_messybits() as a read of the cycle counter on alpha, powerpc, and sparc64. Since I don't have those archs, the diff is not even compile-tested. * alpha: RPCC is a 32-bit counter (in a 64-bit register) * powerpc: TB is a 64-bit counter split into two