Re: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64
From: David Hildenbrand <hidden>
Date: 2020-07-10 08:30:27
Also in:
linux-mm, linux-sh, lkml, nvdimm
From: David Hildenbrand <hidden>
Date: 2020-07-10 08:30:27
Also in:
linux-mm, linux-sh, lkml, nvdimm
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() patchSo, this series no longer does what it promises? "Fix and enable pmem as RAM device on arm64" -- Thanks, David / dhildenb _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel