[PATCH v5 07/11] x86: use fallback for random_get_entropy() instead of zero

Jason A. Donenfeld Jason at zx2c4.com
Tue Apr 19 12:00:06 PDT 2022


Hi Borislav,

On Tue, Apr 19, 2022 at 8:59 PM Borislav Petkov <bp at alien8.de> wrote:
>
> On Tue, Apr 19, 2022 at 08:38:41PM +0200, Jason A. Donenfeld wrote:
> > I think I prefer doing (a), and leaving (b) for another time when you
> > or another x86 maintainer can do so. But I'll do whichever you say.
> > Which would you like?
>
> We are switching all feature checks to cpu_feature_enabled() so you
> might as well do the new preferred way of checking when adding a
> new function and so that we have one less place to touch. Which is
> appreciated. :)

Okay, no problem. I'll make the change there and get_cycles() for v+1
of the patchset.

Jason



More information about the linux-um mailing list