Webcentive RISC-V Reference

hfence.gvma

Hypervisor fence guest-physical address

Extension
H
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
hfence.gvma xs1, xs2
Length
32-bit

Encoding

31252420191514121176210
0110001rs2rs1000000001110011

Match 0x62000073, mask 0xfe007fff. Source: hfence.gvma 11..7=0 rs1 rs2 31..25=0x31 14..12=0 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_h.

FieldBitsriscv-opcodes name
rs224:20rs2
rs119:15rs1

Description

Invalidates any address-translation cache entries that a subsequent implicit memory access to guest physical memory may use. The instruction applies to any guest physical addresses within the range specified by xs1 and xs2, for all address spaces if xs2=0, or for the address space identified by the VMID in xs2 otherwise.

Description from riscv-unified-db, reformatted.

Specification and related pages