OpenCloudOS-Kernel/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
Makefile Merge branch 'sa1100-for-next'; commit 'riscpc^{/ARM: riscpc: enable chained scatterlist support}' into for-arm-soc 2019-07-03 11:44:46 +01:00
Makefile.boot treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dma.c ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
ecard-loader.S ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
ecard.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
ecard.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fiq.S ARM: riscpc: use GENERIC_IRQ_MULTI_HANDLER 2021-12-03 18:43:38 +01:00
floppydma.S ARM: SoC platform updates 2019-07-19 17:05:08 -07:00
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
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