|
Message-ID: <db764910fe2de8ae2d63c6adbb0b71d32c0e3886.camel@buserror.net> Date: Fri, 20 Mar 2020 00:08:53 -0500 From: Scott Wood <oss@...error.net> To: Jason Yan <yanaijie@...wei.com>, mpe@...erman.id.au, linuxppc-dev@...ts.ozlabs.org, diana.craciun@....com, christophe.leroy@....fr, benh@...nel.crashing.org, paulus@...ba.org, npiggin@...il.com, keescook@...omium.org, kernel-hardening@...ts.openwall.com Cc: linux-kernel@...r.kernel.org, zhaohongjiang@...wei.com, dja@...ens.net Subject: Re: [PATCH v4 6/6] powerpc/fsl_booke/kaslr: rename kaslr-booke32.rst to kaslr-booke.rst and add 64bit part On Fri, 2020-03-06 at 14:40 +0800, Jason Yan wrote: > @@ -38,5 +41,29 @@ bit of the entropy to decide the index of the 64M zone. > Then we chose a > > kernstart_virt_addr > > + > +KASLR for Freescale BookE64 > +--------------------------- > + > +The implementation for Freescale BookE64 is similar as BookE32. One similar to > +difference is that Freescale BookE64 set up a TLB mapping of 1G during > +booting. Another difference is that ppc64 needs the kernel to be > +64K-aligned. So we can randomize the kernel in this 1G mapping and make > +it 64K-aligned. This can save some code to creat another TLB map at early create -Scott
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.