Re: [PATCH 03/14] target/arm/ptw: Set s1ns bit in fault info more consistently

2023-07-23 Thread Richard Henderson
On 7/14/23 16:46, Peter Maydell wrote: The s1ns bit in ARMMMUFaultInfo is documented as "true if we faulted on a non-secure IPA while in secure state". Both the places which look at this bit only do so after having confirmed that this is a stage 2 fault and we're dealing with Secure EL2, which le

[PATCH 03/14] target/arm/ptw: Set s1ns bit in fault info more consistently

2023-07-14 Thread Peter Maydell
The s1ns bit in ARMMMUFaultInfo is documented as "true if we faulted on a non-secure IPA while in secure state". Both the places which look at this bit only do so after having confirmed that this is a stage 2 fault and we're dealing with Secure EL2, which leaves the ptw.c code free to set the bit t