| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 03/15] MIPS: Netlogic: select MIPSR2 for XLP |
| From: | "Jayachandran C" <jchandra@broadcom.com> |
| Date: | Wed, 31 Oct 2012 18:31:29 +0530 |
| Cc: | "Jayachandran C" <jchandra@broadcom.com> |
| In-reply-to: | <cover.1351688140.git.jchandra@broadcom.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <cover.1351688140.git.jchandra@broadcom.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
This allows us to use the r2 optimized code from kernel headers
while compilation.
Disable PGD_C0_CONTEXT option for XLP, which does not work.
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
---
arch/mips/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index c40d282..346b44d 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1525,6 +1525,7 @@ config CPU_XLP
select WEAK_ORDERING
select WEAK_REORDERING_BEYOND_LLSC
select CPU_HAS_PREFETCH
+ select CPU_MIPSR2
help
Netlogic Microsystems XLP processors.
endchoice
@@ -1738,7 +1739,7 @@ config CPU_SUPPORTS_UNCACHED_ACCELERATED
bool
config MIPS_PGD_C0_CONTEXT
bool
- default y if 64BIT && CPU_MIPSR2
+ default y if 64BIT && CPU_MIPSR2 && !CPU_XLP
#
# Set to y for ptrace access to watch registers.
--
1.7.9.5
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: linux 3.6.3 mips64 mtd jffs2 unmount issue, Jacob Burkholder |
|---|---|
| Next by Date: | [PATCH 02/15] MIPS: perf: Add XLP support for hardware perf., Jayachandran C |
| Previous by Thread: | [PATCH 00/15] Netlogic XLR/XLS/XLP updates, Jayachandran C |
| Next by Thread: | Re: [PATCH 03/15] MIPS: Netlogic: select MIPSR2 for XLP, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |