diff options
author | Mark Rutland <mark.rutland@arm.com> | 2021-10-20 11:33:49 +0100 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2021-10-26 10:13:29 +0100 |
commit | 7ecbc648102f2fa80d2aefb75b7f8b482f1a4483 (patch) | |
tree | 40a3bed2aa7e86a3cc033cc559a0d158469622b9 /mm | |
parent | 418360b23113d62aa99586ada37806b4a7a53afa (diff) | |
download | linux-7ecbc648102f2fa80d2aefb75b7f8b482f1a4483.tar.bz2 |
irq: riscv: perform irqentry in entry code
In preparation for removing HANDLE_DOMAIN_IRQ_IRQENTRY, have arch/riscv
perform all the irqentry accounting in its entry code. As arch/riscv
uses GENERIC_IRQ_MULTI_HANDLER, we can use generic_handle_arch_irq() to
do so.
Since generic_handle_arch_irq() handles the irq entry and setting the
irq regs, and happens before the irqchip code calls handle_IPI(), we can
remove the redundant irq entry and irq regs manipulation from
handle_IPI().
There should be no functional change as a result of this patch.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions