Skip to content

tcg: philmd's queue

Philippe Mathieu-Daudé qemu-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 0 repliesNew
  2. v319 patches 3 repliesSuperseded
  3. v26 of 43 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v143 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Include Brian's patch
- Fix TCGCPUOps::mttcg_supported on x86/riscv Since v2:
- Rebased & addressed review comments

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16target/riscv: Remove AccelCPUClass::cpu_class_init needtarget/riscv/cpu.c target/riscv/tcg/tcg-cpu.c target/riscv/tcg/tcg-cpu.h+6 -150 replies
2/16target/i386: Remove AccelCPUClass::cpu_class_init needtarget/i386/cpu.c target/i386/tcg/tcg-cpu.c target/i386/tcg/tcg-cpu.h+9 -130 replies
3/16accel: Remove AccelCPUClass::cpu_class_init() callbackaccel/accel-target.c include/accel/accel-cpu-target.h+0 -40 replies
4/16target/hexagon: Add memory order definitiontarget/hexagon/cpu-param.h+5 -00 replies
5/16tcg: Always define TCG_GUEST_DEFAULT_MOaccel/tcg/translate-all.c target/m68k/cpu-param.h target/rx/cpu-param.h +2 more+12 -40 replies
6/16tcg: Simplify tcg_req_mo() macroaccel/tcg/internal-target.h accel/tcg/tcg-all.c+1 -110 replies
7/16tcg: Define guest_default_memory_order in TCGCPUOpsinclude/accel/tcg/cpu-ops.h target/alpha/cpu.c target/arm/cpu.c +18 more+44 -00 replies
8/16tcg: Remove use of TCG_GUEST_DEFAULT_MO in tb_gen_code()accel/tcg/translate-all.c+1 -10 replies
9/16tcg: Propagate CPUState argument to cpu_req_mo()accel/tcg/cputlb.c accel/tcg/internal-target.h accel/tcg/user-exec.c+22 -210 replies
10/16tcg: Have tcg_req_mo() use TCGCPUOps::guest_default_memory_orderaccel/tcg/internal-target.h+4 -50 replies
11/16tcg: Remove the TCG_GUEST_DEFAULT_MO definition globallydocs/devel/multi-thread-tcg.rst include/exec/poison.h target/alpha/cpu-param.h +38 more+68 -1040 replies
12/16tcg: Move cpu_req_mo() macro to target-agnostic 'backend-ldst.h'accel/tcg/backend-ldst.h accel/tcg/cputlb.c accel/tcg/internal-target.h +1 more+43 -280 replies
13/16tcg: Move qemu_tcg_mttcg_enabled() to 'system/tcg.h'accel/tcg/tcg-all.c include/hw/core/cpu.h include/system/tcg.h +2 more+26 -120 replies
14/16tcg: Convert TCGState::mttcg_enabled to TriStateaccel/tcg/tcg-all.c+29 -310 replies
15/16tcg: Factor mttcg_init() outaccel/tcg/tcg-all.c+28 -220 replies
16/16tcg: Convert TARGET_SUPPORTS_MTTCG to TCGCPUOps::mttcg_supported fieldaccel/tcg/tcg-all.c configs/targets/aarch64-softmmu.mak configs/targets/alpha-softmmu.mak +41 more+37 -310 replies

Reviews trailers per patch

11 of 16 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonAnton JohanssonPierrick Bouvier
1/16
2/16
3/16
4/16
5/16R-b R-b R-b
6/16R-b R-b R-b
7/16R-b R-b R-b
8/16R-b
9/16R-b
10/16R-b
11/16R-b R-b R-b
12/16
13/16R-b R-b
14/16R-b R-b
15/16R-b
16/16R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH-for-10.1 v4 00/16] tcg: philmd's queue

Hi Richard,

Here is my patch queue based on your tcg-next tree fixed.

You can find it on my repository:
https://gitlab.com/philmd/qemu/-/tags/tcgops-mttcg-v4

Thanks,

Phil.

Since v3:
- Include Brian's patch
- Fix TCGCPUOps::mttcg_supported on x86/riscv Since v2:
- Rebased & addressed review comments
Since v1:
- Deferred warning change and updated desc (patches 40 & 42)

Brian Cain (1):
target/hexagon: Add memory order definition

Philippe Mathieu-Daudé (15):
target/riscv: Remove AccelCPUClass::cpu_class_init need target/i386: Remove AccelCPUClass::cpu_class_init need
accel: Remove AccelCPUClass::cpu_class_init() callback
tcg: Always define TCG_GUEST_DEFAULT_MO
tcg: Simplify tcg_req_mo() macro
tcg: Define guest_default_memory_order in TCGCPUOps
tcg: Remove use of TCG_GUEST_DEFAULT_MO in tb_gen_code()
tcg: Propagate CPUState argument to cpu_req_mo()
tcg: Have tcg_req_mo() use TCGCPUOps::guest_default_memory_order
tcg: Remove the TCG_GUEST_DEFAULT_MO definition globally
tcg: Move cpu_req_mo() macro to target-agnostic 'backend-ldst.h'
tcg: Move qemu_tcg_mttcg_enabled() to 'system/tcg.h'
tcg: Convert TCGState::mttcg_enabled to TriState
tcg: Factor mttcg_init() out
tcg: Convert TARGET_SUPPORTS_MTTCG to TCGCPUOps::mttcg_supported field

 docs/devel/multi-thread-tcg.rst          |  6 +-
 configs/targets/aarch64-softmmu.mak      |  1 -
 configs/targets/alpha-softmmu.mak        |  1 -
 configs/targets/arm-softmmu.mak          |  1 -
 configs/targets/hppa-softmmu.mak         |  1 -
 configs/targets/i386-softmmu.mak         |  1 -
 configs/targets/loongarch64-softmmu.mak  |  1 -
 configs/targets/microblaze-softmmu.mak   |  1 -
 configs/targets/microblazeel-softmmu.mak |  1 -
 configs/targets/mips-softmmu.mak         |  1 -
 configs/targets/mipsel-softmmu.mak       |  1 -
 configs/targets/or1k-softmmu.mak         |  1 -
 configs/targets/ppc64-softmmu.mak        |  1 -
 configs/targets/riscv32-softmmu.mak      |  1 -
 configs/targets/riscv64-softmmu.mak      |  1 -
 configs/targets/s390x-softmmu.mak        |  1 -
 configs/targets/sparc-softmmu.mak        |  1 -
 configs/targets/sparc64-softmmu.mak      |  1 -
 configs/targets/x86_64-softmmu.mak       |  1 -
 configs/targets/xtensa-softmmu.mak       |  1 -
 configs/targets/xtensaeb-softmmu.mak     |  1 -
 accel/tcg/backend-ldst.h                 | 41 ++++++++++++
 accel/tcg/internal-target.h              | 35 ----------
 include/accel/accel-cpu-target.h         |  1 -
 include/accel/tcg/cpu-ops.h              | 16 +++++
 include/exec/poison.h                    |  2 -
 include/hw/core/cpu.h                    |  9 ---
 include/system/tcg.h                     |  8 +++
 target/alpha/cpu-param.h                 |  3 -
 target/arm/cpu-param.h                   |  3 -
 target/avr/cpu-param.h                   |  2 -
 target/hppa/cpu-param.h                  |  8 ---
 target/i386/cpu-param.h                  |  3 -
 target/i386/tcg/tcg-cpu.h                |  4 ++
 target/loongarch/cpu-param.h             |  2 -
 target/microblaze/cpu-param.h            |  3 -
 target/mips/cpu-param.h                  |  2 -
 target/openrisc/cpu-param.h              |  2 -
 target/ppc/cpu-param.h                   |  2 -
 target/riscv/cpu-param.h                 |  2 -
 target/riscv/tcg/tcg-cpu.h               |  2 +
 target/s390x/cpu-param.h                 |  6 --
 target/sparc/cpu-param.h                 | 23 -------
 target/xtensa/cpu-param.h                |  3 -
 accel/accel-target.c                     |  3 -
 accel/tcg/cputlb.c                       | 21 +++---
 accel/tcg/tcg-all.c                      | 84 ++++++++++++++----------
 accel/tcg/translate-all.c                |  6 +-
 accel/tcg/user-exec.c                    | 21 +++---
 target/alpha/cpu.c                       |  4 ++
 target/arm/cpu.c                         |  4 ++
 target/arm/tcg/cpu-v7m.c                 |  4 ++
 target/avr/cpu.c                         |  2 +
 target/hexagon/cpu.c                     |  5 ++
 target/hppa/cpu.c                        |  9 +++
 target/i386/cpu.c                        |  4 ++
 target/i386/tcg/tcg-cpu.c                | 20 ++----
 target/loongarch/cpu.c                   |  3 +
 target/m68k/cpu.c                        |  4 ++
 target/microblaze/cpu.c                  |  4 ++
 target/mips/cpu.c                        |  3 +
 target/openrisc/cpu.c                    |  3 +
 target/ppc/cpu_init.c                    |  2 +
 target/riscv/cpu.c                       |  3 +
 target/riscv/tcg/tcg-cpu.c               | 20 ++----
 target/rx/cpu.c                          |  4 ++
 target/s390x/cpu.c                       |  7 ++
 target/sh4/cpu.c                         |  4 ++
 target/sparc/cpu.c                       | 24 +++++++
 target/tricore/cpu.c                     |  3 +
 target/xtensa/cpu.c                      |  4 ++
 tcg/region.c                             |  4 +-
 72 files changed, 260 insertions(+), 227 deletions(-)
 create mode 100644 accel/tcg/backend-ldst.h
Signature · 1 line
2.47.1