]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl_booke/32: introduce create_kaslr_tlb_entry() helper
authorJason Yan <yanaijie@huawei.com>
Fri, 20 Sep 2019 09:45:38 +0000 (17:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 08:27:34 +0000 (19:27 +1100)
commit256392226e94fbb9d46a2ea381298b4dbe2b1d93
treea6e30a7a715b2f926e7f8f052e59e5054168bb14
parent83e04578dd64772ce5d5a057958ed8ee8f7f6f21
powerpc/fsl_booke/32: introduce create_kaslr_tlb_entry() helper

Add a new helper create_kaslr_tlb_entry() to create a tlb entry by the
virtual and physical address. This is a preparation to support boot kernel
at a randomized address.

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/kernel/head_fsl_booke.S
arch/powerpc/mm/mmu_decl.h