[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210728082226.22161-1-justin.he@arm.com>
Date: Wed, 28 Jul 2021 16:22:25 +0800
From: Jia He <justin.he@....com>
To: Dan Williams <dan.j.williams@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
Dave Jiang <dave.jiang@...el.com>
Cc: nvdimm@...ts.linux.dev, linux-kernel@...r.kernel.org, nd@....com,
Jia He <justin.he@....com>
Subject: [PATCH 0/1] fix pmem RAM device when nid is NUMA_NO_NODE
Background
==========
I once sent out the preparatory patches [1] but I dropped the last patch
of using fallback nid with memory_add_physaddr_to_nid() due to some
dependency.
After phys_addr_to_target_node() and memory_add_physaddr_to_nid() are
stable now, it's time to fix the original bug on arm64 now.
Compared with the last version [2], this version rebases the patch to
latest v5.14-rc3 (s/kmem_start/range.start)
Test
====
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.
[1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2228771.html
[2] https://lkml.org/lkml/2020/7/8/1546
Jia He (1):
device-dax: use fallback nid when numa_node is invalid
drivers/dax/kmem.c | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
--
2.17.1
Powered by blists - more mailing lists