On Thu, 14 Nov 2019 at 15:47, Alexandru Elisei <alexandru.elisei@xxxxxxx> wrote: > On 11/14/19 3:27 PM, Peter Maydell wrote: > > The virt board doesn't do EL3 by default, but if you add -machine secure=true > > to your command line then it it should emulate it, including a > > trustzone-aware GIC. > Indeed, and that made the test fail because apparently qemu implements it as > RAZ/WI (which is allowed by the architecture). Thank you for the suggestion! Hmm. The behaviour QEMU thinks it's implementing is: * if we have only one security state, then CTLR.DS is RAO/WI * if we have two security states, then: - for access from NonSecure, CTLR.DS is RAZ/WI - for access from Secure, CTLR.DS is initially 0, and is writeable, but if you write 1 to it then the only way to get it to go back to zero is to reset the system thanks -- PMM _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm