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
| 3125 | 2420 | 1915 | 1412 | 117 | 62 | 10 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0110001 | rs2 | rs1 | 000 | 00000 | 11100 | 11 | |||||||||||||||||||||||||
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.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs2 | 24:20 | rs2 |
| rs1 | 19:15 | rs1 |
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.