On 2/21/23 07:25, Peter Maydell wrote:
You also want to enforce the RES0 bits on registers like PSPLIM, MSPLIM, FAULTMASK, PSP, MSP, if you're going to implement writes. Effectively you really end up wanting to get helper_v7m_msr to do the work for you.
Ho hum. I should have known it was more complicated than all that. I should probably just drop the write portion of the patch again for now. r~