OSDN Git Service

mips: add support for folded p4d page tables
authorMike Rapoport <rppt@linux.ibm.com>
Thu, 21 Nov 2019 16:21:33 +0000 (18:21 +0200)
committerPaul Burton <paulburton@kernel.org>
Fri, 22 Nov 2019 18:51:22 +0000 (10:51 -0800)
commit2bee1b58484f036e3e2dc657e524d095d0d332b3
treee3ee8827fbfbafa8f3a8a3b82c7e46b5de6048a7
parent31168f033e3751d1c9245d9ee847d775af16dcd6
mips: add support for folded p4d page tables

Implement primitives necessary for the 4th level folding, add walks of p4d
level where appropriate, replace 5leve-fixup.h with pgtable-nop4d.h and
drop usage of __ARCH_USE_5LEVEL_HACK.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: Mike Rapoport <rppt@kernel.org>
14 files changed:
arch/mips/include/asm/fixmap.h
arch/mips/include/asm/pgalloc.h
arch/mips/include/asm/pgtable-32.h
arch/mips/include/asm/pgtable-64.h
arch/mips/kvm/mmu.c
arch/mips/kvm/trap_emul.c
arch/mips/mm/c-r3k.c
arch/mips/mm/c-r4k.c
arch/mips/mm/c-tx39.c
arch/mips/mm/fault.c
arch/mips/mm/hugetlbpage.c
arch/mips/mm/ioremap.c
arch/mips/mm/pgtable-32.c
arch/mips/mm/tlb-r4k.c