Date: Tue, 5 Nov 2024 22:46:58 +0000 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/29] Misc HW patches for 2024-11-05 The following changes since commit 44a9394b1d272b53306d097d4bc20ff7ad14b159: Merge tag 'pull-nvme-20241104' of https://gitlab.com/birkelund/qemu into staging (2024-11-05 14:23:22 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20241105 for you to fetch changes up to ddbb025aa942a5f4db66c6b09c2c69035e51a0d2: hw/riscv/iommu: fix build error with clang (2024-11-05 22:46:39 +0000) ---------------------------------------------------------------- Misc HW patch queue - Deprecate a pair of untested microblaze big-endian machines (Philippe) - Arch-agnostic CPU topology checks at machine level (Zhao) - Cleanups on PPC E500 (Bernhard) - Various conversions to DEFINE_TYPES() macro (Bernhard) - Fix RISC-V _pext_u64() name clashing (Pierrick) ---------------------------------------------------------------- Bernhard Beschow (17): hw/ppc/e500: Prefer QOM cast hw/ppc/e500: Remove unused "irqs" parameter hw/ppc/e500: Add missing device tree properties to i2c controller node hw/ppc/mpc8544_guts: Populate POR PLL ratio status register hw/i2c/mpc_i2c: Convert DPRINTF to trace events for register access hw/i2c/mpc_i2c: Prefer DEFINE_TYPES() macro hw/pci-host/ppce500: Reuse TYPE_PPC_E500_PCI_BRIDGE define hw/pci-host/ppce500: Prefer DEFINE_TYPES() macro hw/net/fsl_etsec/miim: Reuse MII constants hw/net/fsl_etsec/etsec: Prefer DEFINE_TYPES() macro hw/gpio/mpc8xxx: Prefer DEFINE_TYPES() macro hw/ppc/mpc8544_guts: Prefer DEFINE_TYPES() macro hw/sd/sdhci: Prefer DEFINE_TYPES() macro hw/block/pflash_cfi01: Prefer DEFINE_TYPES() macro hw/i2c/smbus_eeprom: Prefer DEFINE_TYPES() macro hw/rtc/ds1338: Prefer DEFINE_TYPES() macro hw/usb/hcd-ehci-sysbus: Prefer DEFINE_TYPES() macro Philippe Mathieu-Daudé (6): target/microblaze: Rename CPU endianness property as 'little-endian' hw/microblaze: Deprecate big-endian petalogix-ml605 & xlnx-zynqmp-pmu hw/microblaze/s3adsp1800: Explicit CPU endianness hw/microblaze/s3adsp1800: Rename unimplemented MMIO region as xps_gpio hw/microblaze/s3adsp1800: Declare machine type using DEFINE_TYPES macro hw/core/machine: Add missing 'units.h' and 'error-report.h' headers Pierrick Bouvier (1): hw/riscv/iommu: fix build error with clang Zhao Liu (5): i386/cpu: Don't enumerate the "invalid" CPU topology level hw/core: Make CPU topology enumeration arch-agnostic qapi/qom: Define cache enumeration and properties for machine hw/core: Check smp cache topology support for machine hw/core: Add a helper to check the cache topology level docs/about/deprecated.rst | 6 + .../devices/microblaze-softmmu/default.mak | 2 - .../devices/microblazeel-softmmu/default.mak | 5 +- qapi/machine-common.json | 94 ++++++++++- include/hw/boards.h | 16 ++ include/hw/i386/topology.h | 22 +-- target/i386/cpu.h | 4 +- hw/block/pflash_cfi01.c | 21 +-- hw/core/machine-smp.c | 126 +++++++++++++++ hw/core/machine.c | 46 ++++++ hw/gpio/mpc8xxx.c | 22 ++- hw/i2c/mpc_i2c.c | 29 ++-- hw/i2c/smbus_eeprom.c | 19 +-- hw/i386/x86-common.c | 4 +- hw/microblaze/petalogix_ml605_mmu.c | 9 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 21 ++- hw/microblaze/xlnx-zynqmp-pmu.c | 10 +- hw/net/fsl_etsec/etsec.c | 22 ++- hw/net/fsl_etsec/miim.c | 19 +-- hw/pci-host/ppce500.c | 44 +++-- hw/ppc/e500.c | 10 +- hw/ppc/mpc8544_guts.c | 32 ++-- hw/riscv/riscv-iommu.c | 23 ++- hw/rtc/ds1338.c | 20 +-- hw/sd/sdhci.c | 62 +++---- hw/usb/hcd-ehci-sysbus.c | 118 ++++++-------- target/i386/cpu.c | 151 +++++++++--------- target/microblaze/cpu.c | 2 +- hw/i2c/trace-events | 5 + 29 files changed, 616 insertions(+), 348 deletions(-) -- 2.45.2 . Date: Tue, 5 Nov 2024 23:35:02 +0000 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL v2 00/29] Misc HW patches for 2024-11-05 The following changes since commit 44a9394b1d272b53306d097d4bc20ff7ad14b159: Merge tag 'pull-nvme-20241104' of https://gitlab.com/birkelund/qemu into staging (2024-11-05 14:23:22 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20241105 for you to fetch changes up to d37eede7a8e6ff33d21aacb41a68e63e8ffa1d60: hw/riscv/iommu: fix build error with clang (2024-11-05 23:32:25 +0000) ---------------------------------------------------------------- Misc HW patch queue - Deprecate a pair of untested microblaze big-endian machines (Philippe) - Arch-agnostic CPU topology checks at machine level (Zhao) - Cleanups on PPC E500 (Bernhard) - Various conversions to DEFINE_TYPES() macro (Bernhard) - Fix RISC-V _pext_u64() name clashing (Pierrick) ---------------------------------------------------------------- Bernhard Beschow (17): hw/ppc/e500: Prefer QOM cast hw/ppc/e500: Remove unused "irqs" parameter hw/ppc/e500: Add missing device tree properties to i2c controller node hw/ppc/mpc8544_guts: Populate POR PLL ratio status register hw/i2c/mpc_i2c: Convert DPRINTF to trace events for register access hw/i2c/mpc_i2c: Prefer DEFINE_TYPES() macro hw/pci-host/ppce500: Reuse TYPE_PPC_E500_PCI_BRIDGE define hw/pci-host/ppce500: Prefer DEFINE_TYPES() macro hw/net/fsl_etsec/miim: Reuse MII constants hw/net/fsl_etsec/etsec: Prefer DEFINE_TYPES() macro hw/gpio/mpc8xxx: Prefer DEFINE_TYPES() macro hw/ppc/mpc8544_guts: Prefer DEFINE_TYPES() macro hw/sd/sdhci: Prefer DEFINE_TYPES() macro hw/block/pflash_cfi01: Prefer DEFINE_TYPES() macro hw/i2c/smbus_eeprom: Prefer DEFINE_TYPES() macro hw/rtc/ds1338: Prefer DEFINE_TYPES() macro hw/usb/hcd-ehci-sysbus: Prefer DEFINE_TYPES() macro Philippe Mathieu-Daudé (6): target/microblaze: Alias CPU endianness property as 'little-endian' hw/microblaze: Deprecate big-endian petalogix-ml605 & xlnx-zynqmp-pmu hw/microblaze/s3adsp1800: Explicit CPU endianness hw/microblaze/s3adsp1800: Rename unimplemented MMIO region as xps_gpio hw/microblaze/s3adsp1800: Declare machine type using DEFINE_TYPES macro hw/core/machine: Add missing 'units.h' and 'error-report.h' headers Pierrick Bouvier (1): hw/riscv/iommu: fix build error with clang Zhao Liu (5): i386/cpu: Don't enumerate the "invalid" CPU topology level hw/core: Make CPU topology enumeration arch-agnostic qapi/qom: Define cache enumeration and properties for machine hw/core: Check smp cache topology support for machine hw/core: Add a helper to check the cache topology level docs/about/deprecated.rst | 6 + .../devices/microblaze-softmmu/default.mak | 2 - .../devices/microblazeel-softmmu/default.mak | 5 +- qapi/machine-common.json | 94 ++++++++++- include/hw/boards.h | 16 ++ include/hw/i386/topology.h | 22 +-- target/i386/cpu.h | 4 +- hw/block/pflash_cfi01.c | 21 +-- hw/core/machine-smp.c | 126 +++++++++++++++ hw/core/machine.c | 46 ++++++ hw/gpio/mpc8xxx.c | 22 ++- hw/i2c/mpc_i2c.c | 29 ++-- hw/i2c/smbus_eeprom.c | 19 +-- hw/i386/x86-common.c | 4 +- hw/microblaze/petalogix_ml605_mmu.c | 9 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 21 ++- hw/microblaze/xlnx-zynqmp-pmu.c | 10 +- hw/net/fsl_etsec/etsec.c | 22 ++- hw/net/fsl_etsec/miim.c | 19 +-- hw/pci-host/ppce500.c | 44 +++-- hw/ppc/e500.c | 10 +- hw/ppc/mpc8544_guts.c | 32 ++-- hw/riscv/riscv-iommu.c | 23 ++- hw/rtc/ds1338.c | 20 +-- hw/sd/sdhci.c | 62 +++---- hw/usb/hcd-ehci-sysbus.c | 118 ++++++-------- target/i386/cpu.c | 151 +++++++++--------- target/microblaze/cpu.c | 10 ++ hw/i2c/trace-events | 5 + 29 files changed, 625 insertions(+), 347 deletions(-) -- 2.45.2 . Date: Wed, 6 Nov 2024 15:57:19 +1100 From: Alexey Kardashevskiy To: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Cc: Alexey Kardashevskiy , qemu-devel@nongnu.org, qemu-ppc@nongnu.org Subject: [PULL SUBSYSTEM qemu-pseries] pseries: Update SLOF firmware image The following changes since commit bd4be4d9bd20a252e677239a18b6409ecee98f56: MAINTAINERS: Remove myself as reviewer (2024-11-04 10:09:36 +1000) are available in the Git repository at: git@github.com:aik/qemu.git tags/qemu-slof-20241106 for you to fetch changes up to 3866b650d567f79e78d6bd35cb9b7143258da052: pseries: Update SLOF firmware image (2024-11-06 15:40:53 +1100) ---------------------------------------------------------------- Alexey Kardashevskiy (1): pseries: Update SLOF firmware image pc-bios/README | 4 ++-- pc-bios/slof.bin | Bin 995000 -> 996184 bytes roms/SLOF | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) *** Note: this is not for master, this is for pseries This adds TPM pass through API. Also, moves SLOF from github to gitlab: the idea is to make SLOF a proper QEMU subproject but I am not quite sure what this means. Do I push changes to https://gitlab.com/qemu-project/SLOF.git [1] ? Or I push to https://gitlab.com/slof/slof [2] and someone then configures that sync script to pull [2] and push to [1]? Or something else entirely? Thanks, . Date: Wed, 6 Nov 2024 19:03:24 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 00/39] Rust changes for QEMU 9.2 soft freeze The following changes since commit 11b8920ed2093848f79f93d106afe8a69a61a523: Merge tag 'pull-request-2024-11-04' of https://gitlab.com/thuth/qemu into staging (2024-11-04 17:37:59 +0000) are available in the Git repository at: tags/for-upstream-rust for you to fetch changes up to 951f71ad67bd474aba6925529daf45b747aac86e: dockerfiles: install bindgen from cargo on Ubuntu 22.04 (2024-11-06 17:12:17 +0100) ---------------------------------------------------------------- v1->v2: wrap bindgen check with "if have_rust" drop ci enablement Junjie Mao (1): rust: introduce alternative implementation of offset_of! Manos Pitsidianakis (9): rust/wrapper.h: define memory_order enum Revert "rust: add PL011 device model" rust: add PL011 device model rust: add definitions for vmstate rust/pl011: add support for migration rust/pl011: move CLK_NAME static to function scope rust/pl011: add TYPE_PL011_LUMINARY device rust/pl011: remove commented out C code rust/pl011: Use correct masks for IBRD and FBRD Paolo Bonzini (29): qdev: make properties array "const" meson: import rust module into a global variable meson: remove repeated search for rust_root_crate.sh meson: pass rustc_args when building all crates rust: do not always select X_PL011_RUST rust: do not use --no-size_t-is-usize rust: remove uses of #[no_mangle] rust: modernize link_section usage for ELF platforms rust: build integration test for the qemu_api crate rust: cleanup module_init!, use it from #[derive(Object)] rust: clean up define_property macro rust: make properties array immutable rust: provide safe wrapper for MaybeUninit::zeroed() rust: do not use TYPE_CHARDEV unnecessarily rust/pl011: fix default value for migrate-clock rust: patch bilge-impl to allow compilation with 1.63.0 rust: fix cfgs of proc-macro2 for 1.63.0 rust: use std::os::raw instead of core::ffi rust: introduce a c_str macro rust: silence unknown warnings for the sake of old compilers rust: synchronize dependencies between subprojects and Cargo.lock rust: create a cargo workspace rust: do not use MaybeUninit::zeroed() rust: clean up detection of the language rust: allow version 1.63.0 of rustc rust: do not use --generate-cstr rust: allow older version of bindgen rust: make rustfmt optional dockerfiles: install bindgen from cargo on Ubuntu 22.04 docs/about/build-platforms.rst | 12 + meson.build | 137 +++++--- include/hw/qdev-core.h | 4 +- include/hw/qdev-properties.h | 4 +- rust/wrapper.h | 17 + hw/core/qdev-properties.c | 26 +- system/qdev-monitor.c | 2 +- .gitattributes | 2 + .gitlab-ci.d/buildtest.yml | 2 +- meson_options.txt | 2 + rust/{hw/char/pl011 => }/Cargo.lock | 4 + rust/Cargo.toml | 7 + rust/hw/char/Kconfig | 1 - rust/hw/char/pl011/Cargo.toml | 3 - rust/hw/char/pl011/src/device.rs | 162 +++++++--- rust/hw/char/pl011/src/device_class.rs | 80 ++++- rust/hw/char/pl011/src/lib.rs | 6 +- rust/hw/char/pl011/src/memory_ops.rs | 24 +- rust/qemu-api-macros/Cargo.lock | 47 --- rust/qemu-api-macros/Cargo.toml | 5 +- rust/qemu-api-macros/meson.build | 2 +- rust/qemu-api-macros/src/lib.rs | 103 ++++-- rust/qemu-api/Cargo.lock | 7 - rust/qemu-api/Cargo.toml | 10 +- rust/qemu-api/build.rs | 9 + rust/qemu-api/meson.build | 44 ++- rust/qemu-api/src/c_str.rs | 53 +++ rust/qemu-api/src/definitions.rs | 68 ++-- rust/qemu-api/src/device_class.rs | 114 ++----- rust/qemu-api/src/lib.rs | 23 +- rust/qemu-api/src/offset_of.rs | 161 +++++++++ rust/qemu-api/src/tests.rs | 49 --- rust/qemu-api/src/vmstate.rs | 360 +++++++++++++++++++++ rust/qemu-api/src/zeroable.rs | 86 +++++ rust/qemu-api/tests/tests.rs | 79 +++++ scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 1 - scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 1 - scripts/meson-buildoptions.sh | 4 + subprojects/bilge-impl-0.2-rs.wrap | 1 + subprojects/packagefiles/bilge-impl-1.63.0.patch | 45 +++ .../packagefiles/proc-macro2-1-rs/meson.build | 4 +- subprojects/packagefiles/syn-2-rs/meson.build | 1 + tests/docker/dockerfiles/ubuntu2204.docker | 6 +- tests/lcitool/mappings.yml | 4 + tests/lcitool/refresh | 11 +- 45 files changed, 1379 insertions(+), 414 deletions(-) rename rust/{hw/char/pl011 => }/Cargo.lock (98%) create mode 100644 rust/Cargo.toml delete mode 100644 rust/qemu-api-macros/Cargo.lock delete mode 100644 rust/qemu-api/Cargo.lock create mode 100644 rust/qemu-api/src/c_str.rs create mode 100644 rust/qemu-api/src/offset_of.rs delete mode 100644 rust/qemu-api/src/tests.rs create mode 100644 rust/qemu-api/src/vmstate.rs create mode 100644 rust/qemu-api/src/zeroable.rs create mode 100644 rust/qemu-api/tests/tests.rs create mode 100644 subprojects/packagefiles/bilge-impl-1.63.0.patch -- 2.47.0 . Date: Wed, 6 Nov 2024 19:07:41 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v3 00/39] Rust changes for QEMU 9.2 soft freeze The following changes since commit 11b8920ed2093848f79f93d106afe8a69a61a523: Merge tag 'pull-request-2024-11-04' of https://gitlab.com/thuth/qemu into staging (2024-11-04 17:37:59 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream-rust for you to fetch changes up to 951f71ad67bd474aba6925529daf45b747aac86e: dockerfiles: install bindgen from cargo on Ubuntu 22.04 (2024-11-06 17:12:17 +0100) ---------------------------------------------------------------- * rust: cleanups * rust: integration tests * rust/pl011: add support for migration * rust/pl011: add TYPE_PL011_LUMINARY device * rust: add support for older compilers and bindgen ---------------------------------------------------------------- v1->v2: wrap bindgen check with "if have_rust" drop ci enablement v2->v3: fix formatting of pull request Junjie Mao (1): rust: introduce alternative implementation of offset_of! Manos Pitsidianakis (9): rust/wrapper.h: define memory_order enum Revert "rust: add PL011 device model" rust: add PL011 device model rust: add definitions for vmstate rust/pl011: add support for migration rust/pl011: move CLK_NAME static to function scope rust/pl011: add TYPE_PL011_LUMINARY device rust/pl011: remove commented out C code rust/pl011: Use correct masks for IBRD and FBRD Paolo Bonzini (29): qdev: make properties array "const" meson: import rust module into a global variable meson: remove repeated search for rust_root_crate.sh meson: pass rustc_args when building all crates rust: do not always select X_PL011_RUST rust: do not use --no-size_t-is-usize rust: remove uses of #[no_mangle] rust: modernize link_section usage for ELF platforms rust: build integration test for the qemu_api crate rust: cleanup module_init!, use it from #[derive(Object)] rust: clean up define_property macro rust: make properties array immutable rust: provide safe wrapper for MaybeUninit::zeroed() rust: do not use TYPE_CHARDEV unnecessarily rust/pl011: fix default value for migrate-clock rust: patch bilge-impl to allow compilation with 1.63.0 rust: fix cfgs of proc-macro2 for 1.63.0 rust: use std::os::raw instead of core::ffi rust: introduce a c_str macro rust: silence unknown warnings for the sake of old compilers rust: synchronize dependencies between subprojects and Cargo.lock rust: create a cargo workspace rust: do not use MaybeUninit::zeroed() rust: clean up detection of the language rust: allow version 1.63.0 of rustc rust: do not use --generate-cstr rust: allow older version of bindgen rust: make rustfmt optional dockerfiles: install bindgen from cargo on Ubuntu 22.04 docs/about/build-platforms.rst | 12 + meson.build | 137 +++++--- include/hw/qdev-core.h | 4 +- include/hw/qdev-properties.h | 4 +- rust/wrapper.h | 17 + hw/core/qdev-properties.c | 26 +- system/qdev-monitor.c | 2 +- .gitattributes | 2 + .gitlab-ci.d/buildtest.yml | 2 +- meson_options.txt | 2 + rust/{hw/char/pl011 => }/Cargo.lock | 4 + rust/Cargo.toml | 7 + rust/hw/char/Kconfig | 1 - rust/hw/char/pl011/Cargo.toml | 3 - rust/hw/char/pl011/src/device.rs | 162 +++++++--- rust/hw/char/pl011/src/device_class.rs | 80 ++++- rust/hw/char/pl011/src/lib.rs | 6 +- rust/hw/char/pl011/src/memory_ops.rs | 24 +- rust/qemu-api-macros/Cargo.lock | 47 --- rust/qemu-api-macros/Cargo.toml | 5 +- rust/qemu-api-macros/meson.build | 2 +- rust/qemu-api-macros/src/lib.rs | 103 ++++-- rust/qemu-api/Cargo.lock | 7 - rust/qemu-api/Cargo.toml | 10 +- rust/qemu-api/build.rs | 9 + rust/qemu-api/meson.build | 44 ++- rust/qemu-api/src/c_str.rs | 53 +++ rust/qemu-api/src/definitions.rs | 68 ++-- rust/qemu-api/src/device_class.rs | 114 ++----- rust/qemu-api/src/lib.rs | 23 +- rust/qemu-api/src/offset_of.rs | 161 +++++++++ rust/qemu-api/src/tests.rs | 49 --- rust/qemu-api/src/vmstate.rs | 360 +++++++++++++++++++++ rust/qemu-api/src/zeroable.rs | 86 +++++ rust/qemu-api/tests/tests.rs | 79 +++++ scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 1 - scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 1 - scripts/meson-buildoptions.sh | 4 + subprojects/bilge-impl-0.2-rs.wrap | 1 + subprojects/packagefiles/bilge-impl-1.63.0.patch | 45 +++ .../packagefiles/proc-macro2-1-rs/meson.build | 4 +- subprojects/packagefiles/syn-2-rs/meson.build | 1 + tests/docker/dockerfiles/ubuntu2204.docker | 6 +- tests/lcitool/mappings.yml | 4 + tests/lcitool/refresh | 11 +- 45 files changed, 1379 insertions(+), 414 deletions(-) rename rust/{hw/char/pl011 => }/Cargo.lock (98%) create mode 100644 rust/Cargo.toml delete mode 100644 rust/qemu-api-macros/Cargo.lock delete mode 100644 rust/qemu-api/Cargo.lock create mode 100644 rust/qemu-api/src/c_str.rs create mode 100644 rust/qemu-api/src/offset_of.rs delete mode 100644 rust/qemu-api/src/tests.rs create mode 100644 rust/qemu-api/src/vmstate.rs create mode 100644 rust/qemu-api/src/zeroable.rs create mode 100644 rust/qemu-api/tests/tests.rs create mode 100644 subprojects/packagefiles/bilge-impl-1.63.0.patch -- 2.47.0 . Date: Thu, 7 Nov 2024 14:10:04 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/12] riscv-to-apply queue The following changes since commit 63dc36944383f70f1c7a20f6104966d8560300fa: Merge tag 'hw-misc-20241105' of https://github.com/philmd/qemu into staging (2024-11-06 17:28:45 +0000) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20241107 for you to fetch changes up to 27652f9ca9d831c67dd447346c6ee953669255f0: tests/functional: Convert the RV32-on-RV64 riscv test (2024-11-07 13:12:58 +1000) ---------------------------------------------------------------- RISC-V PR for 9.2 * Fix broken SiFive UART on big endian hosts * Fix IOMMU Coverity issues * Improve the performance of vector unit-stride/whole register ld/st instructions * Update kvm exts to Linux v6.11 * Convert the RV32-on-RV64 riscv test ---------------------------------------------------------------- Daniel Henrique Barboza (2): hw/riscv/riscv-iommu: change 'depth' to int hw/riscv/riscv-iommu: fix riscv_iommu_validate_process_ctx() check Max Chou (7): target/riscv: Set vdata.vm field for vector load/store whole register instructions target/riscv: rvv: Replace VSTART_CHECK_EARLY_EXIT in vext_ldst_us target/riscv: rvv: Provide a fast path using direct access to host ram for unmasked unit-stride load/store target/riscv: rvv: Provide a fast path using direct access to host ram for unit-stride whole register load/store target/riscv: rvv: Provide a fast path using direct access to host ram for unit-stride load-only-first load instructions target/riscv: rvv: Provide group continuous ld/st flow for unit-stride ld/st instructions target/riscv: Inline unit-stride ld/st and corresponding functions for performance Quan Zhou (1): target/riscv/kvm: Update kvm exts to Linux v6.11 Thomas Huth (2): hw/char/sifive_uart: Fix broken UART on big endian hosts tests/functional: Convert the RV32-on-RV64 riscv test hw/char/sifive_uart.c | 3 +- hw/riscv/riscv-iommu.c | 4 +- target/riscv/kvm/kvm-cpu.c | 7 + target/riscv/vector_helper.c | 598 +++++++++++++++++++++----------- target/riscv/insn_trans/trans_rvv.c.inc | 3 + tests/avocado/tuxrun_baselines.py | 16 - tests/functional/test_riscv64_tuxrun.py | 13 + 7 files changed, 424 insertions(+), 220 deletions(-) . Date: Thu, 7 Nov 2024 12:39:58 +0200 From: Konstantin Kostiuk To: qemu-devel@nongnu.org, Peter Maydell , Stefan Hajnoczi , Richard Henderson Subject: [PULL 0/3] QGA fixes for guest_network_get_route command for 9.2 The following changes since commit f15f7273ea55472d5904c53566c82369d81214c1: Merge tag 'pull-target-arm-20241105' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-11-05 21:27:18 +0000) are available in the Git repository at: https://github.com/kostyanf14/qemu.git tags/qga-pull-2024-11-07 for you to fetch changes up to 5ab1c032e6eea810142eb918c57222464482756f: qemu-ga: Avoiding freeing line prematurely (2024-11-07 12:28:20 +0200) ---------------------------------------------------------------- qga-pull-2024-11-07 ---------------------------------------------------------------- Dehan Meng (3): qemu-ga: Add 'Null' check and Redefine 'route' qemu-ga: Optimize var declaration and definition qemu-ga: Avoiding freeing line prematurely qga/commands-linux.c | 136 +++++++++++++++++++++++++-------------------------- 1 file changed, 66 insertions(+), 70 deletions(-) -- 2.47.0 . Date: Thu, 7 Nov 2024 08:15:38 -0500 From: Stefan Berger To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Stefan Berger Subject: [PULL v1 0/1] Merge Aspeed TPM test 2024/11/07 v1 Hello! This PR fixes the path used by swtpm to store its state and now uses a path under /var/tmp rather than a path local to the test. We ran into issues on Ubuntu when that path was under /mnt and therefore not supported by the AppArmor profile of swtpm. Stefan The following changes since commit 63dc36944383f70f1c7a20f6104966d8560300fa: Merge tag 'hw-misc-20241105' of https://github.com/philmd/qemu into staging (2024-11-06 17:28:45 +0000) are available in the Git repository at: https://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2024-11-07-1 for you to fetch changes up to 0736038408308012ed34aa2135ea3b458d9cff41: tests: Adjust path for swtpm state to use path under /var/tmp/ (2024-11-07 07:58:04 -0500) Stefan Berger (1): tests: Adjust path for swtpm state to use path under /var/tmp/ tests/functional/test_arm_aspeed.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.47.0 . Date: Thu, 7 Nov 2024 10:05:33 -0500 From: Stefan Berger To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Stefan Berger Subject: [PULL v2 0/1] Merge Aspeed TPM test 2024/11/07 v2 Hello! This PR fixes the path used by swtpm to store its state and now uses a path under /var/tmp rather than a path local to the test. We ran into issues on Ubuntu when that path was under /mnt and therefore not supported by the AppArmor profile of swtpm. Stefan The following changes since commit 63dc36944383f70f1c7a20f6104966d8560300fa: Merge tag 'hw-misc-20241105' of https://github.com/philmd/qemu into staging (2024-11-06 17:28:45 +0000) are available in the Git repository at: https://github.com/stefanberger/qemu-tpm.git pull-tpm-2024-11-07-2 for you to fetch changes up to e3edada526f3ac28f71dc8ae7a0acbc76f8e2050: tests: Adjust path for swtpm state to use path under /var/tmp/ (2024-11-07 09:57:20 -0500) v2: - Added missing comment into test file; generalized it a bit from Peter's suggestion Stefan Berger (1): tests: Adjust path for swtpm state to use path under /var/tmp/ tests/functional/test_arm_aspeed.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.47.0 . Date: Fri, 8 Nov 2024 09:16:18 +0100 From: Klaus Jensen To: qemu-devel@nongnu.org Cc: Peter Maydell , Klaus Jensen Subject: [PULL 0/1] nvme queue From: Klaus Jensen Hi, The following changes since commit feef1866d1366d651e6a3cb8c9cf1a9aabb81395: Merge tag 'pull-riscv-to-apply-20241107' of https://github.com/alistair23/qemu into staging (2024-11-07 15:08:05 +0000) are available in the Git repository at: https://gitlab.com/birkelund/qemu.git tags/pull-nvme-20241108 for you to fetch changes up to 9529aa6bb4d18763f5b4704cb4198bd25cbbee31: hw/nvme: fix handling of over-committed queues (2024-11-08 09:14:30 +0100) ---------------------------------------------------------------- nvme queue ---------------------------------------------------------------- Klaus Jensen (1): hw/nvme: fix handling of over-committed queues hw/nvme/ctrl.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) . Date: Fri, 08 Nov 2024 10:56:43 +0100 From: Christian Schoenebeck To: qemu-devel@nongnu.org, Peter Maydell Cc: qemu-stable@nongnu.org, Greg Kurz , Akihiro Suda , jan.dubois@suse.com, anders.f.bjorklund@gmail.com, Balaji Vijayakumar Subject: [PULL for-9.2 0/1] 9p queue 2024-11-08 The following changes since commit feef1866d1366d651e6a3cb8c9cf1a9aabb81395: Merge tag 'pull-riscv-to-apply-20241107' of https://github.com/alistair23/qemu into staging (2024-11-07 15:08:05 +0000) are available in the Git repository at: https://github.com/cschoenebeck/qemu.git tags/pull-9p-20241108 for you to fetch changes up to 042b4ebfd2298ae01553844124f27d651cdb1071: 9pfs: fix crash on 'Treaddir' request (2024-11-08 10:38:12 +0100) ---------------------------------------------------------------- * Fix crash with a bad 9p client. ---------------------------------------------------------------- Christian Schoenebeck (1): 9pfs: fix crash on 'Treaddir' request hw/9pfs/9p.c | 5 +++++ 1 file changed, 5 insertions(+) . Date: Fri, 8 Nov 2024 11:43:00 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/10] Functional test fixes & next-cube cleanup Hi Peter! The following changes since commit feef1866d1366d651e6a3cb8c9cf1a9aabb81395: Merge tag 'pull-riscv-to-apply-20241107' of https://github.com/alistair23/qemu into staging (2024-11-07 15:08:05 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-11-08 for you to fetch changes up to e7e76150a2e9642adf6763bcd8ca9a2a5d3b74b3: ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function (2024-11-08 11:06:42 +0100) ---------------------------------------------------------------- * Various fixes and improvements for the functional tests * Refresh CI container files with the latest changes from libvirt-ci * Clean up keyboard code of the next-cube machine to get rid of a legacy API (I know, the kbd patches are a little bit borderline for soft-freeze already, but since the next-cube machine is experimental anyway, I still opted for including them here) ---------------------------------------------------------------- Cédric Le Goater (1): test/functional: Fix Aspeed buildroot tests Daniel P. Berrangé (1): tests: refresh package lists with latest libvirt-ci Mark Cave-Ayland (2): next-kbd: convert to use qemu_input_handler_register() ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function Phil Dennis-Jordan (1): scripts/checkpatch.pl: Ignore ObjC #import lines for operator spacing Thomas Huth (5): tests/functional: Convert the riscv_opensbi avocado test into a standalone test tests/functional: Fix the ppc64_hv and the ppc_40p test for read-only assets tests/functional: Provide the user with hints where to find more log files tests/functional: Bump timeouts of functional tests tests/functional: Split the test_aarch64_sbsaref test MAINTAINERS | 3 +- include/ui/console.h | 2 - hw/m68k/next-kbd.c | 158 +++++++++++++------- ui/input-legacy.c | 37 ----- .gitlab-ci.d/cirrus/freebsd-14.vars | 2 +- scripts/checkpatch.pl | 2 +- tests/avocado/riscv_opensbi.py | 63 -------- tests/docker/dockerfiles/debian-amd64-cross.docker | 8 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 8 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 8 +- tests/docker/dockerfiles/debian-i686-cross.docker | 8 +- .../dockerfiles/debian-mips64el-cross.docker | 7 +- .../docker/dockerfiles/debian-mipsel-cross.docker | 8 +- .../docker/dockerfiles/debian-ppc64el-cross.docker | 8 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 8 +- tests/docker/dockerfiles/fedora-win64-cross.docker | 4 +- tests/functional/meson.build | 41 ++++-- tests/functional/qemu_test/testcase.py | 18 ++- tests/functional/test_aarch64_sbsaref.py | 159 +++++---------------- tests/functional/test_aarch64_sbsaref_alpine.py | 64 +++++++++ tests/functional/test_aarch64_sbsaref_freebsd.py | 66 +++++++++ tests/functional/test_arm_aspeed.py | 2 +- tests/functional/test_ppc64_hv.py | 3 +- tests/functional/test_ppc_40p.py | 3 +- tests/functional/test_riscv_opensbi.py | 36 +++++ tests/lcitool/libvirt-ci | 2 +- tests/lcitool/mappings.yml | 3 + tests/vm/generated/freebsd.json | 2 +- 28 files changed, 392 insertions(+), 341 deletions(-) delete mode 100644 tests/avocado/riscv_opensbi.py create mode 100755 tests/functional/test_aarch64_sbsaref_alpine.py create mode 100755 tests/functional/test_aarch64_sbsaref_freebsd.py mode change 100644 => 100755 tests/functional/test_arm_aspeed.py create mode 100755 tests/functional/test_riscv_opensbi.py . Date: Fri, 8 Nov 2024 18:38:15 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/13] (Almost entirely) bugfix changes for QEMU 9.2 hard freeze The following changes since commit a1dacb66915eb7d08a0596cc97068a37c39930d3: Merge tag 'for-upstream-rust' of https://gitlab.com/bonzini/qemu into staging (2024-11-06 21:27:47 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 37d729ee75fd035b1a8995b51b4e0d182c909c0b: hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus (2024-11-08 09:24:52 +0100) ---------------------------------------------------------------- * i386: fix -M isapc with ubsan * i386: add sha512, sm3, sm4 feature bits * eif: fix Coverity issues * i386/hvf: x2APIC support * i386/hvf: fixes * i386/tcg: fix 2-stage page walk * eif: fix coverity issues * rust: fix subproject warnings with new rust, avoid useless cmake fallback ---------------------------------------------------------------- The x2APIC support is not a bugfix, but it's small and it was posted well in advance of soft freeze. Paolo Alexander Graf (1): target/i386: Fix legacy page table walk Paolo Bonzini (5): target/i386: add sha512, sm3, sm4 feature bits rust: add meson_version to all subprojects eif: cope with huge section offsets eif: cope with huge section sizes rust: qemu-api-macros: always process subprojects before dependencies Peter Maydell (1): hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus Phil Dennis-Jordan (5): i386/hvf: Integrates x2APIC support with hvf accel i386/hvf: Fix for UB in handling CPUID function 0xD i386/hvf: Fixes startup memory leak (vmcs caps) i386/hvf: Raise exception on error setting APICBASE i386/hvf: Removes duplicate/shadowed variables in hvf_vcpu_exec Pierrick Bouvier (1): target/i386/hvf: fix clang compilation warning include/qemu/osdep.h | 4 ++ target/i386/cpu.h | 1 + hw/core/eif.c | 52 +++++++++++++++++++--- hw/i386/pc.c | 4 +- target/i386/cpu.c | 2 +- target/i386/hvf/hvf.c | 7 ++- target/i386/hvf/x86_cpuid.c | 8 ++-- target/i386/hvf/x86_emu.c | 42 ++++++++++++++++- target/i386/tcg/seg_helper.c | 2 +- target/i386/tcg/sysemu/excp_helper.c | 2 +- rust/qemu-api-macros/meson.build | 4 ++ .../packagefiles/arbitrary-int-1-rs/meson.build | 1 + subprojects/packagefiles/bilge-0.2-rs/meson.build | 1 + .../packagefiles/bilge-impl-0.2-rs/meson.build | 1 + subprojects/packagefiles/either-1-rs/meson.build | 1 + .../packagefiles/itertools-0.11-rs/meson.build | 1 + .../packagefiles/proc-macro-error-1-rs/meson.build | 1 + .../proc-macro-error-attr-1-rs/meson.build | 1 + .../packagefiles/proc-macro2-1-rs/meson.build | 1 + subprojects/packagefiles/quote-1-rs/meson.build | 1 + subprojects/packagefiles/syn-2-rs/meson.build | 1 + .../packagefiles/unicode-ident-1-rs/meson.build | 1 + 22 files changed, 118 insertions(+), 21 deletions(-) -- 2.47.0 . Date: Sat, 9 Nov 2024 08:35:54 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 00/13] (Almost entirely) bugfix changes for QEMU 9.2 hard freeze The following changes since commit a1dacb66915eb7d08a0596cc97068a37c39930d3: Merge tag 'for-upstream-rust' of https://gitlab.com/bonzini/qemu into staging (2024-11-06 21:27:47 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to bd0e501e1a4813fa36a4cf9842aaf430323a03c3: hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus (2024-11-09 08:34:07 +0100) ---------------------------------------------------------------- * i386: fix -M isapc with ubsan * i386: add sha512, sm3, sm4 feature bits * eif: fix Coverity issues * i386/hvf: x2APIC support * i386/hvf: fixes * i386/tcg: fix 2-stage page walk * eif: fix coverity issues * rust: fix subproject warnings with new rust, avoid useless cmake fallback ---------------------------------------------------------------- Alexander Graf (1): target/i386: Fix legacy page table walk Paolo Bonzini (5): target/i386: add sha512, sm3, sm4 feature bits rust: add meson_version to all subprojects eif: cope with huge section offsets eif: cope with huge section sizes rust: qemu-api-macros: always process subprojects before dependencies Peter Maydell (1): hw/i386/pc: Don't try to init PCI NICs if there is no PCI bus Phil Dennis-Jordan (5): i386/hvf: Integrates x2APIC support with hvf accel i386/hvf: Fix for UB in handling CPUID function 0xD i386/hvf: Fixes startup memory leak (vmcs caps) i386/hvf: Raise exception on error setting APICBASE i386/hvf: Removes duplicate/shadowed variables in hvf_vcpu_exec Pierrick Bouvier (1): target/i386/hvf: fix clang compilation warning include/qemu/osdep.h | 4 ++ target/i386/cpu.h | 1 + hw/core/eif.c | 52 +++++++++++++++++++--- hw/i386/pc.c | 4 +- target/i386/cpu.c | 2 +- target/i386/hvf/hvf.c | 7 ++- target/i386/hvf/x86_cpuid.c | 8 ++-- target/i386/hvf/x86_emu.c | 42 ++++++++++++++++- target/i386/tcg/seg_helper.c | 2 +- target/i386/tcg/sysemu/excp_helper.c | 2 +- rust/qemu-api-macros/meson.build | 4 ++ .../packagefiles/arbitrary-int-1-rs/meson.build | 1 + subprojects/packagefiles/bilge-0.2-rs/meson.build | 1 + .../packagefiles/bilge-impl-0.2-rs/meson.build | 1 + subprojects/packagefiles/either-1-rs/meson.build | 1 + .../packagefiles/itertools-0.11-rs/meson.build | 1 + .../packagefiles/proc-macro-error-1-rs/meson.build | 1 + .../proc-macro-error-attr-1-rs/meson.build | 1 + .../packagefiles/proc-macro2-1-rs/meson.build | 1 + subprojects/packagefiles/quote-1-rs/meson.build | 1 + subprojects/packagefiles/syn-2-rs/meson.build | 1 + .../packagefiles/unicode-ident-1-rs/meson.build | 1 + 22 files changed, 118 insertions(+), 21 deletions(-) -- 2.47.0 .