Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 7ae66966
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -386,6 +386,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;
}