Re: [PATCH] powerpc/kasan: fix early boot failure on PPC32
From: Michael Ellerman
Date: Thu Aug 01 2019 - 22:28:35 EST
On Wed, 2019-07-31 at 06:01:42 UTC, Christophe Leroy wrote:
> Due to commit 4a6d8cf90017 ("powerpc/mm: don't use pte_alloc_kernel()
> until slab is available on PPC32"), pte_alloc_kernel() cannot be used
> during early KASAN init.
>
> Fix it by using memblock_alloc() instead.
>
> Reported-by: Erhard F. <erhard_f@xxxxxxxxxxx>
> Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support")
> Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxx>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/d7e23b887f67178c4f840781be7a6aa6aeb52ab1
cheers