All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jayachandran C <jayachandranc@netlogicmicro.com>
To: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org
Subject: [PATCH 3/8] Cache support, TLB support, asm/module.h entry
Date: Sat, 7 May 2011 01:36:21 +0530	[thread overview]
Message-ID: <07e3b598b08cb1f1f31b4c6e461f3c06e8711c47.1304712046.git.jayachandranc@netlogicmicro.com> (raw)
In-Reply-To: <cover.1304712046.git.jayachandranc@netlogicmicro.com>

CPU_XLR case added to mm/tlbex.c
CPU_XLR case added to mm/c-r4k.c for PINDEX attribute
Add XLR to asm/module.h

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
---
 arch/mips/include/asm/module.h |    2 ++
 arch/mips/mm/c-r4k.c           |    1 +
 arch/mips/mm/tlbex.c           |    1 +
 3 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/module.h b/arch/mips/include/asm/module.h
index d94085a..bc01a02 100644
--- a/arch/mips/include/asm/module.h
+++ b/arch/mips/include/asm/module.h
@@ -118,6 +118,8 @@ search_module_dbetables(unsigned long addr)
 #define MODULE_PROC_FAMILY "LOONGSON2 "
 #elif defined CONFIG_CPU_CAVIUM_OCTEON
 #define MODULE_PROC_FAMILY "OCTEON "
+#elif defined CONFIG_CPU_XLR
+#define MODULE_PROC_FAMILY "XLR "
 #else
 #error MODULE_PROC_FAMILY undefined for your processor configuration
 #endif
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 71bddf8..d9bc5d3 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -1006,6 +1006,7 @@ static void __cpuinit probe_pcache(void)
 	case CPU_25KF:
 	case CPU_SB1:
 	case CPU_SB1A:
+	case CPU_XLR:
 		c->dcache.flags |= MIPS_CACHE_PINDEX;
 		break;
 
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index f5734c2..424ed4b 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -404,6 +404,7 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l,
 	case CPU_5KC:
 	case CPU_TX49XX:
 	case CPU_PR4450:
+	case CPU_XLR:
 		uasm_i_nop(p);
 		tlbw(p);
 		break;
-- 
1.7.1


-- 
Jayachandran C.
jayachandranc@netlogicmicro.com                  (Netlogic Microsystems)

  parent reply	other threads:[~2011-05-06 20:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 20:05 [PATCH 0/8] Support for Netlogic XLR/XLS processors Jayachandran C
2011-04-21 21:28 ` [PATCH 1/8] Netlogic XLR/XLS processor IDs Jayachandran C
2011-04-21 21:28   ` Jayachandran C
2011-05-06 20:05     ` Jayachandran C
2011-05-11  6:20     ` Jayachandran C.
2011-05-11  6:34       ` [PATCH 1/8, UPDATED] " Jayachandran C.
2011-05-11 16:52         ` Ralf Baechle
2011-05-11 16:52     ` [PATCH 1/8] " Ralf Baechle
2011-05-11 16:53       ` Ralf Baechle
2011-05-11 17:01         ` Jayachandran C.
2011-05-06 20:06 ` [PATCH 2/8] mach-netlogic include directory and files Jayachandran C
2011-05-11 16:53   ` Ralf Baechle
2011-05-06 20:06 ` Jayachandran C [this message]
2011-05-11 16:54   ` [PATCH 3/8] Cache support, TLB support, asm/module.h entry Ralf Baechle
2011-05-06 20:06 ` [PATCH 4/8] Platform files for XLR/XLS processor support Jayachandran C
2011-05-11 16:54   ` Ralf Baechle
2011-05-06 20:06 ` [PATCH 5/8] Kconfig and Makefile update for Netlogic XLR/XLS Jayachandran C
2011-05-11 16:54   ` Ralf Baechle
2011-05-06 20:07 ` [PATCH 6/8] Add default configuration for XLR/XLS processors Jayachandran C
2011-05-11 16:54   ` Ralf Baechle
2011-05-06 20:07 ` [PATCH 7/8] PCI support for XLR/XLS Jayachandran C
2011-05-11 16:54   ` Ralf Baechle
2011-05-06 20:07 ` [PATCH 8/8] USB support for XLS platforms Jayachandran C
2011-05-11 16:51   ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2011-04-22 17:00 [PATCH 0/8] Support for Netlogic XLR/XLS processors Jayachandran C
2011-04-22 17:01 ` [PATCH 3/8] Cache support, TLB support, asm/module.h entry Jayachandran C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=07e3b598b08cb1f1f31b4c6e461f3c06e8711c47.1304712046.git.jayachandranc@netlogicmicro.com \
    --to=jayachandranc@netlogicmicro.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.