[PATCH v3] x86: Properly disable XSAVE related features [BZ #27605]
H.J. Lu
hjl.tools@gmail.com
Sat Mar 20 00:06:30 GMT 2021
On Fri, Mar 19, 2021 at 3:22 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Fri, Mar 19, 2021 at 2:42 PM DJ Delorie <dj@redhat.com> wrote:
> >
> > "H.J. Lu" <hjl.tools@gmail.com> writes:
> > > If OSXSAVE is disabled by glibc tunables, disable features which depend
> > > on OSXSAVE.
> >
> > This one seems to ignore -XSAVE, both on an 11th gen (-XSAVE,-XSAVEC ->
> > xsave()) and on 4th (just -XSAVE). Is this patch supposed to be used
> > with the previous patch, or standalone?
> >
>
> Fixed. Here is the v2 patch. OK for master?
>
Here is the v3 patch to disable all XSAVE related features if both
XSAVE and XSAVEC aren't usable.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0001-x86-Properly-disable-XSAVE-related-features-BZ-27.patch
Type: text/x-patch
Size: 3855 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20210319/a8e5eb70/attachment.bin>
More information about the Libc-alpha
mailing list