riscv: smp: support IPI via PLIC #78917
Labels
area: RISCV
RISCV Architecture (32-bit & 64-bit)
area: SMP
Symmetric multiprocessing
Enhancement
Changes/Updates/Additions to existing features
Is your enhancement proposal related to a problem? Please describe.
The RISC-V's SMP implementation assumed the existence of a CLINT. However, that is not always the case, the MSIP context of a core could be connected to a PLIC, i.e. the Andes AE350 SoC, and IPI has to be routed through the PLIC instead of the CLINT.
Describe the solution you'd like
Support PLIC-based SMP IPI upstream, potentially with the option to not compile the IPI implementation altogether to allow out-of-tree implementation, i.e.:
Describe alternatives you've considered
At the very least, we need a way to disable the in-tree CLINT-based SMP IPI implementation, so that PLIC-based SMP IPI can be implemented out-of-tree.
Additional context
In-flight PRs to make the PLIC-based SMP IPI possible:
riscv_plic_irq_set_pending()
#78611The text was updated successfully, but these errors were encountered: