summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-12-10 14:45:23 -0800
committerDan Williams <dan.j.williams@intel.com>2015-12-12 15:04:26 -0800
commit315c562536c42aa4da9b6c5a2135dd6715a5e0b5 (patch)
tree9fe06cfb4ec311ee22abb62fdc6ec6ebf24d2e21 /include
parentf7c6ab80fa5fee3daccb83a3c1b3a9f39d7b931c (diff)
downloadtalos-obmc-linux-315c562536c42aa4da9b6c5a2135dd6715a5e0b5.tar.gz
talos-obmc-linux-315c562536c42aa4da9b6c5a2135dd6715a5e0b5.zip
libnvdimm, pfn: add 'align' attribute, default to HPAGE_SIZE
When setting aside capacity for struct page it must be aligned to the largest mapping size that is to be made available via DAX. Make the alignment configurable to enable support for 1GiB page-size mappings. The offset for PFN_MODE_RAM may now be larger than SZ_8K, so fixup the offset check in nvdimm_namespace_attach_pfn(). Reported-by: Toshi Kani <toshi.kani@hpe.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud