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 07:44:44 +0000 (09:44 +0200)
commit0903ac8f09c6ccbb2da16c38625b894c87c8d3ed
tree235cdc9fe39f66d96e4789033db26d46f0eb42d1
parent8f939b79579715b195dc3ad36669707fce6853ee
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