From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B2A5C433F5 for ; Tue, 5 Oct 2021 14:23:47 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3BBA96120F for ; Tue, 5 Oct 2021 14:23:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 3BBA96120F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HP0FD54D9z305g for ; Wed, 6 Oct 2021 01:23:44 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=google header.b=G6WOlcyf; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linuxfoundation.org (client-ip=2607:f8b0:4864:20::c2c; helo=mail-oo1-xc2c.google.com; envelope-from=skhan@linuxfoundation.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=google header.b=G6WOlcyf; dkim-atps=neutral Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HP0DQ72gdz2xY2 for ; Wed, 6 Oct 2021 01:23:01 +1100 (AEDT) Received: by mail-oo1-xc2c.google.com with SMTP id b5-20020a4ac285000000b0029038344c3dso6451741ooq.8 for ; Tue, 05 Oct 2021 07:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xF+jNwW5BFEV+lIRF79mZl5w3T2WmTQ1n+ANOqGSM58=; b=G6WOlcyfrBgIu0kBXl6Bx3ZoUEQr6/41sXdy6lq/sSgNafvyAemd+dwNdapXnV3vQ4 UKifj/kxPStJlaVPMTA9ab+lLDZY4sQ2+f2wY++qX7vRBaVpW5zNTqa9fFNe98irLV3S GVWYWVhmPK8KnUJNQ+LADA8ROn56XNvBR+c+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xF+jNwW5BFEV+lIRF79mZl5w3T2WmTQ1n+ANOqGSM58=; b=wYM+RetsWqrJEkBqkvITg6Iz9DKPM4DeKnlTMGFdS2gG+/14c1IRL7szi79KY2lwI+ xMiTzOMFaZDjEXkK/5pNXdXNOP09Ipyu1YTFLK65VUUFEBEPboUmASpTp5e3BDzeFHRV aNwFjjX2ZgGwUYFa9NzhmI/ggWn/4vH7jEnB8OyTWp/Imyuc2SH2JqhuqHJJPTQ6i6dG CS2LBDBzSndVnYZ2T48rzz2dKs0TtrMEwxspGQuEv58Bnt6GSvXmrrJBhChzscDQUHc4 fl9GSoxA0jXzrdrraP/RXDZeDheTpfVxfcQUOYQsncJUV9aHSl7R9eOu6Rr2YcY0aQ/7 sPoQ== X-Gm-Message-State: AOAM533ha6Uo9Aw/x+wEps8ygukvT1by/07/tqDQ5ZWpTPoNyIjN+xMH pkgoc4M0SN51JwIr5VCxxQAPZg== X-Google-Smtp-Source: ABdhPJyBcGscPewH1ZEk7sJd92chljhW3DetsHnRNw1RAHBxKccwA91AIJhkvrbu0pKqg5g+Lc7jUQ== X-Received: by 2002:a05:6820:358:: with SMTP id m24mr13754323ooe.34.1633443777284; Tue, 05 Oct 2021 07:22:57 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id v9sm1382374oth.62.2021.10.05.07.22.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Oct 2021 07:22:56 -0700 (PDT) Subject: Re: [PATCH v1 2/6] mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSE To: David Hildenbrand , linux-kernel@vger.kernel.org References: <20210929143600.49379-1-david@redhat.com> <20210929143600.49379-3-david@redhat.com> From: Shuah Khan Message-ID: <0489ea97-0a78-0299-335a-ca1166bb2735@linuxfoundation.org> Date: Tue, 5 Oct 2021 08:22:54 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210929143600.49379-3-david@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michal Hocko , "Michael S. Tsirkin" , Peter Zijlstra , Jason Wang , Dave Hansen , virtualization@lists.linux-foundation.org, linux-mm@kvack.org, Paul Mackerras , linux-kselftest@vger.kernel.org, "H. Peter Anvin" , Shuah Khan , Alex Shi , Jonathan Corbet , x86@kernel.org, Ingo Molnar , Borislav Petkov , Andy Lutomirski , Shuah Khan , Thomas Gleixner , Oscar Salvador , Greg Kroah-Hartman , linux-doc@vger.kernel.org, "Rafael J. Wysocki" , Andrew Morton , linuxppc-dev@lists.ozlabs.org, Mike Rapoport Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 9/29/21 8:35 AM, David Hildenbrand wrote: > CONFIG_MEMORY_HOTPLUG depends on CONFIG_SPARSEMEM, so there is no need for > CONFIG_MEMORY_HOTPLUG_SPARSE anymore; adjust all instances to use > CONFIG_MEMORY_HOTPLUG and remove CONFIG_MEMORY_HOTPLUG_SPARSE. > > Signed-off-by: David Hildenbrand > --- > arch/powerpc/include/asm/machdep.h | 2 +- > arch/powerpc/kernel/setup_64.c | 2 +- > arch/powerpc/platforms/powernv/setup.c | 4 ++-- > arch/powerpc/platforms/pseries/setup.c | 2 +- > drivers/base/Makefile | 2 +- > drivers/base/node.c | 9 ++++----- > drivers/virtio/Kconfig | 2 +- > include/linux/memory.h | 18 +++++++----------- > include/linux/node.h | 4 ++-- > lib/Kconfig.debug | 2 +- > mm/Kconfig | 4 ---- > mm/memory_hotplug.c | 2 -- > tools/testing/selftests/memory-hotplug/config | 1 - > 13 files changed, 21 insertions(+), 33 deletions(-) > > { > diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config > index a7e8cd5bb265..1eef042a31e1 100644 > --- a/tools/testing/selftests/memory-hotplug/config > +++ b/tools/testing/selftests/memory-hotplug/config > @@ -1,5 +1,4 @@ > CONFIG_MEMORY_HOTPLUG=y > -CONFIG_MEMORY_HOTPLUG_SPARSE=y > CONFIG_NOTIFIER_ERROR_INJECTION=y > CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m > CONFIG_MEMORY_HOTREMOVE=y > For Kselftest change: Acked-by: Shuah Khan thanks, -- Shuah