arm64: Handle 4 level page table for swapper
authorSuzuki K. Poulose <[email protected]>
Mon, 19 Oct 2015 13:19:31 +0000 (14:19 +0100)
committerCatalin Marinas <[email protected]>
Mon, 19 Oct 2015 16:53:41 +0000 (17:53 +0100)
commit6a3fd4026c0c0ac279265c2a5d228233b5bbd28f
tree2f3f50031b81d5b4882c127e960a34ff970be9f7
parentc265af51c5f17ec5c0cf0d960133bd6fe5f39eb9
arm64: Handle 4 level page table for swapper

At the moment, we only support maximum of 3-level page table for
swapper. With 48bit VA, 64K has only 3 levels and 4K uses section
mapping. Add support for 4-level page table for swapper, needed
by 16K pages.

Cc: Will Deacon <[email protected]>
Signed-off-by: Suzuki K. Poulose <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Tested-by: Ard Biesheuvel <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
arch/arm64/kernel/head.S