Re: [PATCH v5 3/6] arm64/mm: Create the initial page table in the init_pg_dir.

2018-10-01 Thread James Morse
Hi Mark, On 24/09/18 14:34, Mark Rutland wrote: > On Mon, Sep 17, 2018 at 12:43:30PM +0800, Jun Yao wrote: >> Create the initial page table in the init_pg_dir. And update the >> init_mm.pgd to make sure that pgd_offset_k() works correctly. When >> the final page table is created, we redirect the i

Re: [PATCH v5 3/6] arm64/mm: Create the initial page table in the init_pg_dir.

2018-09-24 Thread Mark Rutland
On Mon, Sep 17, 2018 at 12:43:30PM +0800, Jun Yao wrote: > Create the initial page table in the init_pg_dir. And update the > init_mm.pgd to make sure that pgd_offset_k() works correctly. When > the final page table is created, we redirect the init_mm.pgd to the > swapper_pg_dir. > > Signed-off-by

[PATCH v5 3/6] arm64/mm: Create the initial page table in the init_pg_dir.

2018-09-16 Thread Jun Yao
Create the initial page table in the init_pg_dir. And update the init_mm.pgd to make sure that pgd_offset_k() works correctly. When the final page table is created, we redirect the init_mm.pgd to the swapper_pg_dir. Signed-off-by: Jun Yao --- arch/arm64/include/asm/pgtable.h | 2 ++ arch/arm64/k