powerpc/32s: Implement dedicated kasan_init_region()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 May 2020 05:49:29 +0000 (05:49 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 May 2020 12:22:23 +0000 (22:22 +1000)
commit7974c4732642f710b5111165ae1f7f7fed822282
tree80680eb35fae54cc1cea7b5882a2e1187ad89ea1
parent2b279c0348af62f42be346c1ea6d70bac98df0f9
powerpc/32s: Implement dedicated kasan_init_region()

Implement a kasan_init_region() dedicated to book3s/32 that
allocates KASAN regions using BATs.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/709e821602b48a1d7c211a9b156da26db98c3e9d.1589866984.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/kasan.h
arch/powerpc/mm/kasan/Makefile
arch/powerpc/mm/kasan/book3s_32.c [new file with mode: 0644]
arch/powerpc/mm/kasan/kasan_init_32.c