OSDN Git Service

powerpc/kasan: Fix shadow start address with modules
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 24 Apr 2021 10:34:43 +0000 (10:34 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 25 Apr 2021 11:29:04 +0000 (21:29 +1000)
commit30c400886bad4ac1801516683b71d7714bc2b1b1
tree325cc2663d0c10e8df72330f4feb647ee9b23b6c
parentfc5590fd56c9608f317729b59a56dad2a75d633f
powerpc/kasan: Fix shadow start address with modules

Modules are now located before kernel, KASAN area has to
be extended accordingly.

Fixes: 80edc68e0479 ("powerpc/32s: Define a MODULE area below kernel text all the time")
Fixes: 9132a2e82adc ("powerpc/8xx: Define a MODULE area below kernel text")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c68163065163f303f5af1e4bbdd9f1ce69f0543e.1619260465.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/kasan.h