All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/12] multi-target: add hexagon
@ 2026-10-14 21:05 Pierrick Bouvier
  2026-10-14 21:05 ` [PATCH v3 01/12] target/hexagon: prefix helpers conflicting with other arch Pierrick Bouvier
                   ` (11 more replies)
  0 siblings, 12 replies; 24+ messages in thread
From: Pierrick Bouvier @ 2026-10-14 21:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: Pierrick Bouvier, Daniel Henrique Barboza, Alistair Francis,
	Philippe Mathieu-Daudé, Anton Johansson, Peter Maydell,
	Brian Cain

This series makes hexagon compatible with the other ones we already integrated.

The biggest change is to introduce a semihosting interface, since existing arm
symbols conflict with hexagon ones. This is also need for when we'll integrate
riscv soon.

v3
--

- constify some semihosting operations (now taking a const *cs in parameter).
- edit commit description when using new interface in semihosting
  implementation, to reflect we don't check if semi_ops is NULL.

v2
--

- rebase on top of master (one conflict with helper renaming)

Note: this series is fully reviewed and I'll send it as PR on Friday if there
are no additional comments.

Pierrick Bouvier (12):
  target/hexagon: prefix helpers conflicting with other arch
  target-info: add target_hexagon
  hw/hexagon/virt: make machine available for hexagon target only
  hw/core/cpu: restrict tcg_ops to CONFIG_TCG only
  semihosting: declare semihosting cpu ops
  target/riscv/cpu: constify cpu parameter for riscv_cpu_mxl
  target/riscv: declare semihosting ops
  target/hexagon: declare semihosting ops
  target/arm: declare semihosting ops
  semihosting: use new semihosting ops
  semihosting: remove common_* functions
  meson.build: add hexagon-softmmu to multi-target

 hw/hexagon/virt.c                   |  2 ++
 include/hw/core/cpu.h               |  8 +++++
 include/qemu/target-info.h          |  7 ++++
 include/semihosting/common-semi.h   | 24 +++++++++----
 meson.build                         |  1 +
 semihosting/arm-compat-semi.c       | 56 ++++++++++++++---------------
 target-info.c                       |  5 +++
 target/arm/common-semi-target.c     | 33 +++++++++++------
 target/arm/cpu.c                    |  4 +++
 target/arm/internals.h              |  2 ++
 target/hexagon/common-semi-target.c | 30 ++++++++++------
 target/hexagon/cpu.c                |  2 ++
 target/hexagon/gen_tcg.h            |  2 +-
 target/hexagon/gen_tcg_sys.h        |  2 +-
 target/hexagon/helper.h             |  4 +--
 target/hexagon/hex_mmu.c            |  2 +-
 target/hexagon/hex_mmu.h            |  2 +-
 target/hexagon/internal.h           |  2 ++
 target/hexagon/op_helper.c          |  4 +--
 target/hexagon/translate.c          |  4 +--
 target/riscv/common-semi-target.c   | 37 ++++++++++++-------
 target/riscv/cpu.c                  |  4 +++
 target/riscv/cpu.h                  |  2 +-
 target/riscv/internals.h            |  2 ++
 24 files changed, 161 insertions(+), 80 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2026-10-16  0:08 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 21:05 [PATCH v3 00/12] multi-target: add hexagon Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 01/12] target/hexagon: prefix helpers conflicting with other arch Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 02/12] target-info: add target_hexagon Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 03/12] hw/hexagon/virt: make machine available for hexagon target only Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 04/12] hw/core/cpu: restrict tcg_ops to CONFIG_TCG only Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 05/12] semihosting: declare semihosting cpu ops Pierrick Bouvier
2026-10-15 17:45   ` Philippe Mathieu-Daudé
2026-10-14 21:05 ` [PATCH v3 06/12] target/riscv/cpu: constify cpu parameter for riscv_cpu_mxl Pierrick Bouvier
2026-10-15 16:27   ` Brian Cain
2026-10-15 17:37   ` Philippe Mathieu-Daudé
2026-10-15 17:42     ` Pierrick Bouvier
2026-10-15 17:48       ` Philippe Mathieu-Daudé
2026-10-15 18:09         ` Pierrick Bouvier
2026-10-15 19:43           ` Philippe Mathieu-Daudé
2026-10-16  0:06         ` Alistair Francis
2026-10-14 21:05 ` [PATCH v3 07/12] target/riscv: declare semihosting ops Pierrick Bouvier
2026-10-15 17:43   ` Philippe Mathieu-Daudé
2026-10-14 21:05 ` [PATCH v3 08/12] target/hexagon: " Pierrick Bouvier
2026-10-15 17:44   ` Philippe Mathieu-Daudé
2026-10-14 21:05 ` [PATCH v3 09/12] target/arm: " Pierrick Bouvier
2026-10-15 17:44   ` Philippe Mathieu-Daudé
2026-10-14 21:05 ` [PATCH v3 10/12] semihosting: use new " Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 11/12] semihosting: remove common_* functions Pierrick Bouvier
2026-10-14 21:05 ` [PATCH v3 12/12] meson.build: add hexagon-softmmu to multi-target Pierrick Bouvier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.