OSDN Git Service

powerpc/fsl_booke/kaslr: clear the original kernel if randomized
authorJason Yan <yanaijie@huawei.com>
Fri, 20 Sep 2019 09:45:42 +0000 (17:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 08:27:44 +0000 (19:27 +1100)
commitb39609720069f5a6eed2b3e3f618c23587021ff5
treefdc9e2385223bbf0eea7b07051b28ded0b190885
parent6a38ea1d7b94c6c84dbf3f5c969be5e3648d9a70
powerpc/fsl_booke/kaslr: clear the original kernel if randomized

The original kernel still exists in the memory, clear it now.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Diana Craciun <diana.craciun@nxp.com>
Tested-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/mmu_decl.h
arch/powerpc/mm/nohash/fsl_booke.c
arch/powerpc/mm/nohash/kaslr_booke.c