[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips
Subject: [PATCH 45/58] MIPS: kernel: cpu-probe: Enable EVA option on supported cores
From: Markos Chandras <markos.chandras () imgtec ! com>
Date: 2014-01-27 20:19:32
Message-ID: 1390853985-14246-46-git-send-email-markos.chandras () imgtec ! com
[Download RAW message or body]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
arch/mips/kernel/cpu-probe.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 530f832..c42731c 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -367,6 +367,9 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c)
config5 &= ~MIPS_CONF5_UFR;
write_c0_config5(config5);
+ if (config5 & MIPS_CONF5_EVA)
+ c->options |= MIPS_CPU_EVA;
+
return config5 & MIPS_CONF_M;
}
--
1.8.5.3
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic