Skip to content
Commit a6a5d853 authored by Huang Pei's avatar Huang Pei Committed by Greg Kroah-Hartman
Browse files

MIPS: loongson64: fix FTLB configuration

[ Upstream commit 7db5e9e9 ]

It turns out that 'decode_configs' -> 'set_ftlb_enable' is called under
c->cputype unset, which leaves FTLB disabled on BOTH 3A2000 and 3A3000

Fix it by calling "decode_configs" after c->cputype is initialized

Fixes: da1bd297

 ("MIPS: Loongson64: Probe CPU features via CPUCFG")
Signed-off-by: default avatarHuang Pei <huangpei@loongson.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5e823dbe
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