Webcentive RISC-V Reference

hgeip

Hypervisor guest external interrupt pending

Address
0xE12
Group
Hypervisor and VS CSRs
Privilege
HRO (privileged spec CSR listing, Hypervisor Trap Handling)
Access
read-only; lowest privilege H (hypervisor, including VS CSRs)
Address range
Standard read-only
Name in riscv-unified-db
Hypervisor Guest External Interrupt Pending Register

Privileged spec: Hypervisor guest external interrupt pending

Description

The hgeip register is an HSXLEN-bit read-only register, formatted as that indicates pending guest external interrupts for this hart.

Guest external interrupts represent interrupts directed to individual virtual machines at VS-level. If a RISC-V platform supports placing a physical device under the direct control of a guest OS with minimal hypervisor intervention (known as pass-through or direct assignment between a virtual machine and the physical device), then, in such circumstance, interrupts from the device are intended for a specific virtual machine. Each bit of hgeip summarizes all pending interrupts directed to one virtual hart, as collected and reported by an interrupt controller. To distinguish specific pending interrupts from multiple devices, software must query the interrupt controller.

The number of bits implemented in hgeip and hgeie for guest external interrupts is UNSPECIFIED and may be zero. This number is known as GEILEN. The least-significant bits are implemented first, apart from bit 0. Hence, if GEILEN is nonzero, bits GEILEN:1 shall be writable in hgeie, and all other bit positions shall be read-only zeros in both hgeip and hgeie

From riscv-unified-db, reformatted.

Fields

FieldBitsTypeDescription
GEI_PENDINGRV32 31-1 / RV64 63-1RO-HGuest external interrupt pending bits.

Pending bits; see description of hgeip

Fields from riscv-unified-db; field types computed by IDL functions there are not shown.

Specification and related pages