Re: [PATCH v10 3/5] x86/fpu: Parse clearcpuid= as early XSAVE argument

From: Ingo Molnar
Date: Tue Oct 17 2017 - 11:19:31 EST



* Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> On Fri, 13 Oct 2017, Andi Kleen wrote:
>
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> >
> > With a followon patch we want to make clearcpuid affect the XSAVE
> > configuration. But xsave is currently initialized before arguments
> > are parsed. Move the clearcpuid= parsing into the special
> > early xsave argument parsing code.
> >
> > Since clearcpuid= contains a = we need to keep the old __setup
> > around as a dummy, otherwise it would end up as a environment
> > variable in init's environment.
> >
> > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Thanks guys, I have applied the five patches to tip:x86/fpu and will push it all
out once it's gone through a bit of testing.

Thanks,

Ingo