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

From: Thomas Gleixner
Date: Tue Oct 17 2017 - 11:15:42 EST


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>