This is v4 of my notdirty + rom patch set with two suggested name changes (qemu_build_not_reached, TLB_DISCARD_WRITE) from David and Alex.
r~ The following changes since commit 240ab11fb72049d6373cbbec8d788f8e411a00bc: Merge remote-tracking branch 'remotes/aperard/tags/pull-xen-20190924' into staging (2019-09-24 15:36:31 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-tcg-20190925 for you to fetch changes up to ae57db63acf5a0399232f852acc5c1d83ef63400: cputlb: Pass retaddr to tb_check_watchpoint (2019-09-25 10:56:28 -0700) ---------------------------------------------------------------- Fixes for TLB_BSWAP Coversion of NOTDIRTY and ROM handling to cputlb Followup cleanups to cputlb ---------------------------------------------------------------- Richard Henderson (16): exec: Use TARGET_PAGE_BITS_MIN for TLB flags cputlb: Disable __always_inline__ without optimization qemu/compiler.h: Add qemu_build_not_reached cputlb: Use qemu_build_not_reached in load/store_helpers cputlb: Split out load/store_memop cputlb: Introduce TLB_BSWAP exec: Adjust notdirty tracing cputlb: Move ROM handling from I/O path to TLB path cputlb: Move NOTDIRTY handling from I/O path to TLB path cputlb: Partially inline memory_region_section_get_iotlb cputlb: Merge and move memory_notdirty_write_{prepare,complete} cputlb: Handle TLB_NOTDIRTY in probe_access cputlb: Remove cpu->mem_io_vaddr cputlb: Remove tb_invalidate_phys_page_range is_cpu_write_access cputlb: Pass retaddr to tb_invalidate_phys_page_fast cputlb: Pass retaddr to tb_check_watchpoint accel/tcg/translate-all.h | 8 +- include/exec/cpu-all.h | 23 ++- include/exec/cpu-common.h | 3 - include/exec/exec-all.h | 6 +- include/exec/memory-internal.h | 65 -------- include/hw/core/cpu.h | 2 - include/qemu/compiler.h | 26 +++ accel/tcg/cputlb.c | 348 +++++++++++++++++++++++++---------------- accel/tcg/translate-all.c | 51 +++--- exec.c | 158 +------------------ hw/core/cpu.c | 1 - memory.c | 20 --- trace-events | 4 +- 13 files changed, 288 insertions(+), 427 deletions(-)