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

2020-07-31 Thread Dan Williams
On Wed, Jul 8, 2020 at 7:06 PM Jia He wrote: > > This fixies a few issues when I tried to enable pmem as RAM device on arm64. What NVDIMM bus driver is being used in this case? The ACPI NFIT driver? I'm just looking to see if currently deployed phys_to_target_node() is sufficient, or if this is

[PATCH v3 0/6] Fix and enable pmem as RAM device on arm64

2020-07-08 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