[PULL 00/32] misc patch queue (tcg, linux-user, sparc)

Richard Henderson posted 32 patches 3 days, 19 hours ago
Failed in applying to current master (apply log)
include/exec/cpu-common.h           |   2 +-
include/exec/cputlb.h               |  32 ++++++-------
include/exec/tb-flush.h             |  30 ++++++++----
include/hw/core/cpu.h               |  22 +++++++--
linux-user/loader.h                 |   2 +
linux-user/qemu.h                   |   5 ++
linux-user/signal-common.h          |   7 +++
linux-user/syscall_defs.h           |   6 +++
linux-user/user-internals.h         |  16 +++++++
target/alpha/helper.h               |   1 -
target/hppa/cpu.h                   |  28 +++++------
accel/stubs/tcg-stub.c              |   5 --
accel/tcg/cputlb.c                  |  46 +++++++++---------
accel/tcg/plugin-gen.c              |   4 +-
accel/tcg/tb-maint.c                |  59 ++++++++++++++---------
accel/tcg/tcg-all.c                 |  21 +++++++++
accel/tcg/translate-all.c           |   6 ++-
gdbstub/system.c                    |   5 --
gdbstub/user.c                      |   3 --
hw/core/cpu-system.c                |   9 ----
hw/pci-host/astro.c                 |  27 +++++------
hw/pci-host/dino.c                  |  90 ++++++++++++++++--------------------
hw/ppc/spapr_hcall.c                |   4 +-
linux-user/alpha/cpu_loop.c         |   5 --
linux-user/elfload.c                |   7 +++
linux-user/gen-vdso.c               |   6 +++
linux-user/main.c                   |   2 +
linux-user/mmap.c                   |  13 +-----
linux-user/signal.c                 |   2 +
linux-user/syscall.c                |  83 ++++++++++++++++++++++++++++++---
plugins/core.c                      |   6 +--
plugins/loader.c                    |   3 +-
target/alpha/sys_helper.c           |   6 ---
target/alpha/translate.c            |  21 +++------
target/riscv/csr.c                  |   3 --
target/riscv/tcg/tcg-cpu.c          |   3 +-
target/sparc/translate.c            |  77 +++++++++++++++++-------------
tcg/optimize.c                      |   3 +-
tcg/tcg.c                           |   3 +-
tests/tcg/multiarch/tb-link.c       |  67 +++++++++++++++++++++++++++
linux-user/aarch64/vdso-be.so       | Bin 3224 -> 3320 bytes
linux-user/aarch64/vdso-le.so       | Bin 3224 -> 3320 bytes
linux-user/aarch64/vdso.S           |   2 +
linux-user/arm/vdso-be32.so         | Bin 2648 -> 2724 bytes
linux-user/arm/vdso-be8.so          | Bin 2648 -> 2724 bytes
linux-user/arm/vdso-le.so           | Bin 2648 -> 2724 bytes
linux-user/arm/vdso.S               |   2 +
linux-user/gen-vdso-elfn.c.inc      |   7 ++-
linux-user/hppa/vdso.S              |   2 +
linux-user/hppa/vdso.so             | Bin 2104 -> 2224 bytes
linux-user/i386/vdso.S              |   2 +
linux-user/i386/vdso.so             | Bin 2672 -> 2792 bytes
linux-user/loongarch64/vdso.S       |   2 +
linux-user/loongarch64/vdso.so      | Bin 3560 -> 3712 bytes
linux-user/ppc/vdso-32.so           | Bin 3020 -> 3140 bytes
linux-user/ppc/vdso-64.so           | Bin 3896 -> 4048 bytes
linux-user/ppc/vdso-64le.so         | Bin 3896 -> 4048 bytes
linux-user/ppc/vdso.S               |   2 +
linux-user/riscv/vdso-32.so         | Bin 2980 -> 3124 bytes
linux-user/riscv/vdso-64.so         | Bin 3944 -> 4104 bytes
linux-user/riscv/vdso.S             |   2 +
linux-user/s390x/vdso.S             |   2 +
linux-user/s390x/vdso.so            | Bin 3464 -> 3616 bytes
target/sparc/insns.decode           |  83 +++++++++++++++++++++------------
tcg/aarch64/tcg-target.c.inc        |   2 +-
tcg/arm/tcg-target.c.inc            |   2 +-
tests/tcg/multiarch/Makefile.target |   2 +
67 files changed, 549 insertions(+), 303 deletions(-)
create mode 100644 tests/tcg/multiarch/tb-link.c
[PULL 00/32] misc patch queue (tcg, linux-user, sparc)
Posted by Richard Henderson 3 days, 19 hours ago
The following changes since commit ab8008b231e758e03c87c1c483c03afdd9c02e19:

  Merge tag 'pull-9p-20250918' of https://github.com/cschoenebeck/qemu into staging (2025-09-19 12:21:35 -0700)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-misc-20250924

for you to fetch changes up to f6f7fdd68e6fbfafae828e504de544b5659bc4bd:

  accel/tcg: Remove cpu_loop_exit_restore() stub (2025-09-24 10:29:43 -0700)

----------------------------------------------------------------
hw/pci-host/{dino,astro}: Don't call pci_register_root_bus() in init
target/sparc: Loosen various decode for v7
linux-user: Add syscall dispatch support
tcg/optimize: Fix folding of vector bitsel
include/hw/core/cpu: Introduce MMUIdxMap
include/hw/core/cpu: Introduce cpu_tlb_fast
include/hw/core/cpu: Invert the indexing into CPUTLBDescFast
accel/tcg: Remove dead mmap_unlock() call in invalidate_phys_page_range
accel/tcg: Remove cpu_loop_exit_restore() stub
accel/tcg: Properly unlink a TB linked to itself
accel/tcg: Introduce and use tb_flush__exclusive_or_serial

----------------------------------------------------------------
Arusekk (1):
      linux-user: Add syscall dispatch support

Peter Maydell (2):
      hw/pci-host/dino: Don't call pci_register_root_bus() in init
      hw/pci-host/astro: Don't call pci_regsiter_root_bus() in init

Philippe Mathieu-Daudé (2):
      accel/tcg: Remove dead mmap_unlock() call in invalidate_phys_page_range
      accel/tcg: Remove cpu_loop_exit_restore() stub

Richard Henderson (26):
      linux-user: Create vdso_sigreturn_region_{start,end}
      linux-user: Populate sigreturn_region_{start,end} in all vdso.S
      linux-user: Populate vdso_sigreturn_region_{start,end} from sigtramp page
      target/sparc: Allow TRANS macro with no extra arguments
      target/sparc: Loosen decode of STBAR for v8
      target/sparc: Loosen decode of RDY for v7
      target/sparc: Loosen decode of RDPSR for v7
      target/sparc: Loosen decode of RDWIM for v7
      target/sparc: Loosen decode of RDTBR for v7
      target/sparc: Relax decode of rs2_or_imm for v7
      include/hw/core/cpu: Introduce MMUIdxMap
      include/hw/core/cpu: Introduce cpu_tlb_fast
      include/hw/core/cpu: Invert the indexing into CPUTLBDescFast
      target/hppa: Adjust mmu indexes to begin with 0
      accel/tcg: Properly unlink a TB linked to itself
      tests/tcg/multiarch: Add tb-link test
      gdbstub: Remove tb_flush uses
      target/alpha: Simplify call_pal implementation
      target/riscv: Record misa_ext in TCGTBCPUState.cs_base
      hw/ppc/spapr: Use tb_invalidate_phys_range in h_page_init
      accel/tcg: Split out tb_flush__exclusive_or_serial
      accel/tcg: Move post-load tb_flush to vm_change_state hook
      plugins: Use tb_flush__exclusive_or_serial
      linux-user: Split out begin_parallel_context
      accel/tcg: Create queue_tb_flush from tb_flush
      accel/tcg: Improve buffer overflow in tb_gen_code

WANG Rui (1):
      tcg/optimize: Fix folding of vector bitsel

 include/exec/cpu-common.h           |   2 +-
 include/exec/cputlb.h               |  32 ++++++-------
 include/exec/tb-flush.h             |  30 ++++++++----
 include/hw/core/cpu.h               |  22 +++++++--
 linux-user/loader.h                 |   2 +
 linux-user/qemu.h                   |   5 ++
 linux-user/signal-common.h          |   7 +++
 linux-user/syscall_defs.h           |   6 +++
 linux-user/user-internals.h         |  16 +++++++
 target/alpha/helper.h               |   1 -
 target/hppa/cpu.h                   |  28 +++++------
 accel/stubs/tcg-stub.c              |   5 --
 accel/tcg/cputlb.c                  |  46 +++++++++---------
 accel/tcg/plugin-gen.c              |   4 +-
 accel/tcg/tb-maint.c                |  59 ++++++++++++++---------
 accel/tcg/tcg-all.c                 |  21 +++++++++
 accel/tcg/translate-all.c           |   6 ++-
 gdbstub/system.c                    |   5 --
 gdbstub/user.c                      |   3 --
 hw/core/cpu-system.c                |   9 ----
 hw/pci-host/astro.c                 |  27 +++++------
 hw/pci-host/dino.c                  |  90 ++++++++++++++++--------------------
 hw/ppc/spapr_hcall.c                |   4 +-
 linux-user/alpha/cpu_loop.c         |   5 --
 linux-user/elfload.c                |   7 +++
 linux-user/gen-vdso.c               |   6 +++
 linux-user/main.c                   |   2 +
 linux-user/mmap.c                   |  13 +-----
 linux-user/signal.c                 |   2 +
 linux-user/syscall.c                |  83 ++++++++++++++++++++++++++++++---
 plugins/core.c                      |   6 +--
 plugins/loader.c                    |   3 +-
 target/alpha/sys_helper.c           |   6 ---
 target/alpha/translate.c            |  21 +++------
 target/riscv/csr.c                  |   3 --
 target/riscv/tcg/tcg-cpu.c          |   3 +-
 target/sparc/translate.c            |  77 +++++++++++++++++-------------
 tcg/optimize.c                      |   3 +-
 tcg/tcg.c                           |   3 +-
 tests/tcg/multiarch/tb-link.c       |  67 +++++++++++++++++++++++++++
 linux-user/aarch64/vdso-be.so       | Bin 3224 -> 3320 bytes
 linux-user/aarch64/vdso-le.so       | Bin 3224 -> 3320 bytes
 linux-user/aarch64/vdso.S           |   2 +
 linux-user/arm/vdso-be32.so         | Bin 2648 -> 2724 bytes
 linux-user/arm/vdso-be8.so          | Bin 2648 -> 2724 bytes
 linux-user/arm/vdso-le.so           | Bin 2648 -> 2724 bytes
 linux-user/arm/vdso.S               |   2 +
 linux-user/gen-vdso-elfn.c.inc      |   7 ++-
 linux-user/hppa/vdso.S              |   2 +
 linux-user/hppa/vdso.so             | Bin 2104 -> 2224 bytes
 linux-user/i386/vdso.S              |   2 +
 linux-user/i386/vdso.so             | Bin 2672 -> 2792 bytes
 linux-user/loongarch64/vdso.S       |   2 +
 linux-user/loongarch64/vdso.so      | Bin 3560 -> 3712 bytes
 linux-user/ppc/vdso-32.so           | Bin 3020 -> 3140 bytes
 linux-user/ppc/vdso-64.so           | Bin 3896 -> 4048 bytes
 linux-user/ppc/vdso-64le.so         | Bin 3896 -> 4048 bytes
 linux-user/ppc/vdso.S               |   2 +
 linux-user/riscv/vdso-32.so         | Bin 2980 -> 3124 bytes
 linux-user/riscv/vdso-64.so         | Bin 3944 -> 4104 bytes
 linux-user/riscv/vdso.S             |   2 +
 linux-user/s390x/vdso.S             |   2 +
 linux-user/s390x/vdso.so            | Bin 3464 -> 3616 bytes
 target/sparc/insns.decode           |  83 +++++++++++++++++++++------------
 tcg/aarch64/tcg-target.c.inc        |   2 +-
 tcg/arm/tcg-target.c.inc            |   2 +-
 tests/tcg/multiarch/Makefile.target |   2 +
 67 files changed, 549 insertions(+), 303 deletions(-)
 create mode 100644 tests/tcg/multiarch/tb-link.c

Re: [PULL 00/32] misc patch queue (tcg, linux-user, sparc)
Posted by Richard Henderson 3 days, 17 hours ago
On 9/24/25 12:00, Richard Henderson wrote:
> The following changes since commit ab8008b231e758e03c87c1c483c03afdd9c02e19:
> 
>    Merge tag 'pull-9p-20250918' ofhttps://github.com/cschoenebeck/qemu into staging (2025-09-19 12:21:35 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/rth7680/qemu.git tags/pull-misc-20250924
> 
> for you to fetch changes up to f6f7fdd68e6fbfafae828e504de544b5659bc4bd:
> 
>    accel/tcg: Remove cpu_loop_exit_restore() stub (2025-09-24 10:29:43 -0700)
> 
> ----------------------------------------------------------------
> hw/pci-host/{dino,astro}: Don't call pci_register_root_bus() in init
> target/sparc: Loosen various decode for v7
> linux-user: Add syscall dispatch support
> tcg/optimize: Fix folding of vector bitsel
> include/hw/core/cpu: Introduce MMUIdxMap
> include/hw/core/cpu: Introduce cpu_tlb_fast
> include/hw/core/cpu: Invert the indexing into CPUTLBDescFast
> accel/tcg: Remove dead mmap_unlock() call in invalidate_phys_page_range
> accel/tcg: Remove cpu_loop_exit_restore() stub
> accel/tcg: Properly unlink a TB linked to itself
> accel/tcg: Introduce and use tb_flush__exclusive_or_serial


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

r~