Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp685349pxb; Wed, 29 Sep 2021 07:39:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIZrJS/OmFEUoci05cKLGEZyqzZGpQtkqC8qyE6ZorG1G5lQk56LB5vDBGbkhV9ylWnN9a X-Received: by 2002:aa7:9f5e:0:b0:447:baeb:bc4e with SMTP id h30-20020aa79f5e000000b00447baebbc4emr258850pfr.64.1632926388877; Wed, 29 Sep 2021 07:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632926388; cv=none; d=google.com; s=arc-20160816; b=nG4q3D5ap21KlnqBUokuzsU79BT1V34qDr1gvugxCZTDNrkFjlD3j8w7YHwvrMlKCV E9iG35K9l2FFgevs3Cfm9Pq2+RvS/lNV/Powipvemi8EXQm/nMgg4iaSGmLw14cuLtor H1QA2cMYXjaFdi9bB+3kFsKmTK611aI00WYS6YyN7ZOlZwLUrKIbaVoqFO0bkOA8IC81 xIEICsLFB6nG6hNpNrxIfgVOe49gJRkkrUtkEmA4TdoLJvDzkX+a9e20GcmaPxHOlLwm v0TAvCsQe+daU25rHBgMRo41m2T4ntxcKtp0/R4thvQNBZLkqJ05PT93ZtyDBK60Cawn Antw== 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=kNKyy7DaBqRqZV4jzziHHtYfT7+Eb7HK7caNxBbuDP4=; b=cvwqYl2pwVmTM8OJlR3HzNhyX9DvDvXRLIgyQpCXdC4KhzDL1hphCVqp7wtbRviWC5 uiHN3lh4QDtn4OT+dv/eDTGbi2Wye4CcAHch+Jfv4uW6/1quJBUGVSzojlgpmdDOY5O/ RPdzelzu5T9A2yeUZMYmYKuz1m72yfOPqp5ngdPQn7rXzkPNOCPdhxuOndSf/qb7cF3K XoEq59cGDxuC3qockKh3ZuRkqTxKPheEZAX0MZ4hhvxABEi9VOOl5r+TSsvXDDVS6Lqv BZYCLz1aGzCynAiPWoeysgaZAGGpDFfRZFfX93N3ak6p2rgNMvYx3VfreYjiK5ZDKZdI qE2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GeZg45gB; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nh12si1847283pjb.121.2021.09.29.07.39.33; Wed, 29 Sep 2021 07:39:48 -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=@redhat.com header.s=mimecast20190719 header.b=GeZg45gB; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344515AbhI2Oit (ORCPT + 99 others); Wed, 29 Sep 2021 10:38:49 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:28607 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344507AbhI2Oir (ORCPT ); Wed, 29 Sep 2021 10:38:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632926226; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kNKyy7DaBqRqZV4jzziHHtYfT7+Eb7HK7caNxBbuDP4=; b=GeZg45gBzrCdomlZOiFI4hzl5vCMpfE0VnHHD+LCOxg1dpXsOgYZtLNNxxnnD/zicmg8NY 93zLinZINJKtCAOcwk4bnOAdHKIT/FGGNA2gIU1PQDuYdrgS56ADMk+m0nNrH2hVH/MQiC G+PuH6UpTrhM1FMChbORXVi/uyrfcfI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-355-4nEqwsN3NmWJ6OxW4sg39Q-1; Wed, 29 Sep 2021 10:37:05 -0400 X-MC-Unique: 4nEqwsN3NmWJ6OxW4sg39Q-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A7A2C8064A5; Wed, 29 Sep 2021 14:37:01 +0000 (UTC) Received: from t480s.redhat.com (unknown [10.39.195.135]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8700810016F4; Wed, 29 Sep 2021 14:36:40 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: David Hildenbrand , 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 , Oscar Salvador , 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: [PATCH v1 1/6] mm/memory_hotplug: remove CONFIG_X86_64_ACPI_NUMA dependency from CONFIG_MEMORY_HOTPLUG Date: Wed, 29 Sep 2021 16:35:55 +0200 Message-Id: <20210929143600.49379-2-david@redhat.com> In-Reply-To: <20210929143600.49379-1-david@redhat.com> References: <20210929143600.49379-1-david@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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