]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
authorPaul Cercueil <paul@crapouillou.net>
Sun, 30 May 2021 17:17:57 +0000 (18:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:00:51 +0000 (10:00 +0200)
commit0993df9bb1e4de5b24b696c5bdca9bdf5f2de42a
tree0f6619dd6e0df7a169798e8aebbc33a143608f67
parent478ec08ae2097b7262a69d951f95e9ef16ff45a0
MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)

[ Upstream commit fc52f92a653215fbd6bc522ac5311857b335e589 ]

Ingenic JZ4760 and JZ4760B do have a FPU, but the config registers don't
report it. Force the FPU detection in case the processor ID match the
JZ4760(B) one.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/kernel/cpu-probe.c