summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-12-19 15:07:10 -0800
committerDan Williams <dan.j.williams@intel.com>2017-12-19 15:10:06 -0800
commit19deaa217bc04e83b59b5e8c8229eb0e53ad9efc (patch)
treee287ec08be453ffb14fa7cc99184c7fe785d5626 /virt
parentadf6895754e2503d994a765535fd1813f8834674 (diff)
downloadlinux-19deaa217bc04e83b59b5e8c8229eb0e53ad9efc.tar.gz
linux-19deaa217bc04e83b59b5e8c8229eb0e53ad9efc.tar.bz2
linux-19deaa217bc04e83b59b5e8c8229eb0e53ad9efc.zip
libnvdimm, pfn: fix start_pad handling for aligned namespaces
The alignment checks at pfn driver startup fail to properly account for the 'start_pad' in the case where the namespace is misaligned relative to its internal alignment. This is typically triggered in 1G aligned namespace, but could theoretically trigger with small namespace alignments. When this triggers the kernel reports messages of the form: dax2.1: bad offset: 0x3c000000 dax disabled align: 0x40000000 Cc: <stable@vger.kernel.org> Fixes: 1ee6667cd8d1 ("libnvdimm, pfn, dax: fix initialization vs autodetect...") Reported-by: Jane Chu <jane.chu@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions