CSR Bit Fields

RISC-V vsie CSR Register

Address 0x204Privilege Hypervisor direct / VS aliasAccess HRW / 64-bit with AIA; otherwise follows VSXLEN supervisor semanticsHypervisor and virtualization CSRs

vsie holds virtual supervisor interrupt-enable bits, widened to 64 bits by AIA.

Field Map

Understand vsie By Bit Fields

1 key fields
63:0

IE

RW

vsie virtual supervisor interrupt-enable bits. Only officially defined interrupt bits have the 0/1 enable meaning; undefined or reserved bits do not gain that meaning.

IE (bits 63:0) — vsie virtual supervisor interrupt-enable bits. Only officially defined interrupt bits have the 0/1 enable meaning; undefined or reserved bits do not gain that meaning.

What This Field Controls

  • - vsie virtual supervisor interrupt-enable bits. Only officially defined interrupt bits have the 0/1 enable meaning; undefined or reserved bits do not gain that meaning.

Common Values

0Disabled

Only for officially defined virtual supervisor interrupt bits: 0 means that bit is disabled; undefined, reserved, or read-only-zero bits follow the official rules.

1Enabled

Only for officially defined virtual supervisor interrupt bits: 1 means that bit is enabled; delivery also depends on vsstatus.SIE and pending state. Undefined or reserved bits have no fixed 1=enabled meaning.

Open Official Manual
Official Basis & Search Notes

vsie is a VS virtual-interrupt CSR. The separate CSR address is for M/HS-side management; when V=1, guest access to the corresponding supervisor CSR is substituted with VS state unless an extension specifies otherwise.

vsie address, access class, and width are checked against the official CSR tables: 0x204, HRW, 64-bit with AIA; otherwise follows VSXLEN supervisor semantics.
AIA widens VS interrupt-enable/pending state to 64 bits and provides RV32 high-half CSRs.
When writing, modify only officially defined fields; handle WARL, WLRL, WPRI, and reserved fields according to the official specification and implementation behavior.

What To Check First When Reading This CSR

  • - vsie's separate CSR address is in the official HRW access class; a VS/VU guest normally reaches VS state through the corresponding supervisor CSR alias.
  • - Before reading it, confirm that the defining extension such as H, AIA, Sstc, Smstateen, or Smcsrind is implemented.

Risk Checks Before Writing

  • - When writing vsie, modify only officially defined target fields and preserve WPRI, reserved, and unchanged fields.

Put It Back Into A Real Flow

1

M/HS software may access the VS copy through the separate CSR address.

2

When V=1, guest access to the corresponding supervisor CSR aliases to VS state; direct access to the separate VS CSR address raises a virtual-instruction exception.

3

Update only official fields and do not treat VS state as ordinary HS supervisor state.

FAQ

Can VS-mode directly access vsie's separate CSR address?

No. The H extension substitutes VS state for the corresponding supervisor CSR when V=1; direct access to the separate VS CSR address raises a virtual-instruction exception.

What does vsie mainly hold?

vsie holds virtual supervisor interrupt-enable bits, allowing the hypervisor to manage guest-supervisor trap, status, or execution context.