Supercedes: 20250404235624.67816-1-phi...@linaro.org ("[PATCH-for-10.1 0/2] tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps::has_precise_smc field")
Amusingly, I was already working on this before Phil posted his patch, as part of trying to compile tb-maint.c twice. The major difference between our two patches is I don't introduce a global variable; I read from cpu->cc->tcg_ops->precice_smc when needed. r~ Richard Henderson (3): accel/tcg: Add CPUState argument to page_unprotect accel/tcg: Add CPUState argument to tb_invalidate_phys_page_unwind accel/tcg: Convert TARGET_HAS_PRECISE_SMC to TCGCPUOps.precise_smc accel/tcg/tb-internal.h | 3 ++- include/accel/tcg/cpu-ops.h | 6 ++++++ include/exec/poison.h | 1 - include/user/page-protection.h | 2 +- target/i386/cpu.h | 4 ---- target/s390x/cpu.h | 2 -- accel/tcg/tb-maint.c | 34 ++++++++++++++-------------------- accel/tcg/user-exec.c | 13 ++++++++----- linux-user/elfload.c | 2 +- target/i386/tcg/tcg-cpu.c | 1 + target/s390x/cpu.c | 1 + 11 files changed, 34 insertions(+), 35 deletions(-) -- 2.43.0