On Mon, 7 Sep 2020 12:55:39 +0530, Aneesh Kumar K.V wrote:
This ensures we don't do a partial mapping of memory. With nvdimm, when
creating namespaces with size not aligned to 16MB, the kernel ends up partially
mapping the pages. This can result in kernel adding multiple hash page table
entries for the same range. A new namespace will result in
create_section_mapping() with start and end overlapping an already existing
bolted hash page table entry.
[...]
Applied to powerpc/next.
[1/1] powerepc/book3s64/hash: Align start/end address correctly with bolt mapping
https://git.kernel.org/powerpc/c/79b123cdf9cf0d4a1620baa8c611962626323a08
cheers