Skip to content

Conversation

filippofontana
Copy link
Contributor

This commits adds back a change (generic irqc function for sending IPIs in RISC-V) which probably got lost during the integration of AIA inside the main codebase.

@filippofontana filippofontana force-pushed the aia-ipi-fix branch 2 times, most recently from 2cf3c5e to 7014857 Compare April 14, 2025 14:42
When using IMSIC, IPIs are sent through direct MSI write in the
interrupt file of the target hart. The path through OpenSBI
(sbi_send_ipi) is not suitable since SUPERVISOR SOFTWARE INTERRUPTS
(SSI) are not enabled in this scenario.

By using the generic irqc_send_ipi() function, the IPI sending process
is handled correctly in all the possible configurations (PLIC, APLIC,
IMSIC).

Signed-off-by: Filippo Fontana <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant