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

Clint interrupts virtualization #199

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Wesdcv
Copy link
Collaborator

@Wesdcv Wesdcv commented Sep 19, 2024

Draft PR: Hopefully partially solves #186 (MEI is yet to implement).

@Wesdcv Wesdcv force-pushed the clint-interrupts-virtualization branch from 0c343b6 to efee9d6 Compare September 20, 2024 09:59
To verify correctness of interrupt virtualization, we should test some corner cases that are not currently addressed by firmware payloads
This tests verify that for virtualized m-mode interrupts from CLINT (timer&software) priority is right (e.g if two interrupts are pending simultaniously, MSI will be delivered before MTI), interrupt will be raised again if not cleared in trap handler, and that MSIs work overall (albeit that should already be covered by zephyr)
@Wesdcv Wesdcv force-pushed the clint-interrupts-virtualization branch from efee9d6 to fa21968 Compare September 20, 2024 11:42
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