CSR Bit Fields

RISC-V hviprio2 CSR Register

Address 0x647Privilege Hypervisor (H extension)Access HRW / 64-bitHypervisor and virtualization CSRs

hviprio2 holds VS-level interrupt priority bytes for interrupts 16 through 23.

Field Map

Understand hviprio2 By Bit Fields

8 key fields
7:0

IPRIO16

WARL or read-only zero

Unsigned priority number for interrupt 16.

IPRIO16 (bits 7:0) — Unsigned priority number for interrupt 16.

What This Field Controls

  • - Unsigned priority number for interrupt 16.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
15:8

IPRIO17

WARL or read-only zero

Unsigned priority number for interrupt 17.

IPRIO17 (bits 15:8) — Unsigned priority number for interrupt 17.

What This Field Controls

  • - Unsigned priority number for interrupt 17.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
23:16

IPRIO18

WARL or read-only zero

Unsigned priority number for interrupt 18.

IPRIO18 (bits 23:16) — Unsigned priority number for interrupt 18.

What This Field Controls

  • - Unsigned priority number for interrupt 18.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
31:24

IPRIO19

WARL or read-only zero

Unsigned priority number for interrupt 19.

IPRIO19 (bits 31:24) — Unsigned priority number for interrupt 19.

What This Field Controls

  • - Unsigned priority number for interrupt 19.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
39:32

IPRIO20

WARL or read-only zero

Unsigned priority number for interrupt 20.

IPRIO20 (bits 39:32) — Unsigned priority number for interrupt 20.

What This Field Controls

  • - Unsigned priority number for interrupt 20.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
47:40

IPRIO21

WARL or read-only zero

Unsigned priority number for interrupt 21.

IPRIO21 (bits 47:40) — Unsigned priority number for interrupt 21.

What This Field Controls

  • - Unsigned priority number for interrupt 21.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
55:48

IPRIO22

WARL or read-only zero

Unsigned priority number for interrupt 22.

IPRIO22 (bits 55:48) — Unsigned priority number for interrupt 22.

What This Field Controls

  • - Unsigned priority number for interrupt 22.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
63:56

IPRIO23

WARL or read-only zero

Unsigned priority number for interrupt 23.

IPRIO23 (bits 63:56) — Unsigned priority number for interrupt 23.

What This Field Controls

  • - Unsigned priority number for interrupt 23.

Common Values

This field is better understood together with surrounding context than as a fixed memorized enumeration.

Open Official Manual
Official Basis & Search Notes

hviprio2 is an AIA hypervisor CSR; it is not a VS CSR alias.

AIA VS-level interrupt rules define field layout, writability, and read-only-zero conditions.

What To Check First When Reading This CSR

  • - This CSR exists only with the H extension and AIA; AIA mstateen0.AIA does not restrict M-mode access.

Risk Checks Before Writing

  • - Write only defined, implemented writable fields; confirm a WARL field by reading it back.

Put It Back Into A Real Flow

1

Confirm that H and AIA are implemented.

2

Confirm RV32/RV64 and whether each field is read-only zero or implemented writable.