qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 3218d8: tests/docker: fix copying of executab


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 3218d8: tests/docker: fix copying of executable in "update"
Date: Tue, 18 May 2021 13:24:21 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 3218d829e36ac46bfd0f49bf02f234a1450fadcf
      
https://github.com/qemu/qemu/commit/3218d829e36ac46bfd0f49bf02f234a1450fadcf
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  tests/docker: fix copying of executable in "update"

We have the same symlink chasing problem when doing an "update"
operation. Fix that.

Based-on: 5e33f7fead ("tests/docker: better handle symlinked libs")
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210512102051.12134-3-alex.bennee@linaro.org>


  Commit: 8d628d075d5797fc50e2db7a3cd836e2abe5c306
      
https://github.com/qemu/qemu/commit/8d628d075d5797fc50e2db7a3cd836e2abe5c306
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/docker/Makefile.include
    M tests/docker/docker.py

  Log Message:
  -----------
  tests/docker: make executable an optional argument to "update"

We're going to extend the abilities of the command shortly.

Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Message-Id: <20210512102051.12134-4-alex.bennee@linaro.org>


  Commit: bf46c0eed345714044080539b7d17707dc8e3f2e
      
https://github.com/qemu/qemu/commit/bf46c0eed345714044080539b7d17707dc8e3f2e
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  tests/docker: allow "update" to add the current user

The current user functionality is used for cross compiling to avoid
complications with permissions when building test programs. However
for images that come from the registry we still need the ability to
add the user after the fact.

Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-5-alex.bennee@linaro.org>


  Commit: c3ad904393c169a5240b3ac58a37ef953b678c02
      
https://github.com/qemu/qemu/commit/c3ad904393c169a5240b3ac58a37ef953b678c02
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  tests/docker: add "fetch" sub-command

This simply wraps up fetching a build from the registry and tagging it
as the local build.

Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-6-alex.bennee@linaro.org>


  Commit: afbdf0a44eaf6d529ec1e5250178d025f15aa606
      
https://github.com/qemu/qemu/commit/afbdf0a44eaf6d529ec1e5250178d025f15aa606
  Author: Alessandro Di Federico <ale@rev.ng>
  Date:   2021-05-18 (Tue, 18 May 2021)

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

  Log Message:
  -----------
  docker: Add Hexagon image

This image is a little special because it takes a long time to build.
As such most users don't want to be doing that and just pull random
binaries from the ether as intended by the container gods. This
involves someone with credentials and a beefy machine running:

  make docker-image-debian-hexagon-cross V=1 NOCACHE=1 J=30
  docker tag qemu/debian-hexagon-cross 
registry.gitlab.com/qemu-project/qemu/qemu/debian-hexagon-cross
  docker push registry.gitlab.com/qemu-project/qemu/qemu/debian-hexagon-cross

With a suitable binary in the "cloud" a normal user will run:

  make docker-image-debian-hexagon-cross

or have it run for them through the dependency mechanism of our
over-engineered makefiles and get the binary they wanted. There are a
few wrinkles of course including needing to tweak the final image to
have the credentials of the user so we can actually do our cross
compiles.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Alessandro Di Federico <ale@rev.ng>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Brian Cain <bcain@quicinc.com>

Message-Id: <20210512102051.12134-7-alex.bennee@linaro.org>


  Commit: 4ce7dbfb0da47f426b5ea386fee20ad7bdbce7cc
      
https://github.com/qemu/qemu/commit/4ce7dbfb0da47f426b5ea386fee20ad7bdbce7cc
  Author: Alessandro Di Federico <ale@rev.ng>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg: Use Hexagon Docker image

[PMD: Split from 'Add Hexagon Docker image' patch]

Signed-off-by: Alessandro Di Federico <ale@rev.ng>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[AJB: add container_hosts]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210228222314.304787-5-f4bug@amsat.org>
Message-Id: <20210512102051.12134-8-alex.bennee@linaro.org>


  Commit: 910c40ee9444e8078027e9af4fabc5e08c11ecfd
      
https://github.com/qemu/qemu/commit/910c40ee9444e8078027e9af4fabc5e08c11ecfd
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M .gitlab-ci.yml

  Log Message:
  -----------
  gitlab: add build-user-hexagon test

We special case this as the container with the cross compiler for the
tests takes so long to build it is manually uploaded into the
registry.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210512102051.12134-9-alex.bennee@linaro.org>


  Commit: d8e706da6c45b61f69af754fa96fd9224dea1765
      
https://github.com/qemu/qemu/commit/d8e706da6c45b61f69af754fa96fd9224dea1765
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg: don't iterate through other arch compilers

There should only be one compiler per architecture. Those cases where
the same compiler can deal with a different architecture should be
explicitly set for both cross_cc and docker configurations. Otherwise
you get strangeness like:

  --cross-cc-aarch64=/bin/false

causing the logic to attempt to use a locally available
arm-linux-gnueabihf-gcc rather than forcing the use of the docker
image which is what is implied by the command line option.

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


  Commit: 6a7e70006ad2f7afff98c25b2ec85d747b74040a
      
https://github.com/qemu/qemu/commit/6a7e70006ad2f7afff98c25b2ec85d747b74040a
  Author: Andrew Melnychenko <andrew@daynix.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/docker/dockerfiles/alpine.docker
    M tests/docker/dockerfiles/centos8.docker
    M tests/docker/dockerfiles/fedora.docker

  Log Message:
  -----------
  tests/docker: Added libbpf library to the docker files.

The series of patches for eBPF RSS adds libbpf dependency for qemu.
https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg08887.html

With this patch, libbpf added:
  Alpine - added libbpf-dev
  Centos 8 - added libbpf-devel
  Fedora - added libbpf-devel

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210406082947.672708-2-andrew@daynix.com>
Message-Id: <20210512102051.12134-11-alex.bennee@linaro.org>


  Commit: ac3c7c3f79c148d8491810ccffc174f5a1a3b954
      
https://github.com/qemu/qemu/commit/ac3c7c3f79c148d8491810ccffc174f5a1a3b954
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/Makefile.qemu
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg: Add docker_as and docker_ld cmds

At least for the TriCore target no easily available c compiler exists.
Thus we need to rely on "as" and "ld". This allows us to run them
through the docker image. We don't test the generation capabilities of
docker images as they are assumed to work.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
[AJB: fix quoting, only handle docker & clear, test -n, tweak commit msg]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Message-Id: <20210512102051.12134-12-alex.bennee@linaro.org>


  Commit: 9ab10ba31ee78cf59994ce494e075b51349c78f2
      
https://github.com/qemu/qemu/commit/9ab10ba31ee78cf59994ce494e075b51349c78f2
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/Makefile.target

  Log Message:
  -----------
  tests/tcg: Run timeout cmds using --foreground

when trying to run successful short tests from the Makefile timeout would not
terminate. Rather it would wait until the time runs out. Excerpt from the
manpage:

--foreground
    when not running timeout directly from a shell prompt,
    allow COMMAND to read from the TTY and get TTY signals; in this mode, chil‐
    dren of COMMAND will not be timed out

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-3-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-13-alex.bennee@linaro.org>


  Commit: 582079c9d27fc8cfff9f495072300416e0e4aafe
      
https://github.com/qemu/qemu/commit/582079c9d27fc8cfff9f495072300416e0e4aafe
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M hw/tricore/meson.build
    M hw/tricore/tricore_testboard.c
    A hw/tricore/tricore_testdevice.c
    A include/hw/tricore/tricore_testdevice.h

  Log Message:
  -----------
  hw/tricore: Add testdevice for tests in tests/tcg/

this device is used to verify the correctness of regression tests by
allowing guests to write their exit status to this device. This is then
used by qemu to exit using the written status.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-4-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-14-alex.bennee@linaro.org>


  Commit: be78e79949e64b4c88ebc4635d6a6fb05356d952
      
https://github.com/qemu/qemu/commit/be78e79949e64b4c88ebc4635d6a6fb05356d952
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M MAINTAINERS
    A tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/link.ld

  Log Message:
  -----------
  tests/tcg/tricore: Add build infrastructure

this includes the Makefile and linker script to build all the tests.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-5-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-15-alex.bennee@linaro.org>


  Commit: 433de74ced65cb6bffec3493876584d1ce73fd3b
      
https://github.com/qemu/qemu/commit/433de74ced65cb6bffec3493876584d1ce73fd3b
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Emit HOST_CC to config-host.mak

this is needed by the tricore-tcg-tests as tricore-gcc is not easily
available. Thus we rely on the HOST_CC to do the preprocessing of the
tricore assembly files.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-6-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-16-alex.bennee@linaro.org>


  Commit: 2d934b5951880ba68948e2c42060d53ceb578e06
      
https://github.com/qemu/qemu/commit/2d934b5951880ba68948e2c42060d53ceb578e06
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/configure.sh
    M tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/macros.h
    A tests/tcg/tricore/test_abs.S

  Log Message:
  -----------
  tests/tcg/tricore: Add macros to create tests and first test 'abs'

This kind of tests is inspired by the riscv-tests repository. This adds
macros that makes it easy to create single instruction self containing
tests.

It is achieved by macros that create a test sequence for an
instruction and check for a supplied correct value. If the value is correct the
next instruction is tested. Otherwise we jump to fail handler that writes is
test number as a status code back to qemu that then exits on that status code.
If all tests pass we write back 0 as a status code and exit.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20210305170045.869437-7-kbastian@mail.uni-paderborn.de>
[AJB: add container_hosts]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-17-alex.bennee@linaro.org>


  Commit: f271aa62e9ef2e53bda1122b8ec2e119331feb89
      
https://github.com/qemu/qemu/commit/f271aa62e9ef2e53bda1122b8ec2e119331feb89
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    M tests/tcg/tricore/macros.h
    A tests/tcg/tricore/test_bmerge.S

  Log Message:
  -----------
  tests/tcg/tricore: Add bmerge test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-8-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-18-alex.bennee@linaro.org>


  Commit: a0d98ea80270877c852c51ce243fdd40d2b8dbef
      
https://github.com/qemu/qemu/commit/a0d98ea80270877c852c51ce243fdd40d2b8dbef
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/test_clz.S

  Log Message:
  -----------
  tests/tcg/tricore: Add clz test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
[AJB: dropped duplicate Makefile]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-9-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-19-alex.bennee@linaro.org>


  Commit: d6f1593a772feae88a93bbe959748f40ecd95e79
      
https://github.com/qemu/qemu/commit/d6f1593a772feae88a93bbe959748f40ecd95e79
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    M tests/tcg/tricore/macros.h
    A tests/tcg/tricore/test_dvstep.S

  Log Message:
  -----------
  tests/tcg/tricore: Add dvstep test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-10-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-20-alex.bennee@linaro.org>


  Commit: 0fb40c55d233ed1d1002e6349c2e32dfb6940352
      
https://github.com/qemu/qemu/commit/0fb40c55d233ed1d1002e6349c2e32dfb6940352
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/test_fadd.S

  Log Message:
  -----------
  tests/tcg/tricore: Add fadd test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-11-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-21-alex.bennee@linaro.org>


  Commit: 14c91f75e3bfed4840c376d5f1fcce184fd5449c
      
https://github.com/qemu/qemu/commit/14c91f75e3bfed4840c376d5f1fcce184fd5449c
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/test_fmul.S

  Log Message:
  -----------
  tests/tcg/tricore: Add fmul test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-12-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-22-alex.bennee@linaro.org>


  Commit: 55f037a5d578278b7e168fa6241c6f8f926e8856
      
https://github.com/qemu/qemu/commit/55f037a5d578278b7e168fa6241c6f8f926e8856
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    M tests/tcg/tricore/macros.h
    A tests/tcg/tricore/test_ftoi.S

  Log Message:
  -----------
  tests/tcg/tricore: Add ftoi test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-13-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-23-alex.bennee@linaro.org>


  Commit: 6ad6701ce7258f355f82af33039205e681f1b371
      
https://github.com/qemu/qemu/commit/6ad6701ce7258f355f82af33039205e681f1b371
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    M tests/tcg/tricore/macros.h
    A tests/tcg/tricore/test_madd.S

  Log Message:
  -----------
  tests/tcg/tricore: Add madd test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-14-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-24-alex.bennee@linaro.org>


  Commit: 0429e0955c0526126a0b5f56fbfeb10a27eeda76
      
https://github.com/qemu/qemu/commit/0429e0955c0526126a0b5f56fbfeb10a27eeda76
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/test_msub.S

  Log Message:
  -----------
  tests/tcg/tricore: Add msub test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-15-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-25-alex.bennee@linaro.org>


  Commit: a1ff17fef5b8783d9e189c3bb7cc2c95e9e64454
      
https://github.com/qemu/qemu/commit/a1ff17fef5b8783d9e189c3bb7cc2c95e9e64454
  Author: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/test_muls.S

  Log Message:
  -----------
  tests/tcg/tricore: Add muls test

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210305170045.869437-16-kbastian@mail.uni-paderborn.de>
Message-Id: <20210512102051.12134-26-alex.bennee@linaro.org>


  Commit: cf9b6d215eef18a094ec030e511bf08e493ff686
      
https://github.com/qemu/qemu/commit/cf9b6d215eef18a094ec030e511bf08e493ff686
  Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M .gitlab-ci.d/containers.yml
    M tests/docker/Makefile.include
    R tests/docker/dockerfiles/debian-powerpc-cross.docker
    A tests/docker/dockerfiles/debian-powerpc-test-cross.docker
    R tests/docker/dockerfiles/debian-ppc64-cross.docker
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/docker: gcc-10 based images for ppc64{,le} tests

A newer compiler is needed to build tests for Power10 instructions. As
done for arm64 on c729a99d2701, a new '-test-cross' image is created for
ppc64 and ppc64le. As done on 936fda4d771f, a test for compiler support
is added to verify that the toolchain in use has '-mpower10'. Finally,
Unused images (docker-power-cross and docker-ppc64-cross) are removed.

Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210423205757.1752480-2-matheus.ferst@eldorado.org.br>
Message-Id: <20210512102051.12134-27-alex.bennee@linaro.org>


  Commit: ec9ad11d690bb0550f1e9ae40c216ad1d66e441e
      
https://github.com/qemu/qemu/commit/ec9ad11d690bb0550f1e9ae40c216ad1d66e441e
  Author: Matheus Ferst <matheus.ferst@eldorado.org.br>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/ppc64/Makefile.target
    M tests/tcg/ppc64le/Makefile.target
    A tests/tcg/ppc64le/byte_reverse.c

  Log Message:
  -----------
  tests/tcg/ppc64le: tests for brh/brw/brd

Tests for Byte-Reverse Halfword, Word and Doubleword

Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Tested-by: Fabiano Rosas <farosas@linux.ibm.com>
[AJB: tweak to make rules for skip/plugins]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210423205757.1752480-3-matheus.ferst@eldorado.org.br>
Message-Id: <20210512102051.12134-28-alex.bennee@linaro.org>


  Commit: ec6b219a4e25139ae4305c57f3e41bbd4ee36997
      
https://github.com/qemu/qemu/commit/ec6b219a4e25139ae4305c57f3e41bbd4ee36997
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/multiarch/system/memory.c

  Log Message:
  -----------
  tests/tcg: fix missing return

This was picked up when clang built the test.

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


  Commit: cf22f936f29bc1ee8fff5fbc16064208571a448c
      
https://github.com/qemu/qemu/commit/cf22f936f29bc1ee8fff5fbc16064208571a448c
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg: don't allow clang as a cross compiler

Currently there are two problems.

The first is clang generates a preamble (that is always executed) to
stack xmm registers. This causes a ILLOP on the x86_64 softmmu tests
as SSE isn't enabled.

The second is the inline assembler in test-i386.c breaks clangs
compiler and I don't know how to fix it. Even with Theodore's patch
series (D5741445-7EFD-4AF1-8DB2-E4AFA93CBB1A@icloud.com) I still get
compiler failures.

For now lets just skip clang and allow it to fall back to the
containers which we know have compilers which work.

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


  Commit: b1aa4de12e846e0ad18969ee823c19b66d8d4d8f
      
https://github.com/qemu/qemu/commit/b1aa4de12e846e0ad18969ee823c19b66d8d4d8f
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: use cc, not host_cc to set cross_cc for build arch

Otherwise you run into hilarity like trying when cross compiling a 32
bit ARM build on a 64 bit system trying to use host_cc to build 32 bit
test cases.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-32-alex.bennee@linaro.org>


  Commit: d9f6839594c3c3bbc566588d42078a8f0e84e2c4
      
https://github.com/qemu/qemu/commit/d9f6839594c3c3bbc566588d42078a8f0e84e2c4
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M .gitlab-ci.d/containers.yml
    M .gitlab-ci.yml
    M MAINTAINERS
    M configure
    M hw/tricore/meson.build
    M hw/tricore/tricore_testboard.c
    A hw/tricore/tricore_testdevice.c
    A include/hw/tricore/tricore_testdevice.h
    M tests/docker/Makefile.include
    M tests/docker/docker.py
    M tests/docker/dockerfiles/alpine.docker
    M tests/docker/dockerfiles/centos8.docker
    A tests/docker/dockerfiles/debian-hexagon-cross.docker
    A tests/docker/dockerfiles/debian-hexagon-cross.docker.d/build-toolchain.sh
    R tests/docker/dockerfiles/debian-powerpc-cross.docker
    A tests/docker/dockerfiles/debian-powerpc-test-cross.docker
    R tests/docker/dockerfiles/debian-ppc64-cross.docker
    M tests/docker/dockerfiles/fedora.docker
    M tests/tcg/Makefile.qemu
    M tests/tcg/Makefile.target
    M tests/tcg/configure.sh
    M tests/tcg/multiarch/system/memory.c
    M tests/tcg/ppc64/Makefile.target
    M tests/tcg/ppc64le/Makefile.target
    A tests/tcg/ppc64le/byte_reverse.c
    A tests/tcg/tricore/Makefile.softmmu-target
    A tests/tcg/tricore/link.ld
    A tests/tcg/tricore/macros.h
    A tests/tcg/tricore/test_abs.S
    A tests/tcg/tricore/test_bmerge.S
    A tests/tcg/tricore/test_clz.S
    A tests/tcg/tricore/test_dvstep.S
    A tests/tcg/tricore/test_fadd.S
    A tests/tcg/tricore/test_fmul.S
    A tests/tcg/tricore/test_ftoi.S
    A tests/tcg/tricore/test_madd.S
    A tests/tcg/tricore/test_msub.S
    A tests/tcg/tricore/test_muls.S

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-and-plugin-updates-180521-2' into staging

testing and plugin updates:

  - various fixes for binfmt_misc docker images
  - add hexagon check-tcg support docker image
  - add tricore check-tcg support
  - refactor ppc docker images
  - add missing ppc64le tests
  - don't use host_cc for test fallback
  - check-tcg configure.sh tweaks for cross compile/clang
  - fix some memory leaks in plugins

# gpg: Signature made Tue 18 May 2021 09:37:21 BST
# gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
# gpg: Good signature from "Alex Bennée (Master Work Key) 
<alex.bennee@linaro.org>" [full]
# Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44

* remotes/stsquad/tags/pull-testing-and-plugin-updates-180521-2: (29 commits)
  configure: use cc, not host_cc to set cross_cc for build arch
  tests/tcg: don't allow clang as a cross compiler
  tests/tcg: fix missing return
  tests/tcg/ppc64le: tests for brh/brw/brd
  tests/docker: gcc-10 based images for ppc64{,le} tests
  tests/tcg/tricore: Add muls test
  tests/tcg/tricore: Add msub test
  tests/tcg/tricore: Add madd test
  tests/tcg/tricore: Add ftoi test
  tests/tcg/tricore: Add fmul test
  tests/tcg/tricore: Add fadd test
  tests/tcg/tricore: Add dvstep test
  tests/tcg/tricore: Add clz test
  tests/tcg/tricore: Add bmerge test
  tests/tcg/tricore: Add macros to create tests and first test 'abs'
  configure: Emit HOST_CC to config-host.mak
  tests/tcg/tricore: Add build infrastructure
  hw/tricore: Add testdevice for tests in tests/tcg/
  tests/tcg: Run timeout cmds using --foreground
  tests/tcg: Add docker_as and docker_ld cmds
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/c313e52e6459...d9f6839594c3



reply via email to

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