Re: [PATCH 07/14] target/arm/ptw: Only fold in NSTable bit effects in Secure state

2023-07-23 Thread Richard Henderson
On 7/14/23 16:46, Peter Maydell wrote: When we do a translation in Secure state, the NSTable bits in table descriptors may downgrade us to NonSecure; we update ptw->in_secure and ptw->in_space accordingly. We guard that check correctly with a conditional that means it's only applied for Secure s

[PATCH 07/14] target/arm/ptw: Only fold in NSTable bit effects in Secure state

2023-07-14 Thread Peter Maydell
When we do a translation in Secure state, the NSTable bits in table descriptors may downgrade us to NonSecure; we update ptw->in_secure and ptw->in_space accordingly. We guard that check correctly with a conditional that means it's only applied for Secure stage 1 translations. However, later on i