-
Notifications
You must be signed in to change notification settings - Fork 161
AIA ipi fix #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
AIA ipi fix #212
Conversation
7014857 to
7abfa9c
Compare
josecm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@filippofontana we have updated the internal IPI API and the ipi_id parameter not longer exists. I have rebased and fixed and the issue and placed it here. However, I don't have permissions over the fork's branch to do it. If you can please either add the “Allow edits from maintainers” to the branch in the fork, or update the fork's branch with the changes on the fix I've point to.
Thanks, and sorry for the (huge) delay
Signed-off-by: Filippo Fontana <filippo.fontana@minervasys.tech>
7abfa9c to
a2bf9f6
Compare
|
@josecm I should have integrated the additional changes. EDIT: spoke too soon, I guess I have to add the header file which defines |
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 <filippo.fontana@minervasys.tech> Signed-off-by: Jose Martins <josemartins90@gmail.com>
a2bf9f6 to
c72d901
Compare
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.