Re: proposal to add "virtual instruction exception" to the hypervisor extension
Jonathan Behrens <behrensj@...>
It mostly just comes down to crossing out "In VS-mode" in your list of cases for trapping when V=1: - attempts to execute an HFENCE instruction or to access an implemented hypervisor CSR or VS CSR; - attempts to execute SRET when hstatus.VTSR = 1 or in VU-mode; - attempts to execute an SFENCE instruction or to access satp, when hstatus.VTVM = 1 or in VU-mode A few more cases I'm less sure if they make sense: - attempts to access an unimplemented hypervisor CSR - attempts to access a supervisor CSR in VU-mode - attempts to execute MRET or access an M-mode CSR Jonathan Jonathan Behrens wrote: |
|