qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Master cannot execute MTE instructions


From: Andrew Jones
Subject: Re: Master cannot execute MTE instructions
Date: Thu, 10 Sep 2020 19:43:46 +0200

On Thu, Sep 10, 2020 at 05:17:17PM +0100, Peter Maydell wrote:
> On Thu, 10 Sep 2020 at 16:06, Derrick McKee <derrick.mckee@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]