[PATCH v8 14/14] RISC-V: KVM: add support for SBI_FWFT_MISALIGNED_DELEG

Radim Krčmář rkrcmar at ventanamicro.com
Fri May 23 06:08:04 PDT 2025


2025-05-23T12:19:31+02:00, Clément Léger <cleger at 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.



More information about the kvm-riscv mailing list