Messages in this thread | | | From | Thomas Gleixner <> | Subject | Re: [patch 08/41] x86/fpu: Restrict fpstate sanitizing to legacy components | Date | Fri, 11 Jun 2021 22:27:22 +0200 |
| |
On Fri, Jun 11 2021 at 12:03, Andy Lutomirski wrote: > On 6/11/21 9:15 AM, Thomas Gleixner wrote: >> xstateregs_get() does not longer use fpstate_sanitize_xstate() and the only >> +/* >> + * When executing XSAVEOPT (or other optimized XSAVE instructions), if > > The kernel doesn't use XSAVEOPT any more. How about:
You sure?
#define XSTATE_XSAVE(st, lmask, hmask, err) \ asm volatile(ALTERNATIVE_2(XSAVE, \ XSAVEOPT, X86_FEATURE_XSAVEOPT, \ XSAVES, X86_FEATURE_XSAVES) \ Thanks,
tglx
| |