On 01/06/18 09:09, Jun Yao wrote:
Migrate swapper_pg_dir and tramp_pg_dir. And their virtual addresses
do not correlate with kernel's address.
I think this might break software PAN, which IIRC depends on the
reserved TTBR0 PGD being physically adjacent to the live swapper PGD for
the trickery
Migrate swapper_pg_dir and tramp_pg_dir. And their virtual addresses
do not correlate with kernel's address.
Signed-off-by: Jun Yao
---
arch/arm64/mm/mmu.c | 70 +++--
1 file changed, 42 insertions(+), 28 deletions(-)
diff --git a/arch/arm64/mm/mmu.c b/ar
Migrate swapper_pg_dir and tramp_pg_dir. And its placement in
the virtual address space does not correlate with the placement
of the kernel.
Signed-off-by: YaoJun
---
arch/arm64/mm/mmu.c | 67 +++--
1 file changed, 46 insertions(+), 21 deletions(-)
diff -
3 matches
Mail list logo