Does menvcfgh exist on RV64?
No. The official CSR table defines menvcfgh as the RV32 CSR for accessing the upper 32 bits of menvcfg.
menvcfgh (0x31A) is the RV32 M-mode high-half CSR for bits 63:32 of menvcfg.
menvcfgh exists only on RV32 as the access window for menvcfg bits 63:32. It contains STCE, PBMTE, ADUE, CDE, DTE, PMM, and WPRI high fields; whether those fields are writable depends on the corresponding extensions.
On RV32, read menvcfgh before initializing lower-privilege environment state to observe the upper 32 bits of menvcfg.
Modify only target fields and preserve all other bits.
When needed, read the CSR back and confirm the effect through later lower-privilege accesses, traps, or state updates.
No. The official CSR table defines menvcfgh as the RV32 CSR for accessing the upper 32 bits of menvcfg.
No. Several fields are read-only zero when their corresponding extension is absent, and WPRI bits should be preserved when writing other fields.