ARM: iwmmxt: Use undef hook to enable coprocessor for task
authorArd Biesheuvel <ardb@kernel.org>
Sun, 19 Mar 2023 23:07:20 +0000 (00:07 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 17 May 2023 13:08:22 +0000 (15:08 +0200)
commit303d6da167dcbc3dd89adf3ca4e36c369950ed01
tree6041481a3b42a3ec4c2940e02201128396b47e2f
parent8bcba70cb5c2204a011e06278a1fbfb1213e1df1
ARM: iwmmxt: Use undef hook to enable coprocessor for task

Define a undef hook to deal with undef exceptions triggered by iwmmxt
instructions that were issued with the coprocessor disabled. This
removes the dependency on the coprocessor dispatch code in entry-armv.S,
which will be made NWFPE-only in a subsequent patch.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/entry-armv.S
arch/arm/kernel/iwmmxt.S
arch/arm/kernel/pj4-cp0.c
arch/arm/kernel/xscale-cp0.c