2025-05-23T12:19:31+02:00, Clément Léger cleger@rivosinc.com:
SBI_FWFT_MISALIGNED_DELEG needs hedeleg to be modified to delegate misaligned load/store exceptions. Save and restore it during CPU load/put.
How do you plan to access the value of hedeleg & MIS_DELEG from userspace?
(I think that modeling medeleg in ONE_REG is a clean solution.)
Thanks.