From: "Steven J. Hill" <Steven.Hill@xxxxxxxxxx> This set of patches adds XPA support for R5 and later cores. This has been tested on P5600 platforms only. As noted in the main commit for XPA support, EVA and XPA cannot currently be used at the same time. Changes from V6: - Cleaned up PTE bits patch and commit message per suggestions by David Daney. Changes from V5: - Rebased against upstream 4.0-rc1 tag. Changes from V4: - Rebased against 'mips-for-linux-next-test' branch. - Fix all build breakages from PTE fixed bit positions patch. - Make some code be used for R2 or newer cores. Changes from V3: - Rebased against upstream 3.19-rc4 tag. Changes from V2: - Moved HIGHMEM and cache flush fixes to separate patchset. - Rebased against 3.19-rc5 tag. Changes from V1: - Remove fixrange_init() revert patch. - Remove CCA patch. - Remove HEAP/BSS execute bit removal patch. - Updated __writex_32bit_c0_register() to use %1 instead of the macro variable name. Steven J. Hill (3): MIPS: Rearrange PTE bits into fixed positions. MIPS: Add support for XPA. MIPS: XPA: Add new configuration file. arch/mips/Kconfig | 35 +++ arch/mips/configs/maltaup_xpa_defconfig | 439 +++++++++++++++++++++++++++++++ arch/mips/include/asm/cpu-features.h | 3 + arch/mips/include/asm/cpu.h | 1 + arch/mips/include/asm/pgtable-32.h | 15 +- arch/mips/include/asm/pgtable-bits.h | 98 ++++--- arch/mips/include/asm/pgtable.h | 74 +++--- arch/mips/kernel/cpu-probe.c | 4 + arch/mips/kernel/proc.c | 1 + arch/mips/mm/init.c | 7 +- arch/mips/mm/tlb-r4k.c | 12 + arch/mips/mm/tlbex.c | 96 +++++-- 12 files changed, 690 insertions(+), 95 deletions(-) create mode 100644 arch/mips/configs/maltaup_xpa_defconfig -- 1.7.10.4