Re: [RISC-V] [tech-tee] TEE proposal for M-mode SMEP/SMAP via PMP
Excellent point, Greg.
I think either nop or setting a security error bit (which would cause an error the next time the entry or the PMP was used) would be better than making the exception depend on the data that's written to the CSR. Having an
exception on CSR data makes for an annoying pipeline timing issue.
On 12/20/19 7:04 PM, Greg Favor wrote: