Re: [PATCH v2 06/10] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-07-30 Thread Jason Yan
On 2019/7/30 17:34, Christophe Leroy wrote: Le 30/07/2019 à 09:42, Jason Yan a écrit : This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and relocate. Freescale

Re: [PATCH v2 06/10] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-07-30 Thread Christophe Leroy
Le 30/07/2019 à 09:42, Jason Yan a écrit : This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and relocate. Freescale Book-E parts expect lowmem to be mapped by

[PATCH v2 06/10] powerpc/fsl_booke/32: implement KASLR infrastructure

2019-07-30 Thread Jason Yan
This patch add support to boot kernel from places other than KERNELBASE. Since CONFIG_RELOCATABLE has already supported, what we need to do is map or copy kernel to a proper place and relocate. Freescale Book-E parts expect lowmem to be mapped by fixed TLB entries(TLB1). The TLB1 entries are not