Re: [PATCH v4 09/12] ARM: vfp: Use undef hook for handling VFP exceptions

From
Ard Biesheuvel <ardb@kernel.org>
Date
2023-03-21 15:43:18
Reply to
Linus Walleij, 2023-03-21
On Tue, 21 Mar 2023 at 15:59, Linus Walleij [off-list ref] wrote:
On Mon, Mar 20, 2023 at 2:19 PM Ard Biesheuvel [off-list ref] wrote:
quoted
Now that the VFP support code has been reimplemented as a C function
that takes a struct pt_regs pointer and an opcode, we can use the
existing undef_hook framework to deal with undef exceptions triggered by
VFP instructions instead of having special handling in assembler.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Provided we can test that this does the right thing it looks really neat:
Reviewed-by: Linus Walleij <redacted>
Thanks.

I have tested this on BB white (Cortex-A8) and on RPi1 (1176), using
several instances of testfloat running concurrently, and things work
as expected in all cases. (The BB white is my VPN gateway so it uses
kernel mode NEON as well).

More test coverage is always welcome, of course ..

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (32 messages) 32 messages, 6 authors, last reply 2023-04-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help