Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1807438lqt; Sun, 21 Apr 2024 10:11:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCiiuuK1MYLaGPK55GuEBuyMFFU5ZVLmgnK5iEFmpCctVb6E5FEydwCRb45Jqwc2ps3FDWZ9zX71Nypp1zFwA3lsFGLGa0+3mbn7mFFw== X-Google-Smtp-Source: AGHT+IEIdm65dTdIKkllCdDxIMFyqO2k8WI95i711QAJypvKnRdOsP1+GWmObGcKpDgYPYQTOxuJ X-Received: by 2002:a05:6358:7295:b0:17e:d8fe:be45 with SMTP id w21-20020a056358729500b0017ed8febe45mr11167793rwf.8.1713719474571; Sun, 21 Apr 2024 10:11:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713719474; cv=pass; d=google.com; s=arc-20160816; b=iMgzNs8pffQe1IyMzwh/JJu8kupsvvN0UV1zJheKcSsbqO0OBZ8QOr/0o/rDVUFo9Q cD+0Wx75azZswesV8McKmdkrQfgEaewxupysHFFc8ZI9mx5dxyJ8OmrCaapTJJnE+Ffq KKUs1nppyVATkEOrbgrdQGigUnFxqwEEBuidaLD/PhdyA6jGG2z9diybMX9yqOCFoHpl fKFFGOced5cufmf5CARzLw2rDNYJkCWeKUJ7dNlioI3occANhdNXQShuJQx8lKh5emq2 hmDtX78CQUBNUptbyI4IVXFUX/KD/FDRd7Koh+nvD2X0Hbsnsj+2Ho27ldQBsW1CAQ/w +c9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=9DEJGTzogNBnLsV4v82Z6uqUbvYBn/dfRVD05b156Vo=; fh=/NKrz5kdw/BUuzjSq2+i8vjF5Led9OsjS6z4v3F9ap4=; b=nt3Q1fL0QdARBgGwPW7Gh5ARYeFIDwzXKO2eSiiApFD1VMMokEHUAxCNJi8fqjpOGd TJ0unMkFnE9wf9d/ovPQYgChX/RO9P9rrEkpDMjJGrRfOzh0+wBXXJirMntirLJfvcrk C3OoZ/vigzBHyTVIYIIJt/yKIV354qOqFsxFM1WfzwxVLjxpXb8FG11nC5+nYfObVl0e gwHttUmgBrPuysAqAZTJkplh6zmAE6sQcVArQn7jFwcD49KjI3VLKpuZf88CPRXBoGEO Uxww8r2uls7KvCTpQVTNLT67EWUDceDjH1lYypr1Gjyx2jQGoeWivmni9bxKcwZaSnyg nXCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=NhN6IrpL; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-152535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id gm7-20020a056214268700b0069b503c131esi8641968qvb.314.2024.04.21.10.11.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 10:11:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=NhN6IrpL; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-152535-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 318461C20928 for ; Sun, 21 Apr 2024 17:11:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7A631CFA7; Sun, 21 Apr 2024 17:11:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NhN6IrpL"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PJAyNBBl" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 626F11CA8F; Sun, 21 Apr 2024 17:11:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713719470; cv=none; b=jhEWJ9vXUx2EMQ3q+hvHO/9w2s9ZR018FPB2hTqg79Ne8uqMJVZS+d06cEZhVMeRmoDhtdsv5dJknrVXC55mYxHNbVqk9kCBBgxkTQSO41Bhm+labb8b1zJn7wFhN+XLLzKAcFpF3euCRC0f763BJ0JBVcUkv1nJrlC9ipH+a9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713719470; c=relaxed/simple; bh=KpSb7c9BhEPtqr3znriteaXa8LHeFRii/6sczFQoyoc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ZhIwQx39MKIYivAchzeKMb+JH9NlOWBH3xhWd9cWtZ+GyrymIqj6VY/legoh4316yRCuXWKfcWzjfXk168ERTA8/M2CZA+pbFxfNm9O/G4ZNKvNZ+VM9GRzytRVygIv21sezNyWdwM0S1oKlTUaqvu5DZW1VRTPj1Bov2qrZ/zE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=NhN6IrpL; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=PJAyNBBl; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Sun, 21 Apr 2024 17:11:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1713719466; 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: in-reply-to:in-reply-to:references:references; bh=9DEJGTzogNBnLsV4v82Z6uqUbvYBn/dfRVD05b156Vo=; b=NhN6IrpLtUSBZHWlOjbE22LTQ0DI8xrSRfCorUUAAc1WeigZLa0fudBQ/3YjY4a+IVpEoN fCdMJcyPfguW67FG3TsxPi68JE3/4rCONrG2ir+Bm5GdEW3ks/jsBNFZqYAXdq4l25PSaL ETig/+JLoz7WI3EAJuNUf9z9HWezItxhjNabT0TYGNBZsoRJiILJSDxxu/m490n4Zry5xc lC9d2e09l7/+aSqeFAyuYDRBZffFx4wQjqTkjkfUAWXUvUp/cBXhqbcQmCw2ktFaa6VRQw KOP9kVK+7SyFCCCtzESa6i3AMv6kRAm2Gul594F/+VthU6awL1Jd8Zbxvizzfw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1713719466; 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: in-reply-to:in-reply-to:references:references; bh=9DEJGTzogNBnLsV4v82Z6uqUbvYBn/dfRVD05b156Vo=; b=PJAyNBBlT+ex6aROq1/OjylfzV7MPvjQ45gzVcP3NlNS8uN7rvPfgQoTjtuaNBH+Oqe2D4 u1zABpfUEbvGhSAg== From: "tip-bot2 for Masahiro Yamada" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/build] x86/Kconfig: Merge the two CONFIG_X86_EXTENDED_PLATFORM entries Cc: Masahiro Yamada , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240204100719.42574-1-masahiroy@kernel.org> References: <20240204100719.42574-1-masahiroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171371946443.10875.15940850527405121296.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the x86/build branch of tip: Commit-ID: 71d99ea47fbd3179e01f8037aad1d1367a821de2 Gitweb: https://git.kernel.org/tip/71d99ea47fbd3179e01f8037aad1d1367a821de2 Author: Masahiro Yamada AuthorDate: Sun, 04 Feb 2024 19:07:19 +09:00 Committer: Borislav Petkov (AMD) CommitterDate: Sun, 21 Apr 2024 18:41:40 +02:00 x86/Kconfig: Merge the two CONFIG_X86_EXTENDED_PLATFORM entries There are two menu entries for X86_EXTENDED_PLATFORM, one for X86_32 and the other for X86_64. These entries are nearly identical, with the only difference being the platform list in the help message. While this structure was intended by commit 8425091ff8af ("x86: improve the help text of X86_EXTENDED_PLATFORM"), there is no need to duplicate the entire config entry. Instead, provide a little more clarification in the help message. [ bp: Massage. ] Signed-off-by: Masahiro Yamada Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240204100719.42574-1-masahiroy@kernel.org --- arch/x86/Kconfig | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e88f6f7..0046ffb 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -506,10 +506,9 @@ config X86_FRED ring transitions and exception/interrupt handling if the system supports. -if X86_32 config X86_BIGSMP bool "Support for big SMP systems with more than 8 CPUs" - depends on SMP + depends on SMP && X86_32 help This option is needed for the systems that have more than 8 CPUs. @@ -522,7 +521,10 @@ config X86_EXTENDED_PLATFORM systems out there.) If you enable this option then you'll be able to select support - for the following (non-PC) 32 bit x86 platforms: + for the following non-PC x86 platforms, depending on the value of + CONFIG_64BIT. + + 32-bit platforms (CONFIG_64BIT=n): Goldfish (Android emulator) AMD Elan RDC R-321x SoC @@ -530,28 +532,14 @@ config X86_EXTENDED_PLATFORM STA2X11-based (e.g. Northville) Moorestown MID devices - If you have one of these systems, or if you want to build a - generic distribution kernel, say Y here - otherwise say N. -endif # X86_32 - -if X86_64 -config X86_EXTENDED_PLATFORM - bool "Support for extended (non-PC) x86 platforms" - default y - help - If you disable this option then the kernel will only support - standard PC platforms. (which covers the vast majority of - systems out there.) - - If you enable this option then you'll be able to select support - for the following (non-PC) 64 bit x86 platforms: + 64-bit platforms (CONFIG_64BIT=y): Numascale NumaChip ScaleMP vSMP SGI Ultraviolet If you have one of these systems, or if you want to build a generic distribution kernel, say Y here - otherwise say N. -endif # X86_64 + # This is an alphabetically sorted list of 64 bit extended platforms # Please maintain the alphabetic order if and when there are additions config X86_NUMACHIP