Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1131552pxb; Thu, 7 Oct 2021 01:10:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkAeFtiPGBUygFzwmQ9Cx7p6bIDrKlu54HVbjiyStCU6anrUVqshJbRQZTtFEy6KXT5enU X-Received: by 2002:aa7:8f01:0:b0:447:8167:46c1 with SMTP id x1-20020aa78f01000000b00447816746c1mr3012366pfr.30.1633594235954; Thu, 07 Oct 2021 01:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633594235; cv=none; d=google.com; s=arc-20160816; b=Cs4c0UJOcoO03sg6QpBL0bo+TtltyiatN3cPauwtpdPhYG+Z1Zu0mRYiEt9Kfu7/i1 OJllWQrlgX7zpdzPRJ1foabezj7bg8Kn382MUubvwF9hs+CFXYeaPktMKb8fpQq7d03I W4RnAu5NuQpOna+p6LsfZVTshhyA2BS/Yk7Nd0+SbhLpmQfZCSmObVV8WoAM2uDTM1t8 7YySwMyAJJMENSF7t28wYovSQf435EL6DfysG+ub/F0+1EVaNbjYx5Nk14LIsa718hFz V8mqYY123KZIjNvQRZysxD51BSXbrlJvD/MGYSkQHfkRV0DZEoviSmDs/ytSc/UAT37+ bUcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=vZ78DbAR+r/e/r6GYTwg4MxP7fk6xf1yQWORN1dcpaw=; b=mcWzTyYVTzmZTKsBwpUD3vS59Q8mki6+8pS+rp2X50T4/fyIqA1BqiSjI6kmh5J7oH QwZKj8a6y3VgDPoVUU/WN5wl1MDACWpAXq+0FKn3jh5WZkjxLmIbLDY/Uag5CNOIQ2rG 49u0AH8ypMKApoKaBoGFbE7HR1rNA1bZaZA63vL4Dlg24D+VhK18YhvToqbPDuSzG7X5 iBYg05o2GSnT+5z6HCf+V7avQeQuLlfuNFNu8VgGx6KkSLCIXyCL3dyqA7UClcnFDEP+ EimcMqjqyZMDBeLonU8GkChImSoYTfslHZtlho3LhD423nKPLWzsPBhqc5M67EFyOWhG IihQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="p/Sjmspu"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si7816769pfb.259.2021.10.07.01.10.22; Thu, 07 Oct 2021 01:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="p/Sjmspu"; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240591AbhJGILD (ORCPT + 99 others); Thu, 7 Oct 2021 04:11:03 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:36256 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240607AbhJGILB (ORCPT ); Thu, 7 Oct 2021 04:11:01 -0400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9CFFE225F4; Thu, 7 Oct 2021 08:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1633594146; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vZ78DbAR+r/e/r6GYTwg4MxP7fk6xf1yQWORN1dcpaw=; b=p/Sjmspufjnzjjein9NvN3QmLYZhdyAyB0P0BiEw/nO0oDKX6ZKsoQDpDfFMhkcKuArLRN fPH4WEuNCqaQ9xxgOiNhGRVVrXuN1qC+dLhq3H65JcZz//9vtSrXeX6sw73n9G6uYsPW0s 2H+6gC3mhVlYrBwHlU2eArtih6Dm2FY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1633594146; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=vZ78DbAR+r/e/r6GYTwg4MxP7fk6xf1yQWORN1dcpaw=; b=d7GACDCTta4X67QvurOXYEnWzqbvKqOo3kXRGX7FXuY1MWnD0h4KBmo3KUWYLvUGJahujc q2Aj7atscFaMIcDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2CC2813A9B; Thu, 7 Oct 2021 08:09:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id i1ruByGrXmEPEAAAMHmgww (envelope-from ); Thu, 07 Oct 2021 08:09:05 +0000 Date: Thu, 7 Oct 2021 10:09:03 +0200 From: Oscar Salvador To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, Andrew Morton , Jonathan Corbet , Alex Shi , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Greg Kroah-Hartman , "Rafael J. Wysocki" , "Michael S. Tsirkin" , Jason Wang , Shuah Khan , Michal Hocko , Mike Rapoport , x86@kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-doc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v1 1/6] mm/memory_hotplug: remove CONFIG_X86_64_ACPI_NUMA dependency from CONFIG_MEMORY_HOTPLUG Message-ID: References: <20210929143600.49379-1-david@redhat.com> <20210929143600.49379-2-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210929143600.49379-2-david@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 04:35:55PM +0200, David Hildenbrand wrote: > SPARSEMEM is the only possible memory model for x86-64, FLATMEM is not > possible: > config ARCH_FLATMEM_ENABLE > def_bool y > depends on X86_32 && !NUMA > > And X86_64_ACPI_NUMA (obviously) only supports x86-64: > config X86_64_ACPI_NUMA > def_bool y > depends on X86_64 && NUMA && ACPI && PCI > > Let's just remove the CONFIG_X86_64_ACPI_NUMA dependency, as it does no > longer make sense. > > Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador > --- > mm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/Kconfig b/mm/Kconfig > index d16ba9249bc5..b7fb3f0b485e 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -123,7 +123,7 @@ config ARCH_ENABLE_MEMORY_HOTPLUG > config MEMORY_HOTPLUG > bool "Allow for memory hot-add" > select MEMORY_ISOLATION > - depends on SPARSEMEM || X86_64_ACPI_NUMA > + depends on SPARSEMEM > depends on ARCH_ENABLE_MEMORY_HOTPLUG > depends on 64BIT || BROKEN > select NUMA_KEEP_MEMINFO if NUMA > -- > 2.31.1 > > -- Oscar Salvador SUSE Labs