Repair a verified behavior in riscv-collab/riscv-openocd.
Repair a verified behavior in riscv-collab/riscv-openocd.: a task in OriGent-SFT-Data (Harbor dataset). OpenOCD's RISC-V target implements its public target virt2phys operation as a single-stage supervisor translation controlled by satp . That behavior is incomplete when the target is in…
The task
OpenOCD's RISC-V target implements its public target `virt2phys` operation as a single-stage supervisor translation controlled by `satp`. That behavior is incomplete when the target is in hypervisor mode (`priv.V=1`): the operation ignores `vsatp` and `hgatp`, does not perform two-stage translation, and does not…
Part of henryen/OriGent-SFT-Data.