qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 2eb446: tests/docker: Add debian-nios2-cross


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 2eb446: tests/docker: Add debian-nios2-cross image
Date: Thu, 04 Nov 2021 05:34:13 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 2eb4461ad51724b608f13def13e27ff28dd06c6b
      
https://github.com/qemu/qemu/commit/2eb4461ad51724b608f13def13e27ff28dd06c6b
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M MAINTAINERS
    M tests/docker/Makefile.include
    A tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh
    A tests/docker/dockerfiles/debian-toolchain.docker

  Log Message:
  -----------
  tests/docker: Add debian-nios2-cross image

Build the entire cross tool chain from source.
For this reason, default to caching.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
[AJB: honour NOUSER in cached fetch and build, update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211014224435.2539547-6-richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20211026102234.3961636-6-alex.bennee@linaro.org>


  Commit: b58a4e688adf23b04ddd4845f1956d21d4ce87f7
      
https://github.com/qemu/qemu/commit/b58a4e688adf23b04ddd4845f1956d21d4ce87f7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M MAINTAINERS
    M tests/docker/Makefile.include
    A tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh

  Log Message:
  -----------
  tests/docker: Add debian-microblaze-cross image

Build the entire cross tool chain from source.
For this reason, default to caching.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
[AJB: Update MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211014224435.2539547-7-richard.henderson@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211026102234.3961636-7-alex.bennee@linaro.org>


  Commit: d654283d0b18bce73fde862932a1fd01cf44f5c1
      
https://github.com/qemu/qemu/commit/d654283d0b18bce73fde862932a1fd01cf44f5c1
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg: Enable container_cross_cc for microblaze

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211014224435.2539547-8-richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211026102234.3961636-8-alex.bennee@linaro.org>


  Commit: 73594998f7f6cd6cb755b474aebf62ea247bb3a5
      
https://github.com/qemu/qemu/commit/73594998f7f6cd6cb755b474aebf62ea247bb3a5
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/tcg/configure.sh
    M tests/tcg/sh4/Makefile.target

  Log Message:
  -----------
  tests/tcg: Fix some targets default cross compiler path

We do not want a shell command substitution, but a parameter
substitution (with assignment). Replace $() -> ${}, otherwise
the expanded command return an empty string and the $cross_cc
variable is not set.

Fixes: 634ef789f8e ("tests/tcg: add more default compilers to configure.sh")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[AJB: disable sh4 linux-test]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211023164329.328137-1-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-9-alex.bennee@linaro.org>


  Commit: a7181a287614b716e3fe2f79deec002232c2a360
      
https://github.com/qemu/qemu/commit/a7181a287614b716e3fe2f79deec002232c2a360
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: split PARTIAL into PARTIAL and VIRTUAL images

This is mostly to ensure we don't include the toolchain and bootstrap
builds in DOCKER_IMAGES which is useful when verifying all images
still build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-10-alex.bennee@linaro.org>


  Commit: 67f80eb4d0813788046a204595345d1195e767fb
      
https://github.com/qemu/qemu/commit/67f80eb4d0813788046a204595345d1195e767fb
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M MAINTAINERS
    M tests/tcg/configure.sh
    A tests/tcg/nios2/Makefile.target

  Log Message:
  -----------
  tests/tcg: enable debian-nios2-cross for test building

Now we have a nios2 test image we can start using it to build tests.
However signal handling in nios2 is still broken so we disable the
signals and linux-test tests that trigger the bug.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-12-alex.bennee@linaro.org>


  Commit: 482cd5f08eeaea2722717ebe65ef0dc8dd1243b5
      
https://github.com/qemu/qemu/commit/482cd5f08eeaea2722717ebe65ef0dc8dd1243b5
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  ebpf: really include it only in system emulators

eBPF libraries are being included in user emulators, which is useless and
also breaks --static compilation if a shared library for libbpf is
present in the system.

Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211012162252.263933-1-pbonzini@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-bt: Warner Losh <imp@bsdimp.com>
Message-Id: <20211026102234.3961636-13-alex.bennee@linaro.org>


  Commit: ad039c506edaf11fc39fca218c751b26521da21c
      
https://github.com/qemu/qemu/commit/ad039c506edaf11fc39fca218c751b26521da21c
  Author: Mahmoud Mandour <ma.mandourr@gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M contrib/plugins/cache.c

  Log Message:
  -----------
  plugins/cache: freed heap-allocated mutexes

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210810134844.166490-2-ma.mandourr@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211026102234.3961636-14-alex.bennee@linaro.org>


  Commit: 14f3110a99d4edf683c6b503ca02dba09a124aff
      
https://github.com/qemu/qemu/commit/14f3110a99d4edf683c6b503ca02dba09a124aff
  Author: Mahmoud Mandour <ma.mandourr@gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M contrib/plugins/cache.c

  Log Message:
  -----------
  plugins/cache: implement unified L2 cache emulation

This adds an implementation of a simple L2 configuration, in which a
unified L2 cache (stores both blocks of instructions and data) is
maintained for each core separately, with no inter-core interaction
taken in account. The L2 cache is used as a backup for L1 and is only
accessed if the wanted block does not exist in L1.

In terms of multi-threaded user-space emulation, the same approximation
of L1 is done, a static number of caches is maintained, and each and
every memory access initiated by a thread will have to go through one of
the available caches.

An atomic increment is used to maintain the number of L2 misses per
instruction.

The default cache parameters of L2 caches is:

    2MB cache size
    16-way associativity
    64-byte blocks

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210810134844.166490-3-ma.mandourr@gmail.com>
Message-Id: <20211026102234.3961636-15-alex.bennee@linaro.org>


  Commit: 53366adf9c0c6b00ec54ff3074037c82995c7ed0
      
https://github.com/qemu/qemu/commit/53366adf9c0c6b00ec54ff3074037c82995c7ed0
  Author: Mahmoud Mandour <ma.mandourr@gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M contrib/plugins/cache.c

  Log Message:
  -----------
  plugins/cache: split command line arguments into name and value

This way of handling args is more lenient and sets a better framework to
parse boolean command line arguments.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210810134844.166490-4-ma.mandourr@gmail.com>
Message-Id: <20211026102234.3961636-16-alex.bennee@linaro.org>


  Commit: 447f935674214dd4e449cc4a27711489779cd1ff
      
https://github.com/qemu/qemu/commit/447f935674214dd4e449cc4a27711489779cd1ff
  Author: Mahmoud Mandour <ma.mandourr@gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M contrib/plugins/cache.c

  Log Message:
  -----------
  plugins/cache: make L2 emulation optional through args

By default L2 is not enabled and is enabled by either using the
newly-introduced "l2" boolean argument, or by setting any of the L2
cache parameters using args. On specifying "l2=on", the default cache
configuration is used.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210810134844.166490-5-ma.mandourr@gmail.com>
Message-Id: <20211026102234.3961636-17-alex.bennee@linaro.org>


  Commit: b8312e04c8116b7787c54eb6c3cfee712b74f2f3
      
https://github.com/qemu/qemu/commit/b8312e04c8116b7787c54eb6c3cfee712b74f2f3
  Author: Mahmoud Mandour <ma.mandourr@gmail.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M docs/devel/tcg-plugins.rst

  Log Message:
  -----------
  docs/tcg-plugins: add L2 arguments to cache docs

cache plugin now allows optional L2 per-core cache emulation that can be
configured through plugin arguments, this commit adds this functionality
to the docs.

While I'm at it, I editted the bullet point for cache plugin to say:
    contrib/plugins/cache.c
instead of
    contrib/plugins/cache
to match other plugins.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210810134844.166490-6-ma.mandourr@gmail.com>
Message-Id: <20211026102234.3961636-18-alex.bennee@linaro.org>


  Commit: a00e37a4be88a043fea3e8be3ee3a85f6c4939cf
      
https://github.com/qemu/qemu/commit/a00e37a4be88a043fea3e8be3ee3a85f6c4939cf
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M chardev/char-mux.c
    M stubs/meson.build
    A stubs/qmp-quit.c

  Log Message:
  -----------
  chardev: don't exit() straight away on C-a x

While there are a number of uses in the code-base of the exit(0)
pattern it gets in the way of clean exit which can do all of it's
house-keeping. In particular it was reported that you can crash
plugins this way because TCG can still be running on other threads
when the atexit callback is called.

Use qmp_quit() instead which takes care of some housekeeping before
triggering the shutdown.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reported-by: Lukas Jünger <lukas.junger@greensocs.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20211026102234.3961636-19-alex.bennee@linaro.org>


  Commit: e83f79b3faee1316a243b05bb768840d21cec6f4
      
https://github.com/qemu/qemu/commit/e83f79b3faee1316a243b05bb768840d21cec6f4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/plugin/insn.c

  Log Message:
  -----------
  tests/plugins: extend the insn plugin to track opcode sizes

This is mostly a convenience feature for identifying frontends that do
multiple repeat loads so I can test changes to the instruction
tracking interface.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211026102234.3961636-20-alex.bennee@linaro.org>


  Commit: 357af9be5ca47ae8ac2bc439de4bb9a39e186fd4
      
https://github.com/qemu/qemu/commit/357af9be5ca47ae8ac2bc439de4bb9a39e186fd4
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M accel/tcg/plugin-gen.c
    M accel/tcg/translator.c
    M include/exec/plugin-gen.h
    M include/qemu/plugin.h

  Log Message:
  -----------
  plugins: try and make plugin_insn_append more ergonomic

Currently we make the assumption that the guest frontend loads all
op code bytes sequentially. This mostly holds up for regular fixed
encodings but some architectures like s390x like to re-read the
instruction which causes weirdness to occur. Rather than changing the
frontends make the plugin API a little more ergonomic and able to
handle the re-read case.

Stuff will still get strange if we read ahead of the opcode but so far
no front ends have done that and this patch asserts the case so we can
catch it early if they do.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-21-alex.bennee@linaro.org>


  Commit: 8ef3fdf952f061df6a9b30008bd8de9dfaa32435
      
https://github.com/qemu/qemu/commit/8ef3fdf952f061df6a9b30008bd8de9dfaa32435
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/tcg/multiarch/Makefile.target

  Log Message:
  -----------
  tests/tcg: remove duplicate EXTRA_RUNS

We set it bellow outside the #if leg.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211026102234.3961636-28-alex.bennee@linaro.org>


  Commit: 4a82be77de9dcfe37c3a8257953737f2b3c9b9d7
      
https://github.com/qemu/qemu/commit/4a82be77de9dcfe37c3a8257953737f2b3c9b9d7
  Author: Pavel Labath <pavel@labath.sk>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M gdbstub.c
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py

  Log Message:
  -----------
  gdbstub: Switch to the thread receiving a signal

Respond with Txxthread:yyyy; instead of a plain Sxx to indicate which
thread received the signal. Otherwise, the debugger will associate it
with the main one. Also automatically select this thread, as that is
what gdb expects.

Signed-off-by: Pavel Labath <pavel@labath.sk>
Message-Id: <20211019174953.36560-1-pavel@labath.sk>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026102234.3961636-29-alex.bennee@linaro.org>


  Commit: 41bf7395925a5b4bf3d8bc16926d1d38b26f2d99
      
https://github.com/qemu/qemu/commit/41bf7395925a5b4bf3d8bc16926d1d38b26f2d99
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/tcg/multiarch/Makefile.target

  Log Message:
  -----------
  tests/tcg: remove debug polluting make output

Fixes: 5343a837cd ("tests/tcg: move some multiarch files and make conditional")
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211026173914.79377-1-alex.bennee@linaro.org>


  Commit: b31b3fd0c0e17b95b9b0e05e0d67d0cd3ca081da
      
https://github.com/qemu/qemu/commit/b31b3fd0c0e17b95b9b0e05e0d67d0cd3ca081da
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M tests/vm/openbsd

  Log Message:
  -----------
  tests/vm/openbsd: Update to release 7.0

There are two minor changes required in the script for the
network configuration of the newer release.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211018205313.3526915-1-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


  Commit: 18e356a53a2926a15343b914db64324d63748f25
      
https://github.com/qemu/qemu/commit/18e356a53a2926a15343b914db64324d63748f25
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M MAINTAINERS
    M accel/tcg/plugin-gen.c
    M accel/tcg/translator.c
    M chardev/char-mux.c
    M contrib/plugins/cache.c
    M docs/devel/tcg-plugins.rst
    M gdbstub.c
    M include/exec/plugin-gen.h
    M include/qemu/plugin.h
    M meson.build
    M stubs/meson.build
    A stubs/qmp-quit.c
    M tests/docker/Makefile.include
    A tests/docker/dockerfiles/debian-microblaze-cross.d/build-toolchain.sh
    A tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh
    A tests/docker/dockerfiles/debian-toolchain.docker
    M tests/plugin/insn.c
    M tests/tcg/configure.sh
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/gdbstub/test-thread-breakpoint.py
    A tests/tcg/nios2/Makefile.target
    M tests/tcg/sh4/Makefile.target
    M tests/vm/openbsd

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stsquad/tags/pull-for-6.2-041121-2' 
into staging

Testing, gdbstub and plugin updates for 6.2

 - add microblaze and nios2 compiler docker images
 - fix test cross compiler detection for some targets
 - don't try and link ebf to user targets
 - add L2 tracking to cache plugin
 - exit cleanly on C-a x
 - clean up debug output in check-tcg
 - switch to thread on break in gdbstub
 - update openbsd VM to 7.0

# gpg: Signature made Thu 04 Nov 2021 08:14:35 AM EDT
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]

* remotes/stsquad/tags/pull-for-6.2-041121-2:
  tests/vm/openbsd: Update to release 7.0
  tests/tcg: remove debug polluting make output
  gdbstub: Switch to the thread receiving a signal
  tests/tcg: remove duplicate EXTRA_RUNS
  plugins: try and make plugin_insn_append more ergonomic
  tests/plugins: extend the insn plugin to track opcode sizes
  chardev: don't exit() straight away on C-a x
  docs/tcg-plugins: add L2 arguments to cache docs
  plugins/cache: make L2 emulation optional through args
  plugins/cache: split command line arguments into name and value
  plugins/cache: implement unified L2 cache emulation
  plugins/cache: freed heap-allocated mutexes
  ebpf: really include it only in system emulators
  tests/tcg: enable debian-nios2-cross for test building
  tests/docker: split PARTIAL into PARTIAL and VIRTUAL images
  tests/tcg: Fix some targets default cross compiler path
  tests/tcg: Enable container_cross_cc for microblaze
  tests/docker: Add debian-microblaze-cross image
  tests/docker: Add debian-nios2-cross image

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/c88da1f3dac9...18e356a53a29



reply via email to

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