Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-08 Thread Szabolcs Nagy
The 06/05/2020 13:26, Richard Henderson wrote: > That assert is just wrong -- it's attempting to sanity check a virtual address > against a property associated with the physical address, and even doing that > incorrectly. > > I've pushed a fixup to the branch to remove it, and I'll look into addin

Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-05 Thread Richard Henderson
On 6/3/20 10:17 AM, Szabolcs Nagy wrote: > The 06/03/2020 09:21, Richard Henderson wrote: >> On 6/3/20 6:50 AM, Szabolcs Nagy wrote: >>> thanks my tests now get further but later i run into >>> the previous assert failure: >>> >>> target/arm/mte_helper.c:97:allocation_tag_mem: assertion failed: (ta

Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-03 Thread Szabolcs Nagy
The 06/03/2020 09:21, Richard Henderson wrote: > On 6/3/20 6:50 AM, Szabolcs Nagy wrote: > > thanks my tests now get further but later i run into > > the previous assert failure: > > > > target/arm/mte_helper.c:97:allocation_tag_mem: assertion failed: (tag_size > > <= in_page) > > > > i might be

Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-03 Thread Richard Henderson
On 6/3/20 6:50 AM, Szabolcs Nagy wrote: > thanks my tests now get further but later i run into > the previous assert failure: > > target/arm/mte_helper.c:97:allocation_tag_mem: assertion failed: (tag_size <= > in_page) > > i might be able to reduce it to a small reproducer > this time. i assume

Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-03 Thread Szabolcs Nagy
The 06/02/2020 14:58, Richard Henderson wrote: > On 5/29/20 5:04 AM, Szabolcs Nagy wrote: > > again i'm using the branch at > > > > https://github.com/rth7680/qemu/tree/tgt-arm-mte > > > > to test armv8.5-a mte, now qemu-system-aarch64 segfaults > > and it's easy to reproduce: minimal source and

Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-02 Thread Richard Henderson
On 5/29/20 5:04 AM, Szabolcs Nagy wrote: > again i'm using the branch at > > https://github.com/rth7680/qemu/tree/tgt-arm-mte > > to test armv8.5-a mte, now qemu-system-aarch64 segfaults > and it's easy to reproduce: minimal source and static > linked binary is attached (should be executed on lin

Re: another tst-arm-mte bug: qemu-system segfaults

2020-06-02 Thread Richard Henderson
On 5/29/20 5:04 AM, Szabolcs Nagy wrote: > again i'm using the branch at > > https://github.com/rth7680/qemu/tree/tgt-arm-mte > > to test armv8.5-a mte, now qemu-system-aarch64 segfaults > and it's easy to reproduce: minimal source and static > linked binary is attached (should be executed on lin

another tst-arm-mte bug: qemu-system segfaults

2020-05-29 Thread Szabolcs Nagy
again i'm using the branch at https://github.com/rth7680/qemu/tree/tgt-arm-mte to test armv8.5-a mte, now qemu-system-aarch64 segfaults and it's easy to reproduce: minimal source and static linked binary is attached (should be executed on linux with mte support, i used mte-v4 kernel with reverted