aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/cpu.h
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-09-13 17:47:58 -0400
committerSteven J. Hill <sjhill@mips.com>2012-09-13 17:55:53 -0400
commitb2ab4f08e84d4031f82255447180c559bd076bbf (patch)
treec43f3abc03b50d68c73c33750528819e349422e6 /arch/mips/include/asm/cpu.h
parentfea7a08acb13524b47711625eebea40a0ede69a0 (diff)
MIPS: Add base architecture support for RI and XI.
Originally both Read Inhibit (RI) and Execute Inhibit (XI) were supported by the TLB only for a SmartMIPS core. The MIPSr3(TM) Architecture now defines an optional feature to implement these TLB bits separately. Support for one or both features can be checked by looking at the Config3.RXI bit. Signed-off-by: Steven J. Hill <sjhill@mips.com> Acked-by: David Daney <david.daney@cavium.com>
Diffstat (limited to 'arch/mips/include/asm/cpu.h')
-rw-r--r--arch/mips/include/asm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h
index f21b7c04e95a..1037d54f0597 100644
--- a/arch/mips/include/asm/cpu.h
+++ b/arch/mips/include/asm/cpu.h
@@ -319,6 +319,7 @@ enum cpu_type_enum {
319#define MIPS_CPU_VINT 0x00080000 /* CPU supports MIPSR2 vectored interrupts */ 319#define MIPS_CPU_VINT 0x00080000 /* CPU supports MIPSR2 vectored interrupts */
320#define MIPS_CPU_VEIC 0x00100000 /* CPU supports MIPSR2 external interrupt controller mode */ 320#define MIPS_CPU_VEIC 0x00100000 /* CPU supports MIPSR2 external interrupt controller mode */
321#define MIPS_CPU_ULRI 0x00200000 /* CPU has ULRI feature */ 321#define MIPS_CPU_ULRI 0x00200000 /* CPU has ULRI feature */
322#define MIPS_CPU_RIXI 0x00400000 /* CPU has TLB Read/eXec Inhibit */
322 323
323/* 324/*
324 * CPU ASE encodings 325 * CPU ASE encodings