]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e51d1cd3b3650e75d1b5a13fa65562df4a38c02
tree80680eb35fae54cc1cea7b5882a2e1187ad89ea1
parente1a70262201900cac84dd90ea1588526fa5d0fbb
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