Skip to content

Commit

Permalink
HSM: Clarify that resume_addr is for non-retentive suspend
Browse files Browse the repository at this point in the history
The wording was a bit vague about this one.

Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
palmer-dabbelt authored and atishp04 committed Jun 23, 2021
1 parent 712a4c3 commit f38bed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-sbi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ suspend state will not preserve hart register and CSR values.

Resuming from a retentive suspend state is straight forward and the
supervisor-mode software will see SBI suspend call return without any
failures.
failures. The `resume_addr` parameter is unused during retentive suspend.

Resuming from a non-retentive suspend state is relatively more involved and
requires software to restore various hart registers and CSRs for all privilege
Expand Down

0 comments on commit f38bed4

Please sign in to comment.