diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-12-11 01:45:23 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-12-13 02:04:26 +0300 |
commit | 315c562536c42aa4da9b6c5a2135dd6715a5e0b5 (patch) | |
tree | 9fe06cfb4ec311ee22abb62fdc6ec6ebf24d2e21 /crypto/tcrypt.c | |
parent | f7c6ab80fa5fee3daccb83a3c1b3a9f39d7b931c (diff) | |
download | linux-315c562536c42aa4da9b6c5a2135dd6715a5e0b5.tar.xz |
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 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions