The following changes since commit 9a4e273ddec3927920c5958d2226c6b38b543336:
Merge tag 'pull-tcg-20250711' of https://gitlab.com/rth7680/qemu into staging (2025-07-13 01:46:04 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch changes up to 77a8fbb887cb4c00be094aee839a42f72a850950: hw/cxl: mailbox-utils: 0x5605 - FMAPI Initiate DC Release (2025-07-14 19:03:20 -0400) ---------------------------------------------------------------- virtio,pci,pc: features, fixes, tests SPCR acpi table can now be disabled vhost-vdpa can now report hashing capability to guest PPTT acpi table now tells guest vCPUs are identical vost-user-blk now shuts down faster loongarch64 now supports bios-tables-test intel_iommu now supports ATS cxl now supports DCD Fabric Management Command Set arm now supports acpi pci hotplug fixes, cleanups Signed-off-by: Michael S. Tsirkin <m...@redhat.com> ---------------------------------------------------------------- Akihiko Odaki (6): qdev-properties: Add DEFINE_PROP_ON_OFF_AUTO_BIT64() net/vhost-vdpa: Report hashing capability virtio-net: Move virtio_net_get_features() down virtio-net: Retrieve peer hashing capability net/vhost-vdpa: Remove dummy SetSteeringEBPF virtio-net: Add hash type options Alejandro Jimenez (7): amd_iommu: Fix Miscellaneous Information Register 0 encoding amd_iommu: Fix Device ID decoding for INVALIDATE_IOTLB_PAGES command amd_iommu: Update bitmasks representing DTE reserved fields amd_iommu: Fix masks for various IOMMU MMIO Registers amd_iommu: Fix mask to retrieve Interrupt Table Root Pointer from DTE amd_iommu: Fix the calculation for Device Table size amd_iommu: Remove duplicated definitions Alireza Sanaee (1): tests: virt: Update expected ACPI tables for virt test Anisa Su (10): hw/cxl: mailbox-utils: 0x5600 - FMAPI Get DCD Info hw/mem: cxl_type3: Add dsmas_flags to CXLDCRegion struct hw/cxl: mailbox-utils: 0x5601 - FMAPI Get Host Region Config hw/cxl: Move definition for dynamic_capacity_uuid and enum for DC event types to header hw/mem: cxl_type3: Add DC Region bitmap lock hw/cxl: mailbox-utils: 0x5602 - FMAPI Set DC Region Config hw/cxl: mailbox-utils: 0x5603 - FMAPI Get DC Region Extent Lists hw/cxl: Create helper function to create DC Event Records from extents hw/cxl: mailbox-utils: 0x5604 - FMAPI Initiate DC Add hw/cxl: mailbox-utils: 0x5605 - FMAPI Initiate DC Release Bibo Mao (5): tests/acpi: Add empty ACPI data files for LoongArch tests/qtest/bios-tables-test: Add basic testing for LoongArch rebuild-expected-aml.sh: Add support for LoongArch tests/acpi: Fill acpi table data for LoongArch tests/acpi: Remove stale allowed tables CLEMENT MATHIEU--DRIF (10): pci: Add a memory attribute for pre-translated DMA operations memory: Add permissions in IOMMUAccessFlags memory: Allow to store the PASID in IOMMUTLBEntry intel_iommu: Fill the PASID field when creating an IOMMUTLBEntry intel_iommu: Declare supported PASID size intel_iommu: Implement vtd_get_iotlb_info from PCIIOMMUOps intel_iommu: Implement the PCIIOMMUOps callbacks related to invalidations of device-IOTLB intel_iommu: Return page walk level even when the translation fails intel_iommu: Set address mask when a translation fails and adjust W permission intel_iommu: Add support for ATS Daniil Tatianin (3): softmmu/runstate: add a way to detect force shutdowns vhost: add a helper for force stopping a device vhost-user-blk: add an option to skip GET_VRING_BASE for force shutdown David Hildenbrand (1): vhost: Fix used memslot tracking when destroying a vhost device Eric Auger (31): hw/i386/acpi-build: Make aml_pci_device_dsm() static hw/acpi: Rename and move build_x86_acpi_pci_hotplug to pcihp hw/pci-host/gpex-acpi: Add native_pci_hotplug arg to acpi_dsdt_add_pci_osc hw/pci-host/gpex-acpi: Split host bridge OSC and DSM generation hw/acpi/ged: Add a acpi-pci-hotplug-with-bridge-support property hw/pci-host/gpex-acpi: Use GED acpi pcihp property hw/i386/acpi-build: Turn build_q35_osc_method into a generic method hw/pci-host/gpex-acpi: Use build_pci_host_bridge_osc_method hw/i386/acpi-build: Introduce build_append_pcihp_resources() helper hw/acpi/pcihp: Add an AmlRegionSpace arg to build_acpi_pci_hotplug hw/i386/acpi-build: Move build_append_notification_callback to pcihp hw/i386/acpi-build: Move build_append_pci_bus_devices/pcihp_slots to pcihp hw/i386/acpi-build: Use AcpiPciHpState::root in acpi_set_pci_info hw/i386/acpi-build: Move aml_pci_edsm to a generic place qtest/bios-tables-test: Prepare for fixing the aarch64 viot test qtest/bios-tables-test: Add a variant to the aarch64 viot test qtest/bios-tables-test: Generate DSDT.viot hw/arm/virt-acpi-build: Let non hotplug ports support static acpi-index tests/qtest/bios-tables-test: Update ARM DSDT reference blobs hw/arm/virt-acpi-build: Modify the DSDT ACPI table to enable ACPI PCI hotplug hw/acpi/ged: Add a bus link property hw/arm/virt: Pass the bus on the ged creation hw/acpi/ged: Call pcihp plug callbacks in hotplug handler implementation hw/acpi/pcihp: Remove root arg in acpi_pcihp_init hw/acpi/ged: Prepare the device to react to PCI hotplug events hw/acpi/ged: Support migration of AcpiPciHpState hw/core/sysbus: Introduce sysbus_mmio_map_name() helper hw/arm/virt: Minor code reshuffling in create_acpi_ged hw/arm/virt: Let virt support pci hotplug/unplug GED event qtest/bios-tables-test: Generate reference blob for DSDT.hpoffacpiindex qtest/bios-tables-test: Generate reference blob for DSDT.acpipcihp Ethan Milon (1): amd_iommu: Fix truncation of oldval in amdvi_writeq Fan Ni (1): hw/cxl: fix DC extent capacity tracking Gustavo Romero (4): tests/qtest/bios-tables-test: Prepare for changes in the DSDT table tests/qtest/bios-tables-test: Prepare for changes in the arm virt DSDT table tests/qtest/bios-tables-test: Prepare for addition of acpi pci hp tests tests/qtest/bios-tables-test: Add aarch64 ACPI PCI hotplug test Li Chen (3): acpi: Add machine option to disable SPCR table tests/qtest/bios-tables-test: Add test for disabling SPCR on AArch64 tests/qtest/bios-tables-test: Add test for disabling SPCR on RISC-V Li Zhijian (1): hw/acpi: Fix GPtrArray memory leak in crs_range_merge Michael S. Tsirkin (2): rust: bindings: allow any number of params tests/qtest/bios-tables-test: Update DSDT blobs after GPEX _OSC change Philippe Mathieu-Daudé (8): target/qmp: Use target_cpu_type() qemu/target-info: Factor target_arch() out qemu/target-info: Add %target_arch field to TargetInfo qemu/target-info: Add target_endian_mode() qemu: Convert target_words_bigendian() to TargetInfo API gdbstub/helpers: Replace TARGET_BIG_ENDIAN -> target_big_endian() qemu: Declare all load/store helper in 'qemu/bswap.h' hw/virtio: Build various files once Yicong Yang (3): tests: virt: Allow changes to PPTT test table hw/acpi/aml-build: Set identical implementation flag for PPTT processor nodes hw/acpi/aml-build: Build a root node in the PPTT table hw/i386/acpi-build.h | 4 - hw/i386/amd_iommu.h | 59 ++- hw/i386/intel_iommu_internal.h | 1 + include/exec/memattrs.h | 3 + include/exec/tswap.h | 83 +--- include/gdbstub/helpers.h | 48 +- include/hw/acpi/generic_event_device.h | 17 +- include/hw/acpi/pci.h | 5 +- include/hw/acpi/pcihp.h | 17 +- include/hw/arm/virt.h | 1 + include/hw/boards.h | 1 + include/hw/cxl/cxl.h | 1 + include/hw/cxl/cxl_device.h | 31 +- include/hw/cxl/cxl_events.h | 15 + include/hw/cxl/cxl_mailbox.h | 6 + include/hw/pci-host/gpex.h | 1 + include/hw/pci/pci.h | 9 + include/hw/qdev-properties.h | 18 + include/hw/sysbus.h | 1 + include/hw/virtio/vhost-user-blk.h | 2 + include/hw/virtio/vhost.h | 15 + include/hw/virtio/virtio-net.h | 6 +- include/net/net.h | 3 + include/qemu/bswap.h | 73 +++ include/qemu/target-info-impl.h | 6 +- include/qemu/target-info-qapi.h | 29 ++ include/qemu/target-info.h | 14 +- include/system/memory.h | 25 +- include/system/runstate.h | 1 + include/user/abitypes.h | 1 - target/ppc/mmu-hash64.h | 2 - cpu-target.c | 7 - hw/acpi/acpi-pci-hotplug-stub.c | 2 +- hw/acpi/aml-build.c | 27 +- hw/acpi/bios-linker-loader.c | 2 - hw/acpi/generic_event_device.c | 77 ++++ hw/acpi/ich9.c | 7 +- hw/acpi/pci-bridge.c | 54 +++ hw/acpi/pci.c | 50 ++ hw/acpi/pcihp.c | 439 +++++++++++++++++- hw/acpi/piix4.c | 5 +- hw/arm/allwinner-r40.c | 1 - hw/arm/boot.c | 2 + hw/arm/npcm7xx.c | 2 +- hw/arm/virt-acpi-build.c | 43 +- hw/arm/virt.c | 27 +- hw/block/hd-geometry.c | 1 - hw/block/vhost-user-blk.c | 9 +- hw/char/riscv_htif.c | 1 - hw/core/cpu-system.c | 2 +- hw/core/machine-qmp-cmds.c | 8 +- hw/core/machine.c | 22 + hw/core/qdev-properties.c | 67 ++- hw/core/sysbus.c | 11 + hw/cxl/cxl-events.c | 40 +- hw/cxl/cxl-mailbox-utils.c | 552 ++++++++++++++++++++++- hw/display/artist.c | 1 + hw/display/ati.c | 1 + hw/display/vga.c | 2 +- hw/i386/acpi-build.c | 532 +--------------------- hw/i386/amd_iommu.c | 17 +- hw/i386/intel_iommu.c | 142 +++++- hw/loongarch/virt-acpi-build.c | 4 +- hw/mem/cxl_type3.c | 83 +--- hw/net/can/ctucan_core.c | 1 - hw/net/lan9118.c | 1 + hw/net/rtl8139.c | 1 + hw/net/virtio-net.c | 254 +++++++---- hw/net/vmxnet3.c | 1 - hw/pci-host/gpex-acpi.c | 74 +-- hw/pci-host/gt64120.c | 1 + hw/pci-host/pnv_phb3.c | 1 + hw/pci-host/pnv_phb4.c | 1 + hw/pci-host/ppce500.c | 1 - hw/pci-host/sh_pci.c | 1 - hw/riscv/virt-acpi-build.c | 5 +- hw/s390x/s390-pci-inst.c | 1 + hw/sensor/lsm303dlhc_mag.c | 1 - hw/smbios/smbios.c | 1 + hw/vfio/migration-multifd.c | 1 - hw/virtio/vhost.c | 89 ++-- hw/virtio/virtio-config-io.c | 1 - hw/virtio/virtio-pci.c | 1 + hw/virtio/virtio.c | 2 +- hw/vmapple/virtio-blk.c | 1 - net/net.c | 9 + net/vhost-vdpa.c | 40 +- system/memory.c | 1 + system/qtest.c | 1 + system/runstate.c | 10 + target-info-stub.c | 2 + target-info.c | 23 + target/arm/arm-qmp-cmds.c | 3 +- target/arm/cpu.c | 1 - target/i386/tcg/system/excp_helper.c | 1 - target/i386/xsave_helper.c | 1 - target/loongarch/loongarch-qmp-cmds.c | 3 +- target/mips/system/mips-qmp-cmds.c | 3 +- target/riscv/vector_helper.c | 1 - tests/qtest/bios-tables-test.c | 174 +++++++ tests/tcg/plugins/mem.c | 1 + hw/arm/Kconfig | 2 + hw/block/meson.build | 6 +- hw/pci-host/Kconfig | 1 + hw/virtio/meson.build | 20 +- qemu-options.hx | 5 + rust/qemu-api/src/bindings.rs | 12 +- tests/data/acpi/aarch64/virt/DSDT | Bin 5196 -> 5293 bytes tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt | Bin 5282 -> 5379 bytes tests/data/acpi/aarch64/virt/DSDT.acpipcihp | Bin 0 -> 6202 bytes tests/data/acpi/aarch64/virt/DSDT.hpoffacpiindex | Bin 0 -> 5347 bytes tests/data/acpi/aarch64/virt/DSDT.memhp | Bin 6557 -> 6654 bytes tests/data/acpi/aarch64/virt/DSDT.pxb | Bin 7679 -> 7768 bytes tests/data/acpi/aarch64/virt/DSDT.topology | Bin 5398 -> 5495 bytes tests/data/acpi/aarch64/virt/DSDT.viot | Bin 0 -> 5310 bytes tests/data/acpi/aarch64/virt/PPTT | Bin 76 -> 96 bytes tests/data/acpi/aarch64/virt/PPTT.acpihmatvirt | Bin 156 -> 176 bytes tests/data/acpi/aarch64/virt/PPTT.topology | Bin 336 -> 356 bytes tests/data/acpi/loongarch64/virt/APIC | Bin 0 -> 108 bytes tests/data/acpi/loongarch64/virt/APIC.topology | Bin 0 -> 153 bytes tests/data/acpi/loongarch64/virt/DSDT | Bin 0 -> 4603 bytes tests/data/acpi/loongarch64/virt/DSDT.memhp | Bin 0 -> 5824 bytes tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 0 -> 4609 bytes tests/data/acpi/loongarch64/virt/DSDT.topology | Bin 0 -> 4905 bytes tests/data/acpi/loongarch64/virt/FACP | Bin 0 -> 268 bytes tests/data/acpi/loongarch64/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/loongarch64/virt/PPTT | Bin 0 -> 96 bytes tests/data/acpi/loongarch64/virt/PPTT.topology | Bin 0 -> 196 bytes tests/data/acpi/loongarch64/virt/SLIT | 0 tests/data/acpi/loongarch64/virt/SLIT.numamem | Bin 0 -> 48 bytes tests/data/acpi/loongarch64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/loongarch64/virt/SRAT | Bin 0 -> 104 bytes tests/data/acpi/loongarch64/virt/SRAT.memhp | Bin 0 -> 144 bytes tests/data/acpi/loongarch64/virt/SRAT.numamem | Bin 0 -> 144 bytes tests/data/acpi/loongarch64/virt/SRAT.topology | Bin 0 -> 152 bytes tests/data/acpi/rebuild-expected-aml.sh | 4 +- tests/data/acpi/riscv64/virt/DSDT | Bin 3576 -> 3538 bytes tests/data/acpi/x86/microvm/DSDT.pcie | Bin 3023 -> 2985 bytes tests/qtest/meson.build | 1 + 139 files changed, 2466 insertions(+), 1037 deletions(-) create mode 100644 include/qemu/target-info-qapi.h create mode 100644 tests/data/acpi/aarch64/virt/DSDT.acpipcihp create mode 100644 tests/data/acpi/aarch64/virt/DSDT.hpoffacpiindex create mode 100644 tests/data/acpi/aarch64/virt/DSDT.viot create mode 100644 tests/data/acpi/loongarch64/virt/APIC create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology create mode 100644 tests/data/acpi/loongarch64/virt/DSDT create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology create mode 100644 tests/data/acpi/loongarch64/virt/FACP create mode 100644 tests/data/acpi/loongarch64/virt/MCFG create mode 100644 tests/data/acpi/loongarch64/virt/PPTT create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology create mode 100644 tests/data/acpi/loongarch64/virt/SLIT create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem create mode 100644 tests/data/acpi/loongarch64/virt/SPCR create mode 100644 tests/data/acpi/loongarch64/virt/SRAT create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology