[PULL 00/22] tcg patch queue

Richard Henderson posted 22 patches 1 year, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230626153945.76180-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Riku Voipio <riku.voipio@iki.fi>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Aurelien Jarno <aurelien@aurel32.net>, Peter Maydell <peter.maydell@linaro.org>, "Alex Bennée" <alex.bennee@linaro.org>, "Dr. David Alan Gilbert" <dave@treblig.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Michael Rolnik <mrolnik@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Brian Cain <bcain@quicinc.com>, Song Gao <gaosong@loongson.cn>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, Laurent Vivier <laurent@vivier.eu>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Chris Wulff <crwulff@gmail.com>, Marek Vasut <marex@denx.de>, Stafford Horne <shorne@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Nicholas Piggin <npiggin@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Weiwei Li <liweiwei@iscas.ac.cn>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Max Filippov <jcmvbkbc@gmail.com>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>
There is a newer version of this series
meson.build                              |   2 -
qapi/machine.json                        |  18 --
accel/tcg/internal.h                     |  40 +++-
accel/tcg/tb-hash.h                      |  12 +-
accel/tcg/tb-jmp-cache.h                 |   2 +-
include/exec/cpu-all.h                   |  27 ++-
include/exec/cpu-defs.h                  |  10 +-
include/exec/cpu_ldst.h                  |  10 +-
include/exec/exec-all.h                  |  95 +++++----
include/exec/translator.h                |   6 +-
include/hw/core/cpu.h                    |   1 +
include/qemu/plugin-memory.h             |   2 +-
include/qemu/timer.h                     |   9 -
include/tcg/tcg.h                        |  26 ---
target/alpha/cpu.h                       |   4 +-
target/arm/cpu.h                         |   4 +-
target/avr/cpu.h                         |   4 +-
target/cris/cpu.h                        |   4 +-
target/hexagon/cpu.h                     |   4 +-
target/hppa/cpu.h                        |   5 +-
target/i386/cpu.h                        |   4 +-
target/loongarch/cpu.h                   |   6 +-
target/m68k/cpu.h                        |   4 +-
target/microblaze/cpu.h                  |   7 +-
target/mips/cpu.h                        |   4 +-
target/nios2/cpu.h                       |   4 +-
target/openrisc/cpu.h                    |   5 +-
target/ppc/cpu.h                         |   8 +-
target/riscv/cpu.h                       |   4 +-
target/rx/cpu.h                          |   4 +-
target/s390x/cpu.h                       |   4 +-
target/sh4/cpu.h                         |   4 +-
target/sparc/cpu.h                       |   4 +-
target/tricore/cpu.h                     |   4 +-
target/xtensa/cpu.h                      |   4 +-
accel/stubs/tcg-stub.c                   |   6 +-
accel/tcg/cpu-exec.c                     |  43 ++--
accel/tcg/cputlb.c                       | 351 +++++++++++++++++--------------
accel/tcg/monitor.c                      |  31 ---
accel/tcg/tb-maint.c                     |   2 +-
accel/tcg/tcg-accel-ops.c                |  10 -
accel/tcg/tcg-all.c                      |  39 +---
accel/tcg/translate-all.c                |  46 +---
accel/tcg/translator.c                   |  10 +-
accel/tcg/user-exec.c                    |  24 ++-
cpu.c                                    |   2 +-
fpu/softfloat.c                          |  22 +-
softmmu/runstate.c                       |   9 -
target/arm/helper.c                      |   4 +-
target/ppc/helper_regs.c                 |   4 +-
target/riscv/cpu_helper.c                |   4 +-
tcg/tcg-op-gvec.c                        |   2 +-
tcg/tcg-op-ldst.c                        |   2 +-
tcg/tcg-op.c                             |  14 +-
tcg/tcg.c                                | 214 -------------------
tests/plugin/insn.c                      |   9 +-
tests/qtest/qmp-cmd-test.c               |   3 -
hmp-commands-info.hx                     |  15 --
meson_options.txt                        |   2 -
scripts/meson-buildoptions.sh            |   3 -
tests/tcg/i386/Makefile.softmmu-target   |   9 -
tests/tcg/i386/Makefile.target           |   6 -
tests/tcg/x86_64/Makefile.softmmu-target |   9 -
63 files changed, 469 insertions(+), 781 deletions(-)
[PULL 00/22] tcg patch queue
Posted by Richard Henderson 1 year, 9 months ago
The following changes since commit 390e8fc6b0e7b521c9eceb8dfe0958e141009ab9:

  Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2023-06-26 16:05:45 +0200)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20230626

for you to fetch changes up to a0eaae08c7c6a59c185cf646b02f4167b2ac6ec0:

  accel/tcg: Renumber TLB_DISCARD_WRITE (2023-06-26 17:33:00 +0200)

----------------------------------------------------------------
accel/tcg: Replace target_ulong in some APIs
accel/tcg: Remove CONFIG_PROFILER
accel/tcg: Store some tlb flags in CPUTLBEntryFull
tcg: Issue memory barriers as required for the guest memory model
tcg: Fix temporary variable in tcg_gen_gvec_andcs

----------------------------------------------------------------
Alex Bennée (1):
      softfloat: use QEMU_FLATTEN to avoid mistaken isra inlining

Anton Johansson (11):
      accel: Replace target_ulong in tlb_*()
      accel/tcg/translate-all.c: Widen pc and cs_base
      target: Widen pc/cs_base in cpu_get_tb_cpu_state
      accel/tcg/cputlb.c: Widen CPUTLBEntry access functions
      accel/tcg/cputlb.c: Widen addr in MMULookupPageData
      accel/tcg/cpu-exec.c: Widen pc to vaddr
      accel/tcg: Widen pc to vaddr in CPUJumpCache
      accel: Replace target_ulong with vaddr in probe_*()
      accel/tcg: Replace target_ulong with vaddr in *_mmu_lookup()
      accel/tcg: Replace target_ulong with vaddr in translator_*()
      cpu: Replace target_ulong with hwaddr in tb_invalidate_phys_addr()

Fei Wu (1):
      accel/tcg: remove CONFIG_PROFILER

Max Chou (1):
      tcg: Fix temporary variable in tcg_gen_gvec_andcs

Richard Henderson (8):
      tests/plugin: Remove duplicate insn log from libinsn.so
      target/microblaze: Define TCG_GUEST_DEFAULT_MO
      tcg: Do not elide memory barriers for !CF_PARALLEL in system mode
      tcg: Add host memory barriers to cpu_ldst.h interfaces
      accel/tcg: Remove check_tcg_memory_orders_compatible
      accel/tcg: Store some tlb flags in CPUTLBEntryFull
      accel/tcg: Move TLB_WATCHPOINT to TLB_SLOW_FLAGS_MASK
      accel/tcg: Renumber TLB_DISCARD_WRITE

 meson.build                              |   2 -
 qapi/machine.json                        |  18 --
 accel/tcg/internal.h                     |  40 +++-
 accel/tcg/tb-hash.h                      |  12 +-
 accel/tcg/tb-jmp-cache.h                 |   2 +-
 include/exec/cpu-all.h                   |  27 ++-
 include/exec/cpu-defs.h                  |  10 +-
 include/exec/cpu_ldst.h                  |  10 +-
 include/exec/exec-all.h                  |  95 +++++----
 include/exec/translator.h                |   6 +-
 include/hw/core/cpu.h                    |   1 +
 include/qemu/plugin-memory.h             |   2 +-
 include/qemu/timer.h                     |   9 -
 include/tcg/tcg.h                        |  26 ---
 target/alpha/cpu.h                       |   4 +-
 target/arm/cpu.h                         |   4 +-
 target/avr/cpu.h                         |   4 +-
 target/cris/cpu.h                        |   4 +-
 target/hexagon/cpu.h                     |   4 +-
 target/hppa/cpu.h                        |   5 +-
 target/i386/cpu.h                        |   4 +-
 target/loongarch/cpu.h                   |   6 +-
 target/m68k/cpu.h                        |   4 +-
 target/microblaze/cpu.h                  |   7 +-
 target/mips/cpu.h                        |   4 +-
 target/nios2/cpu.h                       |   4 +-
 target/openrisc/cpu.h                    |   5 +-
 target/ppc/cpu.h                         |   8 +-
 target/riscv/cpu.h                       |   4 +-
 target/rx/cpu.h                          |   4 +-
 target/s390x/cpu.h                       |   4 +-
 target/sh4/cpu.h                         |   4 +-
 target/sparc/cpu.h                       |   4 +-
 target/tricore/cpu.h                     |   4 +-
 target/xtensa/cpu.h                      |   4 +-
 accel/stubs/tcg-stub.c                   |   6 +-
 accel/tcg/cpu-exec.c                     |  43 ++--
 accel/tcg/cputlb.c                       | 351 +++++++++++++++++--------------
 accel/tcg/monitor.c                      |  31 ---
 accel/tcg/tb-maint.c                     |   2 +-
 accel/tcg/tcg-accel-ops.c                |  10 -
 accel/tcg/tcg-all.c                      |  39 +---
 accel/tcg/translate-all.c                |  46 +---
 accel/tcg/translator.c                   |  10 +-
 accel/tcg/user-exec.c                    |  24 ++-
 cpu.c                                    |   2 +-
 fpu/softfloat.c                          |  22 +-
 softmmu/runstate.c                       |   9 -
 target/arm/helper.c                      |   4 +-
 target/ppc/helper_regs.c                 |   4 +-
 target/riscv/cpu_helper.c                |   4 +-
 tcg/tcg-op-gvec.c                        |   2 +-
 tcg/tcg-op-ldst.c                        |   2 +-
 tcg/tcg-op.c                             |  14 +-
 tcg/tcg.c                                | 214 -------------------
 tests/plugin/insn.c                      |   9 +-
 tests/qtest/qmp-cmd-test.c               |   3 -
 hmp-commands-info.hx                     |  15 --
 meson_options.txt                        |   2 -
 scripts/meson-buildoptions.sh            |   3 -
 tests/tcg/i386/Makefile.softmmu-target   |   9 -
 tests/tcg/i386/Makefile.target           |   6 -
 tests/tcg/x86_64/Makefile.softmmu-target |   9 -
 63 files changed, 469 insertions(+), 781 deletions(-)

Re: [PULL 00/22] tcg patch queue
Posted by Richard Henderson 1 year, 9 months ago
On 6/26/23 17:39, Richard Henderson wrote:
> The following changes since commit 390e8fc6b0e7b521c9eceb8dfe0958e141009ab9:
> 
>    Merge tag 'for_upstream' ofhttps://git.kernel.org/pub/scm/virt/kvm/mst/qemu  into staging (2023-06-26 16:05:45 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/rth7680/qemu.git  tags/pull-tcg-20230626
> 
> for you to fetch changes up to a0eaae08c7c6a59c185cf646b02f4167b2ac6ec0:
> 
>    accel/tcg: Renumber TLB_DISCARD_WRITE (2023-06-26 17:33:00 +0200)
> 
> ----------------------------------------------------------------
> accel/tcg: Replace target_ulong in some APIs
> accel/tcg: Remove CONFIG_PROFILER
> accel/tcg: Store some tlb flags in CPUTLBEntryFull
> tcg: Issue memory barriers as required for the guest memory model
> tcg: Fix temporary variable in tcg_gen_gvec_andcs

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.


r~