[PATCH] x86: Set RDRAND usable if CPU supports RDRAND

H.J. Lu hjl.tools@gmail.com
Fri Dec 4 13:03:02 GMT 2020


On Fri, Dec 4, 2020 at 12:12 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu via Libc-alpha:
>
> > Set RDRAND usable if CPU supports RDRAND.  Also check HAS_CPU_FEATURE
> > instead of CPU_FEATURE_USABLE for FSGSBASE, LM and XSAVES since
> > FSGSBASE/LM require kernel support and XSAVES is supervisor-mode only.
>
> I think the commit subject is misleading because the RDRAND part is a
> glibc bug fix.  Rest looks okay to me.
>
> Thanks,

I am checking the RDRAND fix as a separate patch.  I will submit a
new patch with the tst-cpu-features-supports.c fix only.

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Set-RDRAND-usable-if-CPU-supports-RDRAND.patch
Type: text/x-patch
Size: 928 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201204/22547591/attachment.bin>


More information about the Libc-alpha mailing list