qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 8714e8: tests/docker: Remove Debian 9 remnant


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 8714e8: tests/docker: Remove Debian 9 remnant lines
Date: Mon, 18 Jan 2021 04:24:25 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 8714e811a5a0f863d5596a10ee0d5086828fb3da
      
https://github.com/qemu/qemu/commit/8714e811a5a0f863d5596a10ee0d5086828fb3da
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M tests/docker/Makefile.include

  Log Message:
  -----------
  tests/docker: Remove Debian 9 remnant lines

Debian 9 base container has been removed in commits
e3755276d1f and c9d78b06c06. Remove the last remnants.

Fixes: e3755276d1f ("tests/docker: Remove old Debian 9 containers")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210107072933.3828450-1-f4bug@amsat.org>
Message-Id: <20210114165730.31607-2-alex.bennee@linaro.org>


  Commit: b8a322549b9842a9628e25eff31dbc706b182d7c
      
https://github.com/qemu/qemu/commit/b8a322549b9842a9628e25eff31dbc706b182d7c
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M .gitignore
    M Makefile

  Log Message:
  -----------
  Makefile: add GNU global tags support

GNU Global is another tags engine which is more like cscope in being
able to support finding both references and definitions. You will be
un-surprised to know it also integrates well with Emacs.

The main benefit of integrating it into find-src-path is it takes less
time to rebuild the database from scratch when you have a lot of build
directories under your source tree.

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


  Commit: 977cb99a1532a891067aec131c31e600ceb593b5
      
https://github.com/qemu/qemu/commit/977cb99a1532a891067aec131c31e600ceb593b5
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M .shippable.yml

  Log Message:
  -----------
  shippable.yml: Remove jobs duplicated on Gitlab-CI

The following jobs are duplicated on Gitlab-CI since commit
6bcb5fc0f7a ("gitlab-ci: Add cross-compiling build tests"):

- IMAGE=debian-armel-cross

  TARGET_LIST=arm-softmmu               -> cross-armel-system
  TARGET_LIST=arm-linux-user            -> cross-armel-user
  TARGET_LIST=armeb-linux-user          -> cross-armel-user

- IMAGE=debian-armhf-cross

  TARGET_LIST=arm-softmmu               -> cross-armhf-system
  TARGET_LIST=arm-linux-user            -> cross-armhf-user
  TARGET_LIST=armeb-linux-user          -> cross-armhf-user

- IMAGE=debian-arm64-cross

  TARGET_LIST=aarch64-softmmu           -> cross-arm64-system
  TARGET_LIST=aarch64-linux-user        -> cross-arm64-user

- IMAGE=debian-s390x-cross

  TARGET_LIST=s390x-softmmu             -> cross-s390x-system
  TARGET_LIST=s390x-linux-user          -> cross-s390x-user

- IMAGE=debian-mips-cross

  TARGET_LIST=mipsel-linux-user         -> cross-mips-user

- IMAGE=debian-mips64el-cross

  TARGET_LIST=mips64el-softmmu          -> cross-mips64el-system
  TARGET_LIST=mips64el-linux-user       -> cross-mips64el-user

- IMAGE=debian-ppc64el-cross

  TARGET_LIST=ppc64-softmmu             -> cross-ppc64el-system
  TARGET_LIST=ppc64-linux-user          -> cross-ppc64el-user
  TARGET_LIST=ppc64abi32-linux-user     -> cross-ppc64el-user

Remove them from Shippable CI.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210108145103.269353-1-f4bug@amsat.org>
Message-Id: <20210114165730.31607-4-alex.bennee@linaro.org>


  Commit: e405a3ebf58eb76e0b091ca990cd01ba22882613
      
https://github.com/qemu/qemu/commit/e405a3ebf58eb76e0b091ca990cd01ba22882613
  Author: Alessandro Di Federico <ale@rev.ng>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M tests/docker/docker.py

  Log Message:
  -----------
  Add newline when generating Dockerfile

Signed-off-by: Alessandro Di Federico <ale@rev.ng>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <1610080146-14968-36-git-send-email-tsimpson@quicinc.com>
Message-Id: <20210114165730.31607-5-alex.bennee@linaro.org>


  Commit: f2c78150c36605cda3bf53ff54871758a57c3708
      
https://github.com/qemu/qemu/commit/f2c78150c36605cda3bf53ff54871758a57c3708
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: wrap ctags in quiet-command calls

For prettier output.

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


  Commit: af5d5762f347eb6efe590dc1f8eb59c3f29af9d1
      
https://github.com/qemu/qemu/commit/af5d5762f347eb6efe590dc1f8eb59c3f29af9d1
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: wrap etags in quiet-command calls

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-7-alex.bennee@linaro.org>


  Commit: 3e6c1475355cf9bc062630cb65576b8533ef83b6
      
https://github.com/qemu/qemu/commit/3e6c1475355cf9bc062630cb65576b8533ef83b6
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Makefile: wrap cscope in quiet-command calls

For prettier output.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-8-alex.bennee@linaro.org>


  Commit: ec9d7c38ec59bb7c188ec287c6b88da1bbd62f92
      
https://github.com/qemu/qemu/commit/ec9d7c38ec59bb7c188ec287c6b88da1bbd62f92
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M tests/docker/dockerfiles/debian-amd64.docker

  Log Message:
  -----------
  docker: expand debian-amd64 image to include tag tools

This is going to be helpful when we want to both test the tool
integration and in the case of global generate a xref doc build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-9-alex.bennee@linaro.org>


  Commit: a8a3abe0b39766a155d3ebd0216313e631a7d115
      
https://github.com/qemu/qemu/commit/a8a3abe0b39766a155d3ebd0216313e631a7d115
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml

  Log Message:
  -----------
  gitlab: move docs and tools build across from Travis

While we are at it we might as well check the tag generation. For
bonus points we run GNU globals htags into the public pages directory
for publishing with the auto generated pages.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210114165730.31607-10-alex.bennee@linaro.org>


  Commit: 228e3ec4e2e7d70492d75166076c978d8efdade7
      
https://github.com/qemu/qemu/commit/228e3ec4e2e7d70492d75166076c978d8efdade7
  Author: Lukas Straub <lukasstraub2@web.de>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M MAINTAINERS
    M stubs/meson.build
    A stubs/yank.c

  Log Message:
  -----------
  Fix build with new yank feature by adding stubs

Fixes: 50186051f42 ("Introduce yank feature")
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
[AJB: tweak MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114141918.5201cc9c@gecko.fritz.box>
Message-Id: <20210114165730.31607-11-alex.bennee@linaro.org>


  Commit: 22250a6ecd16114b202a55a0ae99963b0a3a8f67
      
https://github.com/qemu/qemu/commit/22250a6ecd16114b202a55a0ae99963b0a3a8f67
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M .gitlab-ci.yml
    M .travis.yml

  Log Message:
  -----------
  gitlab: migrate the minimal tools and unit tests from Travis

These tests are good at shaking out missing stubs which otherwise work
if we have built targets. Rather than create a new job just add the
checks to the existing tools-and-docs build.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-12-alex.bennee@linaro.org>


  Commit: 9e5acb373d431ebce03543d7e0e98bacaf6b7027
      
https://github.com/qemu/qemu/commit/9e5acb373d431ebce03543d7e0e98bacaf6b7027
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch.pl: fix git-show invocation to include diffstat

Without this checkpatch keeps complaining about new/changed files even
when MAINTAINERS has been updated. Normal invocations of checkpatch on
patch files rather than commit IDs are unaffected.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114165730.31607-13-alex.bennee@linaro.org>


  Commit: 5662ab11f6e70157521913e38e49d4d1b135c4d5
      
https://github.com/qemu/qemu/commit/5662ab11f6e70157521913e38e49d4d1b135c4d5
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M tests/guest-debug/run-test.py

  Log Message:
  -----------
  test/guest-debug: echo QEMU command as well

This helps with debugging.

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


  Commit: b1863ccc957e2607b2c973ad37329da0546fb001
      
https://github.com/qemu/qemu/commit/b1863ccc957e2607b2c973ad37329da0546fb001
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: gate our use of GDB to 8.3.1 or above

The support of socket based debugging which we need for linux-user
testing is only really stable as of 8.3.1 so lets gate our use of GDB
on having a relatively modern version.

For direct testing you can just point to a locally compiled version of
gdb via configure, e.g.:

  ../../configure --gdb=$HOME/src/binutils-gdb.git/builds/all/install/bin/gdb

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


  Commit: 9559150e86518d0c7f4eb864e525b6e385fa8a4d
      
https://github.com/qemu/qemu/commit/9559150e86518d0c7f4eb864e525b6e385fa8a4d
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

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

  Log Message:
  -----------
  Revert "tests/tcg/multiarch/Makefile.target: Disable run-gdbstub-sha1 test"

We won't attempt to run the test now it's gated on a newer version of
gdb.

This reverts commit a930cadd83b4681a98ce72abf530a791ee2e42a6.

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


  Commit: c00506aa26e975918483d0d1fe17a2192d19098a
      
https://github.com/qemu/qemu/commit/c00506aa26e975918483d0d1fe17a2192d19098a
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M tests/guest-debug/run-test.py
    M tests/tcg/aarch64/Makefile.softmmu-target
    M tests/tcg/aarch64/system/boot.S
    M tests/tcg/i386/Makefile.softmmu-target
    M tests/tcg/i386/system/boot.S
    A tests/tcg/multiarch/gdbstub/memory.py
    M tests/tcg/multiarch/system/Makefile.softmmu-target
    M tests/tcg/x86_64/Makefile.softmmu-target
    M tests/tcg/x86_64/system/boot.S

  Log Message:
  -----------
  gdbstub: implement a softmmu based test

This adds a new tests that allows us to test softmmu only features
including watchpoints. To do achieve this we need to:

  - add _exit: labels to the boot codes
  - write a memory.py test case
  - plumb the test case into the build system
  - tweak the run_test script to:
    - re-direct output when asked
    - use socket based connection for all tests
    - add a small pause before connection

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


  Commit: 51c623b0de11df2d0a23f15d7484d4f940ed6142
      
https://github.com/qemu/qemu/commit/51c623b0de11df2d0a23f15d7484d4f940ed6142
  Author: Lirong Yuan <yuanzi@google.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M MAINTAINERS
    M gdbstub.c
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py

  Log Message:
  -----------
  gdbstub: add support to Xfer:auxv:read: packet

This allows gdb to access the target’s auxiliary vector,
which can be helpful for telling system libraries important details
about the hardware, operating system, and process.

Signed-off-by: Lirong Yuan <yuanzi@google.com>
[AJB: minor tweaks to test case, update MAINTAINERS, restrict to Linux]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200730193932.3654677-1-yuanzi@google.com>
Message-Id: <20210108224256.2321-7-alex.bennee@linaro.org>


  Commit: ad9dcb207b054fa62c7118f6fe4d052e8b26c728
      
https://github.com/qemu/qemu/commit/ad9dcb207b054fa62c7118f6fe4d052e8b26c728
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M bsd-user/syscall.c
    M gdbstub.c
    M include/exec/gdbstub.h
    M linux-user/exit.c
    M target/arm/arm-semi.c
    M target/m68k/m68k-semi.c
    M target/nios2/nios2-semi.c

  Log Message:
  -----------
  gdbstub: drop CPUEnv from gdb_exit()

gdb_exit() has never needed anything from env and I doubt we are going
to start now.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210108224256.2321-8-alex.bennee@linaro.org>


  Commit: 5ef0317f58c0c88ad1146deab248b638148bd1b1
      
https://github.com/qemu/qemu/commit/5ef0317f58c0c88ad1146deab248b638148bd1b1
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M gdbstub.c
    M include/exec/gdbstub.h
    M softmmu/runstate.c

  Log Message:
  -----------
  gdbstub: drop gdbserver_cleanup in favour of gdb_exit

Despite it's name it didn't actually clean-up so let us document
gdb_exit() better and use that.

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


  Commit: b9e10c6c7503d3c8073efc9ac302b9f33619d4fc
      
https://github.com/qemu/qemu/commit/b9e10c6c7503d3c8073efc9ac302b9f33619d4fc
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: ensure we clean-up when terminated

If you kill the inferior from GDB we end up leaving our socket lying
around. Fix this by calling gdb_exit() first.

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


  Commit: 797920b952ea154a73049d171f5d5e3d6fb0bbea
      
https://github.com/qemu/qemu/commit/797920b952ea154a73049d171f5d5e3d6fb0bbea
  Author: Alex Bennée <alex.bennee@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M target/arm/gdbstub.c
    M target/arm/helper.c
    M tests/tcg/aarch64/gdbstub/test-sve-ioctl.py

  Log Message:
  -----------
  target/arm: use official org.gnu.gdb.aarch64.sve layout for registers

While GDB can work with any XML description given to it there is
special handling for SVE registers on the GDB side which makes the
users life a little better. The changes aren't that major and all the
registers save the $vg reported the same. All that changes is:

  - report org.gnu.gdb.aarch64.sve
  - use gdb nomenclature for names and types
  - minor re-ordering of the types to match reference
  - re-enable ieee_half (as we know gdb supports it now)
  - $vg is now a 64 bit int
  - check $vN and $zN aliasing in test

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Machado <luis.machado@linaro.org>
Message-Id: <20210108224256.2321-11-alex.bennee@linaro.org>


  Commit: 56b5170c87ee3e30221eea7425c2fc4f0cc7d4a3
      
https://github.com/qemu/qemu/commit/56b5170c87ee3e30221eea7425c2fc4f0cc7d4a3
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M default-configs/devices/arm-softmmu.mak
    M default-configs/targets/aarch64-linux-user.mak
    M default-configs/targets/aarch64_be-linux-user.mak
    M default-configs/targets/arm-linux-user.mak
    M default-configs/targets/armeb-linux-user.mak
    M hw/semihosting/Kconfig
    A hw/semihosting/arm-compat-semi.c
    M hw/semihosting/meson.build
    M linux-user/arm/meson.build
    R linux-user/arm/semihost.c
    M linux-user/meson.build
    A linux-user/semihost.c
    R target/arm/arm-semi.c
    M target/arm/meson.build

  Log Message:
  -----------
  semihosting: Move ARM semihosting code to shared directories

This commit renames two files which provide ARM semihosting support so
that they can be shared by other architectures:

 1. target/arm/arm-semi.c     -> hw/semihosting/common-semi.c
 2. linux-user/arm/semihost.c -> linux-user/semihost.c

The build system was modified use a new config variable,
CONFIG_ARM_COMPATIBLE_SEMIHOSTING, which has been added to the ARM
softmmu and linux-user default configs. The contents of the source
files has not been changed in this patch.

Signed-off-by: Keith Packard <keithp@keithp.com>
[AJB: rename arm-compat-semi, select SEMIHOSTING]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210107170717.2098982-2-keithp@keithp.com>
Message-Id: <20210108224256.2321-13-alex.bennee@linaro.org>


  Commit: 0bb446d8b09332e51e6c22a8e36b9ceda2a1bf4d
      
https://github.com/qemu/qemu/commit/0bb446d8b09332e51e6c22a8e36b9ceda2a1bf4d
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M hw/semihosting/arm-compat-semi.c
    A hw/semihosting/common-semi.h
    M linux-user/aarch64/cpu_loop.c
    M linux-user/arm/cpu_loop.c
    M target/arm/cpu.h
    M target/arm/helper.c
    M target/arm/m_helper.c

  Log Message:
  -----------
  semihosting: Change common-semi API to be architecture-independent

The public API is now defined in
hw/semihosting/common-semi.h. do_common_semihosting takes CPUState *
instead of CPUARMState *. All internal functions have been renamed
common_semi_ instead of arm_semi_ or arm_. Aside from the API change,
there are no functional changes in this patch.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210107170717.2098982-3-keithp@keithp.com>
Message-Id: <20210108224256.2321-14-alex.bennee@linaro.org>


  Commit: 3c37cfe0b1e8a49e6a48c53a4685618a60b981df
      
https://github.com/qemu/qemu/commit/3c37cfe0b1e8a49e6a48c53a4685618a60b981df
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M hw/semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting: Change internal common-semi interfaces to use CPUState *

This makes all of the internal interfaces architecture-independent and
renames the internal functions to use the 'common_semi' prefix instead
of 'arm' or 'arm_semi'.

To do this, some new architecture-specific internal helper functions
were created:

    static inline target_ulong
    common_semi_arg(CPUState *cs, int argno)

        Returns the argno'th semihosting argument, where argno can be
        either 0 or 1.

    static inline void
    common_semi_set_ret(CPUState *cs, target_ulong ret)

        Sets the semihosting return value.

    static inline bool
    common_semi_sys_exit_extended(CPUState *cs, int nr)

        This detects whether the specified semihosting call, which
        is either TARGET_SYS_EXIT or TARGET_SYS_EXIT_EXTENDED should
        be executed using the TARGET_SYS_EXIT_EXTENDED semantics.

    static inline target_ulong
    common_semi_rambase(CPUState *cs)

        Returns the base of RAM region used for heap and stack. This
        is used to construct plausible values for the SYS_HEAPINFO
        call.

In addition, several existing functions have been changed to flag
areas of code which are architecture specific:

    static target_ulong
    common_semi_flen_buf(CPUState *cs)

        Returns the current stack pointer minus 64, which is
        where a stat structure will be placed on the stack

    #define GET_ARG(n)

        This fetches arguments from the semihosting command's argument
        block. The address of this is available implicitly through the
        local 'args' variable. This is *mostly* architecture
        independent, but does depend on the current ABI's notion of
        the size of a 'long' parameter, which may need run-time checks
        (as it does on AARCH64)

    #define SET_ARG(n, val)

        This mirrors GET_ARG and stores data back into the argument
        block.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210107170717.2098982-4-keithp@keithp.com>
Message-Id: <20210108224256.2321-15-alex.bennee@linaro.org>


  Commit: 095f8c029319b79cce487e3b566cd826b93da3e6
      
https://github.com/qemu/qemu/commit/095f8c029319b79cce487e3b566cd826b93da3e6
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M hw/semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting: Support SYS_HEAPINFO when env->boot_info is not set

env->boot_info is only set in some ARM startup paths, so we cannot
rely on it to support the SYS_HEAPINFO semihosting function. When not
available, fallback to finding a RAM memory region containing the
current stack and use the base of that.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210107170717.2098982-5-keithp@keithp.com>
Message-Id: <20210108224256.2321-16-alex.bennee@linaro.org>


  Commit: a10b9d93ecea0a8f01eb6de56274b1bcb101083b
      
https://github.com/qemu/qemu/commit/a10b9d93ecea0a8f01eb6de56274b1bcb101083b
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M default-configs/devices/riscv32-softmmu.mak
    M default-configs/devices/riscv64-softmmu.mak
    M default-configs/targets/riscv32-linux-user.mak
    M default-configs/targets/riscv64-linux-user.mak
    M hw/semihosting/arm-compat-semi.c
    M hw/semihosting/common-semi.h
    M linux-user/qemu.h
    M linux-user/semihost.c
    M qemu-options.hx
    M target/riscv/cpu_bits.h
    M target/riscv/cpu_helper.c
    M target/riscv/insn_trans/trans_privileged.c.inc
    M target/riscv/translate.c

  Log Message:
  -----------
  riscv: Add semihosting support

Adapt the arm semihosting support code for RISCV. This implementation
is based on the standard for RISC-V semihosting version 0.2 as
documented in

   https://github.com/riscv/riscv-semihosting-spec/releases/tag/0.2

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20210107170717.2098982-6-keithp@keithp.com>
Message-Id: <20210108224256.2321-17-alex.bennee@linaro.org>


  Commit: 6b80cb25b4165ae2afa525d084366221a2e9b58d
      
https://github.com/qemu/qemu/commit/6b80cb25b4165ae2afa525d084366221a2e9b58d
  Author: Kito Cheng <kito.cheng@sifive.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M linux-user/riscv/cpu_loop.c

  Log Message:
  -----------
  riscv: Add semihosting support for user mode

This could made testing more easier and ARM/AArch64 has supported on
their linux user mode too, so I think it should be reasonable.

Verified GCC testsuite with newlib/semihosting.

Signed-off-by: Kito Cheng <kito.cheng@sifive.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210107170717.2098982-7-keithp@keithp.com>
Message-Id: <20210108224256.2321-18-alex.bennee@linaro.org>


  Commit: 4d834039c2107cb86931cb3f22ca3de6e4e42b06
      
https://github.com/qemu/qemu/commit/4d834039c2107cb86931cb3f22ca3de6e4e42b06
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M hw/semihosting/arm-compat-semi.c
    M include/qemu/timer.h
    M util/qemu-timer-common.c

  Log Message:
  -----------
  semihosting: Implement SYS_ELAPSED and SYS_TICKFREQ

These are part of Semihosting for AArch32 and AArch64 Release 2.0

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210107170717.2098982-8-keithp@keithp.com>
Message-Id: <20210108224256.2321-19-alex.bennee@linaro.org>


  Commit: 27e3b109d1bcf9a43888d3d3c825bda38157dfe4
      
https://github.com/qemu/qemu/commit/27e3b109d1bcf9a43888d3d3c825bda38157dfe4
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M hw/semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting: Implement SYS_TMPNAM

Part of Semihosting for AArch32 and AArch64 Release 2.0

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210107170717.2098982-9-keithp@keithp.com>
Message-Id: <20210108224256.2321-20-alex.bennee@linaro.org>


  Commit: 767ba049b8f8f8ebfebe90ecaf1b5a9cf8c865ff
      
https://github.com/qemu/qemu/commit/767ba049b8f8f8ebfebe90ecaf1b5a9cf8c865ff
  Author: Keith Packard <keithp@keithp.com>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M hw/semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting: Implement SYS_ISERROR

Part of Semihosting for AArch32 and AArch64 Release 2.0

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210107170717.2098982-10-keithp@keithp.com>
Message-Id: <20210108224256.2321-21-alex.bennee@linaro.org>


  Commit: 8814b1327c0070d440ec1480888b77eb27af43f8
      
https://github.com/qemu/qemu/commit/8814b1327c0070d440ec1480888b77eb27af43f8
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-01-18 (Mon, 18 Jan 2021)

  Changed paths:
    M .gitignore
    M .gitlab-ci.yml
    M .shippable.yml
    M .travis.yml
    M MAINTAINERS
    M Makefile
    M bsd-user/syscall.c
    M configure
    M default-configs/devices/arm-softmmu.mak
    M default-configs/devices/riscv32-softmmu.mak
    M default-configs/devices/riscv64-softmmu.mak
    M default-configs/targets/aarch64-linux-user.mak
    M default-configs/targets/aarch64_be-linux-user.mak
    M default-configs/targets/arm-linux-user.mak
    M default-configs/targets/armeb-linux-user.mak
    M default-configs/targets/riscv32-linux-user.mak
    M default-configs/targets/riscv64-linux-user.mak
    M gdbstub.c
    M hw/semihosting/Kconfig
    A hw/semihosting/arm-compat-semi.c
    A hw/semihosting/common-semi.h
    M hw/semihosting/meson.build
    M include/exec/gdbstub.h
    M include/qemu/timer.h
    M linux-user/aarch64/cpu_loop.c
    M linux-user/arm/cpu_loop.c
    M linux-user/arm/meson.build
    R linux-user/arm/semihost.c
    M linux-user/exit.c
    M linux-user/meson.build
    M linux-user/qemu.h
    M linux-user/riscv/cpu_loop.c
    A linux-user/semihost.c
    M qemu-options.hx
    M scripts/checkpatch.pl
    M softmmu/runstate.c
    M stubs/meson.build
    A stubs/yank.c
    R target/arm/arm-semi.c
    M target/arm/cpu.h
    M target/arm/gdbstub.c
    M target/arm/helper.c
    M target/arm/m_helper.c
    M target/arm/meson.build
    M target/m68k/m68k-semi.c
    M target/nios2/nios2-semi.c
    M target/riscv/cpu_bits.h
    M target/riscv/cpu_helper.c
    M target/riscv/insn_trans/trans_privileged.c.inc
    M target/riscv/translate.c
    M tests/docker/Makefile.include
    M tests/docker/docker.py
    M tests/docker/dockerfiles/debian-amd64.docker
    M tests/guest-debug/run-test.py
    M tests/tcg/aarch64/Makefile.softmmu-target
    M tests/tcg/aarch64/gdbstub/test-sve-ioctl.py
    M tests/tcg/aarch64/system/boot.S
    M tests/tcg/i386/Makefile.softmmu-target
    M tests/tcg/i386/system/boot.S
    M tests/tcg/multiarch/Makefile.target
    A tests/tcg/multiarch/gdbstub/memory.py
    A tests/tcg/multiarch/gdbstub/test-qxfer-auxv-read.py
    M tests/tcg/multiarch/system/Makefile.softmmu-target
    M tests/tcg/x86_64/Makefile.softmmu-target
    M tests/tcg/x86_64/system/boot.S
    M util/qemu-timer-common.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/stsquad/tags/pull-testing-and-misc-180121-2' into staging

Testing, gdbstub and semihosting patches:

  - clean-ups to docker images
  - drop duplicate jobs from shippable
  - prettier tag generation (+gtags)
  - generate browsable source tree
  - more Travis->GitLab migrations
  - fix checkpatch to deal with commits
  - gate gdbstub tests on 8.3.1, expand tests
  - support Xfer:auxv:read gdb packet
  - better gdbstub cleanup
  - use GDB's SVE register layout
  - make arm-compat-semihosting common
  - add riscv semihosting support
  - add HEAPINFO, ELAPSED, TICKFREQ, TMPNAM and ISERROR to semihosting

# gpg: Signature made Mon 18 Jan 2021 10:09:11 GMT
# 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-misc-180121-2: (30 commits)
  semihosting: Implement SYS_ISERROR
  semihosting: Implement SYS_TMPNAM
  semihosting: Implement SYS_ELAPSED and SYS_TICKFREQ
  riscv: Add semihosting support for user mode
  riscv: Add semihosting support
  semihosting: Support SYS_HEAPINFO when env->boot_info is not set
  semihosting: Change internal common-semi interfaces to use CPUState *
  semihosting: Change common-semi API to be architecture-independent
  semihosting: Move ARM semihosting code to shared directories
  target/arm: use official org.gnu.gdb.aarch64.sve layout for registers
  gdbstub: ensure we clean-up when terminated
  gdbstub: drop gdbserver_cleanup in favour of gdb_exit
  gdbstub: drop CPUEnv from gdb_exit()
  gdbstub: add support to Xfer:auxv:read: packet
  gdbstub: implement a softmmu based test
  Revert "tests/tcg/multiarch/Makefile.target: Disable run-gdbstub-sha1 test"
  configure: gate our use of GDB to 8.3.1 or above
  test/guest-debug: echo QEMU command as well
  scripts/checkpatch.pl: fix git-show invocation to include diffstat
  gitlab: migrate the minimal tools and unit tests from Travis
  ...

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

# Conflicts:
#       default-configs/targets/riscv32-linux-user.mak
#       default-configs/targets/riscv64-linux-user.mak


Compare: https://github.com/qemu/qemu/compare/20b8016ed847...8814b1327c00



reply via email to

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