Re: [PATCH] target/arm: Fix MTE access checks for disabled SEL2

2022-03-31 Thread Peter Maydell
On Mon, 28 Mar 2022 at 19:04, Richard Henderson wrote: > > On 3/28/22 11:31, Idan Horowitz wrote: > > While not mentioned anywhere in the actual specification text, the > > HCR_EL2.ATA bit is treated as '1' when EL2 is disabled at the current > > security state. This can be observed in the psuedo-

Re: [PATCH] target/arm: Fix MTE access checks for disabled SEL2

2022-03-28 Thread Richard Henderson
On 3/28/22 11:31, Idan Horowitz wrote: While not mentioned anywhere in the actual specification text, the HCR_EL2.ATA bit is treated as '1' when EL2 is disabled at the current security state. This can be observed in the psuedo-code implementation of AArch64.AllocationTagAccessIsEnabled(). Signed

[PATCH] target/arm: Fix MTE access checks for disabled SEL2

2022-03-28 Thread Idan Horowitz
While not mentioned anywhere in the actual specification text, the HCR_EL2.ATA bit is treated as '1' when EL2 is disabled at the current security state. This can be observed in the psuedo-code implementation of AArch64.AllocationTagAccessIsEnabled(). Signed-off-by: Idan Horowitz --- target/arm/h