From: Sergey Fedorov <serge.f...@gmail.com> This patch series consists of various general TCG clean-up patches extracted from Paolo's MTTCG tree [1] and Alex's MTTCG base enablement tree [2]. I also add here a patch from myself to rework tb_invalidated_flag based on the Paolo's "tcg: move tb_invalidated_flag to CPUState" patch from the original verions of this series. Another patch of mine cleans up from a misleading 'next_tb' variable.
The main idea is to review and merge these patches separately from the MTTCG series to cut the latter and make it easier to review. This series is based on commit 6d6e9af2ed1c ("tcg: Allow goto_tb to any target PC in user mode") [3] and is available at [4]. [1] git://github.com/bonzini/qemu.git mttcg [2] git://github.com/stsquad/qemu.git mttcg/base-patches-v2 [3] git://github.com/sergefdrv/qemu.git tb-chaining-cleanup-v5 [4] git://github.com/sergefdrv/qemu.git tcg-cleanup-v6 Summary of changes: v6: * Fixed rebase conflicts v5: * Shortcut non-null tests in [PATCH v5 4/6] * Add a patch to move TB chaining to tb_find_fast() [PATCH v5 6/6] v4: * Add a patch to clean up from 'next_tb' [PATCH v4 4/6] v3: * Add a patch to rework tb_invalidated_flag from myself [PATCH v3 4/4] v2: * Complete code_bitmap elimination [PATCH v2 1/3] * Take Alex's version of tb_find_physical() reorganization [PATCH v2 2/3] * Drop [PATCH 3/5] completely * Drop [PATCH 4/5] and [PATCH 5/5] for separate series * Take Alex's rebase of Paolo's icount code eliding [PATCH v2 3/3] Alex Bennée (1): tcg: reorganize tb_find_physical loop Paolo Bonzini (2): tcg: code_bitmap is not used by user-mode emulation cpu-exec: elide more icount code if CONFIG_USER_ONLY Sergey Fedorov (3): tcg: Clean up from 'next_tb' tcg: Rework tb_invalidated_flag cpu-exec: Move TB chaining into tb_find_fast() cpu-exec.c | 151 +++++++++++++++++++++++++++--------------------- include/exec/exec-all.h | 2 - include/qom/cpu.h | 2 + tcg/tcg.h | 19 +++--- tci.c | 6 +- trace-events | 2 +- translate-all.c | 16 ++--- 7 files changed, 111 insertions(+), 87 deletions(-) -- 2.8.1