[PATCH 0/3] APLIC hwirq implementation for irqchip

Raymond Mao raymondmaoca at gmail.com
Wed Feb 11 14:20:22 PST 2026


From: Raymond Mao <raymond.mao at riscstar.com>

This series implements the APLIC hwirq handling (mask / unmask /
eoi / setup / process) aligned with recent irqchip framework
refactoring [1], and register them during cold init.
Moreover, it provides a minimal APLIC direct-mode configuration
and test hooks under QEMU via UART RX.

[1] [PATCH 0/8] Extend irqchip framework for M-mode interrupts
https://lists.infradead.org/pipermail/opensbi/2026-February/009407.html

Raymond Mao (3):
  lib: sbi_irqchip: Add irqchip private context pointer in
    sbi_irqchip_device
  lib: utils: irqchip: implement APLIC hwirq operation hooks
  [NOT-FOR-UPSTREAM] lib: utils: irqchip: add QEMU virt test for APLIC wired IRQs

 Makefile                  |   3 +
 include/sbi/sbi_irqchip.h |   3 +
 lib/utils/irqchip/aplic.c | 235 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 241 insertions(+)

-- 
2.25.1




More information about the opensbi mailing list