Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp685750pxb; Wed, 29 Sep 2021 07:40:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYYfXuwPLtDAlYyNv9A0b80jvldSvTbeUpUoqanCH1M6RZDQ6MW6SvbbD+uwGAcxtAtUUk X-Received: by 2002:a50:e089:: with SMTP id f9mr297646edl.290.1632926419900; Wed, 29 Sep 2021 07:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632926419; cv=none; d=google.com; s=arc-20160816; b=bNI411BOsw8iNVjVaDTr2xiQ+cOHwlNDn1/oQ2ccRiJCG4DEUVQ/8fpkMc4Pd/JWKK LKpAj7bW7SG1ZnwW9HN0Q9NleukzQ7PL5GcgLHZLtLJ2T15XlfFd3zC24wtti6xqkqNF 46ZO2vr1r6j4TgYU4vaMdQ7ukoZv0bUuFCC/eRVWieCcdRTbLmEjzb+cRxxokgCvBaTz c8CVrL+iD7Z2HCpVD5h0ezsxJrS2/8ZOqxAuy2ocslcPSCVeOakFXH70DNZHE466GRAq sY0uDxXLV588Oi96MgwJHcpz9Xl+nNYYWOUPrIYKB/+OagVKi9EyZ2ORn6JMgnYNvgVw 1ZwQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nIk9pQetoscf+b27hympjQHq3MQ54pmAnbOf3Iv9ZjU=; b=W54TL2iS+AuFkjN5Zb77ufy5vdAfqXV4L811z6/1d6jARvSdLfO30y5mkx8bW418hn gmBt+ybzUlZFF42PIzJA30XUIrIOyb/9lFMwvEE/vgReRKUqFizdR9O5i7rlnEHdnH2r bt/qcz0O4dukr9zwKIBTrdgvzwx0yrJOTBb39zRFm2iHok3mV1STNaCZP78flELOGonC ydVJ1c8aMg3czFRhCRMcEPtqtoMCZjgdf6Ox4hOi0USPAsVaT9hrhVfvq4qfj+WkwATs C2OnNjzlh5Nq9vkX5lXJdy0KFcLBdrlPdt7bfyNbHZ0l5zkaenSmoLQ62yGw6+4ODzPB +kwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UYNllIXi; 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 i18si174284edc.152.2021.09.29.07.39.55; Wed, 29 Sep 2021 07:40:19 -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=UYNllIXi; 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 S245475AbhI2Oi2 (ORCPT + 99 others); Wed, 29 Sep 2021 10:38:28 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56812 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343534AbhI2Oi1 (ORCPT ); Wed, 29 Sep 2021 10:38:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632926206; 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; bh=nIk9pQetoscf+b27hympjQHq3MQ54pmAnbOf3Iv9ZjU=; b=UYNllIXiXGSXvGQNYPKdLMrrvigJk/vMJQG7+F4p94ydBhuHhRKhqhX/SdczD4SmvAwEqL wBy1oxtca0xipaHWx90zXvHknbyuZ+en2pThGKQ4Nv4M+pCVTj/YTdj9tJ8zKLaorjUKM+ JpVV1Rw6I8GzbR95GyHu01bEs+puKFI= 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-347-HiDlfpr9McK8TyeFjAqzig-1; Wed, 29 Sep 2021 10:36:43 -0400 X-MC-Unique: HiDlfpr9McK8TyeFjAqzig-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 281DB1006AA4; Wed, 29 Sep 2021 14:36:40 +0000 (UTC) Received: from t480s.redhat.com (unknown [10.39.195.135]) by smtp.corp.redhat.com (Postfix) with ESMTP id B51FA10016F4; Wed, 29 Sep 2021 14:36:01 +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 0/6] mm/memory_hotplug: Kconfig and 32 bit cleanups Date: Wed, 29 Sep 2021 16:35:54 +0200 Message-Id: <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 Some cleanups around CONFIG_MEMORY_HOTPLUG, including removing 32 bit leftovers of memory hotplug support. Compile-tested on various architectures, quickly tested memory hotplug on x86-64. Cc: Andrew Morton Cc: Jonathan Corbet Cc: Alex Shi Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: Dave Hansen Cc: Andy Lutomirski Cc: Peter Zijlstra Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Shuah Khan Cc: Michal Hocko Cc: Oscar Salvador Cc: Mike Rapoport Cc: x86@kernel.org Cc: linux-mm@kvack.org Cc: linux-kselftest@vger.kernel.org Cc: linux-doc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: virtualization@lists.linux-foundation.org David Hildenbrand (6): mm/memory_hotplug: remove CONFIG_X86_64_ACPI_NUMA dependency from CONFIG_MEMORY_HOTPLUG mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSE mm/memory_hotplug: restrict CONFIG_MEMORY_HOTPLUG to 64 bit mm/memory_hotplug: remove HIGHMEM leftovers mm/memory_hotplug: remove stale function declarations x86: remove memory hotplug support on X86_32 Documentation/core-api/memory-hotplug.rst | 3 -- .../zh_CN/core-api/memory-hotplug.rst | 4 -- 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 +- arch/x86/Kconfig | 6 +-- arch/x86/mm/init_32.c | 31 --------------- drivers/base/Makefile | 2 +- drivers/base/node.c | 9 ++--- drivers/virtio/Kconfig | 2 +- include/linux/memory.h | 19 ++++------ include/linux/memory_hotplug.h | 3 -- include/linux/node.h | 4 +- lib/Kconfig.debug | 2 +- mm/Kconfig | 8 +--- mm/memory_hotplug.c | 38 +------------------ tools/testing/selftests/memory-hotplug/config | 1 - 18 files changed, 28 insertions(+), 114 deletions(-) base-commit: 5816b3e6577eaa676ceb00a848f0fd65fe2adc29 -- 2.31.1