[1/5] powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash
mpe at ellerman.id.au
Thu Aug 20 09:14:15 AEST 2015
On Fri, 2015-07-08 at 06:19:43 UTC, Michael Ellerman wrote:
> The powerpc kernel can be built to have either a 4K PAGE_SIZE or a 64K
> This fix is ugly, but simple. When we're called for a kernel address we
> return 4K, which is always correct in this configuration, otherwise we
> use the slice mask.
> Fixes: 7aa0727f3302 ("powerpc/mm: Increase the slice range to 64TB")
> Reported-by: Cyril Bur <cyrilbur at gmail.com>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Series applied to powerpc next.
More information about the Linuxppc-dev