Message ID | 20231128090016.29676-1-lukas.bulwahn@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3775491vqx; Tue, 28 Nov 2023 01:01:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9O+ibJSweCtdzLatjJFprtzxnAUaLhTspJQytxe59gt88utml1wWJ8NGIBB4eJfh0GAN6 X-Received: by 2002:a05:6870:40c3:b0:1fa:2d82:b89a with SMTP id l3-20020a05687040c300b001fa2d82b89amr12341694oal.3.1701162090879; Tue, 28 Nov 2023 01:01:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701162090; cv=none; d=google.com; s=arc-20160816; b=q98q2F4KHcEsh13JPn+aEWkuI/MzhlQvzuvTtYNSNzmTOCRoCSGw5zxSn6owTDj39g zqQZf/l+TZa0h5rUy+6h7Y07+cJV5goZyewCQoeeehclu54hfEiGYFdSiv0Vdua6BKwT acJyago32xR/a8uU2ZPiYuwoEh1SAncAqMmXLqC3HLicAACs3X9fvZCRndP/qaq+aa/T GUAs/Y6VFhJDvsNPZhu31stoIkZYo3rLN7YKJMS/8em00GyGR81ogsbffBSlhkTpYJK9 3tAkdyNxO9BZ3dHPu0RQnT+NqEoTrlidaI+8+mfCHos80GdiIv3vefFEqV84uUTXA/rT +uqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=+isXMkl09WtDb5Nbq8kvBnUQhwVA4Qbwhz1mogdzPNo=; fh=7v/KYMktkpUyw2wtDi+zginTnvAEY925YlxKI4dOia0=; b=LNTneO3FxZsnFGeCNr+lSLcQD7dgNrYzIWeg/UPnYPxIb0BpdpXoHTIGxXUHKMeBcI 1G0yBMVpnsTeo51/donn+43BgidMK1jivvWPp0PaGe/IJeOrSTSxydzHAZ0uDJzKTeQ2 gK89EbgLuXrMmQnvVJBUsRnPxToUkSTcgzREvq+slpd//nzhgrj7aI8VBG73GFtlLJbJ ioxOEZjANK6o4x4vAxkryh5dWnVD2cNTmHNgu36mhf5GuxfEb2CvollgYbmLxPYeOKyz Yl8ZyBVPSZHiIWOy81Nniz3arSDhFz9HTYQ/jFgTBBZv+W8p7uIej3YfqGhDeNqk/NqM rfWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aEnDaViG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g9-20020a056870214900b001f5ae4e06b4si4596163oae.140.2023.11.28.01.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 01:01:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aEnDaViG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2CE5A807FD5F; Tue, 28 Nov 2023 01:00:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234643AbjK1JAT (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 28 Nov 2023 04:00:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231902AbjK1JAQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 28 Nov 2023 04:00:16 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB2AF18D; Tue, 28 Nov 2023 01:00:21 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40b3e2f8ec5so23321575e9.1; Tue, 28 Nov 2023 01:00:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701162020; x=1701766820; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+isXMkl09WtDb5Nbq8kvBnUQhwVA4Qbwhz1mogdzPNo=; b=aEnDaViGJzOecEkHSawEXHlb7q4qHj0n/ft3FTB7pbujoWRHcvZIoTZRzIKZLlQEBC arH5iFVaX6NCe5W/5pMZI9U8M0dBRpVWJhN/7niwTaqh3LYJrFYqZiljYH1xx4sKGZih iYdedYMzVJ/HnbjLaOgcgnycL9AeFS5Iin7LFTXWAclDb/ox4nIzfCscOz21JD4dMcNu 5zPQeG942KfOuOrFEXDBF0/8PDH4aXQlkyH5qJMRFqp7aOnasYtSAAcNd7KvW98CuH5N bqglnFXmHlP6Oc3ACiybqinjyxGgVdyh9Kz5v7Vu5m7LFrLfe8Mm45Mnb7E18ALJs2y4 1oZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701162020; x=1701766820; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+isXMkl09WtDb5Nbq8kvBnUQhwVA4Qbwhz1mogdzPNo=; b=R0NDQtM5xEI9Uvq80cHOHQhFDMHxIXOdLG5W8lP4/lpB7e/mfkLtdV+wWm8oBHo/Sk f7ZYoTH6l/iP8Vcqj4W6Lo3TP0VI7ocJv//NRNlM10D2XZ411xDk2wkSIEhSx56b5KEL PkhfJN59g88WsihF666YyfRugQcocpf5yp5XvjnkRc8FQ7B82J8h8N6Le2U0o7Wg7PQn cjJxA4x1t3Y75Q3ZdprFKDB/rZzzV8KRRCQGjkw9YYP03wdSdXEs053tbpwpSmhPHKvF ur87jYV+s7yCsDmpzMflX3rGwREXD9NfQuvkKAADOSpzZfxH/jXFHLGvyHA615m4shwA lkWg== X-Gm-Message-State: AOJu0Yyiu9qabCVvPZkWHLtGmT6JQh7xuLYhZ7qfwhtXfJIQC9hhSMDU JrueJZkxn7PiOsmwv2SBO+Q= X-Received: by 2002:a05:600c:296:b0:40b:47dc:9b9d with SMTP id 22-20020a05600c029600b0040b47dc9b9dmr2992720wmk.40.1701162020053; Tue, 28 Nov 2023 01:00:20 -0800 (PST) Received: from felia.fritz.box ([2a02:810d:7e40:14b0:bc53:e481:4bb:faea]) by smtp.gmail.com with ESMTPSA id h4-20020a05600c350400b0040b34720206sm16644705wmq.12.2023.11.28.01.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 01:00:19 -0800 (PST) From: Lukas Bulwahn <lukas.bulwahn@gmail.com> To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, x86@kernel.org Cc: "H . Peter Anvin" <hpa@zytor.com>, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn <lukas.bulwahn@gmail.com> Subject: [PATCH RESEND] x86/Kconfig: Remove obsolete config X86_32_SMP Date: Tue, 28 Nov 2023 10:00:16 +0100 Message-Id: <20231128090016.29676-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 01:00:29 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783797740630762294 X-GMAIL-MSGID: 1783797740630762294 |
Series |
[RESEND] x86/Kconfig: Remove obsolete config X86_32_SMP
|
|
Commit Message
Lukas Bulwahn
Nov. 28, 2023, 9 a.m. UTC
Commit 0f08c3b22996 ("x86/smp: Reduce code duplication") removes the only
use of CONFIG_X86_32_SMP.
Remove the obsolete config X86_32_SMP.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
I sent this cleanup patch in March 2023 and it did not get any attention:
https://lore.kernel.org/lkml/20230317101621.14413-1-lukas.bulwahn@gmail.com/
It is just minor cleanup, but it also should not cause any issue.
This can be quickly checked with grep "X86_32_SMP" . -R and seeing that
this is only mentioned in arch/x86/Kconfig in this one definition.
No change here other than rebasing the original patch.
arch/x86/Kconfig | 4 ----
1 file changed, 4 deletions(-)
Comments
On 11/28/23 01:00, Lukas Bulwahn wrote: > Commit 0f08c3b22996 ("x86/smp: Reduce code duplication") removes the only > use of CONFIG_X86_32_SMP. > > Remove the obsolete config X86_32_SMP. > > Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > > I sent this cleanup patch in March 2023 and it did not get any attention: > > https://lore.kernel.org/lkml/20230317101621.14413-1-lukas.bulwahn@gmail.com/ > > It is just minor cleanup, but it also should not cause any issue. > This can be quickly checked with grep "X86_32_SMP" . -R and seeing that > this is only mentioned in arch/x86/Kconfig in this one definition. > > No change here other than rebasing the original patch. > > arch/x86/Kconfig | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 21890efbfdd8..d7d1ef3d2684 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -384,10 +384,6 @@ config HAVE_INTEL_TXT > def_bool y > depends on INTEL_IOMMU && ACPI > > -config X86_32_SMP > - def_bool y > - depends on X86_32 && SMP > - > config X86_64_SMP > def_bool y > depends on X86_64 && SMP
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 21890efbfdd8..d7d1ef3d2684 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -384,10 +384,6 @@ config HAVE_INTEL_TXT def_bool y depends on INTEL_IOMMU && ACPI -config X86_32_SMP - def_bool y - depends on X86_32 && SMP - config X86_64_SMP def_bool y depends on X86_64 && SMP