]> www.infradead.org Git - users/jedix/linux-maple.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 Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:25:14 +0000 (12:25 -0500)
commit379e857efec6cf8cca1baa0ce571a29cbaa0a0ed
tree8650ad66d9e7041599d6e304fb68d2e385884cb6
parent36b5ca3bbbfe07befc66528a692ccb9fa9cd94e2
libnvdimm, e820: fix numa node for e820-type-12 pmem ranges

Orabug: 22913653

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>
(cherry picked from commit f7256dc0cdbc68903502997bde619f555a910f50)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/nvdimm/e820.c