ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

Sha

T1 riscv feature feature
Augmented hypervisor
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon Scopev1.0.0 (ratified)
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db

Summary

*Sha* comprises the following extensions:

Syntax / Encoding

Sha v1.0.0 (ratified)

Reference Notes

*Sha* comprises the following extensions:

** *H* The hypervisor extension.

** *Ssstateen* Supervisor-mode view of the state-enable extension.  The
   supervisor-mode (`sstateen0-3`) and hypervisor-mode (`hstateen0-3`)
   state-enable registers must be provided.

** *Shcounterenw* For any `hpmcounter` that is not read-only zero, the corresponding bit in `hcounteren` must be writable.

** *Shvstvala* `vstval` must be written in all cases described above for `stval`.

** *Shtvala* `htval` must be written with the faulting guest physical
   address in all circumstances permitted by the ISA.

** *Shvstvecd* `vstvec.MODE` must be capable of holding the value 0 (Direct).
  When `vstvec.MODE`=Direct, `vstvec.BASE` must be capable of holding
  any valid four-byte-aligned address.

** *Shvsatpa* All translation modes supported in `satp` must be supported in `vsatp`.

** *Shgatpa* For each supported virtual memory scheme SvNN supported in
  `satp`, the corresponding hgatp SvNNx4 mode must be supported.  The
  `hgatp` mode Bare must also be supported.

[NOTE]
Sha is a new profile-defined extension that captures the
full set of features that are mandated to be supported along with the
H extension.  There is no change to the features added by including
the hypervisor extension in a profile--the new name is solely to
simplify the text of the profiles.  The definition has been added to
the RVA22 profile text, where the hypervisor extension was first
added, and will be added to the hypervisor section of the combined ISA
manual.