Skip to content

accel: Factor tcg_cpu_reset_hold() out of cpu-common.c

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3accel/tcg: Declare tcg_flush_jmp_cache() in 'exec/tb-flush.h'accel/tcg/cputlb.c accel/tcg/tcg-accel-ops.c hw/core/cpu-common.c +3 more+5 -20 replies
2/3accel: Introduce cpu_exec_reset_hold()accel/tcg/user-exec-stub.c hw/core/cpu-common.c include/hw/core/cpu.h +2 more+14 -00 replies
3/3accel/tcg: Factor tcg_cpu_reset_hold() outaccel/stubs/tcg-stub.c accel/tcg/tcg-accel-ops.c accel/tcg/translate-all.c +2 more+8 -190 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnton JohanssonRichard Henderson
SeriesR-b R-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] accel: Factor tcg_cpu_reset_hold() out of cpu-common.c

Hi,

We want to have exec/ code agnostic to accelerators. still we use various call to TCG and KVM. This series factor the TCG code from cpu_common_reset_hold() to an accel-specific handler within AccelOpsClass.

Based-on: <[email protected]>

Philippe Mathieu-Daudé (3):
accel/tcg: Declare tcg_flush_jmp_cache() in 'exec/tb-flush.h'
accel: Introduce cpu_exec_reset_hold()
accel/tcg: Factor tcg_cpu_reset_hold() out

 include/exec/cpu-common.h  | 3 ---
 include/exec/tb-flush.h    | 2 ++
 include/hw/core/cpu.h      | 1 +
 include/sysemu/accel-ops.h | 1 +
 accel/stubs/tcg-stub.c     | 4 ----
 accel/tcg/cputlb.c         | 1 +
 accel/tcg/tcg-accel-ops.c  | 9 +++++++++
 accel/tcg/translate-all.c  | 8 --------
 accel/tcg/user-exec-stub.c | 4 ++++
 hw/core/cpu-common.c       | 5 +----
 plugins/core.c             | 1 -
 softmmu/cpus.c             | 7 +++++++
 12 files changed, 26 insertions(+), 20 deletions(-)
Signature · 1 line
2.41.0