Commit 49016748 authored by Markos Chandras's avatar Markos Chandras Committed by Ralf Baechle

MIPS: kernel: cpu-probe: Enable EVA option on supported cores

Signed-off-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
parent 7ae66966
...@@ -386,6 +386,9 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c) ...@@ -386,6 +386,9 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c)
config5 &= ~MIPS_CONF5_UFR; config5 &= ~MIPS_CONF5_UFR;
write_c0_config5(config5); write_c0_config5(config5);
if (config5 & MIPS_CONF5_EVA)
c->options |= MIPS_CPU_EVA;
return config5 & MIPS_CONF_M; return config5 & MIPS_CONF_M;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment