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

Resolve https://github.com/riscv-non-isa/riscv-brs/issues/118 #141

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

andreiw
Copy link
Collaborator

@andreiw andreiw commented Apr 11, 2024

We can remove the SRST requirement. It doesn't matter how SystemReset is implemented, we're only concerned with it being the only mechanism used by a BRS-I OS.

What about BRS-B? Well it can choose to do whatever, which (most likely) will mean using SRST. A particular BRS-B implementation may impose any number of additional requirements not actually present in the BRS spec.

If we can do this for SRST, why can't we do this for HSM? Because the SBI requirements are effectively the common requirements for BRS-B and BRS-I, and we don't /have/ (or want) another mechanism for hart manipulation.

@andreiw
Copy link
Collaborator Author

andreiw commented Apr 12, 2024

@atishp04 and @vlsunil, does this sound reasonable to you?

@vlsunil
Copy link
Collaborator

vlsunil commented Apr 15, 2024

I think it makes sense to remove SRST requirement. But for HSM, atleast linux directly uses HSM today. I don't think we can mandate MP_SERVICES_PROTOOL which is defined in PI spec. So, IMO, we should keep HSM as mandatory.

Remove SRST requirement. It doesn't matter how SystemReset is implemented,
we're only concerned with it being the only mechanism used by a BRS-I
OS.

What about BRS-B? Well it can choose to do whatever, which (most likely)
will mean using SRST. A particular BRS-B implementation may impose any number
of additional requirements not actually present in the BRS spec.

Signed-off-by: Andrei Warkentin <[email protected]>
@andreiw andreiw merged commit 518abb0 into riscv-non-isa:main Apr 15, 2024
2 checks passed
@andreiw andreiw deleted the issue118 branch April 15, 2024 17:16
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.

2 participants