[PATCH 00/41] tcg patch queue

Richard Henderson posted 41 patches 3 years, 9 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210710153143.1320521-1-richard.henderson@linaro.org
Maintainers: Greg Kurz <groug@kaod.org>, Max Filippov <jcmvbkbc@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Alistair Francis <alistair.francis@wdc.com>, Marek Vasut <marex@denx.de>, David Hildenbrand <david@redhat.com>, Laurent Vivier <laurent@vivier.eu>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Michael Rolnik <mrolnik@gmail.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Palmer Dabbelt <palmer@dabbelt.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, David Gibson <david@gibson.dropbear.id.au>, Eduardo Habkost <ehabkost@redhat.com>, Bin Meng <bin.meng@windriver.com>, Thomas Huth <thuth@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Stafford Horne <shorne@gmail.com>, Chris Wulff <crwulff@gmail.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Artyom Tarasenko <atar4qemu@gmail.com>, Cornelia Huck <cohuck@redhat.com>
There is a newer version of this series
accel/tcg/tb-context.h              |   1 +
accel/tcg/tb-lookup.h               |  49 ----------------
include/exec/translator.h           |  10 ++++
include/tcg/tcg-opc.h               |   3 +-
include/tcg/tcg.h                   |   4 --
target/avr/helper.h                 |   8 +--
tcg/aarch64/tcg-target.h            |   1 -
tcg/arm/tcg-target.h                |   1 -
tcg/i386/tcg-target.h               |   1 -
tcg/mips/tcg-target.h               |   1 -
tcg/ppc/tcg-target.h                |   1 -
tcg/riscv/tcg-target.h              |   1 -
tcg/s390/tcg-target.h               |   1 -
tcg/sparc/tcg-target.h              |   1 -
tcg/tci/tcg-target.h                |   1 -
accel/tcg/cpu-exec.c                | 112 ++++++++++++++++++++++++++++--------
accel/tcg/tcg-runtime.c             |  22 -------
accel/tcg/translate-all.c           |  23 ++++----
accel/tcg/translator.c              |  11 ++++
cpu.c                               |  13 +++--
target/alpha/translate.c            |  47 ++-------------
target/arm/translate-a64.c          |  26 ++-------
target/arm/translate-sve.c          |   1 -
target/arm/translate.c              |  17 +-----
target/avr/translate.c              |   9 ++-
target/cris/translate.c             |   6 +-
target/hppa/translate.c             |   6 +-
target/i386/tcg/sysemu/bpt_helper.c |  12 +---
target/i386/tcg/translate.c         |  15 +----
target/m68k/translate.c             |  13 +----
target/microblaze/translate.c       |  12 +---
target/mips/tcg/translate.c         |  21 ++-----
target/nios2/translate.c            |  15 +----
target/openrisc/translate.c         |  16 +++---
target/ppc/translate.c              |  11 +---
target/riscv/translate.c            |  20 +------
target/rx/translate.c               |  12 +---
target/s390x/translate.c            |  19 +-----
target/sh4/translate.c              |  12 +---
target/sparc/translate.c            |  20 ++-----
target/tricore/translate.c          |  20 ++-----
target/xtensa/translate.c           |   7 +--
tcg/region.c                        |  33 +++--------
tcg/tcg-op.c                        |   2 +-
tcg/tcg.c                           |  14 ++---
trace-events                        |   5 ++
46 files changed, 217 insertions(+), 439 deletions(-)
delete mode 100644 accel/tcg/tb-lookup.h
[PATCH 00/41] tcg patch queue
Posted by Richard Henderson 3 years, 9 months ago
The following changes since commit 05de778b5b8ab0b402996769117b88c7ea5c7c61:

  Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2021-07-09 14:30:01 +0100)

are available in the Git repository at:

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

for you to fetch changes up to ad1a706f386c2281adb0b09257d892735e405834:

  cpu: Add breakpoint tracepoints (2021-07-09 21:31:11 -0700)

----------------------------------------------------------------
Add translator_use_goto_tb.
Cleanups in prep of breakpoint fixes.
Misc fixes.

----------------------------------------------------------------
Liren Wei (2):
      accel/tcg: Hoist tcg_tb_insert() up above tb_link_page()
      tcg: Bake tb_destroy() into tcg_region_tree

Philippe Mathieu-Daudé (1):
      tcg: Avoid including 'trace-tcg.h' in target translate.c

Richard Henderson (38):
      tcg: Add separator in INDEX_op_call dump
      tcg: Move tb_phys_invalidate_count to tb_ctx
      accel/tcg: Introduce translator_use_goto_tb
      target/alpha: Remove use_exit_tb
      target/alpha: Remove in_superpage
      target/alpha: Use translator_use_goto_tb
      target/arm: Use DISAS_TOO_MANY for ISB and SB
      target/arm: Use translator_use_goto_tb for aarch64
      target/arm: Use translator_use_goto_tb for aarch32
      target/avr: Use translator_use_goto_tb
      target/avr: Mark some helpers noreturn
      target/cris: Use translator_use_goto_tb
      target/hppa: Use translator_use_goto_tb
      target/i386: Use translator_use_goto_tb
      target/m68k: Use translator_use_goto_tb
      target/microblaze: Use translator_use_goto_tb
      target/mips: Use translator_use_goto_tb
      target/mips: Fix missing else in gen_goto_tb
      target/nios2: Use translator_use_goto_tb
      target/openrisc: Use translator_use_goto_tb
      target/ppc: Use translator_use_goto_tb
      target/riscv: Use translator_use_goto_tb
      target/rx: Use translator_use_goto_tb
      target/s390x: Use translator_use_goto_tb
      target/s390x: Remove use_exit_tb
      target/sh4: Use translator_use_goto_tb
      target/sparc: Use translator_use_goto_tb
      target/tricore: Use translator_use_goto_tb
      target/tricore: Use tcg_gen_lookup_and_goto_ptr
      target/xtensa: Use translator_use_goto_tb
      tcg: Fix prologue disassembly
      target/i386: Use cpu_breakpoint_test in breakpoint_handler
      accel/tcg: Move helper_lookup_tb_ptr to cpu-exec.c
      accel/tcg: Move tb_lookup to cpu-exec.c
      accel/tcg: Split out log_cpu_exec
      accel/tcg: Log tb->cflags with -d exec
      tcg: Remove TCG_TARGET_HAS_goto_ptr
      cpu: Add breakpoint tracepoints

 accel/tcg/tb-context.h              |   1 +
 accel/tcg/tb-lookup.h               |  49 ----------------
 include/exec/translator.h           |  10 ++++
 include/tcg/tcg-opc.h               |   3 +-
 include/tcg/tcg.h                   |   4 --
 target/avr/helper.h                 |   8 +--
 tcg/aarch64/tcg-target.h            |   1 -
 tcg/arm/tcg-target.h                |   1 -
 tcg/i386/tcg-target.h               |   1 -
 tcg/mips/tcg-target.h               |   1 -
 tcg/ppc/tcg-target.h                |   1 -
 tcg/riscv/tcg-target.h              |   1 -
 tcg/s390/tcg-target.h               |   1 -
 tcg/sparc/tcg-target.h              |   1 -
 tcg/tci/tcg-target.h                |   1 -
 accel/tcg/cpu-exec.c                | 112 ++++++++++++++++++++++++++++--------
 accel/tcg/tcg-runtime.c             |  22 -------
 accel/tcg/translate-all.c           |  23 ++++----
 accel/tcg/translator.c              |  11 ++++
 cpu.c                               |  13 +++--
 target/alpha/translate.c            |  47 ++-------------
 target/arm/translate-a64.c          |  26 ++-------
 target/arm/translate-sve.c          |   1 -
 target/arm/translate.c              |  17 +-----
 target/avr/translate.c              |   9 ++-
 target/cris/translate.c             |   6 +-
 target/hppa/translate.c             |   6 +-
 target/i386/tcg/sysemu/bpt_helper.c |  12 +---
 target/i386/tcg/translate.c         |  15 +----
 target/m68k/translate.c             |  13 +----
 target/microblaze/translate.c       |  12 +---
 target/mips/tcg/translate.c         |  21 ++-----
 target/nios2/translate.c            |  15 +----
 target/openrisc/translate.c         |  16 +++---
 target/ppc/translate.c              |  11 +---
 target/riscv/translate.c            |  20 +------
 target/rx/translate.c               |  12 +---
 target/s390x/translate.c            |  19 +-----
 target/sh4/translate.c              |  12 +---
 target/sparc/translate.c            |  20 ++-----
 target/tricore/translate.c          |  20 ++-----
 target/xtensa/translate.c           |   7 +--
 tcg/region.c                        |  33 +++--------
 tcg/tcg-op.c                        |   2 +-
 tcg/tcg.c                           |  14 ++---
 trace-events                        |   5 ++
 46 files changed, 217 insertions(+), 439 deletions(-)
 delete mode 100644 accel/tcg/tb-lookup.h

Re: [PATCH 00/41] tcg patch queue
Posted by Peter Maydell 3 years, 9 months ago
On Sat, 10 Jul 2021 at 16:33, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The following changes since commit 05de778b5b8ab0b402996769117b88c7ea5c7c61:
>
>   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2021-07-09 14:30:01 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210710
>
> for you to fetch changes up to ad1a706f386c2281adb0b09257d892735e405834:
>
>   cpu: Add breakpoint tracepoints (2021-07-09 21:31:11 -0700)
>
> ----------------------------------------------------------------
> Add translator_use_goto_tb.
> Cleanups in prep of breakpoint fixes.
> Misc fixes.
>
> ----------------------------------------------------------------

Is this intended as a pullreq despite the "PATCH" in the subject?

thanks
-- PMM

Re: [PATCH 00/41] tcg patch queue
Posted by Richard Henderson 3 years, 9 months ago
Oops, yes.

r~

On Sat, 10 Jul 2021, 09:24 Peter Maydell, <peter.maydell@linaro.org> wrote:

> On Sat, 10 Jul 2021 at 16:33, Richard Henderson
> <richard.henderson@linaro.org> wrote:
> >
> > The following changes since commit
> 05de778b5b8ab0b402996769117b88c7ea5c7c61:
> >
> >   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into
> staging (2021-07-09 14:30:01 +0100)
> >
> > are available in the Git repository at:
> >
> >   https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210710
> >
> > for you to fetch changes up to ad1a706f386c2281adb0b09257d892735e405834:
> >
> >   cpu: Add breakpoint tracepoints (2021-07-09 21:31:11 -0700)
> >
> > ----------------------------------------------------------------
> > Add translator_use_goto_tb.
> > Cleanups in prep of breakpoint fixes.
> > Misc fixes.
> >
> > ----------------------------------------------------------------
>
> Is this intended as a pullreq despite the "PATCH" in the subject?
>
> thanks
> -- PMM
>
Re: [PATCH 00/41] tcg patch queue
Posted by Peter Maydell 3 years, 9 months ago
On Sat, 10 Jul 2021 at 16:33, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The following changes since commit 05de778b5b8ab0b402996769117b88c7ea5c7c61:
>
>   Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2021-07-09 14:30:01 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20210710
>
> for you to fetch changes up to ad1a706f386c2281adb0b09257d892735e405834:
>
>   cpu: Add breakpoint tracepoints (2021-07-09 21:31:11 -0700)
>
> ----------------------------------------------------------------
> Add translator_use_goto_tb.
> Cleanups in prep of breakpoint fixes.
> Misc fixes.


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM