Skip to content

cpus: Restrict SoftMMU mmu_index() to TCG

Philippe Mathieu-Daudé qemu-devel 1 version Applied

Status from this message: Queued to tcg-next, including the addition of the assert.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/24hw/core/cpu: Update CPUClass::mmu_index docstringinclude/hw/core/cpu.h+1 -21 reply
2/24accel/tcg: Introduce TCGCPUOps::mmu_index() callbackinclude/accel/tcg/cpu-ops.h include/exec/cpu-mmu-index.h+7 -11 reply
3/24target/alpha: Restrict SoftMMU mmu_index() to TCGtarget/alpha/cpu.c+1 -10 replies
4/24target/arm: Restrict SoftMMU mmu_index() to TCGtarget/arm/cpu.c+7 -60 replies
5/24target/avr: Restrict SoftMMU mmu_index() to TCGtarget/avr/cpu.c+1 -10 replies
6/24target/hppa: Restrict SoftMMU mmu_index() to TCGtarget/hppa/cpu.c+1 -10 replies
7/24target/i386: Remove unused cpu_(ldub, stb)_kernel macrostarget/i386/tcg/seg_helper.h+0 -60 replies
8/24target/i386: Restrict cpu_mmu_index_kernel() to TCGtarget/i386/cpu.c target/i386/cpu.h target/i386/tcg/seg_helper.c +1 more+20 -170 replies
9/24target/i386: Restrict SoftMMU mmu_index() to TCGtarget/i386/cpu.c target/i386/cpu.h target/i386/tcg/seg_helper.c +2 more+21 -200 replies
10/24target/loongarch: Restrict SoftMMU mmu_index() to TCGtarget/loongarch/cpu.c+1 -10 replies
11/24target/m68k: Restrict SoftMMU mmu_index() to TCGtarget/m68k/cpu.c+1 -10 replies
12/24target/microblaze: Restrict SoftMMU mmu_index() to TCGtarget/microblaze/cpu.c+1 -10 replies
13/24target/mips: Restrict SoftMMU mmu_index() to TCGtarget/mips/cpu.c+1 -10 replies
14/24target/openrisc: Restrict SoftMMU mmu_index() to TCGtarget/openrisc/cpu.c+1 -10 replies
15/24target/ppc: Restrict SoftMMU mmu_index() to TCGtarget/ppc/cpu_init.c+1 -10 replies
16/24target/riscv: Restrict SoftMMU mmu_index() to TCGtarget/riscv/cpu.c target/riscv/tcg/tcg-cpu.c+6 -60 replies
17/24target/rx: Restrict SoftMMU mmu_index() to TCGtarget/rx/cpu.c+1 -10 replies
18/24target/s390x: Restrict SoftMMU mmu_index() to TCGtarget/s390x/cpu.c+1 -10 replies
19/24target/sh4: Restrict SoftMMU mmu_index() to TCGtarget/sh4/cpu.c+1 -10 replies
20/24target/sparc: Restrict SoftMMU mmu_index() to TCGtarget/sparc/cpu.c+1 -10 replies
21/24target/tricore: Restrict SoftMMU mmu_index() to TCGtarget/tricore/cpu.c+1 -10 replies
22/24target/xtensa: Restrict SoftMMU mmu_index() to TCGtarget/xtensa/cpu.c+1 -10 replies
23/24hw/core/cpu: Remove CPUClass::mmu_index()include/exec/cpu-mmu-index.h include/hw/core/cpu.h+1 -52 replies
24/24exec: Restrict cpu-mmu-index.h to accel/tcg/accel/tcg/translator.c include/accel/tcg/cpu-mmu-index.h include/exec/cpu_ldst.h +12 more+17 -170 replies

Reviews trailers per patch

3 of 24 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard Henderson
SeriesR-b
1/24R-b
2/24R-b
3/24
4/24
5/24
6/24
7/24
8/24
9/24
10/24
11/24
12/24
13/24
14/24
15/24
16/24
17/24
18/24
19/24
20/24
21/24
22/24
23/24R-b
24/24

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH-for-10.1 00/24] cpus: Restrict SoftMMU mmu_index() to TCG

mmu_index() is specific to TCG SoftMMU,
move CPUClass::mmu_index() to TCGCPUOps::mmu_index().

Philippe Mathieu-Daudé (24):
hw/core/cpu: Update CPUClass::mmu_index docstring accel/tcg: Introduce TCGCPUOps::mmu_index() callback target/alpha: Restrict SoftMMU mmu_index() to TCG target/arm: Restrict SoftMMU mmu_index() to TCG target/avr: Restrict SoftMMU mmu_index() to TCG target/hppa: Restrict SoftMMU mmu_index() to TCG target/i386: Remove unused cpu_(ldub,stb)_kernel macros target/i386: Restrict cpu_mmu_index_kernel() to TCG target/i386: Restrict SoftMMU mmu_index() to TCG target/loongarch: Restrict SoftMMU mmu_index() to TCG target/m68k: Restrict SoftMMU mmu_index() to TCG target/microblaze: Restrict SoftMMU mmu_index() to TCG target/mips: Restrict SoftMMU mmu_index() to TCG target/openrisc: Restrict SoftMMU mmu_index() to TCG target/ppc: Restrict SoftMMU mmu_index() to TCG target/riscv: Restrict SoftMMU mmu_index() to TCG target/rx: Restrict SoftMMU mmu_index() to TCG target/s390x: Restrict SoftMMU mmu_index() to TCG target/sh4: Restrict SoftMMU mmu_index() to TCG target/sparc: Restrict SoftMMU mmu_index() to TCG target/tricore: Restrict SoftMMU mmu_index() to TCG target/xtensa: Restrict SoftMMU mmu_index() to TCG hw/core/cpu: Remove CPUClass::mmu_index()
exec: Restrict cpu-mmu-index.h to accel/tcg/

 include/{exec => accel/tcg}/cpu-mmu-index.h |  9 +++---
 include/accel/tcg/cpu-ops.h                 |  3 ++
 include/exec/cpu_ldst.h                     |  2 +-
 include/hw/core/cpu.h                       |  3 --
 target/i386/cpu.h                           |  3 --
 target/i386/tcg/seg_helper.h                | 10 +++---
 target/i386/tcg/tcg-cpu.h                   |  2 ++
 accel/tcg/translator.c                      |  2 +-
 semihosting/uaccess.c                       |  2 +-
 target/alpha/cpu.c                          |  2 +-
 target/arm/cpu.c                            | 13 ++++----
 target/arm/gdbstub64.c                      |  2 +-
 target/avr/cpu.c                            |  2 +-
 target/hppa/cpu.c                           |  2 +-
 target/hppa/mem_helper.c                    |  2 +-
 target/i386/cpu.c                           | 34 ---------------------
 target/i386/tcg/seg_helper.c                | 17 +++++++++++
 target/i386/tcg/tcg-cpu.c                   | 18 +++++++++++
 target/i386/tcg/translate.c                 |  2 +-
 target/loongarch/cpu.c                      |  2 +-
 target/loongarch/cpu_helper.c               |  2 +-
 target/m68k/cpu.c                           |  2 +-
 target/microblaze/cpu.c                     |  2 +-
 target/microblaze/helper.c                  |  2 +-
 target/microblaze/mmu.c                     |  2 +-
 target/mips/cpu.c                           |  2 +-
 target/openrisc/cpu.c                       |  2 +-
 target/openrisc/translate.c                 |  2 +-
 target/ppc/cpu_init.c                       |  2 +-
 target/riscv/cpu.c                          |  6 ----
 target/riscv/tcg/tcg-cpu.c                  |  6 ++++
 target/rx/cpu.c                             |  2 +-
 target/s390x/cpu.c                          |  2 +-
 target/sh4/cpu.c                            |  2 +-
 target/sparc/cpu.c                          |  4 +--
 target/sparc/mmu_helper.c                   |  2 +-
 target/tricore/cpu.c                        |  2 +-
 target/tricore/helper.c                     |  2 +-
 target/xtensa/cpu.c                         |  2 +-
 target/xtensa/mmu_helper.c                  |  2 +-
 40 files changed, 91 insertions(+), 91 deletions(-)
 rename include/{exec => accel/tcg}/cpu-mmu-index.h (78%)
Signature · 1 line
2.47.1