Re: [PATCH] powerepc/book3s64/hash: Align start/end address correctly with bolt mapping

2020-09-17 Thread Michael Ellerman
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 >

[PATCH] powerepc/book3s64/hash: Align start/end address correctly with bolt mapping

2020-09-07 Thread Aneesh Kumar K.V
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