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

feat(arch/riscv): add SBI hart suspend #187

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

joaopeixoto13
Copy link
Member

No description provided.

Copy link
Member

@josecm josecm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SBI HSM suspend operation is only supported from SBI 0.3 onward, so you should also update the version expected from the firmware and the one return to the guest.

src/arch/riscv/sbi.c Outdated Show resolved Hide resolved
src/arch/riscv/sbi.c Outdated Show resolved Hide resolved
src/arch/riscv/sbi.c Outdated Show resolved Hide resolved
This commit adds support for the SBI hart suspend.
As specified in the SBI documentation, the suspend call is supported
only from firmware version 0.3 onward.

Signed-off-by: João Peixoto <[email protected]>
@josecm josecm merged commit 6070880 into bao-project:main Oct 30, 2024
31 checks passed
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