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

Clarify that Sstvala applies to virtual-instruction exceptions, too #174

Merged
merged 1 commit into from
Jun 23, 2024

Conversation

aswaterman
Copy link
Member

Both illegal-instruction and virtual-instruction exceptions must populate stval with the faulting instruction.

This is not a change; the behavior was already mandated by the following clause in the hypervisor spec: https://github.com/riscv/riscv-isa-manual/blob/65c6b5d3e69cdc2bd2658f9639fd10553c4b34e0/src/hypervisor.adoc#L2040-L2041

We are replicating that information here for added clarity.

Both illegal-instruction and virtual-instruction exceptions must populate
stval with the faulting instruction.

This is not a change; the behavior was already mandated by the following
clause in the hypervisor spec: https://github.com/riscv/riscv-isa-manual/blob/65c6b5d3e69cdc2bd2658f9639fd10553c4b34e0/src/hypervisor.adoc#L2040-L2041

We are replicating that information here for added clarity.
@kasanovic
Copy link
Collaborator

should also be added to RVA/B23 profiles.

@aswaterman
Copy link
Member Author

I had already done so as part of the original PR. Or did you spot another place I missed?

@kasanovic kasanovic merged commit d0ed17d into main Jun 23, 2024
2 checks passed
@kasanovic kasanovic deleted the sstvala-clarification branch June 23, 2024 01:09
@kasanovic
Copy link
Collaborator

OK - mistake on my end. Will merge now.

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