[PATCH v2 02/12] ARM: footbridge: use GENERIC_IRQ_MULTI_HANDLER

Linus Walleij linus.walleij at linaro.org
Sat Dec 4 15:42:34 PST 2021


On Tue, Nov 30, 2021 at 1:59 PM Ard Biesheuvel <ardb at kernel.org> wrote:

> From: Arnd Bergmann <arnd at arndb.de>
>
> Footbridge still uses the classic IRQ entry path in assembler,
> but this is easily converted into an equivalent C version.
>
> In this case, the correlation between IRQ numbers and bits in
> the status register is non-obvious, and the priorities are
> handled by manually checking each bit in a static order,
> re-reading the status register after each handled event.
>
> I moved the code into the new file and edited the syntax without
> changing this sequence to keep the behavior as close as possible
> to what it traditionally did.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>

This generally looks good to me, if I had time to go into my office
I could also test it but not right now because of external factors.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list