Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6234415rwr; Tue, 9 May 2023 12:08:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5s8yYBeGo+k21NWibz6aEWuTIEwPiy3wB5F7TlmSAxGkfqIDYp/MAsP8k6dzw+ZzsNx2wF X-Received: by 2002:a17:90a:31c1:b0:24e:1f06:4d32 with SMTP id j1-20020a17090a31c100b0024e1f064d32mr15435720pjf.2.1683659339053; Tue, 09 May 2023 12:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683659339; cv=none; d=google.com; s=arc-20160816; b=Qf1RZIHfzYv9GeZWcpeRKjvfGcjeIFgpDGWcAEboKLQ9DFyqOVkZJWj2BDS6ktPwGb 8k/V6Mm/IFvJuomBQx5dgtHx7sgriaaj6Yy1GnanGI+T8v/ce5yBPCXSI7sspORGSulh gWpow/gOMzNeXLHTIre0CQzBTgBCEOq0lf5hUqmKPl0L/75gFdSrubkRRbXITeXgxFP0 hDJTNb9bNKjzkYkMbsqTlJukNFPAPr9m2F4sQSopD7yNJfR8q9oNzPIhOdin108Cjgu4 V8CsWlTuepvadECus/TUJKFV59M5317NvwaqnvJe65afw5oCxTvcd6/H/kD5eomVVC/o m1hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BS8UEfJDy6n6y2YFfQlr16zz7ODAvXTh4XvKueoHchQ=; b=bc6GN1PGXyrKRNYGYKGvKaRcFo2xaxraGYFFXdbmvvzCatop4v4AOhd9+rGp76/Yvi /lRH7/+DOT5p2n3xcAr7wWnQ7OxAoAALY05gcwywxYYD5R1nz7Eds/eRGT5LeWxhVp0X nCIOJk/WG0pdr5tyd7G0BaJjd3DFD/k0lULT58WBF1Or7d37tegu/fdXJQQGQ/+SaGb+ rBu4G6CKlE/AH/PvHBYHZRfIsSm6VwCgUN8T3AR1AyvdF+TJNE1UNHxyyWxeOTGkU3gq jVi6S6WOUIpj+XHwJcmSgYu1uHp1mDyGnKvB4QTr3KNnkMATpO0e6JJXEiC4vp6zu8rc qRLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EEOwMyjw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v8-20020a17090a898800b0024e562f9f73si14645958pjn.147.2023.05.09.12.08.45; Tue, 09 May 2023 12:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=EEOwMyjw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234658AbjEISib (ORCPT + 99 others); Tue, 9 May 2023 14:38:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbjEISi3 (ORCPT ); Tue, 9 May 2023 14:38:29 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B826359A; Tue, 9 May 2023 11:38:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683657509; x=1715193509; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=8KLofvuwjuzCeRiT9wzzuN9VTnSIeEnud3i/p91LRjg=; b=EEOwMyjwrg5wBo6sXmXavLyvRgkwrcYWnYrGXN9ZM9cAflCWLWpz/yh3 vQB+vZF70IgIsZGB4WducxZ6FMh8mscc40wVZcIdSF0GwC1PQcCg+q5LA lXtLPQslWCGay0zirhZ9wJI0tfDc3GrhFlC2StrYc2J2enavGhjIaUQ5M p/28raFDFOk/4nuDixN3nhvNV1yegAx6EJ6KbTlEfe4Rz0jsEFEiDYBv2 Qb5fwx9F39+NWxUIZgPYt8PVV2AczIwL0zh4gy4KXTmD1Cv8B7CPYYN26 m9aOfXDwllF18GysfL9V9ZJHCuGioj/vhA9CyC7VIrSQYSY2q8vNyr8vo g==; X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="330385097" X-IronPort-AV: E=Sophos;i="5.99,262,1677571200"; d="scan'208";a="330385097" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2023 11:38:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="698998155" X-IronPort-AV: E=Sophos;i="5.99,262,1677571200"; d="scan'208";a="698998155" Received: from dcourtn1-desk1.amr.corp.intel.com (HELO [10.212.182.218]) ([10.212.182.218]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2023 11:38:28 -0700 Message-ID: Date: Tue, 9 May 2023 11:38:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] x86: make config X86_FEATURE_NAMES visible with EXPERT Content-Language: en-US To: Lukas Bulwahn Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230509084007.24373-1-lukas.bulwahn@gmail.com> <7cbe80f0-dcc3-bfc3-3bd8-c9f96704618d@intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/9/23 11:20, Lukas Bulwahn wrote: > On Tue, May 9, 2023 at 4:07 PM Dave Hansen wrote: >> >> On 5/9/23 01:40, Lukas Bulwahn wrote: >>> Commit 6a108a14fa35 ("kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT") >>> introduces CONFIG_EXPERT to carry the previous intent of CONFIG_EMBEDDED >>> and just gives that intent a much better name. >> >> That was quite the changelog, and I'm still not quite sure: >> >> What is the problem with the existing code? >> >> What is the end user visible impact of this problem and of this proposed >> change? >> > > Thanks, Dave, for your feedback. > > The commit message is so lengthy, as I copied it from the original > cover letter into each commit, but I agree with your feedback. Uhh... *What* cover letter? A cover letter is usually the 0/NN message in a patch series. It is not obvious at *all* that this plain non-numbered patch is part of a series. > So maybe this commit message fits better: > > To simplify build configurations, the CONFIG_EMBEDDED is to be > removed. All configs that are only visible with CONFIG_EMBEDDED=y > shall be now visible with CONFIG_EXPERT=y. > > In the x86 architecture, the config X86_FEATURE_NAMES is visible when > CONFIG_EMBEDDED is enabled. Now, make the config X86_FEATURE_NAMES > visible when CONFIG_EXPERT is enabled. > > Dave, what do you think? If that is good enough for you, I will send > an updated patch with that commit message. CONFIG_EMBEDDED is being removed: That means that everything in Kconfig that uses CONFIG_EMBEDDED needs to switch over to something else. Move X86_FEATURE_NAMES over to CONFIG_EXPERT instead of CONFIG_EMBEDDED. -- This actually isn't _great_ for x86. We hid X86_FEATURE_NAMES behind EMBEDDED because we didn't want to see it 99% of the time. But just about everyone uses EXPERT=y, so the end result here is that everyone will now see X86_FEATURE_NAMES. Oh well. It's just one Kconfig option. Not a big deal.