Date: Sun, 21 Jul 2024 10:13:46 +0200 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL 00/15] aspeed queue The following changes since commit a87a7c449e532130d4fa8faa391ff7e1f04ed660: Merge tag 'pull-loongarch-20240719' of https://gitlab.com/gaosong/qemu into staging (2024-07-19 16:28:28 +1000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240721 for you to fetch changes up to 4db1c16441923fc152142ae4bcc1cba23064cb8b: aspeed: fix coding style (2024-07-21 07:46:38 +0200) ---------------------------------------------------------------- aspeed queue: * SMC model fix (Coverity) * AST2600 boot for eMMC support and test * AST2700 ADC model * I2C model changes preparing AST2700 I2C support ---------------------------------------------------------------- Cédric Le Goater (10): aspeed/smc: Fix possible integer overflow aspeed: Change type of eMMC device aspeed: Load eMMC first boot area as a boot rom aspeed/scu: Add boot-from-eMMC HW strapping bit for AST2600 SoC aspeed: Introduce a AspeedSoCClass 'boot_from_emmc' handler aspeed: Tune eMMC device properties to reflect HW strapping aspeed: Add boot-from-eMMC HW strapping bit to rainier-bmc machine aspeed: Introduce a 'hw_strap1' machine attribute aspeed: Introduce a 'boot-emmc' machine option tests/avocado/machine_aspeed.py: Add eMMC boot tests Jamin Lin (5): aspeed/adc: Add AST2700 support aspeed/soc: support ADC for AST2700 hw/i2c/aspeed: support to set the different memory size hw/i2c/aspeed: rename the I2C class pool attribute to share_pool aspeed: fix coding style docs/system/arm/aspeed.rst | 2 + include/hw/adc/aspeed_adc.h | 1 + include/hw/arm/aspeed_soc.h | 1 + include/hw/i2c/aspeed_i2c.h | 6 +-- include/hw/misc/aspeed_scu.h | 4 ++ hw/adc/aspeed_adc.c | 16 ++++++++ hw/arm/aspeed.c | 83 +++++++++++++++++++++++++++++++++-------- hw/arm/aspeed_ast2600.c | 8 ++++ hw/arm/aspeed_ast27x0.c | 12 ++++++ hw/arm/aspeed_soc_common.c | 7 ++++ hw/i2c/aspeed_i2c.c | 45 ++++++++++++---------- hw/ssi/aspeed_smc.c | 3 +- tests/avocado/machine_aspeed.py | 39 +++++++++++++++++++ 13 files changed, 188 insertions(+), 39 deletions(-) . Date: Sun, 21 Jul 2024 20:16:48 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/63] virtio,pci,pc: features,fixes A couple of fixes are outstanding, will merge later. The following changes since commit a87a7c449e532130d4fa8faa391ff7e1f04ed660: Merge tag 'pull-loongarch-20240719' of https://gitlab.com/gaosong/qemu into staging (2024-07-19 16:28:28 +1000) 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 67d834362c55d6fca6504975bc34755606f17cf2: virtio: Always reset vhost devices (2024-07-21 14:45:56 -0400) ---------------------------------------------------------------- virtio,pci,pc: features,fixes pci: Initial support for SPDM Responders cxl: Add support for scan media, feature commands, device patrol scrub control, DDR5 ECS control, firmware updates virtio: in-order support virtio-net: support for SR-IOV emulation (note: known issues on s390, might get reverted if not fixed) smbios: memory device size is now configurable per Machine cpu: architecture agnostic code to support vCPU Hotplug Fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (8): hw/pci: Do not add ROM BAR for SR-IOV VF hw/pci: Fix SR-IOV VF number calculation pcie_sriov: Ensure PF and VF are mutually exclusive pcie_sriov: Check PCI Express for SR-IOV PF pcie_sriov: Allow user to create SR-IOV device virtio-pci: Implement SR-IOV PF virtio-net: Implement SR-IOV VF docs: Document composable SR-IOV device Alistair Francis (1): hw/pci: Add all Data Object Types defined in PCIe r6.0 Clément Mathieu--Drif (4): intel_iommu: fix FRCD construction macro intel_iommu: move VTD_FRCD_PV and VTD_FRCD_PP declarations intel_iommu: fix type of the mask field in VTDIOTLBPageInvInfo intel_iommu: make type match Davidlohr Bueso (3): hw/cxl: Add get scan media capabilities cmd support hw/cxl: Add get scan media results cmd support hw/cxl: Support firmware updates Eric Auger (6): Revert "virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged" virtio-iommu: Remove probe_done virtio-iommu: Free [host_]resv_ranges on unset_iommu_devices virtio-iommu: Remove the end point on detach hw/vfio/common: Add vfio_listener_region_del_iommu trace event virtio-iommu: Add trace point on virtio_iommu_detach_endpoint_from_domain Fan Ni (1): hw/cxl/cxl-mailbox-utils: remove unneeded mailbox output payload space zeroing Gregory Price (1): cxl/mailbox: move mailbox effect definitions to a header Hanna Czenczek (1): virtio: Always reset vhost devices Huai-Cheng Kuo (1): backends: Initial support for SPDM socket support Hyeonggon Yoo (2): hw/cxl/mbox: replace sanitize_running() with cxl_dev_media_disabled() hw/cxl/events: discard all event records during sanitation Igor Mammedov (1): smbios: make memory device size configurable per Machine Jonah Palmer (6): virtio: Add bool to VirtQueueElement virtio: virtqueue_pop - VIRTIO_F_IN_ORDER support virtio: virtqueue_ordered_fill - VIRTIO_F_IN_ORDER support virtio: virtqueue_ordered_flush - VIRTIO_F_IN_ORDER support vhost,vhost-user: Add VIRTIO_F_IN_ORDER to vhost feature bits virtio: Add VIRTIO_F_IN_ORDER property definition Jonathan Cameron (1): hw/cxl: Check for multiple mappings of memory backends. Manos Pitsidianakis (2): virtio-snd: add max size bounds check in input cb virtio-snd: check for invalid param shift operands Salil Mehta (7): accel/kvm: Extract common KVM vCPU {creation,parking} code hw/acpi: Move CPU ctrl-dev MMIO region len macro to common header file hw/acpi: Update ACPI GED framework to support vCPU Hotplug hw/acpi: Update GED _EVT method AML with CPU scan hw/acpi: Update CPUs AML with cpu-(ctrl)dev change physmem: Add helper function to destroy CPU AddressSpace gdbstub: Add helper function to unregister GDB register space Shiju Jose (3): hw/cxl/cxl-mailbox-utils: Add support for feature commands (8.2.9.6) hw/cxl/cxl-mailbox-utils: Add device patrol scrub control feature hw/cxl/cxl-mailbox-utils: Add device DDR5 ECS control feature Stefano Garzarella (2): MAINTAINERS: add Stefano Garzarella as vhost/vhost-user reviewer contrib/vhost-user-blk: fix overflowing expression Sunil V L (9): hw/riscv/virt-acpi-build.c: Add namespace devices for PLIC and APLIC hw/riscv/virt-acpi-build.c: Update the HID of RISC-V UART tests/acpi: Allow DSDT acpi table changes for aarch64 acpi/gpex: Create PCI link devices outside PCI root bridge tests/acpi: update expected DSDT blob for aarch64 and microvm tests/qtest/bios-tables-test.c: Remove the fall back path tests/acpi: Add empty ACPI data files for RISC-V tests/qtest/bios-tables-test.c: Enable basic testing for RISC-V tests/acpi: Add expected ACPI AML files for RISC-V Wilfred Mallawa (1): hw/nvme: Add SPDM over DOE support Yi Liu (1): MAINTAINERS: Add myself as a VT-d reviewer Zhao Liu (1): hw/cxl/cxl-host: Fix segmentation fault when getting cxl-fmw property Zheyu Ma (1): hw/virtio/virtio-crypto: Fix op_code assignment in virtio_crypto_create_asym_session accel/kvm/kvm-cpus.h | 1 - hw/i386/intel_iommu_internal.h | 6 +- include/exec/cpu-common.h | 8 + include/exec/gdbstub.h | 6 + include/hw/acpi/cpu.h | 7 +- include/hw/acpi/generic_event_device.h | 5 + include/hw/boards.h | 4 + include/hw/core/cpu.h | 1 + include/hw/cxl/cxl_device.h | 88 ++- include/hw/cxl/cxl_mailbox.h | 18 + include/hw/pci/pci_device.h | 13 +- include/hw/pci/pcie_doe.h | 5 + include/hw/pci/pcie_sriov.h | 18 + include/hw/virtio/virtio-iommu.h | 1 - include/hw/virtio/virtio-pci.h | 1 + include/hw/virtio/virtio.h | 6 +- include/sysemu/kvm.h | 25 + include/sysemu/spdm-socket.h | 74 ++ accel/kvm/kvm-all.c | 95 ++- backends/spdm-socket.c | 216 ++++++ contrib/vhost-user-blk/vhost-user-blk.c | 2 +- gdbstub/gdbstub.c | 13 + hw/acpi/acpi-cpu-hotplug-stub.c | 6 + hw/acpi/cpu.c | 18 +- hw/acpi/generic_event_device.c | 50 ++ hw/arm/virt.c | 1 + hw/audio/virtio-snd.c | 13 +- hw/block/vhost-user-blk.c | 1 + hw/core/cpu-common.c | 5 +- hw/core/machine.c | 6 + hw/cxl/cxl-events.c | 13 + hw/cxl/cxl-host.c | 3 +- hw/cxl/cxl-mailbox-utils.c | 966 +++++++++++++++++++++++-- hw/i386/acpi-build.c | 3 +- hw/i386/intel_iommu.c | 2 +- hw/i386/pc_piix.c | 1 + hw/i386/pc_q35.c | 1 + hw/mem/cxl_type3.c | 64 +- hw/net/vhost_net.c | 2 + hw/nvme/ctrl.c | 62 ++ hw/pci-host/gpex-acpi.c | 13 +- hw/pci/pci.c | 76 +- hw/pci/pcie_sriov.c | 300 ++++++-- hw/riscv/virt-acpi-build.c | 34 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 1 + hw/smbios/smbios.c | 11 +- hw/vfio/common.c | 3 +- hw/virtio/vhost-user-fs.c | 1 + hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/virtio-crypto.c | 2 +- hw/virtio/virtio-iommu.c | 88 +-- hw/virtio/virtio-net-pci.c | 1 + hw/virtio/virtio-pci.c | 20 +- hw/virtio/virtio.c | 139 +++- net/vhost-vdpa.c | 1 + system/physmem.c | 29 + tests/qtest/bios-tables-test.c | 40 +- MAINTAINERS | 9 + accel/kvm/trace-events | 5 +- backends/Kconfig | 4 + backends/meson.build | 2 + docs/specs/acpi_hw_reduced_hotplug.rst | 3 +- docs/specs/index.rst | 1 + docs/specs/spdm.rst | 134 ++++ docs/system/index.rst | 1 + docs/system/sriov.rst | 36 + hw/vfio/trace-events | 3 +- hw/virtio/trace-events | 1 + tests/data/acpi/aarch64/virt/DSDT | Bin 5196 -> 5196 bytes tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt | Bin 5282 -> 5282 bytes tests/data/acpi/aarch64/virt/DSDT.memhp | Bin 6557 -> 6557 bytes tests/data/acpi/aarch64/virt/DSDT.pxb | Bin 7679 -> 7679 bytes tests/data/acpi/aarch64/virt/DSDT.topology | Bin 5398 -> 5398 bytes tests/data/acpi/riscv64/virt/APIC | Bin 0 -> 116 bytes tests/data/acpi/riscv64/virt/DSDT | Bin 0 -> 3576 bytes tests/data/acpi/riscv64/virt/FACP | Bin 0 -> 276 bytes tests/data/acpi/riscv64/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/riscv64/virt/RHCT | Bin 0 -> 332 bytes tests/data/acpi/riscv64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/x86/microvm/DSDT.pcie | Bin 3023 -> 3023 bytes 81 files changed, 2500 insertions(+), 290 deletions(-) create mode 100644 include/hw/cxl/cxl_mailbox.h create mode 100644 include/sysemu/spdm-socket.h create mode 100644 backends/spdm-socket.c create mode 100644 docs/specs/spdm.rst create mode 100644 docs/system/sriov.rst create mode 100644 tests/data/acpi/riscv64/virt/APIC create mode 100644 tests/data/acpi/riscv64/virt/DSDT create mode 100644 tests/data/acpi/riscv64/virt/FACP create mode 100644 tests/data/acpi/riscv64/virt/MCFG create mode 100644 tests/data/acpi/riscv64/virt/RHCT create mode 100644 tests/data/acpi/riscv64/virt/SPCR . Date: Mon, 22 Jul 2024 10:00:57 +0300 From: Konstantin Kostiuk To: qemu-devel@nongnu.org, Peter Maydell , Stefan Hajnoczi Subject: [PULL 00/25] Misc QEMU-GA patches 2024-07-22 The following changes since commit 23fa74974d8c96bc95cbecc0d4e2d90f984939f6: Merge tag 'pull-target-arm-20240718' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-19 07:02:17 +1000) are available in the Git repository at: https://github.com/kostyanf14/qemu.git tags/qga-pull-2024-07-22 for you to fetch changes up to 24d12dfc5abb3b4ac2506f22c3fd0cda40a6977d: qga/linux: Add new api 'guest-network-get-route' (2024-07-22 09:51:12 +0300) ---------------------------------------------------------------- qga-pull-2024-07-22 ---------------------------------------------------------------- Daniel P. Berrangé (22): qga: drop blocking of guest-get-memory-block-size command qga: move linux vcpu command impls to commands-linux.c qga: move linux suspend command impls to commands-linux.c qga: move linux fs/disk command impls to commands-linux.c qga: move linux disk/cpu stats command impls to commands-linux.c qga: move linux memory block command impls to commands-linux.c qga: move CONFIG_FSFREEZE/TRIM to be meson defined options qga: conditionalize schema for commands unsupported on Windows qga: conditionalize schema for commands unsupported on non-Linux POSIX qga: conditionalize schema for commands requiring getifaddrs qga: conditionalize schema for commands requiring linux/win32 qga: conditionalize schema for commands only supported on Windows qga: conditionalize schema for commands requiring fsfreeze qga: conditionalize schema for commands requiring fstrim qga: conditionalize schema for commands requiring libudev qga: conditionalize schema for commands requiring utmpx qga: conditionalize schema for commands not supported on other UNIX qga: don't disable fsfreeze commands if vss_init fails qga: move declare of QGAConfig struct to top of file qga: remove pointless 'blockrpcs_key' variable qga: allow configuration file path via the cli qga: centralize logic for disabling/enabling commands Dehan Meng (1): qga/linux: Add new api 'guest-network-get-route' Thomas Lamprecht (1): guest-agent: document allow-rpcs in config file section Zhao Liu (1): qga/commands-posix: Make ga_wait_child() return boolean docs/interop/qemu-ga.rst | 20 + meson.build | 16 + qga/commands-bsd.c | 24 - qga/commands-common.h | 9 - qga/commands-linux.c | 1938 +++++++++++++++++++++++++++++++++++++ qga/commands-posix.c | 2383 ++++------------------------------------------ qga/commands-win32.c | 78 +- qga/main.c | 224 ++--- qga/qapi-schema.json | 226 ++++- 9 files changed, 2452 insertions(+), 2466 deletions(-) -- 2.45.2 . Date: Mon, 22 Jul 2024 12:03:57 +0100 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 00/16] Final bits for 9.1-rc0 (docker, plugins, gdbstub, semihosting) warn: No match for commit c135d5eaafe7aa2533da663d8e5a34a424b71eb9 found at https://gitlab.com/stsquad/qemu.git warn: Are you sure you pushed 'pull-target-arm-20240711-209-gc135d5eaaf' there? The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01: Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git pull-target-arm-20240711-209-gc135d5eaaf for you to fetch changes up to c135d5eaafe7aa2533da663d8e5a34a424b71eb9: tests/tcg/aarch64: Fix test-mte.py (2024-07-22 09:38:17 +0100) ---------------------------------------------------------------- Alex Bennée (3): testing: bump to latest libvirt-ci gdbstub: Re-factor gdb command extensions tests/plugins: use qemu_plugin_outs for inline stats Frédéric Pétrot (1): plugins/execlog.c: correct dump of registers values Philippe Mathieu-Daudé (8): semihosting: Include missing 'gdbstub/syscalls.h' header target/m68k: Add semihosting stub target/mips: Add semihosting stub target/m68k: Restrict semihosting to TCG target/mips: Restrict semihosting to TCG target/riscv: Restrict semihosting to TCG target/xtensa: Restrict semihosting to TCG semihosting: Restrict to TCG Pierrick Bouvier (1): plugins: fix mem callback array size Richard Henderson (1): tests/tcg/aarch64: Fix test-mte.py Simon Hamelin (1): plugins/stoptrigger: TCG plugin to stop execution under conditions Thomas Huth (1): tests/avocado: Remove non-working sparc leon3 test MAINTAINERS | 1 - docs/devel/tcg-plugins.rst | 22 +++++ include/gdbstub/commands.h | 19 ++-- include/semihosting/syscalls.h | 2 + target/arm/internals.h | 4 +- accel/tcg/plugin-gen.c | 3 +- contrib/plugins/execlog.c | 2 +- contrib/plugins/stoptrigger.c | 151 ++++++++++++++++++++++++++++++ gdbstub/gdbstub.c | 141 ++++++++++++++++------------ target/arm/gdbstub.c | 16 +--- target/arm/gdbstub64.c | 11 +-- target/m68k/semihosting-stub.c | 15 +++ target/mips/tcg/sysemu/semihosting-stub.c | 15 +++ tests/plugin/inline.c | 58 +++++++----- .gitlab-ci.d/cirrus/freebsd-13.vars | 2 +- contrib/plugins/Makefile | 1 + semihosting/Kconfig | 1 + target/m68k/Kconfig | 2 +- target/m68k/meson.build | 5 +- target/mips/Kconfig | 2 +- target/mips/tcg/sysemu/meson.build | 6 +- target/riscv/Kconfig | 4 +- target/xtensa/Kconfig | 2 +- tests/avocado/machine_sparc_leon3.py | 37 -------- tests/lcitool/libvirt-ci | 2 +- tests/tcg/aarch64/gdbstub/test-mte.py | 2 +- tests/vm/generated/freebsd.json | 14 +-- 27 files changed, 370 insertions(+), 170 deletions(-) create mode 100644 contrib/plugins/stoptrigger.c create mode 100644 target/m68k/semihosting-stub.c create mode 100644 target/mips/tcg/sysemu/semihosting-stub.c delete mode 100644 tests/avocado/machine_sparc_leon3.py -- 2.39.2 . Date: Mon, 22 Jul 2024 14:00:14 +0200 From: Thomas Huth To: Richard Henderson Cc: qemu-devel@nongnu.org Subject: [PULL 00/12] QTests, Avocado and s390x fixes for 9.1 softfreeze Hi Richard! The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01: Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-07-22 for you to fetch changes up to eed0e8ffa38f0695c0519508f6e4f5a3297cbd67: target/s390x: filter deprecated properties based on model expansion type (2024-07-22 13:56:11 +0200) ---------------------------------------------------------------- * Minor clean-ups and fixes for the qtests and Avocado tests * Fix crash that happens when introspecting scsi-block on older machine types * s390x: filter deprecated properties based on model expansion type ---------------------------------------------------------------- Cleber Rosa (3): tests/avocado/boot_xen.py: merge base classes tests/avocado/boot_xen.py: unify tags tests/avocado/boot_xen.py: use class attribute Collin L. Walling (1): target/s390x: filter deprecated properties based on model expansion type Cédric Le Goater (1): tests/avocado/machine_aspeed.py: Increase timeout for TPM test Igor Mammedov (1): tests: increase timeout per instance of bios-tables-test Philippe Mathieu-Daudé (1): tests/avocado: Allow overwriting AVOCADO_SHOW env variable Thomas Huth (4): tests/avocado: Move LinuxTest related code into a separate file tests/avocado/mem-addr-space-check: Remove unused "import signal" tests/avocado: Remove the remainders of the virtiofs_submounts test hw: Fix crash that happens when introspecting scsi-block on older machine types Yao Xingtao (1): qtest/fuzz: make range overlap check more readable qapi/machine-target.json | 5 +- hw/core/machine.c | 3 +- target/s390x/cpu_models_sysemu.c | 16 +- tests/qtest/fuzz/generic_fuzz.c | 3 +- tests/Makefile.include | 2 +- tests/avocado/avocado_qemu/__init__.py | 239 +------------------ tests/avocado/avocado_qemu/linuxtest.py | 253 +++++++++++++++++++++ tests/avocado/boot_linux.py | 3 +- tests/avocado/boot_xen.py | 34 +-- tests/avocado/hotplug_blk.py | 2 +- tests/avocado/hotplug_cpu.py | 2 +- tests/avocado/intel_iommu.py | 2 +- tests/avocado/machine_aspeed.py | 2 +- tests/avocado/mem-addr-space-check.py | 1 - tests/avocado/replay_linux.py | 2 +- tests/avocado/smmu.py | 3 +- .../avocado/virtiofs_submounts.py.data/cleanup.sh | 46 ---- .../virtiofs_submounts.py.data/guest-cleanup.sh | 30 --- tests/avocado/virtiofs_submounts.py.data/guest.sh | 138 ----------- tests/avocado/virtiofs_submounts.py.data/host.sh | 127 ----------- tests/qtest/meson.build | 2 +- 21 files changed, 288 insertions(+), 627 deletions(-) create mode 100644 tests/avocado/avocado_qemu/linuxtest.py delete mode 100644 tests/avocado/virtiofs_submounts.py.data/cleanup.sh delete mode 100644 tests/avocado/virtiofs_submounts.py.data/guest-cleanup.sh delete mode 100644 tests/avocado/virtiofs_submounts.py.data/guest.sh delete mode 100644 tests/avocado/virtiofs_submounts.py.data/host.sh . Date: Mon, 22 Jul 2024 18:40:27 +0200 From: Klaus Jensen To: Peter Maydell , qemu-devel@nongnu.org Cc: Hanna Reitz , Klaus Jensen , Stefan Hajnoczi , qemu-block@nongnu.org, Fam Zheng , Keith Busch , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Jesper Devantier , Kevin Wolf , Klaus Jensen Subject: [PULL 0/4] hw/nvme patches From: Klaus Jensen Hi, The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01: Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000) are available in the Git repository at: https://gitlab.com/birkelund/qemu.git tags/nvme-next-pull-request for you to fetch changes up to 4ea3de93a353b4462d96edd94be08d3be9484947: hw/nvme: remove useless type cast (2024-07-22 14:43:17 +0200) ---------------------------------------------------------------- hw/nvme patches -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmaeiz4ACgkQTeGvMW1P Dem5DggAkudAwZYUlKLz/FuxmOJsZ/CKL7iIu6wE3P93WTTbi4m2AL5lMFz1bOUH 33LtjHz51bDvOsnhAwLs2TwjfhICiMJCOXEmxF9zJnO4Yo8ih9UbeE7sEukpxsVr FJlAg5OXhdIHuo48ow7hu7BqMs58jnXhVA6zSvLU5rbKTSdG/369jyQKy5aoFPN0 Rk+S6hqDmVMiN7u6E+QqPyB2tSbmNKkhPICu3O9fbHmaOoMFmrcvyxkd1wJ9JxwF 8MWbuEZlIpLIIL/mCN4wzDw8VKlJ26sBJJC1b+NHmWIWmPkqMeXwcmQtWhUqsrcs xAGUcjgJuJ3Fu6Xzt+09Y+FXO8v0oQ== =vCDb -----END PGP SIGNATURE----- ---------------------------------------------------------------- Arun Kumar (1): hw/nvme: add cross namespace copy support Ayush Mishra (1): hw/nvme: actually implement abort Yao Xingtao (1): hw/nvme: remove useless type cast Zheyu Ma (1): hw/nvme: fix memory leak in nvme_dsm hw/nvme/ctrl.c | 404 ++++++++++++++++++++++++++++++++----------- include/block/nvme.h | 37 ++-- 2 files changed, 330 insertions(+), 111 deletions(-) -- 2.45.2 . Date: Tue, 23 Jul 2024 00:06:10 +0400 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PULL 0/8] Ui patches From: Marc-André Lureau The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01: Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000) are available in the Git repository at: https://gitlab.com/marcandre.lureau/qemu.git tags/ui-pull-request for you to fetch changes up to 903cc9e1173e0778caa50871e8275c898770c690: chardev/char-win-stdio.c: restore old console mode (2024-07-22 22:25:46 +0400) ---------------------------------------------------------------- UI-related for 9.1 ---------------------------------------------------------------- Gerd Hoffmann (1): vnc: increase max display size Marc-André Lureau (5): virtio-gpu-gl: declare dependency on ui-opengl ui: add more tracing for dbus ui/vdagent: improve vdagent_fe_open() trace ui/vdagent: notify clipboard peers of serial reset ui/vdagent: send caps on fe_open Phil Dennis-Jordan (1): Cursor: 8 -> 1 bit alpha downsampling improvement songziming (1): chardev/char-win-stdio.c: restore old console mode ui/vnc.h | 4 ++-- audio/dbusaudio.c | 2 +- chardev/char-win-stdio.c | 5 +++++ hw/display/virtio-gpu-gl.c | 1 + ui/clipboard.c | 2 ++ ui/cursor.c | 2 +- ui/dbus-clipboard.c | 4 ++++ ui/vdagent.c | 11 ++++++++--- audio/trace-events | 2 +- ui/trace-events | 5 ++++- 10 files changed, 29 insertions(+), 9 deletions(-) -- 2.45.2.827.g557ae147e6 . Date: Tue, 23 Jul 2024 00:04:06 +0100 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL v2 00/16] Final bits for 9.1-rc0 (docker, plugins, gdbstub, semihosting) The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01: Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-9.1-rc0-230724-1 for you to fetch changes up to c135d5eaafe7aa2533da663d8e5a34a424b71eb9: tests/tcg/aarch64: Fix test-mte.py (2024-07-22 09:38:17 +0100) ---------------------------------------------------------------- Maintainer updates for testing, gdbstub, semihosting, plugins - bump python in *BSD images via libvirt-ci - remove old unused Leon3 Avocado test - re-factor gdb command extension - add stoptrigger plugin to contrib - ensure plugin mem callbacks properly sized - reduce check-tcg noise of inline plugin test - fix register dumping in execlog plugin - restrict semihosting to TCG builds - fix regex in MTE test ---------------------------------------------------------------- Alex Bennée (3): testing: bump to latest libvirt-ci gdbstub: Re-factor gdb command extensions tests/plugins: use qemu_plugin_outs for inline stats Frédéric Pétrot (1): plugins/execlog.c: correct dump of registers values Philippe Mathieu-Daudé (8): semihosting: Include missing 'gdbstub/syscalls.h' header target/m68k: Add semihosting stub target/mips: Add semihosting stub target/m68k: Restrict semihosting to TCG target/mips: Restrict semihosting to TCG target/riscv: Restrict semihosting to TCG target/xtensa: Restrict semihosting to TCG semihosting: Restrict to TCG Pierrick Bouvier (1): plugins: fix mem callback array size Richard Henderson (1): tests/tcg/aarch64: Fix test-mte.py Simon Hamelin (1): plugins/stoptrigger: TCG plugin to stop execution under conditions Thomas Huth (1): tests/avocado: Remove non-working sparc leon3 test MAINTAINERS | 1 - docs/devel/tcg-plugins.rst | 22 +++++ include/gdbstub/commands.h | 19 ++-- include/semihosting/syscalls.h | 2 + target/arm/internals.h | 4 +- accel/tcg/plugin-gen.c | 3 +- contrib/plugins/execlog.c | 2 +- contrib/plugins/stoptrigger.c | 151 ++++++++++++++++++++++++++++++ gdbstub/gdbstub.c | 141 ++++++++++++++++------------ target/arm/gdbstub.c | 16 +--- target/arm/gdbstub64.c | 11 +-- target/m68k/semihosting-stub.c | 15 +++ target/mips/tcg/sysemu/semihosting-stub.c | 15 +++ tests/plugin/inline.c | 58 +++++++----- .gitlab-ci.d/cirrus/freebsd-13.vars | 2 +- contrib/plugins/Makefile | 1 + semihosting/Kconfig | 1 + target/m68k/Kconfig | 2 +- target/m68k/meson.build | 5 +- target/mips/Kconfig | 2 +- target/mips/tcg/sysemu/meson.build | 6 +- target/riscv/Kconfig | 4 +- target/xtensa/Kconfig | 2 +- tests/avocado/machine_sparc_leon3.py | 37 -------- tests/lcitool/libvirt-ci | 2 +- tests/tcg/aarch64/gdbstub/test-mte.py | 2 +- tests/vm/generated/freebsd.json | 14 +-- 27 files changed, 370 insertions(+), 170 deletions(-) create mode 100644 contrib/plugins/stoptrigger.c create mode 100644 target/m68k/semihosting-stub.c create mode 100644 target/mips/tcg/sysemu/semihosting-stub.c delete mode 100644 tests/avocado/machine_sparc_leon3.py -- 2.39.2 . Date: Tue, 23 Jul 2024 10:02:26 +0300 From: Konstantin Kostiuk To: qemu-devel@nongnu.org, Peter Maydell , Stefan Hajnoczi Subject: [PULL v2 00/25] Misc QEMU-GA patches 2024-07-22 The following changes since commit 23fa74974d8c96bc95cbecc0d4e2d90f984939f6: Merge tag 'pull-target-arm-20240718' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-19 07:02:17 +1000) are available in the Git repository at: https://github.com/kostyanf14/qemu.git tags/qga-pull-2024-07-23 for you to fetch changes up to 8e326d36dd16b91d9abc4963b5f75b8f637c2312: qga/linux: Add new api 'guest-network-get-route' (2024-07-23 09:49:07 +0300) ---------------------------------------------------------------- qga-pull-2024-07-23 v1->v2: Fix clang build failure of qga/linux: Add new api 'guest-network-get-route' ---------------------------------------------------------------- Daniel P. Berrangé (22): qga: drop blocking of guest-get-memory-block-size command qga: move linux vcpu command impls to commands-linux.c qga: move linux suspend command impls to commands-linux.c qga: move linux fs/disk command impls to commands-linux.c qga: move linux disk/cpu stats command impls to commands-linux.c qga: move linux memory block command impls to commands-linux.c qga: move CONFIG_FSFREEZE/TRIM to be meson defined options qga: conditionalize schema for commands unsupported on Windows qga: conditionalize schema for commands unsupported on non-Linux POSIX qga: conditionalize schema for commands requiring getifaddrs qga: conditionalize schema for commands requiring linux/win32 qga: conditionalize schema for commands only supported on Windows qga: conditionalize schema for commands requiring fsfreeze qga: conditionalize schema for commands requiring fstrim qga: conditionalize schema for commands requiring libudev qga: conditionalize schema for commands requiring utmpx qga: conditionalize schema for commands not supported on other UNIX qga: don't disable fsfreeze commands if vss_init fails qga: move declare of QGAConfig struct to top of file qga: remove pointless 'blockrpcs_key' variable qga: allow configuration file path via the cli qga: centralize logic for disabling/enabling commands Dehan Meng (1): qga/linux: Add new api 'guest-network-get-route' Thomas Lamprecht (1): guest-agent: document allow-rpcs in config file section Zhao Liu (1): qga/commands-posix: Make ga_wait_child() return boolean docs/interop/qemu-ga.rst | 20 + meson.build | 16 + qga/commands-bsd.c | 24 - qga/commands-common.h | 9 - qga/commands-linux.c | 1938 +++++++++++++++++++++++++++++++++++++ qga/commands-posix.c | 2383 ++++------------------------------------------ qga/commands-win32.c | 78 +- qga/main.c | 224 ++--- qga/qapi-schema.json | 226 ++++- 9 files changed, 2452 insertions(+), 2466 deletions(-) -- 2.45.2 . Date: Tue, 23 Jul 2024 06:55:01 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v2 00/61] virtio,pci,pc: features,fixes changes from v1: dropped two patches: hw/pci: Do not add ROM BAR for SR-IOV VF virtio: Always reset vhost devices at author's request Akiko, I think the on/off rework is a bit risky so close to the release. So pls rework your patch not to depend on that. Also pls note you still need to fix s390, if that does not happen by say rc1 I'll have to revert all this stuff by rc2, and defer to the next release. Thanks! The following changes since commit a87a7c449e532130d4fa8faa391ff7e1f04ed660: Merge tag 'pull-loongarch-20240719' of https://gitlab.com/gaosong/qemu into staging (2024-07-19 16:28:28 +1000) 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 4f947b10d525958578002848a92eeb6152ffbf0d: hw/nvme: Add SPDM over DOE support (2024-07-22 20:15:42 -0400) ---------------------------------------------------------------- virtio,pci,pc: features,fixes pci: Initial support for SPDM Responders cxl: Add support for scan media, feature commands, device patrol scrub control, DDR5 ECS control, firmware updates virtio: in-order support virtio-net: support for SR-IOV emulation (note: known issues on s390, might get reverted if not fixed) smbios: memory device size is now configurable per Machine cpu: architecture agnostic code to support vCPU Hotplug Fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (7): hw/pci: Fix SR-IOV VF number calculation pcie_sriov: Ensure PF and VF are mutually exclusive pcie_sriov: Check PCI Express for SR-IOV PF pcie_sriov: Allow user to create SR-IOV device virtio-pci: Implement SR-IOV PF virtio-net: Implement SR-IOV VF docs: Document composable SR-IOV device Alistair Francis (1): hw/pci: Add all Data Object Types defined in PCIe r6.0 Clément Mathieu--Drif (4): intel_iommu: fix FRCD construction macro intel_iommu: move VTD_FRCD_PV and VTD_FRCD_PP declarations intel_iommu: fix type of the mask field in VTDIOTLBPageInvInfo intel_iommu: make type match Davidlohr Bueso (3): hw/cxl: Add get scan media capabilities cmd support hw/cxl: Add get scan media results cmd support hw/cxl: Support firmware updates Eric Auger (6): Revert "virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged" virtio-iommu: Remove probe_done virtio-iommu: Free [host_]resv_ranges on unset_iommu_devices virtio-iommu: Remove the end point on detach hw/vfio/common: Add vfio_listener_region_del_iommu trace event virtio-iommu: Add trace point on virtio_iommu_detach_endpoint_from_domain Fan Ni (1): hw/cxl/cxl-mailbox-utils: remove unneeded mailbox output payload space zeroing Gregory Price (1): cxl/mailbox: move mailbox effect definitions to a header Huai-Cheng Kuo (1): backends: Initial support for SPDM socket support Hyeonggon Yoo (2): hw/cxl/mbox: replace sanitize_running() with cxl_dev_media_disabled() hw/cxl/events: discard all event records during sanitation Igor Mammedov (1): smbios: make memory device size configurable per Machine Jonah Palmer (6): virtio: Add bool to VirtQueueElement virtio: virtqueue_pop - VIRTIO_F_IN_ORDER support virtio: virtqueue_ordered_fill - VIRTIO_F_IN_ORDER support virtio: virtqueue_ordered_flush - VIRTIO_F_IN_ORDER support vhost,vhost-user: Add VIRTIO_F_IN_ORDER to vhost feature bits virtio: Add VIRTIO_F_IN_ORDER property definition Jonathan Cameron (1): hw/cxl: Check for multiple mappings of memory backends. Manos Pitsidianakis (2): virtio-snd: add max size bounds check in input cb virtio-snd: check for invalid param shift operands Salil Mehta (7): accel/kvm: Extract common KVM vCPU {creation,parking} code hw/acpi: Move CPU ctrl-dev MMIO region len macro to common header file hw/acpi: Update ACPI GED framework to support vCPU Hotplug hw/acpi: Update GED _EVT method AML with CPU scan hw/acpi: Update CPUs AML with cpu-(ctrl)dev change physmem: Add helper function to destroy CPU AddressSpace gdbstub: Add helper function to unregister GDB register space Shiju Jose (3): hw/cxl/cxl-mailbox-utils: Add support for feature commands (8.2.9.6) hw/cxl/cxl-mailbox-utils: Add device patrol scrub control feature hw/cxl/cxl-mailbox-utils: Add device DDR5 ECS control feature Stefano Garzarella (2): MAINTAINERS: add Stefano Garzarella as vhost/vhost-user reviewer contrib/vhost-user-blk: fix overflowing expression Sunil V L (9): hw/riscv/virt-acpi-build.c: Add namespace devices for PLIC and APLIC hw/riscv/virt-acpi-build.c: Update the HID of RISC-V UART tests/acpi: Allow DSDT acpi table changes for aarch64 acpi/gpex: Create PCI link devices outside PCI root bridge tests/acpi: update expected DSDT blob for aarch64 and microvm tests/qtest/bios-tables-test.c: Remove the fall back path tests/acpi: Add empty ACPI data files for RISC-V tests/qtest/bios-tables-test.c: Enable basic testing for RISC-V tests/acpi: Add expected ACPI AML files for RISC-V Wilfred Mallawa (1): hw/nvme: Add SPDM over DOE support Yi Liu (1): MAINTAINERS: Add myself as a VT-d reviewer Zhao Liu (1): hw/cxl/cxl-host: Fix segmentation fault when getting cxl-fmw property Zheyu Ma (1): hw/virtio/virtio-crypto: Fix op_code assignment in virtio_crypto_create_asym_session accel/kvm/kvm-cpus.h | 1 - hw/i386/intel_iommu_internal.h | 6 +- include/exec/cpu-common.h | 8 + include/exec/gdbstub.h | 6 + include/hw/acpi/cpu.h | 7 +- include/hw/acpi/generic_event_device.h | 5 + include/hw/boards.h | 4 + include/hw/core/cpu.h | 1 + include/hw/cxl/cxl_device.h | 88 ++- include/hw/cxl/cxl_mailbox.h | 18 + include/hw/pci/pci_device.h | 13 +- include/hw/pci/pcie_doe.h | 5 + include/hw/pci/pcie_sriov.h | 18 + include/hw/virtio/virtio-iommu.h | 1 - include/hw/virtio/virtio-pci.h | 1 + include/hw/virtio/virtio.h | 6 +- include/sysemu/kvm.h | 25 + include/sysemu/spdm-socket.h | 74 ++ accel/kvm/kvm-all.c | 95 ++- backends/spdm-socket.c | 216 ++++++ contrib/vhost-user-blk/vhost-user-blk.c | 2 +- gdbstub/gdbstub.c | 13 + hw/acpi/acpi-cpu-hotplug-stub.c | 6 + hw/acpi/cpu.c | 18 +- hw/acpi/generic_event_device.c | 50 ++ hw/arm/virt.c | 1 + hw/audio/virtio-snd.c | 13 +- hw/block/vhost-user-blk.c | 1 + hw/core/cpu-common.c | 5 +- hw/core/machine.c | 6 + hw/cxl/cxl-events.c | 13 + hw/cxl/cxl-host.c | 3 +- hw/cxl/cxl-mailbox-utils.c | 966 +++++++++++++++++++++++-- hw/i386/acpi-build.c | 3 +- hw/i386/intel_iommu.c | 2 +- hw/i386/pc_piix.c | 1 + hw/i386/pc_q35.c | 1 + hw/mem/cxl_type3.c | 64 +- hw/net/vhost_net.c | 2 + hw/nvme/ctrl.c | 62 ++ hw/pci-host/gpex-acpi.c | 13 +- hw/pci/pci.c | 68 +- hw/pci/pcie_sriov.c | 300 ++++++-- hw/riscv/virt-acpi-build.c | 34 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 1 + hw/smbios/smbios.c | 11 +- hw/vfio/common.c | 3 +- hw/virtio/vhost-user-fs.c | 1 + hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/virtio-crypto.c | 2 +- hw/virtio/virtio-iommu.c | 88 +-- hw/virtio/virtio-net-pci.c | 1 + hw/virtio/virtio-pci.c | 20 +- hw/virtio/virtio.c | 131 +++- net/vhost-vdpa.c | 1 + system/physmem.c | 29 + tests/qtest/bios-tables-test.c | 40 +- MAINTAINERS | 9 + accel/kvm/trace-events | 5 +- backends/Kconfig | 4 + backends/meson.build | 2 + docs/specs/acpi_hw_reduced_hotplug.rst | 3 +- docs/specs/index.rst | 1 + docs/specs/spdm.rst | 134 ++++ docs/system/index.rst | 1 + docs/system/sriov.rst | 36 + hw/vfio/trace-events | 3 +- hw/virtio/trace-events | 1 + tests/data/acpi/aarch64/virt/DSDT | Bin 5196 -> 5196 bytes tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt | Bin 5282 -> 5282 bytes tests/data/acpi/aarch64/virt/DSDT.memhp | Bin 6557 -> 6557 bytes tests/data/acpi/aarch64/virt/DSDT.pxb | Bin 7679 -> 7679 bytes tests/data/acpi/aarch64/virt/DSDT.topology | Bin 5398 -> 5398 bytes tests/data/acpi/riscv64/virt/APIC | Bin 0 -> 116 bytes tests/data/acpi/riscv64/virt/DSDT | Bin 0 -> 3576 bytes tests/data/acpi/riscv64/virt/FACP | Bin 0 -> 276 bytes tests/data/acpi/riscv64/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/riscv64/virt/RHCT | Bin 0 -> 332 bytes tests/data/acpi/riscv64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/x86/microvm/DSDT.pcie | Bin 3023 -> 3023 bytes 81 files changed, 2486 insertions(+), 288 deletions(-) create mode 100644 include/hw/cxl/cxl_mailbox.h create mode 100644 include/sysemu/spdm-socket.h create mode 100644 backends/spdm-socket.c create mode 100644 docs/specs/spdm.rst create mode 100644 docs/system/sriov.rst create mode 100644 tests/data/acpi/riscv64/virt/APIC create mode 100644 tests/data/acpi/riscv64/virt/DSDT create mode 100644 tests/data/acpi/riscv64/virt/FACP create mode 100644 tests/data/acpi/riscv64/virt/MCFG create mode 100644 tests/data/acpi/riscv64/virt/RHCT create mode 100644 tests/data/acpi/riscv64/virt/SPCR . Date: Tue, 23 Jul 2024 16:00:03 +0200 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-devel@nongnu.org Cc: Alex Williamson , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL 00/16] vfio queue The following changes since commit 6af69d02706c821797802cfd56acdac13a7c9422: Merge tag 'nvme-next-pull-request' of https://gitlab.com/birkelund/qemu into staging (2024-07-23 13:55:45 +1000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240723 for you to fetch changes up to 6ac9efe6805af60de14481fdde7d340080d38324: vfio/common: Allow disabling device dirty page tracking (2024-07-23 11:10:10 +0200) ---------------------------------------------------------------- vfio queue: * IOMMUFD Dirty Tracking support * Fix for a possible SEGV in IOMMU type1 container * Dropped initialization of host IOMMU device with mdev devices ---------------------------------------------------------------- Eric Auger (1): hw/vfio/container: Fix SIGSEV on vfio_container_instance_finalize() Joao Martins (13): vfio/pci: Extract mdev check into an helper vfio/iommufd: Don't initialize nor set a HOST_IOMMU_DEVICE with mdev backends/iommufd: Extend iommufd_backend_get_device_info() to fetch HW capabilities vfio/iommufd: Return errno in iommufd_cdev_attach_ioas_hwpt() vfio/iommufd: Introduce auto domain creation vfio/{iommufd,container}: Remove caps::aw_bits vfio/iommufd: Add hw_caps field to HostIOMMUDeviceCaps vfio/{iommufd, container}: Invoke HostIOMMUDevice::realize() during attach_device() vfio/iommufd: Probe and request hwpt dirty tracking capability vfio/iommufd: Implement VFIOIOMMUClass::set_dirty_tracking support vfio/iommufd: Implement VFIOIOMMUClass::query_dirty_bitmap support vfio/migration: Don't block migration device dirty tracking is unsupported vfio/common: Allow disabling device dirty page tracking Zhenzhong Duan (2): vfio/ap: Don't initialize HOST_IOMMU_DEVICE with mdev vfio/ccw: Don't initialize HOST_IOMMU_DEVICE with mdev include/hw/vfio/vfio-common.h | 15 +++ include/sysemu/host_iommu_device.h | 5 +- include/sysemu/iommufd.h | 13 ++- backends/iommufd.c | 89 ++++++++++++++++- hw/vfio/ap.c | 3 + hw/vfio/ccw.c | 3 + hw/vfio/common.c | 17 ++-- hw/vfio/container.c | 10 +- hw/vfio/helpers.c | 25 +++++ hw/vfio/iommufd.c | 196 +++++++++++++++++++++++++++++++++++-- hw/vfio/migration.c | 12 ++- hw/vfio/pci.c | 26 ++--- backends/trace-events | 3 + 13 files changed, 377 insertions(+), 40 deletions(-) . Date: Tue, 23 Jul 2024 16:15:18 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/11] target/i386, HPET changes for QEMU 9.1 soft freeze The following changes since commit a7ddb48bd1363c8bcdf42776d320289c42191f01: Merge tag 'pull-aspeed-20240721' of https://github.com/legoater/qemu into staging (2024-07-22 07:52:05 +1000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 7c912ffb59e8137091894d767433e65c3df8b0bf: hpet: avoid timer storms on periodic timers (2024-07-22 19:19:44 +0200) ---------------------------------------------------------------- * target/i386/kvm: support for reading RAPL MSRs using a helper program * hpet: emulation improvements ---------------------------------------------------------------- Anthony Harivel (3): qio: add support for SO_PEERCRED for socket channel tools: build qemu-vmsr-helper Add support for RAPL MSRs in KVM/Qemu Paolo Bonzini (8): target/i386: do not crash if microvm guest uses SGX CPUID leaves hpet: fix and cleanup persistence of interrupt status hpet: ignore high bits of comparator in 32-bit mode hpet: remove unnecessary variable "index" hpet: place read-only bits directly in "new_val" hpet: accept 64-bit reads and writes hpet: store full 64-bit target value of the counter hpet: avoid timer storms on periodic timers MAINTAINERS | 1 + docs/specs/index.rst | 1 + docs/specs/rapl-msr.rst | 155 +++++++++ docs/tools/index.rst | 1 + docs/tools/qemu-vmsr-helper.rst | 89 ++++++ meson.build | 7 + include/io/channel.h | 21 ++ include/sysemu/kvm_int.h | 32 ++ target/i386/cpu.h | 8 + target/i386/kvm/vmsr_energy.h | 99 ++++++ tools/i386/rapl-msr-index.h | 28 ++ accel/kvm/kvm-all.c | 27 ++ hw/i386/sgx.c | 6 +- hw/timer/hpet.c | 329 +++++++++---------- io/channel-socket.c | 28 ++ io/channel.c | 13 + target/i386/kvm/kvm.c | 431 ++++++++++++++++++++++++- target/i386/kvm/vmsr_energy.c | 345 ++++++++++++++++++++ tools/i386/qemu-vmsr-helper.c | 530 +++++++++++++++++++++++++++++++ contrib/systemd/qemu-vmsr-helper.service | 15 + contrib/systemd/qemu-vmsr-helper.socket | 9 + hw/timer/trace-events | 4 +- target/i386/kvm/meson.build | 1 + 23 files changed, 1995 insertions(+), 185 deletions(-) create mode 100644 docs/specs/rapl-msr.rst create mode 100644 docs/tools/qemu-vmsr-helper.rst create mode 100644 target/i386/kvm/vmsr_energy.h create mode 100644 tools/i386/rapl-msr-index.h create mode 100644 target/i386/kvm/vmsr_energy.c create mode 100644 tools/i386/qemu-vmsr-helper.c create mode 100644 contrib/systemd/qemu-vmsr-helper.service create mode 100644 contrib/systemd/qemu-vmsr-helper.socket -- 2.45.2 . Date: Tue, 23 Jul 2024 17:20:34 +0200 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-devel@nongnu.org Cc: Alex Williamson , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL v2 00/16] vfio queue The following changes since commit 3cce8bd4d737f2ca688bbdcb92cd5cc683245bbd: Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2024-07-23 15:23:05 +1000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240723-1 for you to fetch changes up to 30b9167785177ac43d11b881fe321918124aeb88: vfio/common: Allow disabling device dirty page tracking (2024-07-23 17:14:53 +0200) Changes in v2: - Rebased - Fixed bogus email in "vfio/iommufd: Implement VFIOIOMMUClass::query_dirty_bitmap support" ---------------------------------------------------------------- vfio queue: * IOMMUFD Dirty Tracking support * Fix for a possible SEGV in IOMMU type1 container * Dropped initialization of host IOMMU device with mdev devices ---------------------------------------------------------------- Eric Auger (1): hw/vfio/container: Fix SIGSEV on vfio_container_instance_finalize() Joao Martins (13): vfio/pci: Extract mdev check into an helper vfio/iommufd: Don't initialize nor set a HOST_IOMMU_DEVICE with mdev backends/iommufd: Extend iommufd_backend_get_device_info() to fetch HW capabilities vfio/iommufd: Return errno in iommufd_cdev_attach_ioas_hwpt() vfio/iommufd: Introduce auto domain creation vfio/{iommufd,container}: Remove caps::aw_bits vfio/iommufd: Add hw_caps field to HostIOMMUDeviceCaps vfio/{iommufd, container}: Invoke HostIOMMUDevice::realize() during attach_device() vfio/iommufd: Probe and request hwpt dirty tracking capability vfio/iommufd: Implement VFIOIOMMUClass::set_dirty_tracking support vfio/iommufd: Implement VFIOIOMMUClass::query_dirty_bitmap support vfio/migration: Don't block migration device dirty tracking is unsupported vfio/common: Allow disabling device dirty page tracking Zhenzhong Duan (2): vfio/ap: Don't initialize HOST_IOMMU_DEVICE with mdev vfio/ccw: Don't initialize HOST_IOMMU_DEVICE with mdev include/hw/vfio/vfio-common.h | 15 +++ include/sysemu/host_iommu_device.h | 5 +- include/sysemu/iommufd.h | 13 ++- backends/iommufd.c | 89 ++++++++++++++++- hw/vfio/ap.c | 3 + hw/vfio/ccw.c | 3 + hw/vfio/common.c | 17 ++-- hw/vfio/container.c | 10 +- hw/vfio/helpers.c | 25 +++++ hw/vfio/iommufd.c | 196 +++++++++++++++++++++++++++++++++++-- hw/vfio/migration.c | 12 ++- hw/vfio/pci.c | 26 ++--- backends/trace-events | 3 + 13 files changed, 377 insertions(+), 40 deletions(-) . Date: Tue, 23 Jul 2024 12:07:11 -0600 From: Warner Losh To: qemu-devel@nongnu.org Cc: Warner Losh , Peter Maydell , Kyle Evans , qemu-arm@nongnu.org Subject: [PULL 00/14] Bsd user for 9.1 patches The following changes since commit 3cce8bd4d737f2ca688bbdcb92cd5cc683245bbd: Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2024-07-23 15:23:05 +1000) are available in the Git repository at: git@gitlab.com:bsdimp/qemu.git tags/bsd-user-for-9.1-pull-request for you to fetch changes up to afdb6be1bd8528395af65a087bd668bf7a42ab99: bsd-user: Add aarch64 build to tree (2024-07-23 10:56:30 -0600) ---------------------------------------------------------------- bsd-user: Misc changes for 9.1 (I hope) This patch series includes two main sets of patches. To make it simple to review, I've included the changes from my student which the later changes depend on. I've included a change from Jessica and Doug as well. I've reviewed them, but more eyes never hurt. I've also included a number of 'touch up' patches needed either to get the aarch64 building, or to implmement suggestions from prior review cycles. The main one is what's charitably described as a kludge: force aarch64 to use 4k pages. The qemu-project (and blitz branch) hasn't had the necessary changes to bsd-user needed to support variable page size. Sorry this is so late... Live has conspired to delay me. -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAABCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmaf8RUACgkQbBzRKH2w EQAnYA/9F6NbHwV8C6c5zxiKR2PIXvER21khu+c3wwCMgm+Sy4yEIJxtX+L0St1I 7L4MkgSByeOJmAmw1h0xbWY4IGmTC0ylnyPLq4WIKHP2XnGgs2zYx/CWpEs20QWH bORg7KXpmTsK3Ag0ilQHTH7HspW3xhZGia4C0uaxYU+E3nns04Mp/TFzbLxq1VfP xJ8DKjVS39StoBjaWlkKN4TnmD1eXPl4WC+9aElVZJX5DicJHN2Cz3sjIZppJOFg AXBdeKUXBh5o2oxxRxIv5P/wUROl5NuOpEzE80Ed3B4okbzXdIbsYA07t+UlcoXk 2YMEWfzPmH8nveD5w8T3YtVAlzEJMjWgVeFZg43lT+aHktX3ixstQUkumzAm3A1Z 1TsXtP4D4ZRgeH991V+ZbA/2D0mxg03Z5kldw+jcoYUkjQNOMEy/i0ewNPhX4V/d l+YIeoxXEu06/v+ibjzL3/WMEvSofYw9nK3/BNGE9rfsNh8tKTFh8Ro+i6wQgKBB XOgQeuv+X1nwQ1xeZvl8uunFxN5yJqTyw2O6JN6z+3xnPMnBGz8yvkipdQPv5yRg GJEau8H0C9xesaCtURwNX0AC9BrZpoZ8/5zuLE9MGyyXuoN6jBkt/k6z+e4EL1j5 x7Ezp+srEhlG+g+yozgeDIk3W0YdCPDwBNKDvzwSuNS5prLMrg8= =Bdnq -----END PGP SIGNATURE----- ---------------------------------------------------------------- Doug Rabson (1): bsd-user: Simplify the implementation of execve Jessica Clarke (1): bsd-user: Sync fork_start/fork_end with linux-user Stacey Son (6): bsd-user:Add CPU initialization and management functions bsd-user:Add AArch64 register handling and related functions bsd-user:Add ARM AArch64 signal handling support bsd-user:Add get_mcontext function for ARM AArch64 bsd-user:Add set_mcontext function for ARM AArch64 bsd-user:Add AArch64 improvements and signal handling functions Warner Losh (6): bsd-user:Add ARM AArch64 support and capabilities bsd-user:Add setup_sigframe_arch function for ARM AArch64 bsd-user: Hard wire aarch64 to be 4k pages only bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack bsd-user: Make compile for non-linux user-mode stuff bsd-user: Add aarch64 build to tree bsd-user/aarch64/signal.c | 137 +++++++++++++++++ bsd-user/aarch64/target_arch.h | 29 ++++ bsd-user/aarch64/target_arch_cpu.c | 31 ++++ bsd-user/aarch64/target_arch_cpu.h | 189 ++++++++++++++++++++++++ bsd-user/aarch64/target_arch_elf.h | 163 ++++++++++++++++++++ bsd-user/aarch64/target_arch_reg.h | 56 +++++++ bsd-user/aarch64/target_arch_signal.h | 82 ++++++++++ bsd-user/aarch64/target_arch_sigtramp.h | 48 ++++++ bsd-user/aarch64/target_arch_sysarch.h | 42 ++++++ bsd-user/aarch64/target_arch_thread.h | 61 ++++++++ bsd-user/aarch64/target_arch_vmparam.h | 74 ++++++++++ bsd-user/aarch64/target_syscall.h | 51 +++++++ bsd-user/arm/target_arch_signal.h | 2 + bsd-user/freebsd/os-proc.c | 118 +-------------- bsd-user/i386/target_arch_signal.h | 2 + bsd-user/main.c | 44 ++---- bsd-user/qemu.h | 3 + bsd-user/signal.c | 9 +- bsd-user/x86_64/target_arch_signal.h | 2 + configs/targets/aarch64-bsd-user.mak | 3 + target/arm/cpu-param.h | 4 + target/arm/gdbstub64.c | 4 + 22 files changed, 1001 insertions(+), 153 deletions(-) create mode 100644 bsd-user/aarch64/signal.c create mode 100644 bsd-user/aarch64/target_arch.h create mode 100644 bsd-user/aarch64/target_arch_cpu.c create mode 100644 bsd-user/aarch64/target_arch_cpu.h create mode 100644 bsd-user/aarch64/target_arch_elf.h create mode 100644 bsd-user/aarch64/target_arch_reg.h create mode 100644 bsd-user/aarch64/target_arch_signal.h create mode 100644 bsd-user/aarch64/target_arch_sigtramp.h create mode 100644 bsd-user/aarch64/target_arch_sysarch.h create mode 100644 bsd-user/aarch64/target_arch_thread.h create mode 100644 bsd-user/aarch64/target_arch_vmparam.h create mode 100644 bsd-user/aarch64/target_syscall.h create mode 100644 configs/targets/aarch64-bsd-user.mak -- 2.45.1 . Date: Tue, 23 Jul 2024 22:38:27 +0200 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PULL 00/28] Misc HW+ patches for 2024-07-23 The following changes since commit 3cce8bd4d737f2ca688bbdcb92cd5cc683245bbd: Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2024-07-23 15:23:05 +1000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240723 for you to fetch changes up to e4a44f94db11fcf873399c60ebb1d93a9ad1cd6e: MAINTAINERS: Add myself as a reviewer of machine core (2024-07-23 22:34:54 +0200) Ignored unrelated error: TEST signals on ppc64 signals: allocatestack.c:223: allocate_stack: Assertion `powerof2 (pagesize_m1 + 1)' failed. qemu: uncaught target signal 6 (Aborted) - core dumped timeout: the monitored command dumped core Aborted make[1]: *** [Makefile:175: run-signals] Error 134 make: *** [/builds/philmd/qemu/tests/Makefile.include:56: run-tcg-tests-ppc64-linux-user] Error 2 ---------------------------------------------------------------- Misc HW patch queue - Restrict probe_access*() functions to TCG (Phil) - Extract do_invalidate_device_tlb from vtd_process_device_iotlb_desc (Clément) - Fixes in Loongson IPI model (Bibo & Phil) - Make docs/interop/firmware.json compatible with qapi-gen.py script (Thomas) - Correct MPC I2C MMIO region size (Zoltan) - Remove useless cast in Loongson3 Virt machine (Yao) - Various uses of range overlap API (Yao) - Use ERRP_GUARD macro in nubus_virtio_mmio_realize (Zhao) - Use DMA memory API in Goldfish UART model (Phil) - Expose fifo8_pop_buf and introduce fifo8_drop (Phil) - MAINTAINERS updates (Zhao, Phil) ---------------------------------------------------------------- BALATON Zoltan (1): hw/i2c/mpc_i2c: Fix mmio region size Bibo Mao (1): hw/intc/loongson_ipi: Access memory in little endian Clément Mathieu--Drif (1): hw/i386/intel_iommu: Extract device IOTLB invalidation logic Philippe Mathieu-Daudé (13): accel: Restrict probe_access*() functions to TCG hw/intc/loongson_ipi: Fix resource leak hw/intc/loongson_ipi: Declare QOM types using DEFINE_TYPES() macro docs: Correct Loongarch -> LoongArch hw/char/goldfish: Use DMA memory API chardev/char-fe: Document returned value on error util/fifo8: Fix style util/fifo8: Use fifo8_reset() in fifo8_create() util/fifo8: Rename fifo8_peek_buf() -> fifo8_peek_bufptr() util/fifo8: Rename fifo8_pop_buf() -> fifo8_pop_bufptr() util/fifo8: Expose fifo8_pop_buf() util/fifo8: Introduce fifo8_drop() MAINTAINERS: Cover guest-agent in QAPI schema Thomas Weißschuh (3): docs/interop/firmware.json: add new enum FirmwareFormat docs/interop/firmware.json: add new enum FirmwareArchitecture docs/interop/firmware.json: convert "Example" section Yao Xingtao (7): hw/mips/loongson3_virt: remove useless type cast util/range: Make ranges_overlap() return bool cxl/mailbox: make range overlap check more readable sparc/ldst_helper: make range overlap check more readable system/memory_mapping: make range overlap check more readable crypto/block-luks: make range overlap check more readable dump: make range overlap check more readable Zhao Liu (2): hw/nubus/virtio-mmio: Fix missing ERRP_GUARD() in realize handler MAINTAINERS: Add myself as a reviewer of machine core MAINTAINERS | 2 ++ docs/about/emulation.rst | 2 +- docs/interop/firmware.json | 47 +++++++++++++++++++++++++---- include/chardev/char-fe.h | 3 ++ include/exec/exec-all.h | 7 ++++- include/qemu/fifo8.h | 57 +++++++++++++++++++++++------------- include/qemu/range.h | 4 +-- accel/stubs/tcg-stub.c | 14 --------- chardev/msmouse.c | 2 +- crypto/block-luks.c | 3 +- dump/dump.c | 12 +++++--- hw/char/goldfish_tty.c | 12 ++++---- hw/cxl/cxl-mailbox-utils.c | 8 ++--- hw/i2c/mpc_i2c.c | 8 ++--- hw/i386/intel_iommu.c | 57 +++++++++++++++++++++--------------- hw/intc/loongson_ipi.c | 40 ++++++++++++------------- hw/mips/loongson3_virt.c | 4 +-- hw/net/allwinner_emac.c | 2 +- hw/nubus/nubus-virtio-mmio.c | 2 ++ hw/rtc/ls7a_rtc.c | 2 +- hw/scsi/esp.c | 38 +++--------------------- system/memory_mapping.c | 4 +-- target/sparc/ldst_helper.c | 5 ++-- ui/console-vc.c | 2 +- ui/gtk.c | 2 +- util/fifo8.c | 48 +++++++++++++++++++++++++----- 26 files changed, 226 insertions(+), 161 deletions(-) -- 2.41.0 . Date: Wed, 24 Jul 2024 16:39:55 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, peter.maydell@linaro.org Subject: [PULL 0/1] LoongArch fix for 9.1 The following changes since commit 6410f877f5ed535acd01bbfaa4baec379e44d0ef: Merge tag 'hw-misc-20240723' of https://github.com/philmd/qemu into staging (2024-07-24 15:39:43 +1000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240724 for you to fetch changes up to a18ffbcf8b9fabfc6c850ebb1d3e40a21b885c67: target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue (2024-07-24 16:52:18 +0800) ---------------------------------------------------------------- Fix for 9.1 ---------------------------------------------------------------- Song Gao (1): target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue target/loongarch/tcg/tlb_helper.c | 1 + 1 file changed, 1 insertion(+) . Date: Wed, 24 Jul 2024 10:46:55 +0100 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Thomas Huth , Laurent Vivier , Markus Armbruster , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eric Blake , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Hyman Huang Subject: [PULL 00/11] Crypto patches The following changes since commit 6410f877f5ed535acd01bbfaa4baec379e44d0ef: Merge tag 'hw-misc-20240723' of https://github.com/philmd/qemu into staging (2024-07-24 15:39:43 +1000) are available in the Git repository at: https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request for you to fetch changes up to 97f7bf113eb50fcdaf0c73aa2ee01e5355abc073: crypto: propagate errors from TLS session I/O callbacks (2024-07-24 10:39:10 +0100) ---------------------------------------------------------------- * Drop unused 'detached-header' QAPI field from LUKS create options * Improve tracing of TLS sockets and TLS chardevs * Improve error messages from TLS I/O failures * Add docs about use of LUKS detached header options * Allow building without libtasn1, but with GNUTLS * Fix detection of libgcrypt when libgcrypt-config is absent ---------------------------------------------------------------- Daniel P. Berrangé (6): qapi: drop unused QCryptoBlockCreateOptionsLUKS.detached-header meson: build chardev trace files when have_block chardev: add tracing of socket error conditions crypto: drop gnutls debug logging support crypto: push error reporting into TLS session I/O APIs crypto: propagate errors from TLS session I/O callbacks Hyman Huang (1): docs/devel: Add introduction to LUKS volume with detached header Philippe Mathieu-Daudé (3): crypto: Remove 'crypto-tls-x509-helpers.h' from crypto-tls-psk-helpers.c crypto: Restrict pkix_asn1_tab[] to crypto-tls-x509-helpers.c crypto: Allow building with GnuTLS but without Libtasn1 Yao Zi (1): meson.build: fix libgcrypt detection on system without libgcrypt-config MAINTAINERS | 3 +- chardev/char-socket.c | 37 ++-- chardev/trace-events | 10 + crypto/init.c | 15 +- crypto/tlssession.c | 124 ++++++++---- docs/devel/crypto.rst | 10 + docs/devel/index-internals.rst | 1 + docs/devel/luks-detached-header.rst | 182 ++++++++++++++++++ include/crypto/tlssession.h | 33 +++- io/channel-tls.c | 66 +++---- meson.build | 4 +- qapi/crypto.json | 5 +- tests/qtest/meson.build | 3 +- tests/unit/crypto-tls-psk-helpers.c | 1 - tests/unit/crypto-tls-x509-helpers.c | 6 +- tests/unit/crypto-tls-x509-helpers.h | 3 - tests/unit/meson.build | 6 +- .../{pkix_asn1_tab.c => pkix_asn1_tab.c.inc} | 5 +- tests/unit/test-crypto-tlssession.c | 30 ++- 19 files changed, 418 insertions(+), 126 deletions(-) create mode 100644 docs/devel/crypto.rst create mode 100644 docs/devel/luks-detached-header.rst rename tests/unit/{pkix_asn1_tab.c => pkix_asn1_tab.c.inc} (99%) -- 2.45.2 . Date: Wed, 24 Jul 2024 16:04:33 -0600 From: Warner Losh To: qemu-devel@nongnu.org Cc: Kyle Evans , qemu-arm@nongnu.org, Peter Maydell , Warner Losh Subject: [PULL 00/15] Bsd user for 9.1 patches The following changes since commit 3cce8bd4d737f2ca688bbdcb92cd5cc683245bbd: Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2024-07-23 15:23:05 +1000) are available in the Git repository at: git@gitlab.com:bsdimp/qemu.git tags/bsd-user-for-9.1-pull-request for you to fetch changes up to ec018b76798e1196882ebcbf3df15e6d86ac9d7c: bsd-user: Add target.h for aarch64. (2024-07-24 16:02:07 -0600) ---------------------------------------------------------------- bsd-user: Misc changes for 9.1 (I hope) V2: Add missing bsd-user/aarch64/target.h This patch series includes two main sets of patches. To make it simple to review, I've included the changes from my student which the later changes depend on. I've included a change from Jessica and Doug as well. I've reviewed them, but more eyes never hurt. I've also included a number of 'touch up' patches needed either to get the aarch64 building, or to implmement suggestions from prior review cycles. The main one is what's charitably described as a kludge: force aarch64 to use 4k pages. The qemu-project (and blitz branch) hasn't had the necessary changes to bsd-user needed to support variable page size. Sorry this is so late... Live has conspired to delay me. -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAABCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmahejwACgkQbBzRKH2w EQCXuQ/+Pj1Izmox/y9X1trn1T8KC7JdMtimdLiGMaS4C6+gcThXJkIB4l9ZStbV 7rI540mpqVf0KSRLYwc2/ATyhYU7Ffsz02WPn7Xn/NvmmITp4kjw9Z0gd7C7mPVq fS8DJbTyFQDy5dO8FUKLaTfnlYQe+NCnL421t9wFkIrlEepFygRaBaJN5yWVoC+0 1Ob6dG+JEV5BmNguMufvvI3S7nEFEnSBGpNqW3ljrRHAZjdNhv8d9GBYbj1laR1r HQ6r5+u4ZmKCuUbchS0jxGkug0DjuQC7iq+rQ/7fhLYLChkPZ4P2RxNv8ibzKjEV wlTy5LaM+WZNzKWdcHfDFMomeSnnUkOOfAMipMney2jedEjTIwCFDnP4zCAuG83V RbdXWfleP1rDto3AQ765pFneqm3+su2Dh4TKaTSnq6gd1eORJ2IL8dubCfcVwZCy TofemXPWh0HX3kwlD9IB9rqplQZFL78TkQ47btftxinHCLCQOOHRDPVG0IahQPjo pgK4yVH7WA7pWV2Xbo4ngG3sX5U1TyBCbfkkAwhq+P3gjnU8zxonx8Tk/qLeEDdH KEypi/pkGFQKZY0wc/y4XM+XQh6E1l8gMaQ4gJWK1qlyVtUKM1BiNQ2lweohYzC8 p6WAfBQLPpzY4mDWfJMF6DsgObLwWmYbgKzuOtHgST1D/Ebk3Zo= =RPuN -----END PGP SIGNATURE----- ---------------------------------------------------------------- Doug Rabson (1): bsd-user: Simplify the implementation of execve Jessica Clarke (1): bsd-user: Sync fork_start/fork_end with linux-user Stacey Son (6): bsd-user:Add CPU initialization and management functions bsd-user:Add AArch64 register handling and related functions bsd-user:Add ARM AArch64 signal handling support bsd-user:Add get_mcontext function for ARM AArch64 bsd-user:Add set_mcontext function for ARM AArch64 bsd-user:Add AArch64 improvements and signal handling functions Warner Losh (7): bsd-user:Add ARM AArch64 support and capabilities bsd-user:Add setup_sigframe_arch function for ARM AArch64 bsd-user: Hard wire aarch64 to be 4k pages only bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack bsd-user: Make compile for non-linux user-mode stuff bsd-user: Add aarch64 build to tree bsd-user: Add target.h for aarch64. bsd-user/aarch64/signal.c | 137 +++++++++++++++++ bsd-user/aarch64/target.h | 20 +++ bsd-user/aarch64/target_arch.h | 29 ++++ bsd-user/aarch64/target_arch_cpu.c | 31 ++++ bsd-user/aarch64/target_arch_cpu.h | 189 ++++++++++++++++++++++++ bsd-user/aarch64/target_arch_elf.h | 163 ++++++++++++++++++++ bsd-user/aarch64/target_arch_reg.h | 56 +++++++ bsd-user/aarch64/target_arch_signal.h | 82 ++++++++++ bsd-user/aarch64/target_arch_sigtramp.h | 48 ++++++ bsd-user/aarch64/target_arch_sysarch.h | 42 ++++++ bsd-user/aarch64/target_arch_thread.h | 61 ++++++++ bsd-user/aarch64/target_arch_vmparam.h | 74 ++++++++++ bsd-user/aarch64/target_syscall.h | 51 +++++++ bsd-user/arm/target_arch_signal.h | 2 + bsd-user/freebsd/os-proc.c | 118 +-------------- bsd-user/i386/target_arch_signal.h | 2 + bsd-user/main.c | 44 ++---- bsd-user/qemu.h | 3 + bsd-user/signal.c | 9 +- bsd-user/x86_64/target_arch_signal.h | 2 + configs/targets/aarch64-bsd-user.mak | 3 + target/arm/cpu-param.h | 4 + target/arm/gdbstub64.c | 4 + 23 files changed, 1021 insertions(+), 153 deletions(-) create mode 100644 bsd-user/aarch64/signal.c create mode 100644 bsd-user/aarch64/target.h create mode 100644 bsd-user/aarch64/target_arch.h create mode 100644 bsd-user/aarch64/target_arch_cpu.c create mode 100644 bsd-user/aarch64/target_arch_cpu.h create mode 100644 bsd-user/aarch64/target_arch_elf.h create mode 100644 bsd-user/aarch64/target_arch_reg.h create mode 100644 bsd-user/aarch64/target_arch_signal.h create mode 100644 bsd-user/aarch64/target_arch_sigtramp.h create mode 100644 bsd-user/aarch64/target_arch_sysarch.h create mode 100644 bsd-user/aarch64/target_arch_thread.h create mode 100644 bsd-user/aarch64/target_arch_vmparam.h create mode 100644 bsd-user/aarch64/target_syscall.h create mode 100644 configs/targets/aarch64-bsd-user.mak -- 2.45.1 . Date: Thu, 25 Jul 2024 16:12:10 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Hanna Reitz , Stefan Hajnoczi , qemu-block@nongnu.org, Fam Zheng , Kevin Wolf , Richard Henderson Subject: [PULL 0/1] Block patches The following changes since commit 029e13a8a56a2931e7c24c0db52ae7256b932cb0: Merge tag 'bsd-user-for-9.1-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-07-25 09:53:57 +1000) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 851495571d14fe2226c52b9d423f88a4f5460836: util/async.c: Forbid negative min/max in aio_context_set_thread_pool_params() (2024-07-25 15:57:38 -0400) ---------------------------------------------------------------- Pull request Peter's AioContext thread_pool_min/max fix ---------------------------------------------------------------- Peter Maydell (1): util/async.c: Forbid negative min/max in aio_context_set_thread_pool_params() util/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.45.2 . Date: Fri, 26 Jul 2024 09:52:33 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org Subject: [PULL 00/96] ppc-for-9.1-2 queue Apologies this is so late after soft-freeze, apologies. I was waiting on "accel/kvm: Extract common KVM vCPU {creation,parking} code" to be merged upsream then ran into last minute CI problems. This PR is very contained to ppc code so I hope it will not inconvenience anybody. Thanks, Nick The following changes since commit 029e13a8a56a2931e7c24c0db52ae7256b932cb0: Merge tag 'bsd-user-for-9.1-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-07-25 09:53:57 +1000) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.1-2-20240726-1 for you to fetch changes up to d741ecffd2ca260ce7875a4596f17736b5ccb7c3: target/ppc: Remove includes from mmu-book3s-v3.h (2024-07-26 09:51:34 +1000) ---------------------------------------------------------------- * Fixes for pseries migration bugs. * Graceful handling of vCPU hotplug failure in KVM. * Many improvements to powernv machine model. * Move more instructions to decodetree. * Most of the remaining large MMU cleanup. ---------------------------------------------------------------- Aditya Gupta (1): ppc/pnv: Update Power10's cfam id to use Power10 DD2 Akihiko Odaki (2): spapr: Free stdout path ppc/vof: Fix unaligned FDT property access BALATON Zoltan (32): target/ppc: Reorganise and rename ppc_hash32_pp_prot() target/ppc/mmu_common.c: Remove local name for a constant target/ppc/mmu_common.c: Remove single use local variable target/ppc/mmu_common.c: Remove single use local variable target/ppc/mmu_common.c: Remove another single use local variable target/ppc/mmu_common.c: Remove yet another single use local variable target/ppc/mmu_common.c: Return directly in ppc6xx_tlb_pte_check() target/ppc/mmu_common.c: Simplify ppc6xx_tlb_pte_check() target/ppc/mmu_common.c: Remove unused field from mmu_ctx_t target/ppc/mmu_common.c: Remove hash field from mmu_ctx_t target/ppc/mmu_common.c: Remove pte_update_flags() target/ppc/mmu_common.c: Remove nx field from mmu_ctx_t target/ppc/mmu_common.c: Convert local variable to bool target/ppc/mmu_common.c: Remove single use local variable target/ppc/mmu_common.c: Simplify a switch statement target/ppc/mmu_common.c: Inline and remove ppc6xx_tlb_pte_check() target/ppc/mmu_common.c: Remove ptem field from mmu_ctx_t target/ppc: Add function to get protection key for hash32 MMU target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_prot() target/ppc/mmu_common.c: Init variable in function that relies on it target/ppc/mmu_common.c: Remove key field from mmu_ctx_t target/ppc/mmu_common.c: Stop using ctx in ppc6xx_tlb_check() target/ppc/mmu_common.c: Rename function parameter target/ppc/mmu_common.c: Use defines instead of numeric constants target/ppc: Remove bat_size_prot() target/ppc/mmu_common.c: Stop using ctx in get_bat_6xx_tlb() target/ppc/mmu_common.c: Remove mmu_ctx_t target/ppc/mmu-hash32.c: Inline and remove ppc_hash32_pte_raddr() target/ppc/mmu-hash32.c: Move get_pteg_offset32() to the header target/ppc: Unexport some functions from mmu-book3s-v3.h target/ppc/mmu-radix64: Remove externally unused parts from header target/ppc: Remove includes from mmu-book3s-v3.h Chalapathi V (6): ppc/pnv: Remove ppc target dependency from pnv_xscom.h hw/ssi: Add SPI model hw/ssi: Extend SPI model hw/block: Add Microchip's 25CSM04 to m25p80 hw/ppc: SPI controller wiring to P10 chip tests/qtest: Add pnv-spi-seeprom qtest Chinmay Rath (12): target/ppc: Move VMX integer add/sub saturate insns to decodetree. target/ppc: Improve VMX integer add/sub saturate instructions. target/ppc: Move ISA300 flag check out of do_helper_XX3. target/ppc: Move VSX arithmetic and max/min insns to decodetree. target/ppc: Move VSX logical instructions to decodetree. target/ppc: Moving VSX scalar storage access insns to decodetree. target/ppc: Move VSX vector with length storage access insns to decodetree. target/ppc: Move VSX vector storage access insns to decodetree. target/ppc: Move VSX fp compare insns to decodetree. target/ppc: Move get/set_avr64 functions to vmx-impl.c.inc. target/ppc: Update VMX storage access insns to use tcg_gen_qemu_ld/st_i128. target/ppc : Update VSX storage access insns to use tcg_gen_qemu _ld/st_i128. Frederic Barrat (9): pnv/xive2: XIVE2 Cache Watch, Cache Flush and Sync Injection support pnv/xive2: Add NVG and NVC to cache watch facility pnv/xive2: Configure Virtualization Structure Tables through the PC pnv/xive2: Enable VST NVG and NVC index compression pnv/xive2: Set Translation Table for the NVC port space pnv/xive2: Fail VST entry address computation if table has no VSD pnv/xive2: Move xive2_nvp_pic_print_info() to xive2.c pnv/xive2: Refine TIMA 'info pic' output pnv/xive2: Dump more END state with 'info pic' Glenn Miles (1): ppc/pnv: Fix loss of LPC SERIRQ interrupts Harsh Prateek Bora (3): accel/kvm: Introduce kvm_create_and_park_vcpu() helper cpu-common.c: export cpu_get_free_index to be reused later target/ppc: handle vcpu hotplug failure gracefully Michael Kowal (1): pnv/xive2: Structure/define alignment changes Nicholas Piggin (24): tests/tcg: Skip failing ppc64 multi-threaded tests spapr: Migrate ail-mode-3 spapr cap ppc/pnv: Implement POWER9 LPC PSI serirq outputs and auto-clear function ppc/pnv: Begin a more complete ADU LPC model for POWER9/10 ppc/pnv: Implement ADU access to LPC space target/ppc: Fix msgsnd for POWER8 ppc/pnv: Add pointer from PnvCPUState to PnvCore ppc/pnv: Move timebase state into PnvCore target/ppc: Move SPR indirect registers into PnvCore ppc/pnv: use class attribute to limit SMT threads for different machines ppc/pnv: Extend chip_pir class method to TIR as well ppc: Add a core_index to CPUPPCState for SMT vCPUs target/ppc: Add helpers to check for SMT sibling threads ppc: Add has_smt_siblings property to CPUPPCState ppc/pnv: Add a big-core mode that joins two regular cores ppc/pnv: Add allow for big-core differences in DT generation ppc/pnv: Implement big-core PVR for Power9/10 ppc/pnv: Implement Power9 CPU core thread state indirect register ppc/pnv: Add POWER10 ChipTOD quirk for big-core ppc/pnv: Add big-core machine property ppc/pnv: Add a CPU nmi and resume function ppc/pnv: Implement POWER10 PC xscom registers for direct controls ppc/pnv: Add an LPAR per core machine option pnv/xive: Support cache flush and queue sync inject with notifications Omar Sandoval (1): target/ppc/arch_dump: set prstatus pid to cpuid Shivaprasad G Bhat (4): linux-header: PPC: KVM: Update one-reg ids for DEXCR, HASHKEYR and HASHPKEYR target/ppc/cpu_init: Synchronize DEXCR with KVM for migration target/ppc/cpu_init: Synchronize HASHKEYR with KVM for migration target/ppc/cpu_init: Synchronize HASHPKEYR with KVM for migration accel/kvm/kvm-all.c | 12 + cpu-common.c | 7 +- hw/block/m25p80.c | 3 + hw/intc/pnv_xive2.c | 566 +++++++++++++--- hw/intc/pnv_xive2_regs.h | 108 +++ hw/intc/xive.c | 12 +- hw/intc/xive2.c | 33 +- hw/ppc/Kconfig | 3 + hw/ppc/meson.build | 1 + hw/ppc/pnv.c | 389 +++++++++-- hw/ppc/pnv_adu.c | 206 ++++++ hw/ppc/pnv_chiptod.c | 7 +- hw/ppc/pnv_core.c | 127 +++- hw/ppc/pnv_lpc.c | 162 ++++- hw/ppc/pnv_xscom.c | 9 - hw/ppc/spapr.c | 1 + hw/ppc/spapr_caps.c | 1 + hw/ppc/spapr_cpu_core.c | 16 +- hw/ppc/spapr_vhyp_mmu.c | 21 +- hw/ppc/spapr_vof.c | 2 +- hw/ppc/trace-events | 4 + hw/ppc/vof.c | 2 +- hw/ssi/Kconfig | 4 + hw/ssi/meson.build | 1 + hw/ssi/pnv_spi.c | 1268 +++++++++++++++++++++++++++++++++++ hw/ssi/trace-events | 21 + include/exec/cpu-common.h | 2 + include/hw/ppc/pnv.h | 8 + include/hw/ppc/pnv_adu.h | 32 + include/hw/ppc/pnv_chip.h | 13 +- include/hw/ppc/pnv_core.h | 31 + include/hw/ppc/pnv_lpc.h | 22 +- include/hw/ppc/pnv_xscom.h | 11 +- include/hw/ppc/spapr.h | 1 + include/hw/ppc/xive2_regs.h | 9 + include/hw/ssi/pnv_spi.h | 67 ++ include/hw/ssi/pnv_spi_regs.h | 133 ++++ include/sysemu/kvm.h | 8 + linux-headers/asm-powerpc/kvm.h | 3 + target/ppc/arch_dump.c | 24 +- target/ppc/cpu.h | 45 +- target/ppc/cpu_init.c | 38 +- target/ppc/excp_helper.c | 69 +- target/ppc/fpu_helper.c | 60 +- target/ppc/helper.h | 92 +-- target/ppc/insn32.decode | 98 +++ target/ppc/int_helper.c | 22 +- target/ppc/kvm.c | 46 ++ target/ppc/mem_helper.c | 8 +- target/ppc/misc_helper.c | 111 +-- target/ppc/mmu-book3s-v3.c | 1 - target/ppc/mmu-book3s-v3.h | 43 -- target/ppc/mmu-hash32.c | 69 +- target/ppc/mmu-hash32.h | 56 +- target/ppc/mmu-hash64.c | 50 ++ target/ppc/mmu-hash64.h | 1 + target/ppc/mmu-radix64.c | 50 ++ target/ppc/mmu-radix64.h | 53 +- target/ppc/mmu_common.c | 333 ++++----- target/ppc/timebase_helper.c | 89 +-- target/ppc/translate.c | 27 +- target/ppc/translate/vmx-impl.c.inc | 290 +++++--- target/ppc/translate/vmx-ops.c.inc | 19 +- target/ppc/translate/vsx-impl.c.inc | 592 ++++++++-------- target/ppc/translate/vsx-ops.c.inc | 82 --- tests/qtest/meson.build | 1 + tests/qtest/pnv-spi-seeprom-test.c | 110 +++ tests/qtest/pnv-xscom.h | 2 +- tests/tcg/ppc64/Makefile.target | 12 + 69 files changed, 4417 insertions(+), 1402 deletions(-) create mode 100644 hw/ppc/pnv_adu.c create mode 100644 hw/ssi/pnv_spi.c create mode 100644 include/hw/ppc/pnv_adu.h create mode 100644 include/hw/ssi/pnv_spi.h create mode 100644 include/hw/ssi/pnv_spi_regs.h create mode 100644 tests/qtest/pnv-spi-seeprom-test.c .