linux-stable/arch/arm/mach-rpc
Arnd Bergmann c1fe8d054c ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER
This is one of the last platforms using the old entry path.
While this code path is spread over a few files, it is fairly
straightforward to convert it into an equivalent C version,
leaving the existing algorithm and all the priority handling
the same.

Unlike most irqchip drivers, this means reading the status
register(s) in a loop and always handling the highest-priority
irq first.

The IOMD_IRQREQC and IOMD_IRQREQD registers are not actaully
used here, but I left the code in place for the time being,
to keep the conversion as direct as possible. It could be
removed in a cleanup on top.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[ardb: drop obsolete IOMD_IRQREQC/IOMD_IRQREQD handling]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARMv7M
2021-12-03 18:43:38 +01:00
..
include/mach ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
dma.c
ecard-loader.S
ecard.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
ecard.h
fiq.S ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
floppydma.S
io-acorn.S printk: Userspace format indexing support 2021-07-19 11:57:48 +02:00
irq.c ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
Makefile
Makefile.boot
riscpc.c ARM: riscpc: Fix fall-through warning for Clang 2021-07-29 12:51:00 -05:00
time.c ARM: rpc: use legacy_timer_tick 2020-10-30 21:57:05 +01:00