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

2020-07-10 Thread Dan Williams
On Thu, Jul 9, 2020 at 8:17 PM 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 si

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

2020-07-10 Thread Justin He
.@lists.infradead.org; linux-kernel@vger.kernel.org; linux- > i...@vger.kernel.org; linux...@vger.kernel.org; linux-nvd...@lists.01.org; > linux...@kvack.org; Jonathan Cameron ; Kaly > Xin > Subject: Re: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64 > > On 10.07.20 05:16, J

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

2020-07-10 Thread David Hildenbrand
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 g

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

2020-07-09 Thread Jia He
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 u