[PULL 00/28] i386, accel, memory patches for 2025-08-29

Paolo Bonzini posted 28 patches 1 month ago
Failed in applying to current master (apply log)
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Riku Voipio <riku.voipio@iki.fi>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Eduardo Habkost <eduardo@habkost.net>, Thomas Huth <thuth@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Jason Herne <jjherne@linux.ibm.com>, Stafford Horne <shorne@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Zhao Liu <zhao1.liu@intel.com>, Peter Xu <peterx@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Alexander Graf <agraf@csgraf.de>, Mads Ynddal <mads@ynddal.dk>, Michael Rolnik <mrolnik@gmail.com>, Helge Deller <deller@gmx.de>, Cameron Esfahani <dirty@apple.com>, Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>, Marcelo Tosatti <mtosatti@redhat.com>, Reinoud Zandijk <reinoud@netbsd.org>, Sunil Muthuswamy <sunilmut@microsoft.com>, Song Gao <gaosong@loongson.cn>, Laurent Vivier <laurent@vivier.eu>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <arikalo@gmail.com>, Huacai Chen <chenhuacai@kernel.org>, Nicholas Piggin <npiggin@gmail.com>, Chinmay Rath <rathc@linux.ibm.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Yoshinori Sato <yoshinori.sato@nifty.com>, Ilya Leoshkevich <iii@linux.ibm.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
include/hw/core/cpu.h               |  23 ++++
include/system/memory.h             |  12 ++
accel/tcg/cpu-exec.c                |  31 +++--
accel/tcg/tcg-accel-ops.c           |   2 +-
accel/tcg/user-exec.c               |   4 +-
hw/acpi/core.c                      |   1 +
hw/i386/isapc.c                     | 189 +++++++++++++++++++++++++++
hw/i386/pc_piix.c                   | 248 ++++++++++++------------------------
hw/intc/s390_flic.c                 |   2 +-
hw/openrisc/cputimer.c              |   2 +-
hw/timer/hpet.c                     |  38 ++++--
system/cpus.c                       |   9 +-
system/memory.c                     |  15 +++
system/physmem.c                    |   2 +-
target/alpha/cpu.c                  |   8 +-
target/arm/cpu.c                    |  20 +--
target/arm/helper.c                 |  18 +--
target/arm/hvf/hvf.c                |   6 +-
target/avr/cpu.c                    |   2 +-
target/hppa/cpu.c                   |   2 +-
target/i386/hvf/hvf.c               |   4 +-
target/i386/hvf/x86hvf.c            |  21 ++-
target/i386/kvm/kvm.c               |  46 ++++---
target/i386/nvmm/nvmm-all.c         |  24 ++--
target/i386/tcg/system/seg_helper.c |   2 +-
target/i386/tcg/system/svm_helper.c |   2 +-
target/i386/whpx/whpx-all.c         |  34 ++---
target/loongarch/cpu.c              |   2 +-
target/m68k/cpu.c                   |   2 +-
target/microblaze/cpu.c             |   2 +-
target/mips/cpu.c                   |   6 +-
target/mips/kvm.c                   |   2 +-
target/openrisc/cpu.c               |   3 +-
target/ppc/cpu_init.c               |   2 +-
target/ppc/kvm.c                    |   2 +-
target/rx/cpu.c                     |   3 +-
target/rx/helper.c                  |   2 +-
target/s390x/cpu-system.c           |   2 +-
target/sh4/cpu.c                    |   2 +-
target/sh4/helper.c                 |   2 +-
target/sparc/cpu.c                  |   2 +-
target/sparc/int64_helper.c         |   4 +-
hw/i386/Kconfig                     |   3 -
hw/i386/meson.build                 |   1 +
44 files changed, 490 insertions(+), 319 deletions(-)
create mode 100644 hw/i386/isapc.c
[PULL 00/28] i386, accel, memory patches for 2025-08-29
Posted by Paolo Bonzini 1 month ago
The following changes since commit 59f504bb43366594e97cf496c9a9ccf59be00b73:

  Merge tag 'pull-loongarch-20250828' of https://github.com/gaosong715/qemu into staging (2025-08-29 07:44:50 +1000)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 83bd8e65bc70cef03a207df315004f8b1301dc53:

  tcg: move interrupt caching and single step masking closer to user (2025-08-29 12:48:14 +0200)

----------------------------------------------------------------
* hw/i386: split isapc from PCI boards
* cpu-exec, accel: remove BQL usage for interrupt_request != 0
* memory, hpet, pmtimer: introduce BQL-free PIO/MMIO

----------------------------------------------------------------
Igor Mammedov (8):
      add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide
      memory: reintroduce BQL-free fine-grained PIO/MMIO
      acpi: mark PMTIMER as unlocked
      hpet: switch to fine-grained device locking
      hpet: move out main counter read into a separate block
      hpet: make main counter read lock-less
      kvm: i386: irqchip: take BQL only if there is an interrupt
      tcg: move interrupt caching and single step masking closer to user

Mark Cave-Ayland (19):
      hw/i386/pc_piix.c: restrict isapc machine to 32-bit CPUs
      hw/i386/pc_piix.c: restrict isapc machine to 3.5G memory
      hw/i386/pc_piix.c: remove include for loader.h
      hw/i386/pc_piix.c: inline pc_xen_hvm_init_pci() into pc_xen_hvm_init()
      hw/i386/pc_piix.c: duplicate pc_init1() into pc_isa_init()
      hw/i386/pc_piix.c: remove pcmc->pci_enabled dependent initialisation from pc_init_isa()
      hw/i386/pc_piix.c: remove igvm initialisation from pc_init_isa()
      hw/i386/pc_piix.c: remove SMI and piix4_pm initialisation from pc_init_isa()
      hw/i386/pc_piix.c: remove SGX initialisation from pc_init_isa()
      hw/i386/pc_piix.c: remove nvdimm initialisation from pc_init_isa()
      hw/i386/pc_piix.c: simplify RAM size logic in pc_init_isa()
      hw/i386/pc_piix.c: hardcode hole64_size to 0 in pc_init_isa()
      hw/i386/pc_piix.c: remove pc_system_flash_cleanup_unused() from pc_init_isa()
      hw/i386/pc_piix.c: always initialise ISA IDE drives in pc_init_isa()
      hw/i386/pc_piix.c: assume pcmc->pci_enabled is always true in pc_init1()
      hw/i386: move isapc machine to separate isapc.c file
      hw/i386/pc_piix.c: remove unused headers after isapc machine split
      hw/i386/pc_piix.c: replace rom_memory with pci_memory
      hw/i386/isapc.c: replace rom_memory with system_memory

Paolo Bonzini (1):
      user-exec: ensure interrupt_request is not used

 include/hw/core/cpu.h               |  23 ++++
 include/system/memory.h             |  12 ++
 accel/tcg/cpu-exec.c                |  31 +++--
 accel/tcg/tcg-accel-ops.c           |   2 +-
 accel/tcg/user-exec.c               |   4 +-
 hw/acpi/core.c                      |   1 +
 hw/i386/isapc.c                     | 189 +++++++++++++++++++++++++++
 hw/i386/pc_piix.c                   | 248 ++++++++++++------------------------
 hw/intc/s390_flic.c                 |   2 +-
 hw/openrisc/cputimer.c              |   2 +-
 hw/timer/hpet.c                     |  38 ++++--
 system/cpus.c                       |   9 +-
 system/memory.c                     |  15 +++
 system/physmem.c                    |   2 +-
 target/alpha/cpu.c                  |   8 +-
 target/arm/cpu.c                    |  20 +--
 target/arm/helper.c                 |  18 +--
 target/arm/hvf/hvf.c                |   6 +-
 target/avr/cpu.c                    |   2 +-
 target/hppa/cpu.c                   |   2 +-
 target/i386/hvf/hvf.c               |   4 +-
 target/i386/hvf/x86hvf.c            |  21 ++-
 target/i386/kvm/kvm.c               |  46 ++++---
 target/i386/nvmm/nvmm-all.c         |  24 ++--
 target/i386/tcg/system/seg_helper.c |   2 +-
 target/i386/tcg/system/svm_helper.c |   2 +-
 target/i386/whpx/whpx-all.c         |  34 ++---
 target/loongarch/cpu.c              |   2 +-
 target/m68k/cpu.c                   |   2 +-
 target/microblaze/cpu.c             |   2 +-
 target/mips/cpu.c                   |   6 +-
 target/mips/kvm.c                   |   2 +-
 target/openrisc/cpu.c               |   3 +-
 target/ppc/cpu_init.c               |   2 +-
 target/ppc/kvm.c                    |   2 +-
 target/rx/cpu.c                     |   3 +-
 target/rx/helper.c                  |   2 +-
 target/s390x/cpu-system.c           |   2 +-
 target/sh4/cpu.c                    |   2 +-
 target/sh4/helper.c                 |   2 +-
 target/sparc/cpu.c                  |   2 +-
 target/sparc/int64_helper.c         |   4 +-
 hw/i386/Kconfig                     |   3 -
 hw/i386/meson.build                 |   1 +
 44 files changed, 490 insertions(+), 319 deletions(-)
 create mode 100644 hw/i386/isapc.c
-- 
2.51.0
Re: [PULL 00/28] i386, accel, memory patches for 2025-08-29
Posted by Richard Henderson 4 weeks ago
On 8/29/25 22:59, Paolo Bonzini wrote:
> The following changes since commit 59f504bb43366594e97cf496c9a9ccf59be00b73:
> 
>    Merge tag 'pull-loongarch-20250828' ofhttps://github.com/gaosong715/qemu into staging (2025-08-29 07:44:50 +1000)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/bonzini/qemu.git tags/for-upstream
> 
> for you to fetch changes up to 83bd8e65bc70cef03a207df315004f8b1301dc53:
> 
>    tcg: move interrupt caching and single step masking closer to user (2025-08-29 12:48:14 +0200)
> 
> ----------------------------------------------------------------
> * hw/i386: split isapc from PCI boards
> * cpu-exec, accel: remove BQL usage for interrupt_request != 0
> * memory, hpet, pmtimer: introduce BQL-free PIO/MMIO


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

r~