]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm, e820: fix numa node for e820-type-12 pmem ranges
authorDan Williams <dan.j.williams@intel.com>
Thu, 12 Nov 2015 00:46:33 +0000 (16:46 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 12 Nov 2015 17:21:18 +0000 (09:21 -0800)
commit3620faeef0ceeb29c24e97d30a894cb660057fbe
treef419b12cd2c374efda2afd682f97a6bb2f9acbb0
parentc605cbf0053685fe6fec78a66bc353915cb59ecb
libnvdimm, e820: fix numa node for e820-type-12 pmem ranges

Rather than punt on the numa node for these e820 ranges try to find a
better answer with memory_add_physaddr_to_nid() when it is available.

Cc: <stable@vger.kernel.org>
Reported-by: Boaz Harrosh <boaz@plexistor.com>
Tested-by: Boaz Harrosh <boaz@plexistor.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/e820.c