You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] [RISC-V] PLIC completion before ISR dispatch in non-DM mode #12010
For level-triggered interrupts, this may cause the same IRQ to be dispatched again before the device handler clears the interrupt source.
According to the RISC-V PLIC specification, completion normally follows interrupt servicing.
The DM path already handles level-triggered interrupts in this order, with plic_irq_eoi() called after rt_pic_handle_isr().
Would it make sense to adjust the completion order in the non-DM path as well? I noticed that the DM path handles edge-triggered interrupts differently, so I'd appreciate some guidance on the intended behavior here.
Activity
github-actions commentedon Nov 9, 2026
如需认领并处理此 Issue,请评论
/claim。To claim and work on this issue, comment
/claim.[libcpu][risc-v] Fix PLIC completion order in non-DM mode
[libcpu][risc-v] Fix PLIC completion order in non-DM mode
[libcpu][risc-v] Fix PLIC completion order in non-DM mode