Re: [Qemu-devel] [PATCH v8 19/35] RISC-V: Allow S-mode mxr access when priv ISA >= v1.10

2018-04-26 Thread Alistair Francis
On Wed, Apr 25, 2018 at 5:10 PM Michael Clark wrote: > The mstatus.MXR alias in sstatus should only be writable > by S-mode if the privileged ISA version >= v1.10. Also MXR > was masked in sstatus CSR read but not sstatus CSR writes. > Now we correctly mask sstatus.mxr in both

[Qemu-devel] [PATCH v8 19/35] RISC-V: Allow S-mode mxr access when priv ISA >= v1.10

2018-04-25 Thread Michael Clark
The mstatus.MXR alias in sstatus should only be writable by S-mode if the privileged ISA version >= v1.10. Also MXR was masked in sstatus CSR read but not sstatus CSR writes. Now we correctly mask sstatus.mxr in both read and write. Cc: Sagar Karandikar Cc: Bastian