[PATCH 0/6] Extend irqchip framework for MSIs and line sensing

Anup Patel anup at brainfault.org
Mon May 11 21:28:41 PDT 2026


On Thu, Apr 23, 2026 at 10:53 AM Anup Patel <anup.patel at oss.qualcomm.com> wrote:
>
> This series further extends the OpenSBI irqchip framework to:
> 1) Allow interrupt clients specify line sensing type
> 2) Support MSI controller (aka IMSIC) as irqchip device
>
> These patches can also be found the irqchip_imp2_v1 branch
> at: https://github.com/avpatel/opensbi.git
>
> Anup Patel (6):
>   lib: sbi_irqchip: Check full range for existing handlers in
>     sbi_irqchip_register_handler()
>   lib: sbi_irqchip: Keep the handler list in sorted order for irqchip
>   lib: sbi_irqchip: Allow interrupt client to specify line sensing
>   lib: sbi_irqchip: Allow marking hardware interrupts as reserved
>   lib: sbi_irqchip: Allow setting hardware interrupt affinity
>   lib: sbi_irqchip: Add support for registering MSI handlers
>
>  include/sbi/sbi_irqchip.h |  49 +++++++-
>  lib/sbi/sbi_irqchip.c     | 258 +++++++++++++++++++++++++++++++++++---
>  lib/utils/irqchip/imsic.c |   9 +-
>  3 files changed, 292 insertions(+), 24 deletions(-)
>
> --
> 2.43.0
>

This series is a critical dependency for APLIC and IMSIC drivers
in OpenSBI hence merging it sooner.

Applied this series to the riscv/opensbi repo.

Thanks,
Anup



More information about the opensbi mailing list