[PULL 00/18] Misc target/ patches for 2026-09-24

Philippe Mathieu-Daudé posted 18 patches 2 days, 3 hours ago
include/hw/core/sysemu-cpu-ops.h |   6 +-
target/arm/internals.h           |   8 +-
target/s390x/cpu.h               |   9 +-
target/s390x/kvm/kvm_s390x.h     |   2 +-
hw/intc/s390_flic.c              |   7 +-
target/arm/arm-powerctl.c        |   7 +
target/arm/cpu.c                 |  13 +-
target/arm/tcg/op_helper.c       |   8 +-
target/i386/cpu.c                |   4 +-
target/mips/tcg/mxu_translate.c  | 265 +++++++------------------------
target/ppc/cpu_init.c            |   4 +-
target/riscv/kvm/kvm-stub.c      |  23 +++
target/s390x/cpu-system.c        |  32 ++--
target/s390x/cpu.c               |   2 +-
target/s390x/kvm/kvm.c           |   4 +-
target/s390x/kvm/stubs.c         |   2 +-
target/s390x/machine.c           |   2 +-
target/s390x/sigp.c              |   9 +-
target/riscv/kvm/meson.build     |   1 +
target/riscv/meson.build         |   3 +
20 files changed, 156 insertions(+), 255 deletions(-)
create mode 100644 target/riscv/kvm/kvm-stub.c
[PULL 00/18] Misc target/ patches for 2026-09-24
Posted by Philippe Mathieu-Daudé 2 days, 3 hours ago
The following changes since commit 942229961efea74b153c44c59188eb08375f10f1:

  Merge tag 'pull-tcg-20260923-v2' of https://gitlab.com/rth7680/qemu into staging (2026-09-23 15:14:55 -0700)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/target-misc-20260924

for you to fetch changes up to cbbd4d74eb298e2b407018185a40cb813435527e:

  target/ppc: Stop vCPU thread before calling parent_unrealize (2026-09-24 17:22:06 +0200)

----------------------------------------------------------------
Misc target patches queue

- DOC: Improve SysemuCPUOps::has_work docstring
- MIPS: Let TCG middle-end optimize MXU opcodes (not front-end)
- S390x: Access S390CpuState atomically
- ARM: Access halt/PSCI states atomically
- X86: Access interrupt_request atomically
- PPC: Fix double-free in ppc_cpu_unrealize()
----------------------------------------------------------------

Anton Johansson (1):
  target/riscv: Stub out kvm functions

Janosch Frank (1):
  target/s390x: Extend comment about PV cpu load state

Philippe Mathieu-Daudé (9):
  system: Document has_work() synchronization requirements
  target/s390x: Use s390_cpu_get_state() consistently
  target/s390x: Make s390_cpu_set_state() return void
  target/s390x: Use S390CpuState for CPU state APIs
  target/s390x: Access S390CpuState atomically
  target/arm: Un-inline arm_set_cpu_power_state()
  target/arm: Access PSCI state atomically
  target/arm: Access halt state atomically
  target/i386: Use an acquire load for interrupt_request()

Richard Henderson (6):
  target/mips: Fix zero in gen_mxu_d8sum
  target/mips: Drop zero optimization in gen_mxu_s32mul
  target/mips: Split out gen_mxu_logic
  target/mips: Use gen_mxu_logic for gen_mxu_S32MAX_S32MIN
  target/mips: Use gen_mxu_logic for gen_mxu_S32SLT
  target/mips: Use gen_mxu_logic for gen_mxu_S32CPS

Shivang Upadhyay (1):
  target/ppc: Stop vCPU thread before calling parent_unrealize

 include/hw/core/sysemu-cpu-ops.h |   6 +-
 target/arm/internals.h           |   8 +-
 target/s390x/cpu.h               |   9 +-
 target/s390x/kvm/kvm_s390x.h     |   2 +-
 hw/intc/s390_flic.c              |   7 +-
 target/arm/arm-powerctl.c        |   7 +
 target/arm/cpu.c                 |  13 +-
 target/arm/tcg/op_helper.c       |   8 +-
 target/i386/cpu.c                |   4 +-
 target/mips/tcg/mxu_translate.c  | 265 +++++++------------------------
 target/ppc/cpu_init.c            |   4 +-
 target/riscv/kvm/kvm-stub.c      |  23 +++
 target/s390x/cpu-system.c        |  32 ++--
 target/s390x/cpu.c               |   2 +-
 target/s390x/kvm/kvm.c           |   4 +-
 target/s390x/kvm/stubs.c         |   2 +-
 target/s390x/machine.c           |   2 +-
 target/s390x/sigp.c              |   9 +-
 target/riscv/kvm/meson.build     |   1 +
 target/riscv/meson.build         |   3 +
 20 files changed, 156 insertions(+), 255 deletions(-)
 create mode 100644 target/riscv/kvm/kvm-stub.c

-- 
2.53.0


Re: [PULL 00/18] Misc target/ patches for 2026-09-24
Posted by Richard Henderson 1 day, 15 hours ago
On 9/24/26 08:23, Philippe Mathieu-Daudé wrote:
> The following changes since commit 942229961efea74b153c44c59188eb08375f10f1:
> 
>    Merge tag 'pull-tcg-20260923-v2' ofhttps://gitlab.com/rth7680/qemu into staging (2026-09-23 15:14:55 -0700)
> 
> are available in the Git repository at:
> 
>    https://github.com/philmd/qemu.git tags/target-misc-20260924
> 
> for you to fetch changes up to cbbd4d74eb298e2b407018185a40cb813435527e:
> 
>    target/ppc: Stop vCPU thread before calling parent_unrealize (2026-09-24 17:22:06 +0200)
> 
> ----------------------------------------------------------------
> Misc target patches queue
> 
> - DOC: Improve SysemuCPUOps::has_work docstring
> - MIPS: Let TCG middle-end optimize MXU opcodes (not front-end)
> - S390x: Access S390CpuState atomically
> - ARM: Access halt/PSCI states atomically
> - X86: Access interrupt_request atomically
> - PPC: Fix double-free in ppc_cpu_unrealize()

Applied, thanks.

r~