Thread (6 messages) 6 messages, 3 authors, 2020-07-10

RE: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64

From: Justin He <hidden>
Date: 2020-07-10 13:14:10
Also in: linux-mm, linux-sh, lkml, nvdimm

Hi David
-----Original Message-----
From: David Hildenbrand <redacted>
Sent: Friday, July 10, 2020 4:30 PM
To: Justin He <redacted>; Catalin Marinas
[off-list ref]; Will Deacon [off-list ref]; Tony Luck
[off-list ref]; Fenghua Yu [off-list ref]; Yoshinori Sato
[off-list ref]; Rich Felker [off-list ref]; Dave Hansen
[off-list ref]; Andy Lutomirski [off-list ref]; Peter
Zijlstra [off-list ref]; Thomas Gleixner [off-list ref];
Ingo Molnar [off-list ref]; Borislav Petkov [off-list ref]
Cc: x86@kernel.org; H. Peter Anvin <hpa@zytor.com>; Dan Williams
[off-list ref]; Vishal Verma [off-list ref]; Dave
Jiang [off-list ref]; Andrew Morton [off-list ref];
Baoquan He [off-list ref]; Chuhong Yuan [off-list ref]; Mike
Rapoport [off-list ref]; Logan Gunthorpe [off-list ref];
Masahiro Yamada [off-list ref]; Michal Hocko [off-list ref];
linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; linux-
ia64@vger.kernel.org; linux-sh@vger.kernel.org; linux-nvdimm@lists.01.org;
linux-mm@kvack.org; Jonathan Cameron [off-list ref]; Kaly
Xin [off-list ref]
Subject: Re: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64

On 10.07.20 05:16, Jia He wrote:
quoted
This fixies a few issues when I tried to enable pmem as RAM device on
arm64.
quoted
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/
quoted
sh/s390 can simply use the general version, and PowerPC/ia64/x86 will
use
quoted
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
quoted
on arm64 guest. Also passed the compilation test on x86.

Changes:
v4: - remove "device-dax: use fallback nid when numa_node is invalid",
wait
quoted
      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"
Hmm, a little bit awkward but seems no long what it promises. How about
sending patch1 patch2 individually without this cover-letter?

--
Cheers,
Justin (Jia He)


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help