Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3964411rwn; Sun, 11 Sep 2022 02:05:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR7pKbVMk1ZOINTHdjwgLjgJ1JespqvzppmIF+Q0Dps5brqnUbJlFGnx6p+IJSta7jhWyhgu X-Received: by 2002:a50:ed0f:0:b0:44e:89d7:1ae1 with SMTP id j15-20020a50ed0f000000b0044e89d71ae1mr18617168eds.174.1662887122771; Sun, 11 Sep 2022 02:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662887122; cv=none; d=google.com; s=arc-20160816; b=SDAXVIvXsXvTiXJI9NFjfjX0D9p3OfcH5IqeplUPFxQBg+k0dO4SexmWda29/dF8fI 2FHZcdkUW18WqZt/Q5qkLjWkXMQ4gwKYLp0dAKYylYZW9o1CAf3h4bxawNeXuJLL1nzN OUruo59/NjQrZL+MK2l7NfIxeKDqP135pTGOSsG5ksr+abzvMWJYxIIK6Hgqs/pn2OaZ 40V+HmYLl871MNV7YqO7nQCvsMJB7w1XrnDyRK254qIYxsldMQf62N7K2OIYkFtTMM0p doRaQQ6LoDtVU2KOORyCFPSlZAShNjeGkigICrNo513oX0s9m3iuNGN+cuCulKlvG1/N Tt2g== 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=vIU+pYyiZqffoa9XSPfAbtCZ4n9Cipl0lCAjnwdsgs8=; b=wGNyXbThTK+bmD2d8LTTVbJJfAjuNjeprZgRUg+QumpQ2VaFPX0AO7tw1XCS5R/gWd 8bPqYB/Y9YhLdUnbRBefV2Xcv9pp840nc8tS4kTKb0SWtSd/zi3B4v7Ff0mZA11smbmv j0qAYHF+2p/lGwtDf+EakdJ2PG8ocSv1cw885PoYkJTLFwFUB/Y9Qvndebn1D2gsT59D +nJgphBUdUAJ/kbc6Uz2J7ZxFQDzRd4GIFrqu3eR3o3OWDTDdOyfiNNMNO+nwgpDcjxg 15BWM4dPXlizkTfbYqdY2TUlFVw6YBAeAy/IhBVZuYKPmSfZtAvz8gNmXjvfCHgzV2Kw OJCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=XtMTJNOr; 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 u3-20020a50c043000000b004475e4ba530si4473188edd.431.2022.09.11.02.04.56; Sun, 11 Sep 2022 02:05:22 -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 (test mode) header.i=@o2.pl header.s=1024a header.b=XtMTJNOr; 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 S230036AbiIKIsC (ORCPT + 99 others); Sun, 11 Sep 2022 04:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229974AbiIKIrt (ORCPT ); Sun, 11 Sep 2022 04:47:49 -0400 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBC8A3206E for ; Sun, 11 Sep 2022 01:47:48 -0700 (PDT) Received: (wp-smtpd smtp.tlen.pl 16400 invoked from network); 11 Sep 2022 10:47:46 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1662886066; bh=vIU+pYyiZqffoa9XSPfAbtCZ4n9Cipl0lCAjnwdsgs8=; h=From:To:Cc:Subject; b=XtMTJNOrLLmaoh3u2S2l7mRmcRrnh5zBe0eSqTo5/WHeqIHKaObBg919BI9cLHoGa glzUVoAwI0Kw2DvP1DE7JOimXvu/pVhL204lME2zxqeJYfYEZBJeXWr45F9qLW7a8E XYR9MWDHuAWDaf1MYUCwl31t7vMai6n2AQU6ZYvk= Received: from aafh243.neoplus.adsl.tpnet.pl (HELO localhost.localdomain) (mat.jonczyk@o2.pl@[83.4.137.243]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 11 Sep 2022 10:47:46 +0200 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" , Kees Cook Subject: [PATCH v2 03/10] x86/Kconfig: always enable ARCH_SPARSEMEM_ENABLE Date: Sun, 11 Sep 2022 10:47:04 +0200 Message-Id: <20220911084711.13694-4-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220911084711.13694-1-mat.jonczyk@o2.pl> References: <20220911084711.13694-1-mat.jonczyk@o2.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: 8cba2fd5504c7f8c4ec837be5678c50e X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [oeME] 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_H2, 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 It appears that (X86_64 || X86_32) is always true on x86. This logical OR directive was introduced in commit 6ea3038648da ("arch/x86: remove depends on CONFIG_EXPERIMENTAL") probably by a trivial mistake. Fixes: 6ea3038648da ("arch/x86: remove depends on CONFIG_EXPERIMENTAL") 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" Cc: Kees Cook --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 28133b5d3f12..70bf4df73fa2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1625,7 +1625,6 @@ config ARCH_FLATMEM_ENABLE config ARCH_SPARSEMEM_ENABLE def_bool y - depends on X86_64 || NUMA || X86_32 || X86_32_NON_STANDARD select SPARSEMEM_STATIC if X86_32 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 -- 2.25.1