Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 26 Feb 2015 20:01:46 +0100 (CET) Received: from home.bethel-hill.org ([63.228.164.32]:34157 "EHLO home.bethel-hill.org" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007488AbbBZTBoovtmy (ORCPT ); Thu, 26 Feb 2015 20:01:44 +0100 Received: by home.bethel-hill.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84) (envelope-from ) id 1YR3dA-0007Ul-Qx; Thu, 26 Feb 2015 12:57:52 -0600 From: "Steven J. Hill" To: linux-mips@linux-mips.org Cc: ralf@linux-mips.org, "Steven J. Hill" Subject: [PATCH V6 0/3] Add support for eXtended Physical Addressing. Date: Thu, 26 Feb 2015 13:01:31 -0600 Message-Id: <1424977294-49507-1-git-send-email-Steven.Hill@imgtec.com> X-Mailer: git-send-email 1.7.10.4 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 46005 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: Steven.Hill@imgtec.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips From: "Steven J. Hill" 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 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 | 92 ++++--- arch/mips/include/asm/pgtable.h | 36 +-- 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 | 90 ++++++- 12 files changed, 663 insertions(+), 72 deletions(-) create mode 100644 arch/mips/configs/maltaup_xpa_defconfig -- 1.7.10.4