mbox series

[PATCH-for-10.1,0/2] tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps::has_precise_smc field

Message ID 20250404235624.67816-1-philmd@linaro.org
Headers show
Series tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps::has_precise_smc field | expand

Message

Philippe Mathieu-Daudé April 4, 2025, 11:56 p.m. UTC
This series is similar to the TARGET_SUPPORTS_MTTCG replacement
to a 'mttcg_supported' field in TCGCPUOps, but doing it for
TARGET_HAS_PRECISE_SMC, adding the 'has_precise_smc' field.

Based on tcg-next tree.

Philippe Mathieu-Daudé (2):
  tcg: Introduce and use target_has_precise_smc() runtime helper
  tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps::has_precise_smc
    field

 accel/tcg/tb-internal.h     |  3 +++
 include/accel/tcg/cpu-ops.h |  8 ++++++++
 include/exec/poison.h       |  1 -
 target/i386/cpu.h           |  4 ----
 target/s390x/cpu.h          |  2 --
 accel/tcg/cpu-exec.c        | 12 ++++++++++--
 accel/tcg/tb-maint.c        | 18 +++++-------------
 accel/tcg/user-exec.c       | 10 +++++-----
 target/i386/tcg/tcg-cpu.c   |  1 +
 target/s390x/cpu.c          |  1 +
 10 files changed, 33 insertions(+), 27 deletions(-)