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

Linus Walleij linus.walleij at linaro.org
Tue Mar 21 07:59:41 PDT 2023


On Mon, Mar 20, 2023 at 2:19 PM Ard Biesheuvel <ardb at kernel.org> wrote:

> 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 at kernel.org>

Provided we can test that this does the right thing it looks really neat:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list