Thread (11 messages) flat view 11 messages, 3 authors, 2015-08-19

Re: [1/5] powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-08-19 23:14:16

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
PAGE_SIZE.
...
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 <redacted>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Aneesh Kumar K.V <redacted>
Series applied to powerpc next.

https://git.kernel.org/powerpc/c/74b5037baa2011a2799e

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help