original_kernel/arch/powerpc/mm
Christophe Leroy d7e23b887f powerpc/kasan: fix early boot failure on PPC32
Due to commit 4a6d8cf900 ("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.

Fixes: 2edb16efc8 ("powerpc/32: Add KASAN support")
Cc: stable@vger.kernel.org # v5.2+
Reported-by: Erhard F. <erhard_f@mailbox.org>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/da89670093651437f27d2975224712e0a130b055.1564552796.git.christophe.leroy@c-s.fr
2019-07-31 22:02:52 +10:00
..
book3s32
book3s64 powerpc fixes for 5.3 #2 2019-07-24 09:58:39 -07:00
kasan powerpc/kasan: fix early boot failure on PPC32 2019-07-31 22:02:52 +10:00
nohash
ptdump powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
Makefile
copro_fault.c
dma-noncoherent.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
drmem.c
fault.c mm, kprobes: generalize and rename notify_page_fault() as kprobe_page_fault() 2019-07-16 19:23:22 -07:00
highmem.c
hugetlbpage.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
init-common.c
init_32.c
init_64.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
mem.c powerpc fixes for 5.3 #2 2019-07-24 09:58:39 -07:00
mmap.c
mmu_context.c
mmu_decl.h
numa.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
pgtable-frag.c
pgtable.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
pgtable_32.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
pgtable_64.c powerpc updates for 5.3 2019-07-13 16:08:36 -07:00
slice.c