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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9125C28CC2 for ; Thu, 30 May 2019 04:23:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A2B3125385 for ; Thu, 30 May 2019 04:23:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uubMsm/K" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A2B3125385 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0chSW71leciYZ6PYczIo35aQdB7HKhKReBzMjbNytUg=; b=uubMsm/K1dDesI 37xgv3Dndwxp2EEgXSGlfETjkO1pt+4yf1WoT6cJthRwf4shrUo+RDjvvtcgPBDbwIqwuMw4EOIlk uePri7lEX+AzytiMwCW8KLNuXf2t3sQzexNl9n0i4apfULjGwBTjGreYA/Ip4ttIMESwwcjL+zbeX +2avVxLXXwaCZrhDpFqy9riSY30NdLq/kcBAFNLyM5iQdIdORzkk8y1afu2RTLO6xhVoOmqH2DNDJ 0iArRhmvas5f/l4gFYT1IKUrYgCln3kmWIxM7KwwH+iR+Nb/Eu7lGplT/wNFH1+xaKXYMNgfjbqlp LxDBKs//yCYC8eNza4xA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWCbR-0004Mf-Ac; Thu, 30 May 2019 04:23:45 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWCbO-0004Lb-Jt for linux-arm-kernel@lists.infradead.org; Thu, 30 May 2019 04:23:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 105F1374; Wed, 29 May 2019 21:23:37 -0700 (PDT) Received: from [10.162.40.143] (p8cg001049571a15.blr.arm.com [10.162.40.143]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id ED62B3F5AF; Wed, 29 May 2019 21:23:30 -0700 (PDT) Subject: Re: [PATCH V5 0/3] arm64/mm: Enable memory hot remove To: Andrew Morton References: <1559121387-674-1-git-send-email-anshuman.khandual@arm.com> <20190529150611.fc27dee202b4fd1646210361@linux-foundation.org> From: Anshuman Khandual Message-ID: Date: Thu, 30 May 2019 09:53:43 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190529150611.fc27dee202b4fd1646210361@linux-foundation.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190529_212342_659320_D37C847B X-CRM114-Status: GOOD ( 15.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, mhocko@suse.com, mgorman@techsingularity.net, david@redhat.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, logang@deltatee.com, arunks@codeaurora.org, cai@lca.pw, ard.biesheuvel@arm.com, cpandya@codeaurora.org, james.morse@arm.com, dan.j.williams@intel.com, ira.weiny@intel.com, linux-arm-kernel@lists.infradead.org, osalvador@suse.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 05/30/2019 03:36 AM, Andrew Morton wrote: > On Wed, 29 May 2019 14:46:24 +0530 Anshuman Khandual wrote: > >> This series enables memory hot remove on arm64 after fixing a memblock >> removal ordering problem in generic __remove_memory() and one possible >> arm64 platform specific kernel page table race condition. This series >> is based on latest v5.2-rc2 tag. > > Unfortunately this series clashes syntactically and semantically with > David Hildenbrand's series "mm/memory_hotplug: Factor out memory block > devicehandling". Could you and David please figure out what we should > do here? > Hello Andrew, I was able to apply the above mentioned V3 series [1] from David with some changes listed below which tests positively on arm64. These changes assume that the arm64 hot-remove series (current V5) gets applied first. Changes to David's series A) Please drop (https://patchwork.kernel.org/patch/10962565/) [v3,04/11] - arch_remove_memory() is already being added through hot-remove series B) Rebase (https://patchwork.kernel.org/patch/10962575/) [v3, 06/11] - arm64 hot-remove series adds CONFIG_MEMORY_HOTREMOVE wrapper around arch_remove_memory() which can be dropped in the rebased patch C) Rebase (https://patchwork.kernel.org/patch/10962589/) [v3, 09/11] - hot-remove series moves arch_remove_memory() before memblock_[free|remove]() - So remove_memory_block_devices() should be moved before arch_remove_memory() in it's new position David, Please do let me know if the plan sounds good or you have some other suggestions. - Anshuman [1] https://patchwork.kernel.org/project/linux-mm/list/?series=123133 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel