On Thu, Sep 10, 2020 at 05:17:17PM +0100, Peter Maydell wrote: > On Thu, 10 Sep 2020 at 16:06, Derrick McKee <derrick.mc...@gmail.com> wrote: > > > > Hi, > > > > As of commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a compiled with the > > default configuration, softmmu-aarch64 issues an illegal instruction fault > > when executing a memory tag instruction. Below is a minimal code example > > that triggers the bug. > > What QEMU command line are you using to run this? > In particular, MTE is not enabled by default, so you need > "-cpu max,mte=on" or similar, is not enabled for any > board except 'virt', and doesn't work with KVM, only TCG.
Actually I think the 'max' cpu type has it enabled by default, but you need '-machine virt,mte=on' for it to work. Thanks, drew