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

Supervisor-level iprio configurability #102

Open
evgeniy-paltsev opened this issue Oct 31, 2024 · 1 comment
Open

Supervisor-level iprio configurability #102

evgeniy-paltsev opened this issue Oct 31, 2024 · 1 comment

Comments

@evgeniy-paltsev
Copy link

The AIA spec says

For a given interrupt number, if the corresponding bit in sie is read-only zero, then the interrupt’s priority number in the supervisor-level iprio array must be read-only zero as well.

Does it include the case when sie[n] is read-only zero because corresponding mideleg[n] & mvien[n] bits are both set to zero?
I'm assuming here that either mideleg[n] or mvien[n] (or both) is writable and can be set to 1.

@jhauser-us
Copy link
Collaborator

First, I should add a correction: When the H (hypervisor) extension is implemented, the AIA spec should say, "if the corresponding bit is read-only zero in both sie and hie, then the interrupt’s priority number in the supervisor-level iprio array must be read-only zero as well."

Does it include the case when sie[n] is read-only zero because corresponding mideleg[n] & mvien[n] bits are both set to zero?

Yes, it does.

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