[PATCH 00/10] tcg: Allow softmmu for user-only

Richard Henderson posted 10 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231003174356.1602279-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, WANG Xuerui <git@xen0n.name>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Aurelien Jarno <aurelien@aurel32.net>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <Alistair.Francis@wdc.com>
include/tcg/tcg.h                |   8 +-
tcg/tcg-op-ldst.c                |  14 +-
tcg/tcg.c                        |  13 +-
tcg/aarch64/tcg-target.c.inc     | 177 ++++++++++---------
tcg/arm/tcg-target.c.inc         | 203 +++++++++++-----------
tcg/i386/tcg-target.c.inc        | 184 ++++++++++----------
tcg/loongarch64/tcg-target.c.inc | 126 +++++++-------
tcg/mips/tcg-target.c.inc        | 231 ++++++++++++-------------
tcg/ppc/tcg-target.c.inc         | 284 ++++++++++++++++---------------
tcg/riscv/tcg-target.c.inc       | 189 ++++++++++----------
tcg/s390x/tcg-target.c.inc       | 161 +++++++++---------
11 files changed, 790 insertions(+), 800 deletions(-)
[PATCH 00/10] tcg: Allow softmmu for user-only
Posted by Richard Henderson 7 months ago
Based-on: <20231003173052.1601813-1-richard.henderson@linaro.org>
("[PULL 00/47] tcg patch queue")

Introduce a global variable that can be set at startup to select
between softmmu and flat mapping.  So far the accel/tcg side is
not yet updated, so the new functionality is unused.


r~


Richard Henderson (10):
  tcg: Introduce tcg_use_softmmu
  tcg: Provide guest_base fallback for system mode
  tcg/arm: Use tcg_use_softmmu
  tcg/aarch64: Use tcg_use_softmmu
  tcg/i386: Use tcg_use_softmmu
  tcg/loongarch64: Use tcg_use_softmmu
  tcg/mips: Use tcg_use_softmmu
  tcg/ppc: Use tcg_use_softmmu
  tcg/riscv: Use tcg_use_softmmu
  tcg/s390x: Use tcg_use_softmmu

 include/tcg/tcg.h                |   8 +-
 tcg/tcg-op-ldst.c                |  14 +-
 tcg/tcg.c                        |  13 +-
 tcg/aarch64/tcg-target.c.inc     | 177 ++++++++++---------
 tcg/arm/tcg-target.c.inc         | 203 +++++++++++-----------
 tcg/i386/tcg-target.c.inc        | 184 ++++++++++----------
 tcg/loongarch64/tcg-target.c.inc | 126 +++++++-------
 tcg/mips/tcg-target.c.inc        | 231 ++++++++++++-------------
 tcg/ppc/tcg-target.c.inc         | 284 ++++++++++++++++---------------
 tcg/riscv/tcg-target.c.inc       | 189 ++++++++++----------
 tcg/s390x/tcg-target.c.inc       | 161 +++++++++---------
 11 files changed, 790 insertions(+), 800 deletions(-)

-- 
2.34.1