Re: [Qemu-devel] [PULL 0/3] tcg patch queue

2019-07-03 Thread Richard Henderson
On 7/3/19 6:21 PM, Peter Maydell wrote:
>> Alistair Francis (1):
>>   tcg/riscv: Fix RISC-VH host build failure
>>
>> Richard Henderson (2):
>>   tcg: Fix mmap lock assert on translation failure
>>   tcg: Fix expansion of INDEX_op_not_vec
> 
> Hi. This seems to cause an assertion failure running an
> x86-64 linux-user guest:
> 
> /home/petmay01/linaro/qemu-for-merges/build/all-linux-static/x86_64-linux-user/qemu-x86_64
> -L ./gnemul/qemu-x86_64 x86_64/ls -l dummyfile
> qemu-x86_64: 
> /home/petmay01/linaro/qemu-for-merges/accel/tcg/translate-all.c:2562:
> page_check_range: Assertion `start < ((target_ulong)1 <<
> L1_MAP_ADDR_SPACE_BITS)' failed.
> qemu-x86_64: /home/petmay01/linaro/qemu-for-merges/accel/tcg/cpu-exec.c:703:
> cpu_exec: Assertion `!have_mmap_lock()' failed.
> Makefile:6: recipe for target 'test' failed

Presumably this is the test from the old linux-user-test-0.3?
Well, it works for me, for both x86_64 and aarch64 hosts.

What does the rest of this host look like?


r~



Re: [Qemu-devel] [PULL 0/3] tcg patch queue

2019-07-03 Thread Peter Maydell
On Tue, 2 Jul 2019 at 16:05, Richard Henderson
 wrote:
>
> The following changes since commit c4e42a9c2b714de5cddabffe46c7789fcff49c30:
>
>   Merge remote-tracking branch 
> 'remotes/pmaydell/tags/pull-target-arm-20190701' into staging (2019-07-02 
> 12:58:32 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/rth7680/qemu.git tags/pull-tcg-20190702
>
> for you to fetch changes up to 0c3c385c62759e1427f88c5fc5b0d9741a456807:
>
>   tcg: Fix expansion of INDEX_op_not_vec (2019-07-02 15:59:42 +0200)
>
> 
> Queued tcg bug fixes
>
> 
> Alistair Francis (1):
>   tcg/riscv: Fix RISC-VH host build failure
>
> Richard Henderson (2):
>   tcg: Fix mmap lock assert on translation failure
>   tcg: Fix expansion of INDEX_op_not_vec

Hi. This seems to cause an assertion failure running an
x86-64 linux-user guest:

/home/petmay01/linaro/qemu-for-merges/build/all-linux-static/x86_64-linux-user/qemu-x86_64
-L ./gnemul/qemu-x86_64 x86_64/ls -l dummyfile
qemu-x86_64: 
/home/petmay01/linaro/qemu-for-merges/accel/tcg/translate-all.c:2562:
page_check_range: Assertion `start < ((target_ulong)1 <<
L1_MAP_ADDR_SPACE_BITS)' failed.
qemu-x86_64: /home/petmay01/linaro/qemu-for-merges/accel/tcg/cpu-exec.c:703:
cpu_exec: Assertion `!have_mmap_lock()' failed.
Makefile:6: recipe for target 'test' failed

thanks
-- PMM



Re: [Qemu-devel] [PULL 0/3] tcg patch queue

2019-07-02 Thread no-reply
Patchew URL: 
https://patchew.org/QEMU/20190702150542.12008-1-richard.hender...@linaro.org/



Hi,

This series failed the asan build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-fedora V=1 NETWORK=1
time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
=== TEST SCRIPT END ===

PASS 2 fdc-test /x86_64/fdc/no_media_on_start
PASS 3 fdc-test /x86_64/fdc/read_without_media
PASS 30 check-qjson /errors/limits/nesting
==8175==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 4 fdc-test /x86_64/fdc/media_change
PASS 5 fdc-test /x86_64/fdc/sense_interrupt
PASS 6 fdc-test /x86_64/fdc/relative_seek
---
PASS 32 test-opts-visitor /visitor/opts/range/beyond
PASS 33 test-opts-visitor /visitor/opts/dict/unvisited
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}  
tests/test-coroutine -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl 
--test-name="test-coroutine" 
==8219==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
==8219==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 
0x7ffe83d0d000; bottom 0x7f72ba6f8000; size: 0x008bc9615000 (600379052032)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
PASS 1 test-coroutine /basic/no-dangling-access
---
PASS 13 test-aio /aio/event/wait/no-flush-cb
PASS 12 fdc-test /x86_64/fdc/read_no_dma_19
PASS 13 fdc-test /x86_64/fdc/fuzz-registers
==8235==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 14 test-aio /aio/timer/schedule
PASS 15 test-aio /aio/coroutine/queue-chaining
PASS 16 test-aio /aio-gsource/flush
---
PASS 26 test-aio /aio-gsource/event/flush
PASS 27 test-aio /aio-gsource/event/wait/no-flush-cb
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}  
QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 QTEST_QEMU_IMG=qemu-img 
tests/ide-test -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl 
--test-name="ide-test" 
==8244==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 28 test-aio /aio-gsource/timer/schedule
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}  
tests/test-aio-multithread -m=quick -k --tap < /dev/null | 
./scripts/tap-driver.pl --test-name="test-aio-multithread" 
==8252==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 1 test-aio-multithread /aio/multi/lifecycle
PASS 1 ide-test /x86_64/ide/identify
==8265==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 2 test-aio-multithread /aio/multi/schedule
PASS 2 ide-test /x86_64/ide/flush
==8276==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 3 test-aio-multithread /aio/multi/mutex/contended
PASS 3 ide-test /x86_64/ide/bmdma/simple_rw
==8287==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 4 ide-test /x86_64/ide/bmdma/trim
==8293==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 5 ide-test /x86_64/ide/bmdma/short_prdt
PASS 4 test-aio-multithread /aio/multi/mutex/handoff
==8299==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 6 ide-test /x86_64/ide/bmdma/one_sector_short_prdt
==8310==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 5 test-aio-multithread /aio/multi/mutex/mcs
PASS 7 ide-test /x86_64/ide/bmdma/long_prdt
==8321==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 6 test-aio-multithread /aio/multi/mutex/pthread
==8321==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 
0x7ffd4390e000; bottom 0x7fa8c05fe000; size: 0x00548331 (362978279424)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}  
tests/test-throttle -m=quick -k --tap < /dev/null | ./scripts/tap-driver.pl 
--test-name="test-throttle" 
==8329==WARNING: ASan doesn't fully support makecontext/swapcontext functions 
and may produce false positives in some cases!
PASS 1 test-throttle /throttle/leak_bucket
PASS 2 test-throttle /throttle/compute_wait
PASS 3 test-throttle /throttle/init
---
PASS 15 test-throttle /throttle/config/iops_size
PASS 8 ide-tes

[Qemu-devel] [PULL 0/3] tcg patch queue

2019-07-02 Thread Richard Henderson
The following changes since commit c4e42a9c2b714de5cddabffe46c7789fcff49c30:

  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190701' 
into staging (2019-07-02 12:58:32 +0100)

are available in the Git repository at:

  https://github.com/rth7680/qemu.git tags/pull-tcg-20190702

for you to fetch changes up to 0c3c385c62759e1427f88c5fc5b0d9741a456807:

  tcg: Fix expansion of INDEX_op_not_vec (2019-07-02 15:59:42 +0200)


Queued tcg bug fixes


Alistair Francis (1):
  tcg/riscv: Fix RISC-VH host build failure

Richard Henderson (2):
  tcg: Fix mmap lock assert on translation failure
  tcg: Fix expansion of INDEX_op_not_vec

 include/exec/cpu-all.h|  1 +
 include/exec/cpu_ldst_useronly_template.h |  8 ++--
 accel/tcg/translate-all.c | 29 +
 tcg/riscv/tcg-target.inc.c|  4 ++--
 tcg/tcg-op-vec.c  |  6 ++
 5 files changed, 44 insertions(+), 4 deletions(-)