From patchwork Mon Jul 6 01:19:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jia He X-Patchwork-Id: 11644795 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9026C739 for ; Mon, 6 Jul 2020 01:20:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 69C202074F for ; Mon, 6 Jul 2020 01:20:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69C202074F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 848926B0003; Sun, 5 Jul 2020 21:20:05 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 7FA206B0005; Sun, 5 Jul 2020 21:20:05 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7364F6B0006; Sun, 5 Jul 2020 21:20:05 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0160.hostedemail.com [216.40.44.160]) by kanga.kvack.org (Postfix) with ESMTP id 5E00F6B0003 for ; Sun, 5 Jul 2020 21:20:05 -0400 (EDT) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E99B98248047 for ; Mon, 6 Jul 2020 01:20:04 +0000 (UTC) X-FDA: 77005894728.06.fog15_1b15cb126ea7 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin06.hostedemail.com (Postfix) with ESMTP id B8A5010042622 for ; Mon, 6 Jul 2020 01:20:04 +0000 (UTC) X-Spam-Summary: 1,0,0,94b4b349c0a25bed,d41d8cd98f00b204,justin.he@arm.com,,RULES_HIT:41:355:379:541:988:989:1260:1261:1345:1437:1534:1538:1567:1711:1714:1730:1747:1777:1792:2194:2199:2393:2559:2562:3138:3139:3140:3141:3142:3867:3871:4250:5007:6261:8634:10004:11026:11658:11914:12296:12297:12895:13069:13311:13357:14384:14394:14721:21080:21451:21627:30054,0,RBL:217.140.110.172:@arm.com:.lbl8.mailshell.net-64.100.201.201 62.2.0.100;04ygn5qbo9fsbw79dgowt9d9dxdupophjn95i95aio3f5h7d4rejz3w1fgj9yji.6oa83mj4c533cixxie117jq87ayghufc5qg9zes3s1fyc3d8jb35dihruth8gmm.y-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:32,LUA_SUMMARY:none X-HE-Tag: fog15_1b15cb126ea7 X-Filterd-Recvd-Size: 1635 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf23.hostedemail.com (Postfix) with ESMTP for ; Mon, 6 Jul 2020 01:20:04 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8925030E; Sun, 5 Jul 2020 18:20:03 -0700 (PDT) Received: from localhost.localdomain (entos-thunderx2-02.shanghai.arm.com [10.169.212.213]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 238193F718; Sun, 5 Jul 2020 18:19:59 -0700 (PDT) From: Jia He To: Catalin Marinas , Will Deacon Cc: Andrew Morton , Mike Rapoport , Baoquan He , Chuhong Yuan , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Kaly Xin , Jia He Subject: [PATCH 0/3] Fix and enable pmem as RAM on arm64 Date: Mon, 6 Jul 2020 09:19:44 +0800 Message-Id: <20200706011947.184166-1-justin.he@arm.com> X-Mailer: git-send-email 2.17.1 X-Rspamd-Queue-Id: B8A5010042622 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: This fix a few issues when I tried to enable pmem as RAM device on arm64. Tested on ThunderX2 host/qemu "-M virt" guest. Jia He (3): arm64/numa: set numa_off to false when numa node is fake mm/memory_hotplug: harden try_offline_node against bogus nid mm/memory_hotplug: fix unpaired mem_hotplug_begin/done arch/arm64/mm/numa.c | 3 ++- mm/memory_hotplug.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-)