Re: [RESEND PATCH v4 2/6] arm64/mm: Pass ttbr1 as a parameter to __enable_mmu().

2018-09-07 Thread James Morse
Hi Jun, On 22/08/18 10:54, Jun Yao wrote: > The kernel sets up the initial page table in the init_pg_dir. (Nit: 'will set up', it doesn't until patch 3.) > However, it will create the final page table in the swapper_pg_dir > during the initialization process. We need to let __enable_mmu() > know

[RESEND PATCH v4 2/6] arm64/mm: Pass ttbr1 as a parameter to __enable_mmu().

2018-08-22 Thread Jun Yao
The kernel sets up the initial page table in the init_pg_dir. However, it will create the final page table in the swapper_pg_dir during the initialization process. We need to let __enable_mmu() know which page table to use. Signed-off-by: Jun Yao --- arch/arm64/kernel/head.S | 21 --