HF RL Explorer

Repair a verified behavior in riscv-software-src/opensbi.

Repair a verified behavior in riscv-software-src/opensbi.: a task in OriGent-SFT-Data (Harbor dataset). OpenSBI reads S-mode memory on behalf of an S-mode caller using unprivileged load/store accesses: while MSTATUS.MPRV is set, the access is address-translated with the caller's current S-mode…

The task

OpenSBI reads S-mode memory on behalf of an S-mode caller using unprivileged load/store accesses: while MSTATUS.MPRV is set, the access is address-translated with the caller's current S-mode paging (active satp), not with the M-mode physical view. This mechanism is used by the SBI 0.1 ecall handlers SBI_SEND_IPI,…

Part of henryen/OriGent-SFT-Data.