Skip to content

Commit

Permalink
Merge pull request #174 from riscv/sstvala-clarification
Browse files Browse the repository at this point in the history
Clarify that Sstvala applies to virtual-instruction exceptions, too
  • Loading branch information
kasanovic authored Jun 23, 2024
2 parents a525ca4 + b9a77c8 commit d0ed17d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/profiles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ NOTE: This is a new extension name for this feature.
store, and instruction page-fault, access-fault, and misaligned
exceptions, and for breakpoint exceptions other than those caused by
execution of the `ebreak` or `c.ebreak` instructions. For
illegal-instruction exceptions, `stval` must be written with the
virtual-instruction and illegal-instruction exceptions, `stval` must be written with the
faulting instruction.

NOTE: This is a new extension name for this feature.
Expand Down Expand Up @@ -887,7 +887,7 @@ NOTE: This is a new extension name for this feature.
for load, store, and instruction page-fault, access-fault, and
misaligned exceptions, and for breakpoint exceptions other than
those caused by execution of the EBREAK or C.EBREAK instructions.
For illegal-instruction exceptions, stval must be written with the
For virtual-instruction and illegal-instruction exceptions, stval must be written with the
faulting instruction.

- *Sscounterenw* For any hpmcounter that is not read-only zero, the corresponding bit in scounteren must be writable.
Expand Down
2 changes: 1 addition & 1 deletion src/rva23-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ The following privileged extensions were also mandatory in RVA22S64:
for load, store, and instruction page-fault, access-fault, and
misaligned exceptions, and for breakpoint exceptions other than
those caused by execution of the EBREAK or C.EBREAK instructions.
For illegal-instruction exceptions, stval must be written with the
For virtual-instruction and illegal-instruction exceptions, stval must be written with the
faulting instruction.

- *Sscounterenw* For any hpmcounter that is not read-only zero, the corresponding bit in scounteren must be writable.
Expand Down
2 changes: 1 addition & 1 deletion src/rvb23-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ in RVB.
for load, store, and instruction page-fault, access-fault, and
misaligned exceptions, and for breakpoint exceptions other than
those caused by execution of the EBREAK or C.EBREAK instructions.
For illegal-instruction exceptions, stval must be written with the
For virtual-instruction and illegal-instruction exceptions, stval must be written with the
faulting instruction.

- *Sscounterenw* For any hpmcounter that is not read-only zero, the
Expand Down

0 comments on commit d0ed17d

Please sign in to comment.