hfence.vvma
Hypervisor fence guest virtual address
- Extension
- H
- XLEN
- RV32 and RV64
- Assembly (riscv-unified-db)
hfence.vvma xs1, xs2- Length
- 32-bit
Encoding
| 3125 | 2420 | 1915 | 1412 | 117 | 62 | 10 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0010001 | rs2 | rs1 | 000 | 00000 | 11100 | 11 | |||||||||||||||||||||||||
Match 0x22000073, mask 0xfe007fff. Source: hfence.vvma 11..7=0 rs1 rs2 31..25=0x11 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 virtual memory may use. The instruction
applies to guest virtual addresses within the range specified by xs1
and xs2, for all address spaces if xs2=0, or for the address space
identified by the ASID in xs2 otherwise. Only entries for the current
virtual machine (as identified by hgatp.VMID) are affected.
Description from riscv-unified-db, reformatted.