ARM: vfp: Remove workaround for Feroceon CPUs
authorArd Biesheuvel <ardb@kernel.org>
Mon, 20 Mar 2023 10:01:16 +0000 (11:01 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 17 May 2023 11:11:38 +0000 (13:11 +0200)
commit4a0548c6681cd25b8d76e897e01bfb62ce93916d
tree2f824d2b4e734ced07ec2ad24e0debb563d21535
parent8769177658d3559c4323200a719dd456d2f2675a
ARM: vfp: Remove workaround for Feroceon CPUs

Feroceon CPUs have a non-standard implementation of VFP which reports
synchronous VFP exceptions using the async VFP flag. This requires a
workaround which is difficult to reconcile with other implementations,
making it tricky to support both versions in a single image.

Since this is a v5 CPU, it is not supported by armhf and so the
likelihood that anybody is using this with recent distros/kernels and
rely on the VFP at the same time is extremely low. So let's just disable
VFP support on these cores, so we can remove the workaround.

This will help future development to support v5 and v6 CPUs with a
single kernel image.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/mm/proc-feroceon.S
arch/arm/vfp/vfphw.S
arch/arm/vfp/vfpmodule.c