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

Justin He Justin.He at arm.com
Fri Jul 10 09:13:51 EDT 2020


Hi David
> -----Original Message-----
> From: David Hildenbrand <david at redhat.com>
> Sent: Friday, July 10, 2020 4:30 PM
> To: Justin He <Justin.He at arm.com>; Catalin Marinas
> <Catalin.Marinas at arm.com>; Will Deacon <will at kernel.org>; Tony Luck
> <tony.luck at intel.com>; Fenghua Yu <fenghua.yu at intel.com>; Yoshinori Sato
> <ysato at users.sourceforge.jp>; Rich Felker <dalias at libc.org>; Dave Hansen
> <dave.hansen at linux.intel.com>; Andy Lutomirski <luto at kernel.org>; Peter
> Zijlstra <peterz at infradead.org>; Thomas Gleixner <tglx at linutronix.de>;
> Ingo Molnar <mingo at redhat.com>; Borislav Petkov <bp at alien8.de>
> Cc: x86 at kernel.org; H. Peter Anvin <hpa at zytor.com>; Dan Williams
> <dan.j.williams at intel.com>; Vishal Verma <vishal.l.verma at intel.com>; Dave
> Jiang <dave.jiang at intel.com>; Andrew Morton <akpm at linux-foundation.org>;
> Baoquan He <bhe at redhat.com>; Chuhong Yuan <hslester96 at gmail.com>; Mike
> Rapoport <rppt at linux.ibm.com>; Logan Gunthorpe <logang at deltatee.com>;
> Masahiro Yamada <masahiroy at kernel.org>; Michal Hocko <mhocko at suse.com>;
> linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org; linux-
> ia64 at vger.kernel.org; linux-sh at vger.kernel.org; linux-nvdimm at lists.01.org;
> linux-mm at kvack.org; Jonathan Cameron <Jonathan.Cameron at Huawei.com>; Kaly
> Xin <Kaly.Xin at arm.com>
> Subject: Re: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64
> 
> 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"
> 
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)




More information about the linux-arm-kernel mailing list