mbox series

[PATCH-for-8.0,0/5] accel/tcg: Restrict page_collection structure to system TB maintainance

Message ID 20221209093649.43738-1-philmd@linaro.org
Headers show
Series accel/tcg: Restrict page_collection structure to system TB maintainance | expand

Message

Philippe Mathieu-Daudé Dec. 9, 2022, 9:36 a.m. UTC
Few cleanups noticed while reviewing Richard's "Rewrite user-only
vma tracking" v3 ([*], based on top of it).

- Move accel/tcg/ trace events out of trace-root.h
- Refactor tb_invalidate_phys_range_fast() to restrict page_collection
  to sysemu.

[*] https://lore.kernel.org/qemu-devel/20221209051914.398215-1-richard.henderson@linaro.org/
Based-on: <20221209051914.398215-1-richard.henderson@linaro.org>

Philippe Mathieu-Daudé (5):
  accel/tcg: Restrict cpu_io_recompile() to system emulation
  accel/tcg: Remove trace events from trace-root.h
  accel/tcg: Rename tb_invalidate_phys_page_[locked_]fast()
  accel/tcg: Factor tb_invalidate_phys_range_fast() out
  accel/tcg: Restrict page_collection structure to system TB
    maintainance

 accel/tcg/cputlb.c     |  7 ++-----
 accel/tcg/internal.h   | 12 ++++--------
 accel/tcg/tb-maint.c   | 33 +++++++++++++++++++++++----------
 accel/tcg/trace-events |  4 ++++
 trace-events           |  4 ----
 5 files changed, 33 insertions(+), 27 deletions(-)