libnvdimm, pmem: adjust for section collisions with 'System RAM'
authorDan Williams <dan.j.williams@intel.com>
Thu, 3 Mar 2016 17:38:00 +0000 (09:38 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Mar 2016 20:25:45 +0000 (12:25 -0800)
commitcfe30b872058f211630eda7f65fb19d83beaaa3c
tree44dd4131a1dd92ef45babff885cb6add604746a9
parentd9cbe09d39aa13f6924dc5fb88325de7ef01a72e
libnvdimm, pmem: adjust for section collisions with 'System RAM'

On a platform where 'Persistent Memory' and 'System RAM' are mixed
within a given sparsemem section, trim the namespace and notify about the
sub-optimal alignment.

Cc: Toshi Kani <toshi.kani@hpe.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/namespace_devs.c
drivers/nvdimm/pfn.h
drivers/nvdimm/pfn_devs.c
drivers/nvdimm/pmem.c