From patchwork Mon May 15 21:43:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 94361 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2043vqo; Mon, 15 May 2023 14:55:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4m4PQK7tLUmFcWhMd0hpU+KQOGHoQNxBQybL1Em6EnrPoEG0GK1Th/OnWa1ERYLfaH33zu X-Received: by 2002:a05:6a00:2e05:b0:63e:6b8a:7975 with SMTP id fc5-20020a056a002e0500b0063e6b8a7975mr43080181pfb.9.1684187724892; Mon, 15 May 2023 14:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684187724; cv=none; d=google.com; s=arc-20160816; b=JpZFSYkEhkYgJe1HvIzPcexFWJEJewZB6r1SglZDvE1SenHxSFLSLZZTZ0rad52TON OpwUfukjPlfFTNT9Q08YexYWVOheeGxdB7yw8XgRasBqHwrjJ4psG9hu/N9aWzSOdUWe 0Tai4CTditprH5cIbfDkAUAoNNH+7pvgS+tpeeMaAswwS3hZH96amMTmO/IV6z6c2R8r MKCcMsmQ4EpRYNMSxqwunJPu2vANW4iyuW8awPdkrCZDKCNLemw6ynl1+BxUycZxbzyZ 5RnmkjjOahqKgZ99W3fLcXey5eakw3QLNIhoyKHiK4yufTpRFy3Csen+EIVbdkWjN+ct TzGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:cc:subject:to:reply-to:sender:from :dkim-signature:dkim-signature:date; bh=d+8BDmnkH8cVYts5uM333ozeqBPiCdFJuGIcor3JssI=; b=wflBNU5sEl91xhjL6rJY+/W98La2zSJwSASYipk8n4pYsDsESuR/6KcQZj4zE5IZjd gtrXn+Q7c+KgI/G5ixSBUmlE66JrxBzkkqPSVbeOLZnIxd41hU4guoC+fJSO0M5B7s1Q GcfsXDTgWR1mzdiJPProYCWFPsNdbzXr3JxlaRvi7U4wLoHIh8GyE4t6PEo2yAGDmYxo lArIm96W+R00tXa85HiBpx9NebpOAMUNSBt2AeL4k0aZdN+LAIhP1ZduyRdsRJlNKXPY BrNy99TMclk+hwMHp9eoSd+rzrBQJxQwtn3i9TmkxbNmlRG9xmBA3o715QPMTO8yJ0+X jtQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="kwBfXuJ/"; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e26-20020aa7981a000000b00648019bae38si14898632pfl.277.2023.05.15.14.55.09; Mon, 15 May 2023 14:55:24 -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=@linutronix.de header.s=2020 header.b="kwBfXuJ/"; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245611AbjEOVnW (ORCPT + 99 others); Mon, 15 May 2023 17:43:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233661AbjEOVnU (ORCPT ); Mon, 15 May 2023 17:43:20 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0B0210EC; Mon, 15 May 2023 14:43:19 -0700 (PDT) Date: Mon, 15 May 2023 21:43:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1684186998; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d+8BDmnkH8cVYts5uM333ozeqBPiCdFJuGIcor3JssI=; b=kwBfXuJ/9xWnUSImOI5lE8EtpjC8kd7fr5F6BbaDAmEZu4rJbCxOCwfhhURZaYQzoKoxk3 NI/Ja7VOz3d5veXx+br30A5pZX3El2/T9BPkWFDYyGJ/d+dy00Ly1QAj1u2q9vPw3bF/Xt x/2fWuCbho7I4YXMlEW3vB48OoBeO1bk82weKHcrx6beQpMDwa9tHpRrTsYKj/boJklaIh MUNALNvMKzWWMLyQ49GYzxKSMwn7WScHa4BRA48qP7EGx8vaqkt6FGmtay+pajN8wBe1aL b/Yraucy7EUi8arUGwB+0iPQAhKJ4bucePcJt4c8AqTRrB2/OO229M5C+R4jNA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1684186998; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d+8BDmnkH8cVYts5uM333ozeqBPiCdFJuGIcor3JssI=; b=c9JPzNS2+efNU3jG9lICsgLaY0aUXErh+x4XEGr6R/V/Uwgrc70NzsDlsERxDCSi9JK8bs goHlAAezD+Z4xmCg== From: "tip-bot2 for Lukas Bulwahn" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/Kconfig: Make X86_FEATURE_NAMES non-configurable in prompt Cc: Borislav Petkov , Lukas Bulwahn , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <168418699788.404.11674060014687395413.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765998827935121780?= X-GMAIL-MSGID: =?utf-8?q?1765998827935121780?= The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 424e23fd6c30ec204c1c77919066ae777577a4f9 Gitweb: https://git.kernel.org/tip/424e23fd6c30ec204c1c77919066ae777577a4f9 Author: Lukas Bulwahn AuthorDate: Wed, 10 May 2023 08:57:12 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Mon, 15 May 2023 19:56:19 +02:00 x86/Kconfig: Make X86_FEATURE_NAMES non-configurable in prompt While discussing to change the visibility of X86_FEATURE_NAMES (see Link) in order to remove CONFIG_EMBEDDED, Boris suggested to simply make the X86_FEATURE_NAMES functionality unconditional. As a first step, make X86_FEATURE_NAMES disappear from Kconfig. So, as X86_FEATURE_NAMES defaults to yes, to disable it, one now needs to modify the .config file before compiling the kernel. Suggested-by: Borislav Petkov Signed-off-by: Lukas Bulwahn Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/all/20230509084007.24373-1-lukas.bulwahn@gmail.com/ --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 53bab12..a7db116 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -442,7 +442,7 @@ config SMP If you don't know what to do here, say N. config X86_FEATURE_NAMES - bool "Processor feature human-readable names" if EMBEDDED + bool default y help This option compiles in a table of x86 feature bits and corresponding