[PATCH] irqchip/riscv-imsic: Report successful hardware retrigger

Björn Töpel bjorn at kernel.org
Tue Oct 27 02:53:39 PDT 2026


Avi Weiss <thnkslprpt at gmail.com> writes:

> imsic_irq_retrigger() writes to the IMSIC MSI register to retrigger
> an interrupt, but returns 0. The IRQ core treats zero as failure and
> may schedule a software resend despite the hardware retrigger.
>
> Return 1 after the MSI write to report successful hardware
> retriggering and prevent the unnecessary software resend.
>
> Fixes: 027e125acdba ("irqchip/riscv-imsic: Add device MSI domain support for platform devices")
> Signed-off-by: Avi Weiss <thnkslprpt at gmail.com>

Nice catch!

Reviewed-by: Björn Töpel <bjorn at kernel.org>



More information about the linux-riscv mailing list