]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: cpu-probe: Fix VTLB/FTLB configuration for R6
authorMarkos Chandras <markos.chandras@imgtec.com>
Thu, 9 Jul 2015 09:40:52 +0000 (10:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Aug 2015 13:23:21 +0000 (15:23 +0200)
commit242c8b3264d90a468849b6163f9d395142b40f5c
tree46aa3e091b2740078c79a50672783ab2653cbfde
parentdaa5e733a1d74e197dd2dcf6e2f845e65f35138d
MIPS: cpu-probe: Fix VTLB/FTLB configuration for R6

R6 has dropped the MMUExtDef field from the config4 register and it
now returns 0. However, the return value means nothing in that case
and the only supported configuration for R6 is the VTLB+FTLB
(MMUextDef == 3). As a result, rework the code so that the correct
value is set for R6 cores.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10651/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cpu-probe.c