Skip to content

Hypervisor support#549

Merged
timsifive merged 12 commits intoriscv:masterfrom
pdonahue-ventana:hypervisor-support
Sep 22, 2020
Merged

Hypervisor support#549
timsifive merged 12 commits intoriscv:masterfrom
pdonahue-ventana:hypervisor-support

Conversation

@pdonahue-ventana
Copy link
Copy Markdown
Collaborator

Added support for the H extension. Also:

  • Clarify that the backwards-compatible mscontext is optional.
  • Clarify that registers are "accessible" in specified modes, not just "writable"
  • Prohibit hcontext alias when the H extension isn't supported since this is in the CSR address space that's normally just for hypervisor.

Copy link
Copy Markdown
Collaborator

@ernie-sifive ernie-sifive left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! I have a few minor comments.

pdonahue-ventana and others added 4 commits September 12, 2020 11:58
Co-authored-by: Ernie Edgar <43148441+ernie-sifive@users.noreply.github.com>
Remove comments about future H mode support
Clarify in various places that enables are for "S/HS" instead of just "S" mode.
Copy link
Copy Markdown
Collaborator

@ernie-sifive ernie-sifive left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Copy Markdown
Contributor

@timsifive timsifive left a comment

Choose a reason for hiding this comment

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

Looks good overall, just one comment.

Thanks again for taking this on.

Copy link
Copy Markdown
Contributor

@timsifive timsifive left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you. I'll merge this tomorrow unless there are more comments.

@timsifive timsifive merged commit 7aa5978 into riscv:master Sep 22, 2020
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.

4 participants