From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762985AbdJQPPj (ORCPT ); Tue, 17 Oct 2017 11:15:39 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:58606 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752471AbdJQPPh (ORCPT ); Tue, 17 Oct 2017 11:15:37 -0400 Date: Tue, 17 Oct 2017 17:15:35 +0200 (CEST) From: Thomas Gleixner To: Andi Kleen cc: x86@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH v10 3/5] x86/fpu: Parse clearcpuid= as early XSAVE argument In-Reply-To: <20171013215645.23166-4-andi@firstfloor.org> Message-ID: References: <20171013215645.23166-1-andi@firstfloor.org> <20171013215645.23166-4-andi@firstfloor.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 13 Oct 2017, Andi Kleen wrote: > From: Andi Kleen > > 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 Reviewed-by: Thomas Gleixner