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

fix(ipc): inject non-hw interupt #178

Merged
merged 1 commit into from
Sep 27, 2024
Merged

fix(ipc): inject non-hw interupt #178

merged 1 commit into from
Sep 27, 2024

Conversation

josecm
Copy link
Member

@josecm josecm commented Sep 27, 2024

The IPC module was injecting the IPC object interrupt as an hardware interrupt by default using vcpu_inject_hw_irq. However, this interrupt is purely virtual since it does not have a counterpart in hardware and the way bao handles the two kinds of interrupts is different, especially on the arm architecture.

This PR fixes it by calling the more generic vcpu_inject_irq which internally decides if it should inject it as a virtual interrupt or virtual.

@DavidMCerdeira DavidMCerdeira merged commit dde8a88 into main Sep 27, 2024
27 checks passed
@DavidMCerdeira DavidMCerdeira deleted the fix/ipc_inject_irq branch September 27, 2024 17:01
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.

3 participants