[PATCH 0/3] libnvdimm: fix memmap in pmem support

From: Dan Williams
Date: Sat Jan 30 2016 - 13:42:33 EST


Thanks to Jeff for pointing out a thinko in the ndctl implementation of
create-namespace. That bug was covering up the fact that vmem_altmap
handling broke when 'pgmap_radix' was introduced to replace the list
based method [1].

The other two fixes fell out from further expanding the unit tests.

[1]: https://lists.01.org/pipermail/linux-nvdimm/2015-December/003608.html

---

Dan Williams (3):
libnvdimm: fix mode determination for e820 devices
libnvdimm, pfn: fix restoring memmap location
devm_memremap_pages: fix vmem_altmap lifetime + alignment handling


drivers/nvdimm/namespace_devs.c | 8 +++++---
drivers/nvdimm/pfn_devs.c | 4 +---
kernel/memremap.c | 18 +++++++++++-------
3 files changed, 17 insertions(+), 13 deletions(-)