Skip to content
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

Note on relative priority of platform interrupts should cite sources #445

Open
mark-honman opened this issue Feb 4, 2025 · 2 comments
Open

Comments

@mark-honman
Copy link

In section 3.1.2 of the CLIC spec we have this note:

"The highest numbered interrupt wins in a tie (when privilege mode, level and priority are all identical). This is the same as in CLINT interrupt mode, but different than the PLIC."

I've not been able to find where the CLINT interrupt mode is defined to have highest numbered interrupt winning in a tie.
The Privileged ISA manual (20240411) has a note in section 3.1.9 which states:
"The platform-specific machine-level interrupt sources in bits 16 and above have platformspecific priority, but are typically chosen to have the highest service priority to support very fast local vectored interrupts."

The statement in the CLIC spec appears to be in conflict with this.

@christian-herber-nxp
Copy link
Collaborator

I think the note is unnecessary. There is a ton of interrupt controllers specs in RISC-V. Makes no sense that every interrupt controller spec states how it does prioritization differently. This is bound to be incomplete and redundant.

@mark-honman
Copy link
Author

Yes, that's a good idea... reduces confusion!

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

No branches or pull requests

2 participants