ARM: entry: Make asm coproc dispatch code NWFPE only
authorArd Biesheuvel <ardb@kernel.org>
Sun, 19 Mar 2023 23:25:18 +0000 (00:25 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 17 May 2023 13:08:22 +0000 (15:08 +0200)
commit47ba5f39eab3c2a9a1ba878159a6050f2bbfc0e2
treed0d0485f5f614e0070bab6ff1b53d56aec7c2d8e
parent303d6da167dcbc3dd89adf3ca4e36c369950ed01
ARM: entry: Make asm coproc dispatch code NWFPE only

Now that we can dispatch all VFP and iWMMXT related undef exceptions
using undef hooks implemented in C code, we no longer need the asm entry
code that takes care of this unless we are using FPE, so we can move it
into the FPE entry code. As this means it is ARM only, we can remove the
Thumb2 specific decorations as well.

It also means the non-standard, asm-only calling convention where
returning via LR means failure and returning via R9 means success is now
only used on legacy platforms that lack any kind of function return
prediction, avoiding the associated performance impact.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/kernel/entry-armv.S
arch/arm/nwfpe/entry.S