[PULL 00/12] Hexagon fix queue

Brian Cain posted 12 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260717191547.920048-1-brian.cain@oss.qualcomm.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, Brian Cain <brian.cain@oss.qualcomm.com>, Laurent Vivier <laurent@vivier.eu>, Helge Deller <deller@gmx.de>, Alessandro Di Federico <ale@rev.ng>, Anton Johansson <anjo@rev.ng>, Thomas Huth <th.huth+qemu@posteo.eu>, "Philippe Mathieu-Daudé" <philmd@mailo.com>, "Daniel P. Berrangé" <berrange@redhat.com>
MAINTAINERS                                   |   1 +
target/hexagon/gen_tcg.h                      |   4 +-
target/hexagon/macros.h                       |  30 +++--
target/hexagon/translate.h                    |   3 +
linux-user/hexagon/cpu_loop.c                 |   5 +
target/hexagon/cpu.c                          |  27 ++++
target/hexagon/genptr.c                       |  24 ++--
target/hexagon/idef-parser/parser-helpers.c   |   2 +-
target/hexagon/op_helper.c                    |  13 +-
target/hexagon/translate.c                    |  62 +++++----
tests/tcg/hexagon/unaligned_data.c            | 118 ++++++++++++++++++
.../dockerfiles/debian-hexagon-cross.docker   |  27 ++--
.gitlab-ci.d/buildtest.yml                    |   4 +-
tests/functional/hexagon/meson.build          |   5 +
tests/functional/hexagon/test_arch_tests.py   |  57 +++++++++
tests/functional/meson.build                  |   1 +
tests/tcg/hexagon/Makefile.target             |   2 +
17 files changed, 326 insertions(+), 59 deletions(-)
create mode 100644 tests/tcg/hexagon/unaligned_data.c
create mode 100644 tests/functional/hexagon/meson.build
create mode 100755 tests/functional/hexagon/test_arch_tests.py
[PULL 00/12] Hexagon fix queue
Posted by Brian Cain 1 week ago
The following changes since commit 5ef0ecc5942ee07bb581cc96a97bbfc0fdf4005c:

  Merge tag 'hw-misc-20260714' of https://github.com/philmd/qemu into staging (2026-07-17 10:01:52 +0100)

are available in the Git repository at:

  https://github.com/qualcomm/qemu tags/hex-next-express-pull-request

for you to fetch changes up to 260d15c45b938511ade1992d7ff3efe47b7519bf:

  tests/functional/hexagon: add arch_tests functional test (2026-07-17 10:04:45 -0700)

----------------------------------------------------------------
Hexagon fix queue

Fixes for these issues:

* fix unaligned scalar accesses (now correctly faults/raises exception)
* fix build error with --disable-hexagon-idef-parser and gcc 14
* fix system emulation bugs: packet sreg writes, PC stuck on non-COF TB-end
* fix debug accesses w/MMU

----------------------------------------------------------------

Brian Cain (11):
  tests/docker: hexagon fix podman untar, 22.1.8
  gitlab-ci: build hexagon-softmmu to enable functional test
  target/hexagon: fix -Wshadow=local build error on GCC 14
  target/hexagon: handle misaligned load/store cause codes in cpu_loop
  target/hexagon: raise SIGBUS on unaligned scalar loads
  target/hexagon: raise SIGBUS on unaligned scalar stores
  target/hexagon: raise SIGBUS on unaligned data access in sysemu
  tests/tcg/hexagon: add unaligned scalar test
  target/hexagon: initialize deferred sreg-write temps to current value
  target/hexagon: fix PC not advancing for non-COF TB-ending packets
  tests/functional/hexagon: add arch_tests functional test

Matheus Tavares Bernardino (1):
  target/hexagon: fix get_phys_addr_debug with in-page offset

 MAINTAINERS                                   |   1 +
 target/hexagon/gen_tcg.h                      |   4 +-
 target/hexagon/macros.h                       |  30 +++--
 target/hexagon/translate.h                    |   3 +
 linux-user/hexagon/cpu_loop.c                 |   5 +
 target/hexagon/cpu.c                          |  27 ++++
 target/hexagon/genptr.c                       |  24 ++--
 target/hexagon/idef-parser/parser-helpers.c   |   2 +-
 target/hexagon/op_helper.c                    |  13 +-
 target/hexagon/translate.c                    |  62 +++++----
 tests/tcg/hexagon/unaligned_data.c            | 118 ++++++++++++++++++
 .../dockerfiles/debian-hexagon-cross.docker   |  27 ++--
 .gitlab-ci.d/buildtest.yml                    |   4 +-
 tests/functional/hexagon/meson.build          |   5 +
 tests/functional/hexagon/test_arch_tests.py   |  57 +++++++++
 tests/functional/meson.build                  |   1 +
 tests/tcg/hexagon/Makefile.target             |   2 +
 17 files changed, 326 insertions(+), 59 deletions(-)
 create mode 100644 tests/tcg/hexagon/unaligned_data.c
 create mode 100644 tests/functional/hexagon/meson.build
 create mode 100755 tests/functional/hexagon/test_arch_tests.py

-- 
2.34.1

Re: [PULL 00/12] Hexagon fix queue
Posted by Stefan Hajnoczi 5 days, 3 hours ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/11.1 for any user-visible changes.