From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hildenbrand Date: Fri, 10 Jul 2020 08:30:04 +0000 Subject: Re: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64 Message-Id: <23e79097-6517-a301-b0da-4d5505de3d3f@redhat.com> List-Id: References: <20200710031619.18762-1-justin.he@arm.com> In-Reply-To: <20200710031619.18762-1-justin.he@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jia He , Catalin Marinas , Will Deacon , Tony Luck , Fenghua Yu , Yoshinori Sato , Rich Felker , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov Cc: Kaly Xin , Michal Hocko , Dave Jiang , Baoquan He , linux-sh@vger.kernel.org, Vishal Verma , Masahiro Yamada , x86@kernel.org, Chuhong Yuan , linux-kernel@vger.kernel.org, Mike Rapoport , linux-mm@kvack.org, linux-nvdimm@lists.01.org, Jonathan Cameron , "H. Peter Anvin" , linux-ia64@vger.kernel.org, Dan Williams , Logan Gunthorpe , Andrew Morton , linux-arm-kernel@lists.infradead.org On 10.07.20 05:16, Jia He wrote: > This fixies a few issues when I tried to enable pmem as RAM device on arm64. > > To use memory_add_physaddr_to_nid as a fallback nid, it would be better > implement a general version (__weak) in mm/memory_hotplug. After that, arm64/ > sh/s390 can simply use the general version, and PowerPC/ia64/x86 will use > arch specific version. > > Tested on ThunderX2 host/qemu "-M virt" guest with a nvdimm device. The > memblocks from the dax pmem device can be either hot-added or hot-removed > on arm64 guest. Also passed the compilation test on x86. > > Changes: > v4: - remove "device-dax: use fallback nid when numa_node is invalid", wait > for Dan Williams' phys_addr_to_target_node() patch So, this series no longer does what it promises? "Fix and enable pmem as RAM device on arm64" -- Thanks, David / dhildenb