riscv-tee icon indicating copy to clipboard operation
riscv-tee copied to clipboard

Interaction between Ssmpu and mstatus.TVM/hstatus.VTVM?

Open dramforever opened this issue 2 years ago • 0 comments

It is not mentioned in the Ssmpu specification what happens if the smpu* CSRs are accessed in S-mode with mstatus.TVM = 1, or in VS-mode with hstatus.VTVM = 1. It seems reasonable to assume that doing so raises an Illegal Instruction exception or a Virtual Instruction Fault exception, respectively, but it might be a good idea to spell it out.

dramforever avatar May 14 '22 13:05 dramforever