Re: Master cannot execute MTE instructions

2020-09-10 Thread Derrick McKee
Thanks for the help. The virt,mte=on did it! On Thu, Sep 10, 2020 at 1:49 PM Peter Maydell wrote: > On Thu, 10 Sep 2020 at 18:43, Andrew Jones wrote: > > > > On Thu, Sep 10, 2020 at 05:17:17PM +0100, Peter Maydell wrote: > > > What QEMU command line are you using to run this? > > > In particula

Re: Master cannot execute MTE instructions

2020-09-10 Thread Peter Maydell
On Thu, 10 Sep 2020 at 18:43, Andrew Jones wrote: > > On Thu, Sep 10, 2020 at 05:17:17PM +0100, Peter Maydell wrote: > > 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 > > boar

Re: Master cannot execute MTE instructions

2020-09-10 Thread Andrew Jones
On Thu, Sep 10, 2020 at 05:17:17PM +0100, Peter Maydell wrote: > On Thu, 10 Sep 2020 at 16:06, Derrick McKee wrote: > > > > Hi, > > > > As of commit 9435a8b3dd35f1f926f1b9127e8a906217a5518a compiled with the > > default configuration, softmmu-aarch64 issues an illegal instruction fault > > when

Re: Master cannot execute MTE instructions

2020-09-10 Thread Peter Maydell
On Thu, 10 Sep 2020 at 16:06, Derrick McKee 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

Master cannot execute MTE instructions

2020-09-10 Thread Derrick McKee
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. #include #include #include #include #define