Thread (11 messages) flat view 11 messages, 3 authors, 2020-03-20

Re: [PATCH v4 6/6] powerpc/fsl_booke/kaslr: rename kaslr-booke32.rst to kaslr-booke.rst and add 64bit part

From: Scott Wood <oss@buserror.net>
Date: 2020-03-20 05:15:56
Also in: lkml

On Fri, 2020-03-06 at 14:40 +0800, Jason Yan wrote:
quoted hunk ↗ jump to hunk
@@ -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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help