Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3166540pxm; Mon, 28 Feb 2022 13:32:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfTVEvUVIlds0jHN5wq2ZKoqNRY9hU4FoCsfW1arMqUo9OeeW8BRp0MSQKMonVe28mXklL X-Received: by 2002:a17:90a:6944:b0:1bc:40a0:a12d with SMTP id j4-20020a17090a694400b001bc40a0a12dmr18726418pjm.138.1646083932669; Mon, 28 Feb 2022 13:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646083932; cv=none; d=google.com; s=arc-20160816; b=cAM8rTZfZj18iUoZYz7B8y62AxMROfdp4qN/KGcxXhhWykhzDG5UdR3pluxCpoZF04 0G6VX/cua3PZMYoPM7aISG0ykhWHUOBsrGBFaf7HYF3qzXT1FDUzw2HuRdli96Se/sBT jaYndt4t69ety1PxBdXbRjyBLOGA6t/XBPXjZsoZTKit6CJ6RcV4bnunc439wDJMF+4d 14e9yvNYLXqi9oN8EJLEr/TT0U95LC3A4XTLHo/12JRRxtg6z5gkfjh5TmmMYtR5GVuD MSX/Am6Dz6xtlA4X2ifwSvcl8+nU9idjexOdNZU7/WcLUWExia+i09P6n3K7iOOj1ZVK MYqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g7R9U2bwvy9Lkf04ixIH6Wouxa60Zi+IJmWsYAWT3Oc=; b=KFUB5iqHQafs2WifOF9XGJPb8KiHl3UZObWu8z0YaDKFclkX2fXEcpyd8ZJgWlhrMr rQQfMxkq9TMkDeUY/f6L7KHmAkkWj8mu4T29YvmGEPFQRdQ52YrBhhIRBzsq8LXtxJzc QXWeeh+nh39Pspti+OivSCMVT3B9nnxCpXVLVRO5PIHEBkWV3IYjno5zVNv9X0/3H8wz SYrRgpz5Cb1vszbaR98EN4tvoEehe2x7I/nJvecxoIdyLo+ojc/4VavMCQM62zWm/sMd n1OHggRwo57aZbnv7BqVr2kBZrsekSz9fuDiki201/E9VwWOU9PitijGfbXmAtymbPqZ KSMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=R1drsAbl; 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=o2.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a056a00114900b004e1ba0d887dsi10381237pfm.1.2022.02.28.13.31.56; Mon, 28 Feb 2022 13:32:12 -0800 (PST) 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 (test mode) header.i=@o2.pl header.s=1024a header.b=R1drsAbl; 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=o2.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbiB1V3o (ORCPT + 99 others); Mon, 28 Feb 2022 16:29:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbiB1V3k (ORCPT ); Mon, 28 Feb 2022 16:29:40 -0500 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EC5C12F417 for ; Mon, 28 Feb 2022 13:28:59 -0800 (PST) Received: (wp-smtpd smtp.tlen.pl 1081 invoked from network); 28 Feb 2022 22:28:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1646083736; bh=g7R9U2bwvy9Lkf04ixIH6Wouxa60Zi+IJmWsYAWT3Oc=; h=From:To:Cc:Subject; b=R1drsAblz0IAgEgHGcCl12WZxGhsoysEwDMXBTG0A/Tv3C0QH9f4FMVVN0g7nQkBV xYUlkqJBw3GFAM8OWElbepBwPt2RCqJDHrvIk3CNpcUK4fbUJ9YidOcqmJMwA5jkDX C5iBJUVJCFBzIybqx6EtHinPHfJ1PfNMZHSwXdQ8= Received: from aafa139.neoplus.adsl.tpnet.pl (HELO localhost.localdomain) (mat.jonczyk@o2.pl@[83.4.130.139]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 28 Feb 2022 22:28:56 +0100 From: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Subject: [PATCH 04/10] x86/Kconfig: drop X86_32_NON_STANDARD Date: Mon, 28 Feb 2022 22:28:20 +0100 Message-Id: <20220228212826.27080-5-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220228212826.27080-1-mat.jonczyk@o2.pl> References: <20220228212826.27080-1-mat.jonczyk@o2.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: 6fa34dc277ded7db64b1dfbd32d837cf X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [QaME] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,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 This patch drops the "Support non-standard 32-bit SMP architectures" configuration option. Currently, the only such an architecture is STA2X11, so this option is useless. STA2X11 could now be selected independently. The dependency of X86_BIGSMP on X86_32_NON_STANDARD was dropped in 2009, in commit 26f7ef14a76b ("x86: don't treat bigsmp as non-standard") but the help text for X86_32_NON_STANDARD was not updated since. CONFIG_X86_32_NON_STANDARD was used only in arch/x86/Kconfig, so it could be dropped easily. X86_32_NON_STANDARD depended on SMP, so (!SMP && !X86_32_NON_STANDARD) == !SMP and (SMP || X86_32_NON_STANDARD) == SMP Signed-off-by: Mateusz Jończyk Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Cc: "H. Peter Anvin" --- arch/x86/Kconfig | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 727fd3998022..61b58e24dc00 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -724,18 +724,6 @@ config X86_RDC321X as R-8610-(G). If you don't have one of these chips, you should say N here. -config X86_32_NON_STANDARD - bool "Support non-standard 32-bit SMP architectures" - depends on X86_32 && SMP - depends on X86_EXTENDED_PLATFORM - help - This option compiles in the bigsmp and STA2X11 default - subarchitectures. It is intended for a generic binary - kernel. If you select them all, kernel will probe it one by - one and will fallback to default. - -# Alphabetically sorted list of Non standard 32 bit platforms - config X86_SUPPORTS_MEMORY_FAILURE def_bool y # MCE code calls memory_failure(): @@ -747,7 +735,8 @@ config X86_SUPPORTS_MEMORY_FAILURE config STA2X11 bool "STA2X11 Companion Chip Support" - depends on X86_32_NON_STANDARD && PCI + depends on X86_32 && SMP + depends on X86_EXTENDED_PLATFORM && PCI select SWIOTLB select MFD_STA2X11 select GPIOLIB @@ -1074,7 +1063,7 @@ config UP_LATE_INIT config X86_UP_APIC bool "Local APIC support on uniprocessors" if !PCI_MSI default PCI_MSI - depends on X86_32 && !SMP && !X86_32_NON_STANDARD + depends on X86_32 && !SMP help A local APIC (Advanced Programmable Interrupt Controller) is an integrated interrupt controller in the CPU. If you have a single-CPU @@ -1099,7 +1088,7 @@ config X86_UP_IOAPIC config X86_LOCAL_APIC def_bool y - depends on X86_64 || SMP || X86_32_NON_STANDARD || X86_UP_APIC || PCI_MSI + depends on X86_64 || SMP || X86_UP_APIC || PCI_MSI select IRQ_DOMAIN_HIERARCHY select PCI_MSI_IRQ_DOMAIN if PCI_MSI -- 2.25.1