MIPS: Two-level pagetables for 64-bit kernels with 64KB pages.
authorDavid Daney <ddaney@caviumnetworks.com>
Fri, 4 Dec 2009 21:52:36 +0000 (13:52 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:03 +0000 (12:53 +0100)
commit325f8a0a31df567dbafafc48f8e60f3c1f101a46
treeb36383f4d483ecc6d057cdd41ef50b6403e89b9c
parentef6c1fd662d18c0e2ed92825c8837e94b5ec3a1f
MIPS: Two-level pagetables for 64-bit kernels with 64KB pages.

For 64-bit kernels with 64KB pages and two level page tables, there are
42 bits worth of virtual address space This is larger than the 40 bits of
virtual address space obtained with the default 4KB Page size and three
levels, so there are no draw backs for using two level tables with this
configuration.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/761/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/page.h
arch/mips/include/asm/pgalloc.h
arch/mips/include/asm/pgtable-64.h
arch/mips/include/asm/pgtable.h
arch/mips/kernel/asm-offsets.c
arch/mips/mm/init.c
arch/mips/mm/pgtable-64.c
arch/mips/mm/tlbex.c