Repair a verified behavior in riscv-software-src/riscv-isa-sim.
Repair a verified behavior in riscv-software-src/riscv-isa-sim.: a task in OriGent-SFT-Data (Harbor dataset). Spike's permission checks incorrectly consult the AIA hypervisor CSR hvictl even when Ssaia/Smaia is not enabled. hvictl is available only when AIA and the hypervisor extension are…
The task
Spike's permission checks incorrectly consult the AIA hypervisor CSR hvictl even when Ssaia/Smaia is not enabled. hvictl is available only when AIA and the hypervisor extension are enabled, so these checks can fail or crash while processing otherwise-valid CSR accesses in a non-AIA configuration.
Part of henryen/OriGent-SFT-Data.