Skip to content

accel/tcg: Allow tcg_exec_realizefn() initialize multiple frontends

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6target/ppc: Indent ppc_tcg_ops[] with 4 spacestarget/ppc/cpu_init.c+14 -152 replies
2/6accel/tcg: Declare local tcg_ops variable in tcg_exec_realizefn()accel/tcg/cpu-exec.c+4 -43 replies
3/6accel/tcg: Rename TCGCPUOps::initialize() as initialize_once()accel/tcg/cpu-exec.c include/hw/core/tcg-cpu-ops.h target/alpha/cpu.c +19 more+24 -241 reply
4/6include: Expose QemuArch in 'qemu/arch_id.h'include/qemu/arch_id.h include/sysemu/arch_init.h+31 -253 replies
5/6accel/tcg: Add TCGCPUOps::arch_id fieldinclude/hw/core/tcg-cpu-ops.h target/alpha/cpu.c target/arm/cpu.c +18 more+23 -02 replies
6/6accel/tcg: Allow tcg_exec_realizefn() initialize multiple frontendsaccel/tcg/cpu-exec.c+3 -22 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchNicholas PigginAnton JohanssonRichard Henderson
1/6A-b R-b R-b
2/6R-b R-b
3/6R-b
4/6
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH-for-10.0 0/6] accel/tcg: Allow tcg_exec_realizefn() initialize multiple frontends

Little step toward heterogeneous emulation. After few trivial cleanups, allow accel_cpu_common_realize() -> tcg_exec_realizefn() to call frontend TCGCPUOps::initialize() for different targets.

Philippe Mathieu-Daudé (6):
target/ppc: Indent ppc_tcg_ops[] with 4 spaces accel/tcg: Declare local tcg_ops variable in tcg_exec_realizefn() accel/tcg: Rename TCGCPUOps::initialize() as initialize_once()
include: Expose QemuArch in 'qemu/arch_id.h'
accel/tcg: Add TCGCPUOps::arch_id field
accel/tcg: Allow tcg_exec_realizefn() initialize multiple frontends

 include/hw/core/tcg-cpu-ops.h |  9 ++++++---
 include/qemu/arch_id.h        | 28 ++++++++++++++++++++++++++++
 include/sysemu/arch_init.h    | 28 +++-------------------------
 accel/tcg/cpu-exec.c          | 13 +++++++------
 target/alpha/cpu.c            |  3 ++-
 target/arm/cpu.c              |  3 ++-
 target/arm/tcg/cpu-v7m.c      |  3 ++-
 target/avr/cpu.c              |  3 ++-
 target/hexagon/cpu.c          |  3 ++-
 target/hppa/cpu.c             |  3 ++-
 target/i386/tcg/tcg-cpu.c     |  3 ++-
 target/loongarch/cpu.c        |  3 ++-
 target/m68k/cpu.c             |  3 ++-
 target/microblaze/cpu.c       |  3 ++-
 target/mips/cpu.c             |  3 ++-
 target/openrisc/cpu.c         |  3 ++-
 target/ppc/cpu_init.c         | 30 +++++++++++++++---------------
 target/riscv/tcg/tcg-cpu.c    |  3 ++-
 target/rx/cpu.c               |  3 ++-
 target/s390x/cpu.c            |  3 ++-
 target/sh4/cpu.c              |  3 ++-
 target/sparc/cpu.c            |  3 ++-
 target/tricore/cpu.c          |  3 ++-
 target/xtensa/cpu.c           |  3 ++-
 24 files changed, 97 insertions(+), 68 deletions(-)
 create mode 100644 include/qemu/arch_id.h
Signature · 1 line
2.45.2