On Fri, Oct 18, 2024 at 4:27 AM Ved Shanbhogue <v...@rivosinc.com> wrote: > > Alistair Francis wrote: > >$ grep -r sstatus.SDT | grep SRET > >src/hypervisor.adoc:if the new privilege mode is VU, the `SRET` > >instruction sets `vsstatus.SDT` > > > >What am I missing here? > > https://github.com/riscv/riscv-isa-manual/blob/ef2ec9dc9afd003d0dab6d5ca36db59864c8483c/src/machine.adoc?plain=1#L538
Ah, I thought you were quoting the spec directly. Makes sense. This patch misses the MDT bit clearing though. I'm guessing that's implemented in a different patch, but it should be pulled in here instead Alistair > > > regards > ved