MIPS: Add support for XPA.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Fri, 27 Feb 2015 00:16:38 +0000 (18:16 -0600)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Mar 2015 16:39:49 +0000 (17:39 +0100)
commitc5b367835cfc7a8ef53b9670a409ffcc95194344
tree23a6be89021f93b09bb0f2340bc995c21bcab79b
parentbe0c37c985eddc46d0d67543898c086f60460e2e
MIPS: Add support for XPA.

Add support for extended physical addressing (XPA) so that
32-bit platforms can access equal to or greater than 40 bits
of physical addresses.

NOTE:
      1) XPA and EVA are not the same and cannot be used
         simultaneously.
      2) If you configure your kernel for XPA, the PTEs
         and all address sizes become 64-bit.
      3) Your platform MUST have working HIGHMEM support.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9355/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/cpu-features.h
arch/mips/include/asm/cpu.h
arch/mips/include/asm/pgtable-32.h
arch/mips/include/asm/pgtable-bits.h
arch/mips/include/asm/pgtable.h
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/proc.c
arch/mips/mm/init.c
arch/mips/mm/tlb-r4k.c
arch/mips/mm/tlbex.c