Date: Wed, 24 Jan 2024 11:42:24 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 0/7] Test timeout fixes and URI code clean up Hi Peter! The following changes since commit 09be34717190c1620f0c6e5c8765b8da354aeb4b: Merge tag 'pull-request-2024-01-19' of https://gitlab.com/thuth/qemu into staging (2024-01-20 17:22:16 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-01-24 for you to fetch changes up to e7b991451eecb58af34d6d3d17209e97f5e97f96: util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM() (2024-01-24 09:54:05 +0100) ---------------------------------------------------------------- * Test timeout fixes * Clean up URI code ---------------------------------------------------------------- Thomas Huth (7): tests/qtest: Bump timeout of the boot-serial-test to 360 seconds tests/unit/test-iov: Fix timeout problem on NetBSD and OpenBSD tests/qtest: Bump timeouts of boot_sector_test()-based tests to 610 seconds util/uri: Remove uri_string_unescape() util/uri: Remove unused functions uri_resolve() and uri_resolve_relative() util/uri: Remove the uri_string_escape() function util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM() include/qemu/uri.h | 4 - tests/unit/test-iov.c | 20 +- util/uri.c | 869 +----------------------------------------------- tests/qtest/meson.build | 8 +- 4 files changed, 27 insertions(+), 874 deletions(-) . Date: Thu, 25 Jan 2024 15:13:16 +0800 From: Song Gao To: Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org Subject: [PULL 0/2] loongarch-to-apply queue The following changes since commit 4a4efae44f19528589204581e9e2fab69c5d39aa: Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging (2024-01-23 13:40:45 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240125 for you to fetch changes up to fc70099621fe7002d30fc1509456d1ae57264aa6: target/loongarch/kvm: Enable LSX/LASX extension (2024-01-25 15:25:31 +0800) ---------------------------------------------------------------- pull-loongarch-20240125 ---------------------------------------------------------------- Bibo Mao (1): target/loongarch: Set cpuid CSR register only once with kvm mode Song Gao (1): target/loongarch/kvm: Enable LSX/LASX extension linux-headers/asm-loongarch/kvm.h | 1 + target/loongarch/kvm/kvm.c | 54 +++++++++++++++++++++++++++++++-------- 2 files changed, 45 insertions(+), 10 deletions(-) . Date: Thu, 25 Jan 2024 15:15:17 +0800 From: Song Gao To: Cc: qemu-devel@nongnu.org, peter.maydell@linaro.org Subject: [PULL 0/2] loongarch-to-apply queue The following changes since commit 4a4efae44f19528589204581e9e2fab69c5d39aa: Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging (2024-01-23 13:40:45 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240125 for you to fetch changes up to fc70099621fe7002d30fc1509456d1ae57264aa6: target/loongarch/kvm: Enable LSX/LASX extension (2024-01-25 15:25:31 +0800) ---------------------------------------------------------------- pull-loongarch-20240125 ---------------------------------------------------------------- Bibo Mao (1): target/loongarch: Set cpuid CSR register only once with kvm mode Song Gao (1): target/loongarch/kvm: Enable LSX/LASX extension linux-headers/asm-loongarch/kvm.h | 1 + target/loongarch/kvm/kvm.c | 54 +++++++++++++++++++++++++++++++-------- 2 files changed, 45 insertions(+), 10 deletions(-) . Date: Thu, 25 Jan 2024 15:15:35 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/2] loongarch-to-apply queue The following changes since commit 4a4efae44f19528589204581e9e2fab69c5d39aa: Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging (2024-01-23 13:40:45 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240125 for you to fetch changes up to fc70099621fe7002d30fc1509456d1ae57264aa6: target/loongarch/kvm: Enable LSX/LASX extension (2024-01-25 15:25:31 +0800) ---------------------------------------------------------------- pull-loongarch-20240125 ---------------------------------------------------------------- Bibo Mao (1): target/loongarch: Set cpuid CSR register only once with kvm mode Song Gao (1): target/loongarch/kvm: Enable LSX/LASX extension linux-headers/asm-loongarch/kvm.h | 1 + target/loongarch/kvm/kvm.c | 54 +++++++++++++++++++++++++++++++-------- 2 files changed, 45 insertions(+), 10 deletions(-) . Date: Thu, 25 Jan 2024 16:47:03 +0800 From: Jason Wang To: qemu-devel@nongnu.org, peter.maydell@linaro.org Cc: Jason Wang Subject: [PULL 0/1] Net patches The following changes since commit 4a4efae44f19528589204581e9e2fab69c5d39aa: Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging (2024-01-23 13:40:45 +0000) are available in the Git repository at: https://github.com/jasowang/qemu.git net-pull-request for you to fetch changes up to 2220e8189fb94068dbad333228659fbac819abb0: virtio-net: correctly copy vnet header when flushing TX (2024-01-25 14:58:00 +0800) ---------------------------------------------------------------- ---------------------------------------------------------------- Jason Wang (1): virtio-net: correctly copy vnet header when flushing TX hw/net/virtio-net.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) . Date: Fri, 26 Jan 2024 12:17:10 +0800 From: peterx@redhat.com To: qemu-devel@nongnu.org Cc: Fabiano Rosas , peterx@redhat.com Subject: [PULL 00/15] Migration 20240126 patches From: Peter Xu The following changes since commit 5bab95dc74d43bbb28c6a96d24c810a664432057: Merge tag 'pull-request-2024-01-24' of https://gitlab.com/thuth/qemu into staging (2024-01-25 12:33:42 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240126-pull-request for you to fetch changes up to 24b0c2ec956ca225282f81470f7c26f5bb844885: Make 'uri' optional for migrate QAPI (2024-01-26 11:06:13 +0800) ---------------------------------------------------------------- Migration pull for 9.0 - Fabiano's patchset to fix migration state references in BHs - Fabiano's new 'n-1' migration test for CI - Het's fix on making "uri" optional in QMP migrate cmd - Markus's HMP leak fix reported by Coverity - Paolo's cleanup on uffd to replace u64 usage - Peter's small migration cleanup series all over the places ---------------------------------------------------------------- Fabiano Rosas (9): tests/qtest/migration: Don't use -cpu max for aarch64 ci: Add a migration compatibility test job ci: Disable migration compatibility tests for aarch64 migration/yank: Use channel features migration: Fix use-after-free of migration state object migration: Take reference to migration state around bg_migration_vm_start_bh migration: Reference migration state around loadvm_postcopy_handle_run_bh migration: Add a wrapper to qemu_bh_schedule migration: Centralize BH creation and dispatch Het Gala (1): Make 'uri' optional for migrate QAPI Markus Armbruster (1): migration: Plug memory leak on HMP migrate error path Paolo Bonzini (1): userfaultfd: use 1ULL to build ioctl masks Peter Xu (3): migration: Make threshold_size an uint64_t migration: Drop unnecessary check in ram's pending_exact() analyze-migration.py: Remove trick on parsing ramblocks qapi/migration.json | 2 +- migration/migration.h | 7 +- migration/migration-hmp-cmds.c | 4 +- migration/migration.c | 82 +++++++++++++---------- migration/postcopy-ram.c | 16 ++--- migration/ram.c | 9 ++- migration/savevm.c | 5 +- migration/yank_functions.c | 6 +- subprojects/libvhost-user/libvhost-user.c | 2 +- tests/qtest/migration-test.c | 6 +- .gitlab-ci.d/buildtest.yml | 64 ++++++++++++++++++ scripts/analyze-migration.py | 11 +-- 12 files changed, 135 insertions(+), 79 deletions(-) -- 2.43.0 . Date: Fri, 26 Jan 2024 07:27:36 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/8] QAPI patches patches for 2024-01-26 The following changes since commit 5bab95dc74d43bbb28c6a96d24c810a664432057: Merge tag 'pull-request-2024-01-24' of https://gitlab.com/thuth/qemu into staging (2024-01-25 12:33:42 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-01-26 for you to fetch changes up to 37507c14a6f562036fce98453de3e869b9c0684f: qapi: Fix malformed "Since:" section tags (again) (2024-01-26 07:04:54 +0100) ---------------------------------------------------------------- QAPI patches patches for 2024-01-26 ---------------------------------------------------------------- Markus Armbruster (8): docs/devel/qapi-code-gen: Don't reserve types ending with 'Kind' docs/devel/qapi-code-gen: Fix missing ':' in tagged section docs docs: Replace dangling references to docs/interop/qmp-intro.txt qapi: Fix dangling references to docs/devel/qapi-code-gen.txt docs/interop/bitmaps: Clean up a reference to qemu-qmp-ref qapi: Fix mangled "Returns" sections in documentation qapi: Indent tagged doc comment sections properly qapi: Fix malformed "Since:" section tags (again) docs/devel/qapi-code-gen.rst | 9 ++++----- docs/devel/writing-monitor-commands.rst | 4 ++-- docs/interop/bitmaps.rst | 6 +++--- qapi/block-core.json | 4 ++-- qapi/char.json | 4 ++-- qapi/introspect.json | 2 +- qapi/machine.json | 24 ++++++++++++------------ qapi/migration.json | 14 +++++++------- qapi/misc-target.json | 2 +- qapi/misc.json | 10 +++++----- qapi/net.json | 15 +++++++++------ qapi/qdev.json | 5 +++-- qapi/qom.json | 10 ++++++---- qapi/yank.json | 4 ++-- include/qapi/visitor.h | 2 +- include/qemu/yank.h | 2 +- qapi/qapi-util.c | 2 +- util/yank.c | 2 +- scripts/qapi/parser.py | 2 +- 19 files changed, 64 insertions(+), 59 deletions(-) -- 2.43.0 . Date: Fri, 26 Jan 2024 13:27:17 +0100 From: Kevin Wolf To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [PULL v3 00/18] Block layer patches The following changes since commit 5bab95dc74d43bbb28c6a96d24c810a664432057: Merge tag 'pull-request-2024-01-24' of https://gitlab.com/thuth/qemu into staging (2024-01-25 12:33:42 +0000) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to acf2b9fce9f402b070a65bea584582df0378da9e: iotests/277: Use iotests.sock_dir for socket creation (2024-01-26 12:27:41 +0100) ---------------------------------------------------------------- Block layer patches - virtio-blk: Multiqueue fixes and cleanups - blklogwrites: Fixes for write_zeroes and superblock update races - commit/stream: Allow users to request only format driver names in backing file format - monitor: only run coroutine commands in qemu_aio_context - Some iotest fixes ---------------------------------------------------------------- Andrey Drobyshev (2): iotests/264: Use iotests.sock_dir for socket creation iotests/277: Use iotests.sock_dir for socket creation Ari Sundholm (2): block/blklogwrites: Fix a bug when logging "write zeroes" operations. block/blklogwrites: Protect mutable driver state with a mutex. Kevin Wolf (3): string-output-visitor: Fix (pseudo) struct handling tests/unit: Bump test-replication timeout to 60 seconds iotests/iothreads-stream: Use the right TimeoutError Peter Krempa (2): commit: Allow users to request only format driver names in backing file format stream: Allow users to request only format driver names in backing file format Stefan Hajnoczi (9): iotests: add filter_qmp_generated_node_ids() iotests: port 141 to Python for reliable QMP testing monitor: only run coroutine commands in qemu_aio_context virtio-blk: move dataplane code into virtio-blk.c virtio-blk: rename dataplane create/destroy functions virtio-blk: rename dataplane to ioeventfd virtio-blk: restart s->rq reqs in vq AioContexts virtio-blk: tolerate failure to set BlockBackend AioContext virtio-blk: always set ioeventfd during startup qapi/block-core.json | 17 +- hw/block/dataplane/trace.h | 1 - hw/block/dataplane/virtio-blk.h | 34 --- include/block/block-global-state.h | 3 +- include/block/block_int-common.h | 4 +- include/block/block_int-global-state.h | 6 + include/hw/virtio/virtio-blk.h | 16 +- block.c | 37 ++- block/blklogwrites.c | 120 ++++++-- block/commit.c | 6 +- block/monitor/block-hmp-cmds.c | 2 +- block/stream.c | 10 +- blockdev.c | 13 + hw/block/dataplane/virtio-blk.c | 404 ------------------------- hw/block/virtio-blk.c | 412 ++++++++++++++++++++++++-- monitor/qmp.c | 17 -- qapi/qmp-dispatch.c | 24 +- qapi/string-output-visitor.c | 46 +++ tests/unit/test-bdrv-drain.c | 3 +- tests/qemu-iotests/iotests.py | 7 + hw/block/dataplane/meson.build | 1 - hw/block/dataplane/trace-events | 5 - meson.build | 1 - tests/qemu-iotests/060.out | 4 +- tests/qemu-iotests/071.out | 4 +- tests/qemu-iotests/081.out | 16 +- tests/qemu-iotests/087.out | 12 +- tests/qemu-iotests/108.out | 2 +- tests/qemu-iotests/109 | 4 +- tests/qemu-iotests/109.out | 78 +++-- tests/qemu-iotests/117.out | 2 +- tests/qemu-iotests/120.out | 2 +- tests/qemu-iotests/127.out | 2 +- tests/qemu-iotests/140.out | 2 +- tests/qemu-iotests/141 | 307 ++++++++----------- tests/qemu-iotests/141.out | 200 +++---------- tests/qemu-iotests/143.out | 2 +- tests/qemu-iotests/156.out | 2 +- tests/qemu-iotests/176.out | 16 +- tests/qemu-iotests/182.out | 2 +- tests/qemu-iotests/183.out | 4 +- tests/qemu-iotests/184.out | 32 +- tests/qemu-iotests/185 | 6 +- tests/qemu-iotests/185.out | 45 ++- tests/qemu-iotests/191.out | 16 +- tests/qemu-iotests/195.out | 16 +- tests/qemu-iotests/223.out | 12 +- tests/qemu-iotests/227.out | 32 +- tests/qemu-iotests/247.out | 2 +- tests/qemu-iotests/264 | 3 +- tests/qemu-iotests/273.out | 8 +- tests/qemu-iotests/277 | 3 +- tests/qemu-iotests/308 | 4 +- tests/qemu-iotests/308.out | 4 +- tests/qemu-iotests/tests/file-io-error | 5 +- tests/qemu-iotests/tests/iothreads-resize.out | 2 +- tests/qemu-iotests/tests/iothreads-stream | 3 +- tests/qemu-iotests/tests/qsd-jobs.out | 4 +- tests/unit/meson.build | 3 +- 59 files changed, 1022 insertions(+), 1028 deletions(-) delete mode 100644 hw/block/dataplane/trace.h delete mode 100644 hw/block/dataplane/virtio-blk.h delete mode 100644 hw/block/dataplane/virtio-blk.c delete mode 100644 hw/block/dataplane/trace-events . Date: Fri, 26 Jan 2024 14:31:59 +0100 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/17] aspeed queue The following changes since commit e029fe22caad9b75c7ab69bd4e84853c11fb71e0: Merge tag 'pull-qapi-2024-01-26' of https://repo.or.cz/qemu/armbru into staging (2024-01-26 10:21:27 +0000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240126 for you to fetch changes up to b40769f4b49d15485ffaaa7acade3e3593ee6daa: hw/fsi: Update MAINTAINER list (2024-01-26 14:22:08 +0100) ---------------------------------------------------------------- aspeed queue: * Update of buildroot images to 2023.11 (6.6.3 kernel) * Check of the valid CPU type supported by aspeed machines * Simplified models for the IBM's FSI bus and the Aspeed controller bridge ---------------------------------------------------------------- Cédric Le Goater (1): tests/avocado/machine_aspeed.py: Update buildroot images to 2023.11 Ninad Palsule (11): hw/fsi: Introduce IBM's Local bus hw/fsi: Introduce IBM's scratchpad device hw/fsi: Introduce IBM's FSI Bus hw/fsi: Introduce IBM's fsi-slave model hw/fsi: Introduce IBM's cfam hw/fsi: Introduce IBM's FSI master hw/fsi: Aspeed APB2OPB & On-chip peripheral bus hw/arm: Hook up FSI module in AST2600 hw/fsi: Added qtest hw/fsi: Added FSI documentation hw/fsi: Update MAINTAINER list Philippe Mathieu-Daudé (5): hw/arm/aspeed: Remove dead code hw/arm/aspeed: Set default CPU count using aspeed_soc_num_cpus() hw/arm/aspeed: Init CPU defaults in a common helper hw/arm/aspeed: Introduce aspeed_soc_cpu_type() helper hw/arm/aspeed: Check for CPU types in machine_run_board_init() MAINTAINERS | 9 ++ docs/specs/fsi.rst | 122 +++++++++++++++ docs/specs/index.rst | 1 + meson.build | 1 + hw/fsi/trace.h | 1 + include/hw/arm/aspeed_soc.h | 8 +- include/hw/fsi/aspeed_apb2opb.h | 46 ++++++ include/hw/fsi/cfam.h | 34 +++++ include/hw/fsi/fsi-master.h | 32 ++++ include/hw/fsi/fsi.h | 37 +++++ include/hw/fsi/lbus.h | 43 ++++++ hw/arm/aspeed.c | 70 ++++----- hw/arm/aspeed_ast10x0.c | 8 +- hw/arm/aspeed_ast2400.c | 15 +- hw/arm/aspeed_ast2600.c | 28 +++- hw/arm/aspeed_soc_common.c | 8 + hw/fsi/aspeed_apb2opb.c | 329 ++++++++++++++++++++++++++++++++++++++++ hw/fsi/cfam.c | 168 ++++++++++++++++++++ hw/fsi/fsi-master.c | 170 +++++++++++++++++++++ hw/fsi/fsi.c | 102 +++++++++++++ hw/fsi/lbus.c | 117 ++++++++++++++ tests/qtest/aspeed-fsi-test.c | 205 +++++++++++++++++++++++++ hw/Kconfig | 1 + hw/arm/Kconfig | 1 + hw/fsi/Kconfig | 7 + hw/fsi/meson.build | 2 + hw/fsi/trace-events | 13 ++ hw/meson.build | 1 + tests/avocado/machine_aspeed.py | 18 +-- tests/qtest/meson.build | 1 + 30 files changed, 1540 insertions(+), 58 deletions(-) create mode 100644 docs/specs/fsi.rst create mode 100644 hw/fsi/trace.h create mode 100644 include/hw/fsi/aspeed_apb2opb.h create mode 100644 include/hw/fsi/cfam.h create mode 100644 include/hw/fsi/fsi-master.h create mode 100644 include/hw/fsi/fsi.h create mode 100644 include/hw/fsi/lbus.h create mode 100644 hw/fsi/aspeed_apb2opb.c create mode 100644 hw/fsi/cfam.c create mode 100644 hw/fsi/fsi-master.c create mode 100644 hw/fsi/fsi.c create mode 100644 hw/fsi/lbus.c create mode 100644 tests/qtest/aspeed-fsi-test.c create mode 100644 hw/fsi/Kconfig create mode 100644 hw/fsi/meson.build create mode 100644 hw/fsi/trace-events . Date: Fri, 26 Jan 2024 14:33:05 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/36] target-arm queue The following changes since commit 5bab95dc74d43bbb28c6a96d24c810a664432057: Merge tag 'pull-request-2024-01-24' of https://gitlab.com/thuth/qemu into staging (2024-01-25 12:33:42 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240126 for you to fetch changes up to 5e6be95ed1578c7cfac2082b39384d99fd912508: hw/arm: add PCIe to Freescale i.MX6 (2024-01-26 12:23:04 +0000) ---------------------------------------------------------------- target-arm queue: * Fix VNCR fault detection logic * Fix A64 scalar SQSHRN and SQRSHRN * Fix incorrect aa64_tidcp1 feature check * hw/arm/virt.c: Remove newline from error_report() string * hw/arm/musicpal: Convert to qemu_add_kbd_event_handler() * hw/arm/allwinner-a10: Unconditionally map the USB Host controllers * hw/arm/nseries: Unconditionally map the TUSB6010 USB Host controller * hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board * hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi board * hw/arm: Add watchdog timer to Allwinner H40 and Bananapi board * arm: various include header cleanups * cleanups to allow some files to be built only once * fsl-imx6ul: Add various missing unimplemented devices * docs/system/arm/virt.rst: Add note on CPU features off by default * hw/char/imx_serial: Implement receive FIFO and ageing timer * target/xtensa: fix OOB TLB entry access * bswap.h: Fix const_le64() macro * hw/arm: add PCIe to Freescale i.MX6 ---------------------------------------------------------------- Guenter Roeck (4): hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi board hw/arm: Add watchdog timer to Allwinner H40 and Bananapi board fsl-imx6ul: Add various missing unimplemented devices Gustavo Romero (1): docs/system/arm/virt.rst: Add note on CPU features off by default Max Filippov (1): target/xtensa: fix OOB TLB entry access Nikita Ostrenkov (1): hw/arm: add PCIe to Freescale i.MX6 Peter Maydell (6): target/arm: Fix VNCR fault detection logic hw/arm/virt.c: Remove newline from error_report() string hw/arm/musicpal: Convert to qemu_add_kbd_event_handler() target/arm: Fix A64 scalar SQSHRN and SQRSHRN bswap.h: Fix const_le64() macro target/arm: Fix incorrect aa64_tidcp1 feature check Philippe Mathieu-Daudé (20): hw/arm/allwinner-a10: Unconditionally map the USB Host controllers hw/arm/nseries: Unconditionally map the TUSB6010 USB Host controller hw/arm/exynos4210: Include missing 'exec/tswap.h' header hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header hw/arm/smmuv3: Include missing 'hw/registerfields.h' header hw/arm/xlnx-versal: Include missing 'cpu.h' header target/arm/cpu-features: Include missing 'hw/registerfields.h' header target/arm/cpregs: Include missing 'hw/registerfields.h' header target/arm/cpregs: Include missing 'kvm-consts.h' header target/arm: Expose arm_cpu_mp_affinity() in 'multiprocessing.h' header target/arm: Declare ARM_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' hw/cpu/a9mpcore: Build it only once hw/misc/xlnx-versal-crl: Include generic 'cpu-qom.h' instead of 'cpu.h' hw/misc/xlnx-versal-crl: Build it only once target/arm: Expose M-profile register bank index definitions hw/arm/armv7m: Make 'hw/intc/armv7m_nvic.h' a target agnostic header target/arm: Move ARM_CPU_IRQ/FIQ definitions to 'cpu-qom.h' header target/arm: Move e2h_access() helper around target/arm: Move GTimer definitions to new 'gtimer.h' header hw/arm: Build various units only once Rayhan Faizel (1): hw/char/imx_serial: Implement receive FIFO and ageing timer Richard Henderson (2): target/arm: Rename arm_cpu_mp_affinity target/arm: Create arm_cpu_mp_affinity docs/system/arm/bananapi_m2u.rst | 5 +- docs/system/arm/virt.rst | 13 ++++ hw/arm/smmuv3-internal.h | 1 + include/hw/arm/allwinner-r40.h | 15 +++++ include/hw/arm/fsl-imx6.h | 44 +++++++------ include/hw/arm/fsl-imx6ul.h | 2 + include/hw/arm/xlnx-versal.h | 1 + include/hw/char/imx_serial.h | 20 +++++- include/hw/intc/armv7m_nvic.h | 2 +- include/hw/misc/xlnx-versal-crl.h | 2 +- include/qemu/bswap.h | 16 ++--- target/arm/cpregs.h | 3 + target/arm/cpu-features.h | 4 +- target/arm/cpu-qom.h | 24 +++++++ target/arm/cpu.h | 34 +--------- target/arm/gtimer.h | 21 ++++++ target/arm/multiprocessing.h | 16 +++++ hw/arm/allwinner-a10.c | 50 ++++++-------- hw/arm/allwinner-h3.c | 2 + hw/arm/allwinner-r40.c | 69 +++++++++++++++++++- hw/arm/armv7m.c | 2 + hw/arm/aspeed_ast2400.c | 1 + hw/arm/aspeed_ast2600.c | 1 + hw/arm/bcm2836.c | 2 + hw/arm/collie.c | 1 - hw/arm/exynos4210.c | 2 + hw/arm/fsl-imx25.c | 1 + hw/arm/fsl-imx31.c | 1 + hw/arm/fsl-imx6.c | 26 ++++++++ hw/arm/fsl-imx6ul.c | 31 +++++++++ hw/arm/fsl-imx7.c | 1 + hw/arm/gumstix.c | 1 - hw/arm/highbank.c | 1 + hw/arm/integratorcp.c | 2 +- hw/arm/mainstone.c | 1 - hw/arm/musicpal.c | 133 ++++++++++++++++++-------------------- hw/arm/npcm7xx.c | 3 +- hw/arm/nseries.c | 4 +- hw/arm/omap1.c | 1 + hw/arm/omap2.c | 2 +- hw/arm/omap_sx1.c | 1 - hw/arm/palm.c | 1 - hw/arm/realview.c | 1 + hw/arm/sbsa-ref.c | 4 +- hw/arm/spitz.c | 1 - hw/arm/strongarm.c | 2 +- hw/arm/versatilepb.c | 2 +- hw/arm/vexpress.c | 2 +- hw/arm/virt-acpi-build.c | 4 +- hw/arm/virt.c | 15 +++-- hw/arm/xilinx_zynq.c | 3 +- hw/arm/xlnx-versal-virt.c | 5 +- hw/arm/xlnx-versal.c | 2 + hw/arm/xlnx-zynqmp.c | 2 + hw/arm/z2.c | 1 - hw/char/imx_serial.c | 102 +++++++++++++++++++++++++---- hw/cpu/a15mpcore.c | 1 + hw/cpu/a9mpcore.c | 2 +- hw/misc/xlnx-versal-crl.c | 5 +- target/arm/arm-powerctl.c | 3 +- target/arm/cpu.c | 13 +++- target/arm/helper.c | 30 +++++---- target/arm/hvf/hvf.c | 6 +- target/arm/kvm.c | 1 + target/arm/machine.c | 1 + target/arm/tcg/psci.c | 3 +- target/arm/tcg/tlb_helper.c | 2 +- target/arm/tcg/translate-a64.c | 2 +- target/xtensa/mmu_helper.c | 47 ++++++++++---- hw/arm/Kconfig | 6 ++ hw/arm/meson.build | 23 +++---- hw/cpu/meson.build | 2 +- hw/misc/meson.build | 2 +- 73 files changed, 597 insertions(+), 261 deletions(-) create mode 100644 target/arm/gtimer.h create mode 100644 target/arm/multiprocessing.h . Date: Sun, 28 Jan 2024 14:41:40 +1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 00/33] tcg patch queue, pre-pull Collect some patch sets, cherry-pick from others, with a few changes of my own. Patches that lack review: 26-include-qemu-Add-TCGCPUOps-typedef-to-typedefs.h.patch 27-target-loongarch-Constify-loongarch_tcg_ops.patch 28-accel-tcg-Use-CPUState.cc-instead-of-CPU_GET_CLASS-i.patch 31-accel-tcg-Inline-need_replay_interrupt.patch r~ Anton Johansson (11): include/exec: Move vaddr defines to separate file hw/core: Include vaddr.h from cpu.h target: Use vaddr in gen_intermediate_code include/exec: Use vaddr in DisasContextBase for virtual addresses include/exec: typedef abi_ptr to vaddr target: Uninline cpu_mmu_index() target: Uninline cpu_get_tb_cpu_state() include/exec: Move PAGE_* macros to common header include/exec: Move cpu_*()/cpu_env() to common header include/hw/core: Move do_interrupt in TCGCPUOps include/hw/core: Remove i386 conditional on fake_user_interrupt Ilya Leoshkevich (8): linux-user: Allow gdbstub to ignore page protection tests/tcg: Factor out gdbstub test functions tests/tcg: Add the PROT_NONE gdbstub test target: Make qemu_target_page_mask() available for *-user accel/tcg: Make use of qemu_target_page_mask() in perf.c tcg: Make tb_cflags() usable from target-agnostic code accel/tcg: Remove #ifdef TARGET_I386 from perf.c accel/tcg: Move perf and debuginfo support to tcg/ Paolo Bonzini (1): cpu-exec: simplify jump cache management Philippe Mathieu-Daudé (9): accel/tcg/cpu-exec: Use RCU_READ_LOCK_GUARD accel/tcg: Rename tcg_ss[] -> tcg_specific_ss[] in meson accel/tcg: Rename tcg_cpus_destroy() -> tcg_cpu_destroy() accel/tcg: Rename tcg_cpus_exec() -> tcg_cpu_exec() accel/tcg: Un-inline icount_exit_request() for clarity accel/tcg: Introduce TCGCPUOps::need_replay_interrupt() handler target/i386: Extract x86_need_replay_interrupt() from accel/tcg/ accel/tcg: Introduce TCGCPUOps::cpu_exec_halt() handler target/i386: Extract x86_cpu_exec_halt() from accel/tcg/ Richard Henderson (4): include/qemu: Add TCGCPUOps typedef to typedefs.h target/loongarch: Constify loongarch_tcg_ops accel/tcg: Use CPUState.cc instead of CPU_GET_CLASS in cpu-exec.c accel/tcg: Inline need_replay_interrupt accel/tcg/tb-jmp-cache.h | 8 +- accel/tcg/tcg-accel-ops.h | 4 +- include/exec/cpu-all.h | 49 ---- include/exec/cpu-common.h | 82 ++++++- include/exec/cpu_ldst.h | 4 +- include/exec/exec-all.h | 6 - include/exec/translation-block.h | 6 + include/exec/translator.h | 8 +- include/exec/vaddr.h | 18 ++ include/hw/core/cpu.h | 7 +- include/hw/core/tcg-cpu-ops.h | 19 +- include/qemu/typedefs.h | 1 + {accel => include}/tcg/debuginfo.h | 4 +- {accel => include}/tcg/perf.h | 4 +- target/alpha/cpu.h | 20 -- target/arm/cpu.h | 16 -- target/avr/cpu.h | 25 -- target/cris/cpu.h | 14 -- target/hexagon/cpu.h | 21 -- target/hppa/cpu.h | 55 ----- target/i386/cpu.h | 21 -- target/i386/tcg/helper-tcg.h | 2 + target/loongarch/cpu.h | 24 -- target/m68k/cpu.h | 20 -- target/microblaze/cpu.h | 23 -- target/mips/cpu.h | 14 -- target/mips/tcg/translate.h | 3 +- target/nios2/cpu.h | 18 -- target/openrisc/cpu.h | 22 -- target/ppc/cpu.h | 21 -- target/riscv/cpu.h | 6 - target/rx/cpu.h | 14 -- target/s390x/cpu.h | 55 ----- target/sh4/cpu.h | 25 -- target/sparc/cpu.h | 61 ----- target/tricore/cpu.h | 17 -- target/xtensa/cpu.h | 73 ------ accel/tcg/cpu-exec.c | 223 ++++++++---------- accel/tcg/tcg-accel-ops-mttcg.c | 4 +- accel/tcg/tcg-accel-ops-rr.c | 4 +- accel/tcg/tcg-accel-ops.c | 4 +- accel/tcg/translate-all.c | 2 +- bsd-user/signal.c | 4 +- cpu-target.c | 76 ++++-- hw/core/loader.c | 2 +- linux-user/elfload.c | 2 +- linux-user/exit.c | 2 +- linux-user/main.c | 2 +- linux-user/signal.c | 4 +- system/physmem.c | 5 - system/vl.c | 2 +- target/alpha/cpu.c | 21 +- target/alpha/translate.c | 2 +- target/arm/cpu.c | 7 +- target/arm/tcg/cpu32.c | 2 +- target/arm/tcg/translate.c | 2 +- target/avr/cpu.c | 25 +- target/avr/translate.c | 2 +- target/cris/cpu.c | 18 +- target/cris/translate.c | 2 +- target/hexagon/cpu.c | 23 +- target/hexagon/translate.c | 5 +- target/hppa/cpu.c | 57 ++++- target/hppa/translate.c | 2 +- target/i386/cpu.c | 21 ++ target/i386/tcg/sysemu/seg_helper.c | 23 ++ target/i386/tcg/tcg-cpu.c | 4 +- target/i386/tcg/translate.c | 2 +- target/loongarch/cpu.c | 26 +- target/loongarch/tcg/translate.c | 2 +- target/m68k/cpu.c | 23 +- target/m68k/translate.c | 4 +- target/microblaze/cpu.c | 25 +- target/microblaze/translate.c | 2 +- target/mips/cpu.c | 16 +- target/mips/tcg/translate.c | 14 +- target/nios2/cpu.c | 20 +- target/nios2/translate.c | 2 +- target/openrisc/cpu.c | 24 +- target/openrisc/translate.c | 2 +- target/ppc/cpu.c | 9 + target/ppc/cpu_init.c | 2 +- target/ppc/helper_regs.c | 17 +- target/ppc/translate.c | 2 +- target/riscv/cpu_helper.c | 2 +- target/riscv/tcg/tcg-cpu.c | 2 +- target/riscv/translate.c | 2 +- target/rx/cpu.c | 16 +- target/rx/translate.c | 2 +- target/s390x/cpu.c | 55 ++++- target/s390x/tcg/translate.c | 2 +- target/sh4/cpu.c | 30 ++- target/sh4/translate.c | 2 +- target/sparc/cpu.c | 63 ++++- target/sparc/translate.c | 2 +- target/target-common.c | 10 + target/tricore/cpu.c | 19 +- target/tricore/translate.c | 2 +- target/xtensa/cpu.c | 74 +++++- target/xtensa/translate.c | 2 +- {accel/tcg => tcg}/debuginfo.c | 3 +- {accel/tcg => tcg}/perf.c | 14 +- tcg/tcg.c | 2 +- tests/tcg/multiarch/prot-none.c | 40 ++++ accel/tcg/meson.build | 16 +- target/meson.build | 2 + tcg/meson.build | 5 + tests/guest-debug/run-test.py | 7 +- tests/guest-debug/test_gdbstub.py | 56 +++++ tests/tcg/aarch64/gdbstub/test-sve-ioctl.py | 34 +-- tests/tcg/aarch64/gdbstub/test-sve.py | 33 +-- tests/tcg/multiarch/Makefile.target | 9 +- tests/tcg/multiarch/gdbstub/interrupt.py | 47 +--- tests/tcg/multiarch/gdbstub/memory.py | 39 +-- tests/tcg/multiarch/gdbstub/prot-none.py | 22 ++ tests/tcg/multiarch/gdbstub/registers.py | 41 +--- tests/tcg/multiarch/gdbstub/sha1.py | 38 +-- .../multiarch/gdbstub/test-proc-mappings.py | 39 +-- .../multiarch/gdbstub/test-qxfer-auxv-read.py | 37 +-- .../gdbstub/test-thread-breakpoint.py | 37 +-- tests/tcg/s390x/gdbstub/test-signals-s390x.py | 42 +--- tests/tcg/s390x/gdbstub/test-svc.py | 39 +-- 122 files changed, 1117 insertions(+), 1304 deletions(-) create mode 100644 include/exec/vaddr.h rename {accel => include}/tcg/debuginfo.h (96%) rename {accel => include}/tcg/perf.h (95%) create mode 100644 target/target-common.c rename {accel/tcg => tcg}/debuginfo.c (98%) rename {accel/tcg => tcg}/perf.c (97%) create mode 100644 tests/tcg/multiarch/prot-none.c create mode 100644 tests/guest-debug/test_gdbstub.py create mode 100644 tests/tcg/multiarch/gdbstub/prot-none.py -- 2.34.1 . Date: Mon, 29 Jan 2024 11:03:51 +0800 From: peterx@redhat.com To: Peter Maydell , qemu-devel@nongnu.org Cc: Fabiano Rosas , peterx@redhat.com Subject: [PULL 00/14] Migration 20240126 patches From: Peter Xu The following changes since commit 7a1dc45af581d2b643cdbf33c01fd96271616fbd: Merge tag 'pull-target-arm-20240126' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-01-26 18:16:35 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240126-pull-request for you to fetch changes up to 57fd4b4e10756448acd6c90ce041ba8dc9313efc: Make 'uri' optional for migrate QAPI (2024-01-29 11:02:12 +0800) ---------------------------------------------------------------- Migration Pull [dropped fabiano's patch on modifying cpu model for arm migration tests for now] - Fabiano's patchset to fix migration state references in BHs - Fabiano's new 'n-1' migration test for CI - Het's fix on making "uri" optional in QMP migrate cmd - Markus's HMP leak fix reported by Coverity - Paolo's cleanup on uffd to replace u64 usage - Peter's small migration cleanup series all over the places ---------------------------------------------------------------- Fabiano Rosas (8): ci: Add a migration compatibility test job ci: Disable migration compatibility tests for aarch64 migration/yank: Use channel features migration: Fix use-after-free of migration state object migration: Take reference to migration state around bg_migration_vm_start_bh migration: Reference migration state around loadvm_postcopy_handle_run_bh migration: Add a wrapper to qemu_bh_schedule migration: Centralize BH creation and dispatch Het Gala (1): Make 'uri' optional for migrate QAPI Markus Armbruster (1): migration: Plug memory leak on HMP migrate error path Paolo Bonzini (1): userfaultfd: use 1ULL to build ioctl masks Peter Xu (3): migration: Make threshold_size an uint64_t migration: Drop unnecessary check in ram's pending_exact() analyze-migration.py: Remove trick on parsing ramblocks qapi/migration.json | 2 +- migration/migration.h | 7 +- migration/migration-hmp-cmds.c | 4 +- migration/migration.c | 82 +++++++++++++---------- migration/postcopy-ram.c | 16 ++--- migration/ram.c | 9 ++- migration/savevm.c | 5 +- migration/yank_functions.c | 6 +- subprojects/libvhost-user/libvhost-user.c | 2 +- tests/qtest/migration-test.c | 4 +- .gitlab-ci.d/buildtest.yml | 64 ++++++++++++++++++ scripts/analyze-migration.py | 11 +-- 12 files changed, 134 insertions(+), 78 deletions(-) -- 2.43.0 . Date: Mon, 29 Jan 2024 09:41:48 +0100 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL 0/2] vfio queue The following changes since commit 7a1dc45af581d2b643cdbf33c01fd96271616fbd: Merge tag 'pull-target-arm-20240126' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-01-26 18:16:35 +0000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240129 for you to fetch changes up to d2b668fca5652760b435ce812a743bba03d2f316: vfio/pci: Clear MSI-X IRQ index always (2024-01-29 08:26:25 +0100) ---------------------------------------------------------------- vfio queue: * Array type cleanup * Fix for IRQ enablement ---------------------------------------------------------------- Cédric Le Goater (1): vfio/pci: Clear MSI-X IRQ index always Paolo Bonzini (1): vfio: use matching sizeof type hw/vfio/common.c | 2 +- hw/vfio/pci.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) . Date: Tue, 30 Jan 2024 09:00:50 +1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/31] tcg patch queue The following changes since commit 7a1dc45af581d2b643cdbf33c01fd96271616fbd: Merge tag 'pull-target-arm-20240126' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-01-26 18:16:35 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240130 for you to fetch changes up to ec1d32af123e7f13d98754a72bcaa7aa8c8e9d27: target/i386: Extract x86_cpu_exec_halt() from accel/tcg/ (2024-01-29 21:04:10 +1000) ---------------------------------------------------------------- linux-user: Allow gdbstub to ignore page protection cpu-exec: simplify jump cache management include/exec: Cleanups toward building accel/tcg once ---------------------------------------------------------------- Anton Johansson (9): include/exec: Move vaddr defines to separate file hw/core: Include vaddr.h from cpu.h target: Use vaddr in gen_intermediate_code include/exec: Use vaddr in DisasContextBase for virtual addresses include/exec: typedef abi_ptr to vaddr include/exec: Move PAGE_* macros to common header include/exec: Move cpu_*()/cpu_env() to common header include/hw/core: Move do_interrupt in TCGCPUOps include/hw/core: Remove i386 conditional on fake_user_interrupt Ilya Leoshkevich (8): linux-user: Allow gdbstub to ignore page protection tests/tcg: Factor out gdbstub test functions tests/tcg: Add the PROT_NONE gdbstub test target: Make qemu_target_page_mask() available for *-user accel/tcg: Make use of qemu_target_page_mask() in perf.c tcg: Make tb_cflags() usable from target-agnostic code accel/tcg: Remove #ifdef TARGET_I386 from perf.c accel/tcg: Move perf and debuginfo support to tcg/ Paolo Bonzini (1): cpu-exec: simplify jump cache management Philippe Mathieu-Daudé (9): accel/tcg/cpu-exec: Use RCU_READ_LOCK_GUARD accel/tcg: Rename tcg_ss[] -> tcg_specific_ss[] in meson accel/tcg: Rename tcg_cpus_destroy() -> tcg_cpu_destroy() accel/tcg: Rename tcg_cpus_exec() -> tcg_cpu_exec() accel/tcg: Un-inline icount_exit_request() for clarity accel/tcg: Introduce TCGCPUOps::need_replay_interrupt() handler target/i386: Extract x86_need_replay_interrupt() from accel/tcg/ accel/tcg: Introduce TCGCPUOps::cpu_exec_halt() handler target/i386: Extract x86_cpu_exec_halt() from accel/tcg/ Richard Henderson (4): include/qemu: Add TCGCPUOps typedef to typedefs.h target/loongarch: Constify loongarch_tcg_ops accel/tcg: Use CPUState.cc instead of CPU_GET_CLASS in cpu-exec.c accel/tcg: Inline need_replay_interrupt accel/tcg/tb-jmp-cache.h | 8 +- accel/tcg/tcg-accel-ops.h | 4 +- include/exec/cpu-all.h | 49 ----- include/exec/cpu-common.h | 69 +++++-- include/exec/cpu_ldst.h | 4 +- include/exec/exec-all.h | 6 - include/exec/translation-block.h | 6 + include/exec/translator.h | 8 +- include/exec/vaddr.h | 18 ++ include/hw/core/cpu.h | 7 +- include/hw/core/tcg-cpu-ops.h | 19 +- include/qemu/typedefs.h | 1 + {accel => include}/tcg/debuginfo.h | 4 +- {accel => include}/tcg/perf.h | 4 +- target/i386/tcg/helper-tcg.h | 2 + target/mips/tcg/translate.h | 3 +- accel/tcg/cpu-exec.c | 223 +++++++++------------ accel/tcg/tcg-accel-ops-mttcg.c | 4 +- accel/tcg/tcg-accel-ops-rr.c | 4 +- accel/tcg/tcg-accel-ops.c | 4 +- accel/tcg/translate-all.c | 2 +- bsd-user/signal.c | 4 +- cpu-target.c | 78 +++++-- hw/core/loader.c | 2 +- linux-user/elfload.c | 2 +- linux-user/exit.c | 2 +- linux-user/main.c | 2 +- linux-user/signal.c | 4 +- system/physmem.c | 5 - system/vl.c | 2 +- target/alpha/cpu.c | 2 +- target/alpha/translate.c | 2 +- target/arm/cpu.c | 2 +- target/arm/tcg/cpu32.c | 2 +- target/arm/tcg/translate.c | 2 +- target/avr/cpu.c | 2 +- target/avr/translate.c | 2 +- target/cris/cpu.c | 4 +- target/cris/translate.c | 2 +- target/hexagon/cpu.c | 2 +- target/hexagon/translate.c | 5 +- target/hppa/cpu.c | 2 +- target/hppa/translate.c | 2 +- target/i386/tcg/sysemu/seg_helper.c | 23 +++ target/i386/tcg/tcg-cpu.c | 4 +- target/i386/tcg/translate.c | 2 +- target/loongarch/cpu.c | 2 +- target/loongarch/tcg/translate.c | 2 +- target/m68k/cpu.c | 2 +- target/m68k/translate.c | 4 +- target/microblaze/cpu.c | 2 +- target/microblaze/translate.c | 2 +- target/mips/cpu.c | 2 +- target/mips/tcg/translate.c | 14 +- target/nios2/cpu.c | 2 +- target/nios2/translate.c | 2 +- target/openrisc/cpu.c | 2 +- target/openrisc/translate.c | 2 +- target/ppc/cpu_init.c | 2 +- target/ppc/translate.c | 2 +- target/riscv/tcg/tcg-cpu.c | 2 +- target/riscv/translate.c | 2 +- target/rx/cpu.c | 2 +- target/rx/translate.c | 2 +- target/s390x/cpu.c | 2 +- target/s390x/tcg/translate.c | 2 +- target/sh4/cpu.c | 2 +- target/sh4/translate.c | 2 +- target/sparc/cpu.c | 2 +- target/sparc/translate.c | 2 +- target/target-common.c | 10 + target/tricore/cpu.c | 2 +- target/tricore/translate.c | 2 +- target/xtensa/cpu.c | 2 +- target/xtensa/translate.c | 2 +- {accel/tcg => tcg}/debuginfo.c | 3 +- {accel/tcg => tcg}/perf.c | 14 +- tcg/tcg.c | 2 +- tests/tcg/multiarch/prot-none.c | 40 ++++ accel/tcg/meson.build | 16 +- target/meson.build | 2 + tcg/meson.build | 5 + tests/guest-debug/run-test.py | 7 +- tests/guest-debug/test_gdbstub.py | 60 ++++++ tests/tcg/aarch64/gdbstub/test-sve-ioctl.py | 34 +--- tests/tcg/aarch64/gdbstub/test-sve.py | 33 +-- tests/tcg/multiarch/Makefile.target | 9 +- tests/tcg/multiarch/gdbstub/interrupt.py | 47 +---- tests/tcg/multiarch/gdbstub/memory.py | 39 +--- tests/tcg/multiarch/gdbstub/prot-none.py | 36 ++++ tests/tcg/multiarch/gdbstub/registers.py | 41 +--- tests/tcg/multiarch/gdbstub/sha1.py | 38 +--- tests/tcg/multiarch/gdbstub/test-proc-mappings.py | 39 +--- .../tcg/multiarch/gdbstub/test-qxfer-auxv-read.py | 37 +--- .../multiarch/gdbstub/test-thread-breakpoint.py | 37 +--- tests/tcg/s390x/gdbstub/test-signals-s390x.py | 42 +--- tests/tcg/s390x/gdbstub/test-svc.py | 39 +--- 97 files changed, 580 insertions(+), 730 deletions(-) create mode 100644 include/exec/vaddr.h rename {accel => include}/tcg/debuginfo.h (96%) rename {accel => include}/tcg/perf.h (95%) create mode 100644 target/target-common.c rename {accel/tcg => tcg}/debuginfo.c (98%) rename {accel/tcg => tcg}/perf.c (97%) create mode 100644 tests/tcg/multiarch/prot-none.c create mode 100644 tests/guest-debug/test_gdbstub.py create mode 100644 tests/tcg/multiarch/gdbstub/prot-none.py . Date: Tue, 30 Jan 2024 12:58:52 +0200 From: Konstantin Kostiuk To: qemu-devel@nongnu.org, Peter Maydell , Stefan Hajnoczi Subject: [PULL 0/4] Misc changes guest agent The following changes since commit 11be70677c70fdccd452a3233653949b79e97908: Merge tag 'pull-vfio-20240129' of https://github.com/legoater/qemu into staging (2024-01-29 10:53:56 +0000) are available in the Git repository at: https://github.com/kostyanf14/qemu.git tags/qga-pull-2024-01-30 for you to fetch changes up to b3e0f64487a4b937d871ce4ce9c259e02ec02191: qga: Solaris has net/if_arp.h and netinet/if_ether.h but not ETHER_ADDR_LEN (2024-01-30 12:14:28 +0200) ---------------------------------------------------------------- qga-pull-2024-01-30 ---------------------------------------------------------------- Angel M. Villegas (1): guest-agent: improve help for --allow-rpcs and --block-rpcs Nick Briggs (1): qga: Solaris has net/if_arp.h and netinet/if_ether.h but not ETHER_ADDR_LEN Peng Ji (1): qga-win: Fix guest-get-fsinfo multi-disks collection Samuel Tardieu (1): tests/unit/test-qga: do not qualify executable paths docs/interop/qemu-ga.rst | 8 ++++---- qga/commands-posix.c | 5 ++++- qga/commands-win32.c | 2 ++ qga/main.c | 4 ++-- tests/unit/test-qga.c | 6 +++--- 5 files changed, 15 insertions(+), 10 deletions(-) -- 2.42.0 . Date: Tue, 30 Jan 2024 16:51:29 -0500 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: John Snow , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aarushi Mehta , Fam Zheng , Kevin Wolf , Stefan Hajnoczi , qemu-block@nongnu.org, Julia Suvorova , Stefano Garzarella , Alistair Francis , Peter Maydell , Hanna Reitz Subject: [PULL 0/5] Block patches The following changes since commit 11be70677c70fdccd452a3233653949b79e97908: Merge tag 'pull-vfio-20240129' of https://github.com/legoater/qemu into staging (2024-01-29 10:53:56 +0000) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 954b33daee83fe79293fd81c2f7371db48e7d6bd: hw/block/block.c: improve confusing blk_check_size_and_read_all() error (2024-01-30 16:19:00 -0500) ---------------------------------------------------------------- Pull request ---------------------------------------------------------------- Fiona Ebner (1): block/io_uring: improve error message when init fails Manos Pitsidianakis (2): hw/core/qdev.c: add qdev_get_human_name() hw/block/block.c: improve confusing blk_check_size_and_read_all() error Richard W.M. Jones (1): block/blkio: Make s->mem_region_alignment be 64 bits Stefan Hajnoczi (1): pflash: fix sectors vs bytes confusion in blk_pread_nonzeroes() include/hw/block/block.h | 4 ++-- include/hw/qdev-core.h | 14 ++++++++++++++ block/blkio.c | 2 +- block/io_uring.c | 2 +- hw/block/block.c | 27 ++++++++++++++++----------- hw/block/m25p80.c | 3 ++- hw/block/pflash_cfi01.c | 4 ++-- hw/block/pflash_cfi02.c | 2 +- hw/core/qdev.c | 8 ++++++++ 9 files changed, 47 insertions(+), 19 deletions(-) -- 2.43.0 . Date: Wed, 31 Jan 2024 14:55:28 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 00/21] Trivial patches for 2024-01-31 The following changes since commit 11be70677c70fdccd452a3233653949b79e97908: Merge tag 'pull-vfio-20240129' of https://github.com/legoater/qemu into staging (2024-01-29 10:53:56 +0000) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to 54f0058fa7821c391719e69a92804636b2c403ae: hw/hyperv: Include missing headers (2024-01-30 21:20:20 +0300) ---------------------------------------------------------------- trivial patches for 2024-01-31 ---------------------------------------------------------------- Greg Kurz (3): hw/i386: Add `\n` to hint message hw/loongarch: Add `\n` to hint message hw/arm: Add `\n` to hint message Han Han (1): qapi/migration.json: Fix the member name for MigrationCapability Markus Armbruster (1): dump: Fix HMP dump-guest-memory -z without -R Michael Tokarev (1): colo: examples: remove mentions of script= and (wrong) downscript= Peter Maydell (10): scripts/clean-includes: Update exclude list hyperv: Clean up includes disas/riscv: Clean up includes aspeed: Clean up includes acpi: Clean up includes m68k: Clean up includes include: Clean up includes cxl: Clean up includes riscv: Clean up includes misc: Clean up includes Philippe Mathieu-Daudé (4): mailmap: Fix Stefan Weil email backends/hostmem: Fix block comments style (checkpatch.pl warnings) hw/intc/xics: Include missing 'cpu.h' header hw/hyperv: Include missing headers Yihuan Pan (1): qemu-docs: Update options for graphical frontends .mailmap | 4 ++++ audio/pwaudio.c | 1 - backends/hostmem.c | 12 ++++++++---- disas/riscv-xthead.c | 1 + disas/riscv-xventana.c | 1 + disas/riscv.h | 1 - docs/colo-proxy.txt | 6 +++--- docs/system/keys.rst.inc | 11 ++++++----- dump/dump-hmp-cmds.c | 2 +- hw/arm/aspeed_eeprom.c | 1 + hw/arm/aspeed_eeprom.h | 1 - hw/arm/virt-acpi-build.c | 2 +- hw/cxl/cxl-events.c | 4 +--- hw/hyperv/hv-balloon-internal.h | 1 - hw/hyperv/hv-balloon-our_range_memslots.c | 1 + hw/hyperv/hv-balloon-our_range_memslots.h | 1 - hw/hyperv/hv-balloon-page_range_tree.c | 1 + hw/hyperv/hv-balloon-page_range_tree.h | 1 - hw/hyperv/hv-balloon.c | 1 + hw/hyperv/hyperv.c | 4 ++++ hw/i386/acpi-build.c | 4 ++-- hw/intc/xics.c | 1 + hw/loongarch/acpi-build.c | 2 +- hw/nvram/fw_cfg-acpi.c | 1 + hw/virtio/virtio-acpi.c | 1 + include/hw/arm/raspberrypi-fw-defs.h | 1 - include/hw/audio/asc.h | 1 - include/hw/m68k/q800-glue.h | 1 - include/hw/mem/memory-device.h | 1 - include/hw/nvram/fw_cfg_acpi.h | 1 - include/hw/ppc/spapr_nested.h | 1 - include/hw/virtio/virtio-acpi.h | 1 - include/hw/xen/xen-hvm-common.h | 1 - include/qemu/qtree.h | 1 - include/ui/rect.h | 2 -- net/af-xdp.c | 1 - plugins/core.c | 1 - plugins/loader.c | 1 - qapi/migration.json | 2 +- qemu-options.hx | 8 ++++---- scripts/clean-includes | 2 +- target/riscv/vector_internals.c | 1 + target/riscv/vector_internals.h | 1 - tests/qtest/qtest_aspeed.h | 2 -- util/userfaultfd.c | 1 - 45 files changed, 47 insertions(+), 50 deletions(-) . Date: Thu, 1 Feb 2024 15:33:18 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/1] loongarch-to-apply queue The following changes since commit bd2e12310b18b51aefbf834e6d54989fd175976f: Merge tag 'qga-pull-2024-01-30' of https://github.com/kostyanf14/qemu into staging (2024-01-30 15:53:46 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240201 for you to fetch changes up to 27edd5040cae63bfa92c68f69883ba81aa3b6cda: target/loongarch: Fix qtest test-hmp error when KVM-only build (2024-02-01 15:29:40 +0800) ---------------------------------------------------------------- pull-loongarch-20240201 ---------------------------------------------------------------- Song Gao (1): target/loongarch: Fix qtest test-hmp error when KVM-only build target/loongarch/cpu.c | 2 - target/loongarch/cpu_helper.c | 231 ++++++++++++++++++++++++++++++++++++++ target/loongarch/internals.h | 20 +++- target/loongarch/meson.build | 1 + target/loongarch/tcg/tlb_helper.c | 230 ------------------------------------- 5 files changed, 250 insertions(+), 234 deletions(-) create mode 100644 target/loongarch/cpu_helper.c . Date: Thu, 1 Feb 2024 15:12:36 +0100 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 v2 00/17] aspeed queue The following changes since commit bd2e12310b18b51aefbf834e6d54989fd175976f: Merge tag 'qga-pull-2024-01-30' of https://github.com/kostyanf14/qemu into staging (2024-01-30 15:53:46 +0000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240201 for you to fetch changes up to 649b8ed20543f1b7f7e3dd8fd409092639bb345e: hw/fsi: Update MAINTAINER list (2024-02-01 08:33:18 +0100) ---------------------------------------------------------------- aspeed queue: * Update of buildroot images to 2023.11 (6.6.3 kernel) * Check of the valid CPU type supported by aspeed machines * Simplified models for the IBM's FSI bus and the Aspeed controller bridge Changes since v1: - Endianness fix - Renamed test file to match other filenames - Fixed file list in MAINTAINER ---------------------------------------------------------------- Cédric Le Goater (1): tests/avocado/machine_aspeed.py: Update buildroot images to 2023.11 Ninad Palsule (11): hw/fsi: Introduce IBM's Local bus hw/fsi: Introduce IBM's scratchpad device hw/fsi: Introduce IBM's FSI Bus hw/fsi: Introduce IBM's fsi-slave model hw/fsi: Introduce IBM's cfam hw/fsi: Introduce IBM's FSI master hw/fsi: Aspeed APB2OPB & On-chip peripheral bus hw/arm: Hook up FSI module in AST2600 hw/fsi: Added qtest hw/fsi: Added FSI documentation hw/fsi: Update MAINTAINER list Philippe Mathieu-Daudé (5): hw/arm/aspeed: Remove dead code hw/arm/aspeed: Set default CPU count using aspeed_soc_num_cpus() hw/arm/aspeed: Init CPU defaults in a common helper hw/arm/aspeed: Introduce aspeed_soc_cpu_type() helper hw/arm/aspeed: Check for CPU types in machine_run_board_init() MAINTAINERS | 9 + docs/specs/fsi.rst | 122 +++++++++++++ docs/specs/index.rst | 1 + meson.build | 1 + hw/fsi/trace.h | 1 + include/hw/arm/aspeed_soc.h | 8 +- include/hw/fsi/aspeed_apb2opb.h | 46 +++++ include/hw/fsi/cfam.h | 34 ++++ include/hw/fsi/fsi-master.h | 32 ++++ include/hw/fsi/fsi.h | 37 ++++ include/hw/fsi/lbus.h | 43 +++++ hw/arm/aspeed.c | 70 ++++---- hw/arm/aspeed_ast10x0.c | 8 +- hw/arm/aspeed_ast2400.c | 15 +- hw/arm/aspeed_ast2600.c | 28 ++- hw/arm/aspeed_soc_common.c | 8 + hw/fsi/aspeed_apb2opb.c | 367 ++++++++++++++++++++++++++++++++++++++++ hw/fsi/cfam.c | 168 ++++++++++++++++++ hw/fsi/fsi-master.c | 170 +++++++++++++++++++ hw/fsi/fsi.c | 102 +++++++++++ hw/fsi/lbus.c | 117 +++++++++++++ tests/qtest/aspeed_fsi-test.c | 205 ++++++++++++++++++++++ hw/Kconfig | 1 + hw/arm/Kconfig | 1 + hw/fsi/Kconfig | 7 + hw/fsi/meson.build | 2 + hw/fsi/trace-events | 13 ++ hw/meson.build | 1 + tests/avocado/machine_aspeed.py | 18 +- tests/qtest/meson.build | 1 + 30 files changed, 1578 insertions(+), 58 deletions(-) create mode 100644 docs/specs/fsi.rst create mode 100644 hw/fsi/trace.h create mode 100644 include/hw/fsi/aspeed_apb2opb.h create mode 100644 include/hw/fsi/cfam.h create mode 100644 include/hw/fsi/fsi-master.h create mode 100644 include/hw/fsi/fsi.h create mode 100644 include/hw/fsi/lbus.h create mode 100644 hw/fsi/aspeed_apb2opb.c create mode 100644 hw/fsi/cfam.c create mode 100644 hw/fsi/fsi-master.c create mode 100644 hw/fsi/fsi.c create mode 100644 hw/fsi/lbus.c create mode 100644 tests/qtest/aspeed_fsi-test.c create mode 100644 hw/fsi/Kconfig create mode 100644 hw/fsi/meson.build create mode 100644 hw/fsi/trace-events . Date: Thu, 1 Feb 2024 16:43:25 +0000 From: David Woodhouse To: qemu-devel@nongnu.org Subject: [PULL 00/47] nic-config.for-upstream queue The following changes since commit 14639717bf379480e937716fcaf1e72b47fd4c5f: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-01-31 19:53:45 +0000) are available in the Git repository at: git://git.infradead.org/users/dwmw2/qemu.git tags/pull-nic-config.for-upstream-20240201 for you to fetch changes up to 5382a24c9b0be4391ea91b020bb72ad15c05cc88: net: make nb_nics and nd_table[] static in net/net.c (2024-02-01 16:21:52 +0000) ---------------------------------------------------------------- Rework matching of network devices to -nic options ---------------------------------------------------------------- David Woodhouse (47): net: add qemu_{configure,create}_nic_device(), qemu_find_nic_info() net: report list of available models according to platform net: add qemu_create_nic_bus_devices() hw/pci: add pci_init_nic_devices(), pci_init_nic_in_slot() hw/i386/pc: use qemu_get_nic_info() and pci_init_nic_devices() hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs hw/alpha/dp264: use pci_init_nic_devices() hw/arm/sbsa-ref: use pci_init_nic_devices() hw/arm/virt: use pci_init_nic_devices() hw/hppa: use pci_init_nic_devices() hw/loongarch: use pci_init_nic_devices() hw/mips/fuloong2e: use pci_init_nic_devices() hw/mips/malta: use pci_init_nic_devices() hw/mips/loongson3_virt: use pci_init_nic_devices() hw/ppc/prep: use pci_init_nic_devices() hw/ppc/spapr: use qemu_get_nic_info() and pci_init_nic_devices() hw/ppc: use pci_init_nic_devices() hw/sh4/r2d: use pci_init_nic_devices() hw/sparc64/sun4u: use pci_init_nic_devices() hw/xtensa/virt: use pci_init_nic_devices() hw/arm/allwinner: use qemu_configure_nic_device() hw/arm/aspeed: use qemu_configure_nic_device() hw/arm/exynos4: use qemu_create_nic_device() hw/arm/fsl: use qemu_configure_nic_device() hw/net/smc91c111: use qemu_configure_nic_device() hw/net/lan9118: use qemu_configure_nic_device() hw/arm/highbank: use qemu_create_nic_device() hw/arm/npcm7xx: use qemu_configure_nic_device, allow emc0/emc1 as aliases hw/arm/stellaris: use qemu_find_nic_info() hw/arm: use qemu_configure_nic_device() hw/net/etraxfs-eth: use qemu_configure_nic_device() hw/m68k/mcf5208: use qemu_create_nic_device() hw/m68k/q800: use qemu_find_nic_info() hw/microblaze: use qemu_configure_nic_device() hw/mips/mipssim: use qemu_create_nic_device() hw/mips/jazz: use qemu_find_nic_info() hw/net/lasi_i82596: Re-enable build hw/net/lasi_i82596: use qemu_create_nic_device() hw/openrisc/openrisc_sim: use qemu_create_nic_device() hw/riscv: use qemu_configure_nic_device() hw/s390x/s390-virtio-ccw: use qemu_create_nic_device() hw/sparc/sun4m: use qemu_find_nic_info() hw/xtensa/xtfpga: use qemu_create_nic_device() net: remove qemu_check_nic_model() hw/pci: remove pci_nic_init_nofail() net: remove qemu_show_nic_models(), qemu_find_nic_model() net: make nb_nics and nd_table[] static in net/net.c hw/alpha/dp264.c | 4 +- hw/arm/allwinner-a10.c | 6 +- hw/arm/allwinner-h3.c | 6 +- hw/arm/allwinner-r40.c | 27 +--- hw/arm/aspeed.c | 9 +- hw/arm/exynos4_boards.c | 6 +- hw/arm/fsl-imx25.c | 2 +- hw/arm/fsl-imx6.c | 2 +- hw/arm/fsl-imx6ul.c | 2 +- hw/arm/fsl-imx7.c | 2 +- hw/arm/gumstix.c | 6 +- hw/arm/highbank.c | 12 +- hw/arm/integratorcp.c | 5 +- hw/arm/kzm.c | 4 +- hw/arm/mainstone.c | 3 +- hw/arm/mps2-tz.c | 8 +- hw/arm/mps2.c | 2 +- hw/arm/msf2-soc.c | 6 +- hw/arm/musicpal.c | 3 +- hw/arm/npcm7xx.c | 16 +- hw/arm/realview.c | 25 ++- hw/arm/sbsa-ref.c | 4 +- hw/arm/stellaris.c | 30 +++- hw/arm/versatilepb.c | 15 +- hw/arm/vexpress.c | 4 +- hw/arm/virt.c | 4 +- hw/arm/xilinx_zynq.c | 11 +- hw/arm/xlnx-versal.c | 7 +- hw/arm/xlnx-zynqmp.c | 8 +- hw/cris/axis_dev88.c | 9 +- hw/hppa/machine.c | 14 +- hw/i386/pc.c | 38 +++-- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/loongarch/virt.c | 4 +- hw/m68k/mcf5208.c | 19 +-- hw/m68k/q800.c | 29 ++-- hw/microblaze/petalogix_ml605_mmu.c | 3 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 3 +- hw/mips/fuloong2e.c | 16 +- hw/mips/jazz.c | 15 +- hw/mips/loongson3_virt.c | 4 +- hw/mips/malta.c | 15 +- hw/mips/mipssim.c | 13 +- hw/net/etraxfs_eth.c | 5 +- hw/net/lan9118.c | 5 +- hw/net/lasi_i82596.c | 13 +- hw/net/meson.build | 2 +- hw/net/smc91c111.c | 5 +- hw/openrisc/openrisc_sim.c | 18 +-- hw/pci/pci.c | 73 +++------ hw/ppc/e500.c | 4 +- hw/ppc/mac_newworld.c | 4 +- hw/ppc/mac_oldworld.c | 4 +- hw/ppc/ppc440_bamboo.c | 14 +- hw/ppc/prep.c | 8 +- hw/ppc/spapr.c | 18 +-- hw/riscv/microchip_pfsoc.c | 14 +- hw/riscv/sifive_u.c | 7 +- hw/s390x/s390-virtio-ccw.c | 11 +- hw/sh4/r2d.c | 6 +- hw/sparc/sun4m.c | 20 ++- hw/sparc64/sun4u.c | 27 +--- hw/xen/xen-bus.c | 6 +- hw/xen/xen_devconfig.c | 25 --- hw/xenpv/xen_machine_pv.c | 9 -- hw/xtensa/virt.c | 4 +- hw/xtensa/xtfpga.c | 13 +- include/hw/cris/etraxfs.h | 2 +- include/hw/i386/pc.h | 4 +- include/hw/net/lan9118.h | 2 +- include/hw/net/lasi_82596.h | 4 +- include/hw/net/ne2000-isa.h | 2 - include/hw/net/smc91c111.h | 2 +- include/hw/pci/pci.h | 7 +- include/hw/xen/xen-bus.h | 2 +- include/hw/xen/xen-legacy-backend.h | 1 - include/net/net.h | 70 ++++++++- net/net.c | 253 +++++++++++++++++++++++++------ system/globals.c | 2 - tests/qtest/npcm7xx_emc-test.c | 18 +-- 81 files changed, 547 insertions(+), 562 deletions(-) . Date: Fri, 2 Feb 2024 15:49:38 +1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/57] tcg patch queue The following changes since commit 14639717bf379480e937716fcaf1e72b47fd4c5f: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-01-31 19:53:45 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240202 for you to fetch changes up to 73e095fc71dfeb8f5f767d9ac71078e562d935b0: target/sparc: Remove FSR_FTT_NMASK, FSR_FTT_CEXC_NMASK (2024-02-02 14:40:06 +1000) ---------------------------------------------------------------- tests/tcg: Fix multiarch/gdbstub/prot-none.py hw/core: Convert cpu_mmu_index to a CPUClass hook tcg/loongarch64: Set vector registers call clobbered target/sparc: floating-point cleanup ---------------------------------------------------------------- Ilya Leoshkevich (1): tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test Richard Henderson (56): include/hw/core: Add mmu_index to CPUClass target/alpha: Split out alpha_env_mmu_index target/alpha: Populate CPUClass.mmu_index target/arm: Split out arm_env_mmu_index target/arm: Populate CPUClass.mmu_index target/avr: Populate CPUClass.mmu_index target/cris: Cache mem_index in DisasContext target/cris: Populate CPUClass.mmu_index target/hppa: Populate CPUClass.mmu_index target/i386: Populate CPUClass.mmu_index target/loongarch: Populate CPUClass.mmu_index target/loongarch: Rename MMU_IDX_* target/m68k: Populate CPUClass.mmu_index target/microblaze: Populate CPUClass.mmu_index target/mips: Pass ptw_mmu_idx down from mips_cpu_tlb_fill target/mips: Split out mips_env_mmu_index target/mips: Populate CPUClass.mmu_index target/nios2: Populate CPUClass.mmu_index target/openrisc: Populate CPUClass.mmu_index target/ppc: Split out ppc_env_mmu_index target/ppc: Populate CPUClass.mmu_index target/riscv: Rename riscv_cpu_mmu_index to riscv_env_mmu_index target/riscv: Replace cpu_mmu_index with riscv_env_mmu_index target/riscv: Populate CPUClass.mmu_index target/rx: Populate CPUClass.mmu_index target/s390x: Split out s390x_env_mmu_index target/s390x: Populate CPUClass.mmu_index target/sh4: Populate CPUClass.mmu_index target/sparc: Populate CPUClass.mmu_index target/tricore: Populate CPUClass.mmu_index target/xtensa: Populate CPUClass.mmu_index include/exec: Implement cpu_mmu_index generically include/exec: Change cpu_mmu_index argument to CPUState tcg/loongarch64: Set vector registers call clobbered target/sparc: Use tcg_gen_qemu_{ld, st}_i128 for ASI_M_BCOPY target/sparc: Use tcg_gen_qemu_{ld, st}_i128 for ASI_M_BFILL target/sparc: Remove gen_dest_fpr_F target/sparc: Introduce gen_{load,store}_fpr_Q target/sparc: Inline FNEG, FABS target/sparc: Use i128 for FSQRTq target/sparc: Use i128 for FADDq, FSUBq, FMULq, FDIVq target/sparc: Use i128 for FqTOs, FqTOi target/sparc: Use i128 for FqTOd, FqTOx target/sparc: Use i128 for FCMPq, FCMPEq target/sparc: Use i128 for FsTOq, FiTOq target/sparc: Use i128 for FdTOq, FxTOq target/sparc: Use i128 for Fdmulq target/sparc: Remove qt0, qt1 temporaries target/sparc: Introduce cpu_get_fsr, cpu_put_fsr target/sparc: Split ver from env->fsr target/sparc: Clear cexc and ftt in do_check_ieee_exceptions target/sparc: Merge check_ieee_exceptions with FPop helpers target/sparc: Split cexc and ftt from env->fsr target/sparc: Remove cpu_fsr target/sparc: Split fcc out of env->fsr target/sparc: Remove FSR_FTT_NMASK, FSR_FTT_CEXC_NMASK include/exec/cpu-all.h | 4 + include/exec/cpu-common.h | 21 + include/hw/core/cpu.h | 3 + target/alpha/cpu.h | 2 +- target/arm/cpu.h | 13 - target/arm/internals.h | 5 + target/avr/cpu.h | 7 - target/cris/cpu.h | 4 - target/hexagon/cpu.h | 9 - target/hppa/cpu.h | 13 - target/i386/cpu.h | 7 - target/loongarch/cpu.h | 18 +- target/m68k/cpu.h | 4 - target/microblaze/cpu.h | 15 - target/mips/cpu.h | 6 +- target/nios2/cpu.h | 6 - target/openrisc/cpu.h | 12 - target/ppc/cpu.h | 2 +- target/riscv/cpu.h | 4 +- target/rx/cpu.h | 5 - target/s390x/cpu.h | 2 +- target/sh4/cpu.h | 10 - target/sparc/cpu.h | 69 +- target/sparc/helper.h | 116 ++- target/tricore/cpu.h | 5 - target/xtensa/cpu.h | 5 - accel/tcg/cputlb.c | 22 +- linux-user/sparc/cpu_loop.c | 2 +- linux-user/sparc/signal.c | 14 +- semihosting/uaccess.c | 2 +- target/alpha/cpu.c | 6 + target/alpha/translate.c | 2 +- target/arm/cpu.c | 6 + target/arm/helper.c | 2 +- target/arm/tcg/helper-a64.c | 4 +- target/arm/tcg/mte_helper.c | 18 +- target/arm/tcg/sve_helper.c | 8 +- target/arm/tcg/tlb_helper.c | 2 +- target/avr/cpu.c | 6 + target/cris/cpu.c | 6 + target/cris/translate.c | 14 +- target/hppa/cpu.c | 12 + target/hppa/mem_helper.c | 2 +- target/hppa/op_helper.c | 8 +- target/i386/cpu.c | 10 + target/i386/tcg/translate.c | 2 +- target/loongarch/cpu.c | 11 + target/loongarch/tcg/tlb_helper.c | 8 +- target/loongarch/tcg/translate.c | 2 +- target/m68k/cpu.c | 6 + target/m68k/op_helper.c | 2 +- target/microblaze/cpu.c | 18 +- target/microblaze/helper.c | 3 +- target/microblaze/mmu.c | 2 +- target/microblaze/translate.c | 2 +- target/mips/cpu.c | 6 + target/mips/sysemu/physaddr.c | 2 +- target/mips/tcg/msa_helper.c | 10 +- target/mips/tcg/sysemu/cp0_helper.c | 2 +- target/mips/tcg/sysemu/special_helper.c | 2 +- target/mips/tcg/sysemu/tlb_helper.c | 34 +- target/nios2/cpu.c | 7 + target/nios2/translate.c | 2 +- target/openrisc/cpu.c | 13 + target/openrisc/translate.c | 2 +- target/ppc/cpu_init.c | 8 +- target/ppc/mem_helper.c | 10 +- target/ppc/mmu_common.c | 4 +- target/riscv/cpu.c | 6 + target/riscv/cpu_helper.c | 6 +- target/riscv/op_helper.c | 4 +- target/riscv/vector_helper.c | 9 +- target/rx/cpu.c | 6 + target/s390x/cpu.c | 6 + target/s390x/tcg/mem_helper.c | 34 +- target/sh4/cpu.c | 16 + target/sparc/cpu.c | 61 +- target/sparc/fop_helper.c | 510 +++++++------ target/sparc/gdbstub.c | 8 +- target/sparc/ldst_helper.c | 5 +- target/sparc/machine.c | 36 +- target/sparc/mmu_helper.c | 2 +- target/sparc/translate.c | 799 +++++++-------------- target/tricore/cpu.c | 6 + target/tricore/helper.c | 2 +- target/tricore/translate.c | 2 +- target/xtensa/cpu.c | 6 + target/xtensa/mmu_helper.c | 2 +- accel/tcg/ldst_common.c.inc | 42 +- target/cris/translate_v10.c.inc | 6 +- .../tcg/insn_trans/trans_privileged.c.inc | 2 +- tcg/loongarch64/tcg-target.c.inc | 2 +- tests/tcg/multiarch/gdbstub/prot-none.py | 2 +- 93 files changed, 1060 insertions(+), 1191 deletions(-) . Date: Fri, 2 Feb 2024 15:36:01 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/36] target-arm queue The following changes since commit c3709fde5955d13f6d4f86ab46ef3cc2288ca65e: Merge tag 'pull-aspeed-20240201' of https://github.com/legoater/qemu into staging (2024-02-01 14:42:11 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240202 for you to fetch changes up to f09c2b7ba9908714a3e2f1decd989462536cf731: hw/arm: Connect SPI Controller to BCM2835 (2024-02-02 13:51:59 +0000) ---------------------------------------------------------------- target/arm: fix exception syndrome for AArch32 bkpt insn pci, vmbus, adb, s390x/css-bridge: Switch buses to 3-phase reset system/vl.c: Fix handling of '-serial none -serial something' target/arm: Add ID_AA64ZFR0_EL1.B16B16 to the exposed-to-userspace set tests/qtest/xlnx-versal-trng-test.c: Drop use of variable length array target/arm: Reinstate "vfp" property on AArch32 CPUs doc/sphinx/hxtool.py: add optional label argument to SRST directive hw/arm: Check for CPU types in machine_run_board_init() for various boards pci-host: designware: Limit value range of iATU viewport register hw/arm: Convert some DPRINTF macros to trace events and guest errors hw/arm: NPCM7XX SoC: Add GMAC ethernet controller devices hw/arm: Implement BCM2835 SPI Controller ---------------------------------------------------------------- David Woodhouse (1): doc/sphinx/hxtool.py: add optional label argument to SRST directive Guenter Roeck (1): pci-host: designware: Limit value range of iATU viewport register Hao Wu (2): hw/net: Add NPCMXXX GMAC device hw/arm: Add GMAC devices to NPCM7XX SoC Jan Klötzke (1): target/arm: fix exception syndrome for AArch32 bkpt insn Manos Pitsidianakis (6): hw/arm/strongarm.c: convert DPRINTF to trace events and guest errors hw/arm/z2: convert DPRINTF to trace events and guest errors hw/arm/xen_arm.c: convert DPRINTF to trace events and error/warn reports hw/xen/xen-mapcache.c: convert DPRINTF to tracepoints hw/xen/xen-hvm-common.c: convert DPRINTF to tracepoints hw/xen: convert stderr prints to error/warn reports Nabih Estefan Diaz (4): tests/qtest: Creating qtest for GMAC Module hw/net: GMAC Rx Implementation hw/net: GMAC Tx Implementation tests/qtest: Adding PCS Module test to GMAC Qtest Peter Maydell (10): pci: Switch bus reset to 3-phase-reset vmbus: Switch bus reset to 3-phase-reset adb: Switch bus reset to 3-phase-reset hw/s390x/css-bridge: switch virtual-css bus to 3-phase-reset hw/core: Remove transitional infrastructure from BusClass system/vl.c: Fix handling of '-serial none -serial something' qemu-options.hx: Improve -serial option documentation target/arm: Add ID_AA64ZFR0_EL1.B16B16 to the exposed-to-userspace set tests/qtest/xlnx-versal-trng-test.c: Drop use of variable length array target/arm: Reinstate "vfp" property on AArch32 CPUs Philippe Mathieu-Daudé (9): hw/arm/exynos: Add missing QOM parent for CPU cores hw/arm/exynos: Check for CPU types in machine_run_board_init() hw/arm/highbank: Add missing QOM parent for CPU cores hw/arm/highbank: Check for CPU types in machine_run_board_init() hw/arm/msf2: Simplify setting MachineClass::valid_cpu_types[] hw/arm/musca: Simplify setting MachineClass::valid_cpu_types[] hw/arm/npcm7xx_boards: Simplify setting MachineClass::valid_cpu_types[] hw/arm/vexpress: Check for CPU types in machine_run_board_init() hw/arm/zynq: Check for CPU types in machine_run_board_init() Rayhan Faizel (2): hw/ssi: Implement BCM2835 SPI Controller hw/arm: Connect SPI Controller to BCM2835 docs/devel/docs.rst | 12 +- docs/sphinx/hxtool.py | 16 + docs/system/arm/raspi.rst | 2 +- docs/system/i386/xen.rst | 3 +- include/hw/arm/bcm2835_peripherals.h | 3 +- include/hw/arm/msf2-soc.h | 3 - include/hw/arm/npcm7xx.h | 2 + include/hw/net/npcm_gmac.h | 343 +++++++++++++ include/hw/qdev-core.h | 2 - include/hw/ssi/bcm2835_spi.h | 81 +++ target/arm/syndrome.h | 8 + hw/arm/bcm2835_peripherals.c | 17 +- hw/arm/exynos4210.c | 1 + hw/arm/exynos4_boards.c | 8 + hw/arm/highbank.c | 11 + hw/arm/msf2-soc.c | 3 +- hw/arm/msf2-som.c | 4 - hw/arm/musca.c | 1 - hw/arm/npcm7xx.c | 37 +- hw/arm/npcm7xx_boards.c | 1 - hw/arm/strongarm.c | 82 +-- hw/arm/vexpress.c | 12 +- hw/arm/xen_arm.c | 23 +- hw/arm/xilinx_zynq.c | 6 +- hw/arm/z2.c | 27 +- hw/core/bus.c | 67 --- hw/hyperv/vmbus.c | 7 +- hw/input/adb.c | 7 +- hw/net/npcm_gmac.c | 942 +++++++++++++++++++++++++++++++++++ hw/pci-host/designware.c | 2 + hw/pci/pci.c | 10 +- hw/s390x/css-bridge.c | 5 +- hw/ssi/bcm2835_spi.c | 288 +++++++++++ hw/xen/xen-hvm-common.c | 47 +- hw/xen/xen-mapcache.c | 59 +-- system/vl.c | 22 +- target/arm/cpu.c | 4 + target/arm/helper.c | 19 + tests/qtest/npcm_gmac-test.c | 344 +++++++++++++ tests/qtest/xlnx-versal-trng-test.c | 19 +- tests/tcg/aarch64/sysregs.c | 2 +- hw/arm/Kconfig | 1 + hw/arm/trace-events | 15 + hw/net/meson.build | 2 +- hw/net/trace-events | 19 + hw/ssi/Kconfig | 4 + hw/ssi/meson.build | 1 + hw/xen/trace-events | 21 +- qemu-options.hx | 16 +- tests/qtest/meson.build | 1 + 50 files changed, 2388 insertions(+), 244 deletions(-) create mode 100644 include/hw/net/npcm_gmac.h create mode 100644 include/hw/ssi/bcm2835_spi.h create mode 100644 hw/net/npcm_gmac.c create mode 100644 hw/ssi/bcm2835_spi.c create mode 100644 tests/qtest/npcm_gmac-test.c . Date: Fri, 2 Feb 2024 16:38:00 +0000 From: David Woodhouse To: Peter Maydell Cc: qemu-devel@nongnu.org Subject: [PULL v2 00/47] nic-config-2 queue From: David Woodhouse The following changes since commit c3709fde5955d13f6d4f86ab46ef3cc2288ca65e: Merge tag 'pull-aspeed-20240201' of https://github.com/legoater/qemu into staging (2024-02-01 14:42:11 +0000) are available in the Git repository at: git://git.infradead.org/users/dwmw2/qemu.git tags/pull-nic-config-2-20240202 for you to fetch changes up to e8c5c4525cbbd7207c085732cfd1e67d8f3d662a: net: make nb_nics and nd_table[] static in net/net.c (2024-02-02 16:23:48 +0000) ---------------------------------------------------------------- Rework matching of network devices to -nic options (v2) ---------------------------------------------------------------- David Woodhouse (47): net: add qemu_{configure,create}_nic_device(), qemu_find_nic_info() net: report list of available models according to platform net: add qemu_create_nic_bus_devices() hw/pci: add pci_init_nic_devices(), pci_init_nic_in_slot() hw/i386/pc: use qemu_get_nic_info() and pci_init_nic_devices() hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs hw/alpha/dp264: use pci_init_nic_devices() hw/arm/sbsa-ref: use pci_init_nic_devices() hw/arm/virt: use pci_init_nic_devices() hw/hppa: use pci_init_nic_devices() hw/loongarch: use pci_init_nic_devices() hw/mips/fuloong2e: use pci_init_nic_devices() hw/mips/malta: use pci_init_nic_devices() hw/mips/loongson3_virt: use pci_init_nic_devices() hw/ppc/prep: use pci_init_nic_devices() hw/ppc/spapr: use qemu_get_nic_info() and pci_init_nic_devices() hw/ppc: use pci_init_nic_devices() hw/sh4/r2d: use pci_init_nic_devices() hw/sparc64/sun4u: use pci_init_nic_devices() hw/xtensa/virt: use pci_init_nic_devices() hw/arm/allwinner: use qemu_configure_nic_device() hw/arm/aspeed: use qemu_configure_nic_device() hw/arm/exynos4: use qemu_create_nic_device() hw/arm/fsl: use qemu_configure_nic_device() hw/net/smc91c111: use qemu_configure_nic_device() hw/net/lan9118: use qemu_configure_nic_device() hw/arm/highbank: use qemu_create_nic_device() hw/arm/npcm7xx: use qemu_configure_nic_device, allow emc0/emc1 as aliases hw/arm/stellaris: use qemu_find_nic_info() hw/arm: use qemu_configure_nic_device() hw/net/etraxfs-eth: use qemu_configure_nic_device() hw/m68k/mcf5208: use qemu_create_nic_device() hw/m68k/q800: use qemu_find_nic_info() hw/microblaze: use qemu_configure_nic_device() hw/mips/mipssim: use qemu_create_nic_device() hw/mips/jazz: use qemu_find_nic_info() hw/net/lasi_i82596: Re-enable build hw/net/lasi_i82596: use qemu_create_nic_device() hw/openrisc/openrisc_sim: use qemu_create_nic_device() hw/riscv: use qemu_configure_nic_device() hw/s390x/s390-virtio-ccw: use qemu_create_nic_device() hw/sparc/sun4m: use qemu_find_nic_info() hw/xtensa/xtfpga: use qemu_create_nic_device() net: remove qemu_check_nic_model() hw/pci: remove pci_nic_init_nofail() net: remove qemu_show_nic_models(), qemu_find_nic_model() net: make nb_nics and nd_table[] static in net/net.c hw/alpha/dp264.c | 4 +- hw/arm/allwinner-a10.c | 6 +- hw/arm/allwinner-h3.c | 6 +- hw/arm/allwinner-r40.c | 27 +--- hw/arm/aspeed.c | 9 +- hw/arm/exynos4_boards.c | 6 +- hw/arm/fsl-imx25.c | 2 +- hw/arm/fsl-imx6.c | 2 +- hw/arm/fsl-imx6ul.c | 2 +- hw/arm/fsl-imx7.c | 2 +- hw/arm/gumstix.c | 6 +- hw/arm/highbank.c | 12 +- hw/arm/integratorcp.c | 5 +- hw/arm/kzm.c | 4 +- hw/arm/mainstone.c | 3 +- hw/arm/mps2-tz.c | 8 +- hw/arm/mps2.c | 2 +- hw/arm/msf2-soc.c | 6 +- hw/arm/musicpal.c | 3 +- hw/arm/npcm7xx.c | 16 +- hw/arm/realview.c | 25 ++- hw/arm/sbsa-ref.c | 4 +- hw/arm/stellaris.c | 30 +++- hw/arm/versatilepb.c | 15 +- hw/arm/vexpress.c | 4 +- hw/arm/virt.c | 4 +- hw/arm/xilinx_zynq.c | 11 +- hw/arm/xlnx-versal.c | 7 +- hw/arm/xlnx-zynqmp.c | 8 +- hw/cris/axis_dev88.c | 9 +- hw/hppa/machine.c | 12 +- hw/i386/pc.c | 38 +++-- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/loongarch/virt.c | 4 +- hw/m68k/mcf5208.c | 19 +-- hw/m68k/q800.c | 29 ++-- hw/microblaze/petalogix_ml605_mmu.c | 3 +- hw/microblaze/petalogix_s3adsp1800_mmu.c | 3 +- hw/mips/fuloong2e.c | 16 +- hw/mips/jazz.c | 15 +- hw/mips/loongson3_virt.c | 4 +- hw/mips/malta.c | 15 +- hw/mips/mipssim.c | 13 +- hw/net/etraxfs_eth.c | 5 +- hw/net/lan9118.c | 5 +- hw/net/lasi_i82596.c | 13 +- hw/net/meson.build | 2 +- hw/net/smc91c111.c | 5 +- hw/openrisc/openrisc_sim.c | 18 +-- hw/pci/pci.c | 73 +++------ hw/ppc/e500.c | 4 +- hw/ppc/mac_newworld.c | 4 +- hw/ppc/mac_oldworld.c | 4 +- hw/ppc/ppc440_bamboo.c | 14 +- hw/ppc/prep.c | 8 +- hw/ppc/spapr.c | 18 +-- hw/riscv/microchip_pfsoc.c | 14 +- hw/riscv/sifive_u.c | 7 +- hw/s390x/s390-virtio-ccw.c | 11 +- hw/sh4/r2d.c | 6 +- hw/sparc/sun4m.c | 20 ++- hw/sparc64/sun4u.c | 27 +--- hw/xen/xen-bus.c | 6 +- hw/xen/xen_devconfig.c | 25 --- hw/xenpv/xen_machine_pv.c | 9 -- hw/xtensa/virt.c | 4 +- hw/xtensa/xtfpga.c | 13 +- include/hw/cris/etraxfs.h | 2 +- include/hw/i386/pc.h | 4 +- include/hw/net/lan9118.h | 2 +- include/hw/net/lasi_82596.h | 4 +- include/hw/net/ne2000-isa.h | 2 - include/hw/net/smc91c111.h | 2 +- include/hw/pci/pci.h | 7 +- include/hw/xen/xen-bus.h | 2 +- include/hw/xen/xen-legacy-backend.h | 1 - include/net/net.h | 70 ++++++++- net/net.c | 253 +++++++++++++++++++++++++------ system/globals.c | 2 - tests/qtest/npcm7xx_emc-test.c | 18 +-- 81 files changed, 547 insertions(+), 560 deletions(-) . Date: Sat, 3 Feb 2024 17:06:51 +1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 00/58] tcg patch queue v2: Rebase and resolve target/loongarch conflicts. Include linux-user/aarch64 vdso fix. r~ The following changes since commit 29b008927ef6e3fbb70e6607b25d3fcae26a5190: Merge tag 'pull-nic-config-2-20240202' of git://git.infradead.org/users/dwmw2/qemu into staging (2024-02-02 16:47:36 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240202-2 for you to fetch changes up to 6400be014f80e4c2c246eb8be709ea3a96428233: linux-user/aarch64: Add padding before __kernel_rt_sigreturn (2024-02-03 16:46:10 +1000) ---------------------------------------------------------------- tests/tcg: Fix multiarch/gdbstub/prot-none.py hw/core: Convert cpu_mmu_index to a CPUClass hook tcg/loongarch64: Set vector registers call clobbered target/sparc: floating-point cleanup linux-user/aarch64: Add padding before __kernel_rt_sigreturn ---------------------------------------------------------------- Ilya Leoshkevich (1): tests/tcg: Fix the /proc/self/mem probing in the PROT_NONE gdbstub test Richard Henderson (57): include/hw/core: Add mmu_index to CPUClass target/alpha: Split out alpha_env_mmu_index target/alpha: Populate CPUClass.mmu_index target/arm: Split out arm_env_mmu_index target/arm: Populate CPUClass.mmu_index target/avr: Populate CPUClass.mmu_index target/cris: Cache mem_index in DisasContext target/cris: Populate CPUClass.mmu_index target/hppa: Populate CPUClass.mmu_index target/i386: Populate CPUClass.mmu_index target/loongarch: Populate CPUClass.mmu_index target/loongarch: Rename MMU_IDX_* target/m68k: Populate CPUClass.mmu_index target/microblaze: Populate CPUClass.mmu_index target/mips: Pass ptw_mmu_idx down from mips_cpu_tlb_fill target/mips: Split out mips_env_mmu_index target/mips: Populate CPUClass.mmu_index target/nios2: Populate CPUClass.mmu_index target/openrisc: Populate CPUClass.mmu_index target/ppc: Split out ppc_env_mmu_index target/ppc: Populate CPUClass.mmu_index target/riscv: Rename riscv_cpu_mmu_index to riscv_env_mmu_index target/riscv: Replace cpu_mmu_index with riscv_env_mmu_index target/riscv: Populate CPUClass.mmu_index target/rx: Populate CPUClass.mmu_index target/s390x: Split out s390x_env_mmu_index target/s390x: Populate CPUClass.mmu_index target/sh4: Populate CPUClass.mmu_index target/sparc: Populate CPUClass.mmu_index target/tricore: Populate CPUClass.mmu_index target/xtensa: Populate CPUClass.mmu_index include/exec: Implement cpu_mmu_index generically include/exec: Change cpu_mmu_index argument to CPUState tcg/loongarch64: Set vector registers call clobbered target/sparc: Use tcg_gen_qemu_{ld, st}_i128 for ASI_M_BCOPY target/sparc: Use tcg_gen_qemu_{ld, st}_i128 for ASI_M_BFILL target/sparc: Remove gen_dest_fpr_F target/sparc: Introduce gen_{load,store}_fpr_Q target/sparc: Inline FNEG, FABS target/sparc: Use i128 for FSQRTq target/sparc: Use i128 for FADDq, FSUBq, FMULq, FDIVq target/sparc: Use i128 for FqTOs, FqTOi target/sparc: Use i128 for FqTOd, FqTOx target/sparc: Use i128 for FCMPq, FCMPEq target/sparc: Use i128 for FsTOq, FiTOq target/sparc: Use i128 for FdTOq, FxTOq target/sparc: Use i128 for Fdmulq target/sparc: Remove qt0, qt1 temporaries target/sparc: Introduce cpu_get_fsr, cpu_put_fsr target/sparc: Split ver from env->fsr target/sparc: Clear cexc and ftt in do_check_ieee_exceptions target/sparc: Merge check_ieee_exceptions with FPop helpers target/sparc: Split cexc and ftt from env->fsr target/sparc: Remove cpu_fsr target/sparc: Split fcc out of env->fsr target/sparc: Remove FSR_FTT_NMASK, FSR_FTT_CEXC_NMASK linux-user/aarch64: Add padding before __kernel_rt_sigreturn include/exec/cpu-all.h | 4 + include/exec/cpu-common.h | 21 + include/hw/core/cpu.h | 3 + target/alpha/cpu.h | 2 +- target/arm/cpu.h | 13 - target/arm/internals.h | 5 + target/avr/cpu.h | 7 - target/cris/cpu.h | 4 - target/hexagon/cpu.h | 9 - target/hppa/cpu.h | 13 - target/i386/cpu.h | 7 - target/loongarch/cpu.h | 18 +- target/m68k/cpu.h | 4 - target/microblaze/cpu.h | 15 - target/mips/cpu.h | 6 +- target/nios2/cpu.h | 6 - target/openrisc/cpu.h | 12 - target/ppc/cpu.h | 2 +- target/riscv/cpu.h | 4 +- target/rx/cpu.h | 5 - target/s390x/cpu.h | 2 +- target/sh4/cpu.h | 10 - target/sparc/cpu.h | 69 +- target/sparc/helper.h | 116 ++- target/tricore/cpu.h | 5 - target/xtensa/cpu.h | 5 - accel/tcg/cputlb.c | 22 +- linux-user/sparc/cpu_loop.c | 2 +- linux-user/sparc/signal.c | 14 +- semihosting/uaccess.c | 2 +- target/alpha/cpu.c | 6 + target/alpha/translate.c | 2 +- target/arm/cpu.c | 6 + target/arm/helper.c | 2 +- target/arm/tcg/helper-a64.c | 4 +- target/arm/tcg/mte_helper.c | 18 +- target/arm/tcg/sve_helper.c | 8 +- target/arm/tcg/tlb_helper.c | 2 +- target/avr/cpu.c | 6 + target/cris/cpu.c | 6 + target/cris/translate.c | 14 +- target/hppa/cpu.c | 12 + target/hppa/mem_helper.c | 2 +- target/hppa/op_helper.c | 8 +- target/i386/cpu.c | 10 + target/i386/tcg/translate.c | 2 +- target/loongarch/cpu.c | 11 + target/loongarch/cpu_helper.c | 6 +- target/loongarch/tcg/tlb_helper.c | 2 +- target/loongarch/tcg/translate.c | 2 +- target/m68k/cpu.c | 6 + target/m68k/op_helper.c | 2 +- target/microblaze/cpu.c | 18 +- target/microblaze/helper.c | 3 +- target/microblaze/mmu.c | 2 +- target/microblaze/translate.c | 2 +- target/mips/cpu.c | 6 + target/mips/sysemu/physaddr.c | 2 +- target/mips/tcg/msa_helper.c | 10 +- target/mips/tcg/sysemu/cp0_helper.c | 2 +- target/mips/tcg/sysemu/special_helper.c | 2 +- target/mips/tcg/sysemu/tlb_helper.c | 34 +- target/nios2/cpu.c | 7 + target/nios2/translate.c | 2 +- target/openrisc/cpu.c | 13 + target/openrisc/translate.c | 2 +- target/ppc/cpu_init.c | 8 +- target/ppc/mem_helper.c | 10 +- target/ppc/mmu_common.c | 4 +- target/riscv/cpu.c | 6 + target/riscv/cpu_helper.c | 6 +- target/riscv/op_helper.c | 4 +- target/riscv/vector_helper.c | 9 +- target/rx/cpu.c | 6 + target/s390x/cpu.c | 6 + target/s390x/tcg/mem_helper.c | 34 +- target/sh4/cpu.c | 16 + target/sparc/cpu.c | 61 +- target/sparc/fop_helper.c | 510 +++++++------ target/sparc/gdbstub.c | 8 +- target/sparc/ldst_helper.c | 5 +- target/sparc/machine.c | 36 +- target/sparc/mmu_helper.c | 2 +- target/sparc/translate.c | 799 +++++++-------------- target/tricore/cpu.c | 6 + target/tricore/helper.c | 2 +- target/tricore/translate.c | 2 +- target/xtensa/cpu.c | 6 + target/xtensa/mmu_helper.c | 2 +- accel/tcg/ldst_common.c.inc | 42 +- target/cris/translate_v10.c.inc | 6 +- .../tcg/insn_trans/trans_privileged.c.inc | 2 +- tcg/loongarch64/tcg-target.c.inc | 2 +- linux-user/aarch64/vdso-be.so | Bin 3216 -> 3224 bytes linux-user/aarch64/vdso-le.so | Bin 3216 -> 3224 bytes linux-user/aarch64/vdso.S | 4 + tests/tcg/multiarch/gdbstub/prot-none.py | 2 +- 97 files changed, 1064 insertions(+), 1191 deletions(-) . Date: Sat, 3 Feb 2024 09:34:10 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/5] QAPI patches patches for 2024-02-03 The following changes since commit 29b008927ef6e3fbb70e6607b25d3fcae26a5190: Merge tag 'pull-nic-config-2-20240202' of git://git.infradead.org/users/dwmw2/qemu into staging (2024-02-02 16:47:36 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-02-03 for you to fetch changes up to 3424ed6caf9759eb57405d965537fd5f3d70026b: qga/qapi-schema: Move command description right after command name (2024-02-03 09:20:33 +0100) ---------------------------------------------------------------- QAPI patches patches for 2024-02-03 ---------------------------------------------------------------- Markus Armbruster (5): qapi: Drop redundant documentation of inherited members qapi: Drop redundant documentation of conditional qapi: Elide "Potential additional modes" from generated docs qga: Move type description right after type name qga/qapi-schema: Move command description right after command name qapi/block-core.json | 6 ++---- qapi/block-export.json | 11 ++++++----- qapi/introspect.json | 2 -- qapi/misc-target.json | 2 -- qga/qapi-schema.json | 18 +++++++++--------- 5 files changed, 17 insertions(+), 22 deletions(-) -- 2.43.0 . Date: Mon, 5 Feb 2024 07:40:13 +1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/39] tcg patch queue The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240205 for you to fetch changes up to 867db6870a6f5d4e0915822d6a84e665bec1f22e: tcg/tci: Support TCG_COND_TST{EQ,NE} (2024-02-03 23:53:49 +0000) ---------------------------------------------------------------- tcg: Introduce TCG_COND_TST{EQ,NE} target/alpha: Use TCG_COND_TST{EQ,NE} target/m68k: Use TCG_COND_TST{EQ,NE} in gen_fcc_cond target/sparc: Use TCG_COND_TSTEQ in gen_op_mulscc target/s390x: Use TCG_COND_TSTNE for CC_OP_{TM,ICM} target/s390x: Improve general case of disas_jcc ---------------------------------------------------------------- Paolo Bonzini (1): tcg/i386: Use TEST r,r to test 8/16/32 bits Philippe Mathieu-Daudé (1): tcg/aarch64: Massage tcg_out_brcond() Richard Henderson (37): tcg: Introduce TCG_COND_TST{EQ,NE} tcg: Introduce TCG_TARGET_HAS_tst tcg/optimize: Split out arg_is_const_val tcg/optimize: Split out do_constant_folding_cond1 tcg/optimize: Do swap_commutative2 in do_constant_folding_cond2 tcg/optimize: Handle TCG_COND_TST{EQ,NE} tcg/optimize: Lower TCG_COND_TST{EQ,NE} if unsupported target/alpha: Pass immediate value to gen_bcond_internal() target/alpha: Use TCG_COND_TST{EQ,NE} for BLB{C,S} target/alpha: Use TCG_COND_TST{EQ,NE} for CMOVLB{C,S} target/alpha: Use TCG_COND_TSTNE for gen_fold_mzero target/m68k: Use TCG_COND_TST{EQ,NE} in gen_fcc_cond target/sparc: Use TCG_COND_TSTEQ in gen_op_mulscc target/s390x: Use TCG_COND_TSTNE for CC_OP_{TM,ICM} target/s390x: Improve general case of disas_jcc tcg: Add TCGConst argument to tcg_target_const_match tcg/aarch64: Support TCG_COND_TST{EQ,NE} tcg/aarch64: Generate TBZ, TBNZ tcg/aarch64: Generate CBNZ for TSTNE of UINT32_MAX tcg/arm: Split out tcg_out_cmp() tcg/arm: Support TCG_COND_TST{EQ,NE} tcg/i386: Pass x86 condition codes to tcg_out_cmov tcg/i386: Move tcg_cond_to_jcc[] into tcg_out_cmp tcg/i386: Support TCG_COND_TST{EQ,NE} tcg/i386: Improve TSTNE/TESTEQ vs powers of two tcg/sparc64: Hoist read of tcg_cond_to_rcond tcg/sparc64: Pass TCGCond to tcg_out_cmp tcg/sparc64: Support TCG_COND_TST{EQ,NE} tcg/ppc: Sink tcg_to_bc usage into tcg_out_bc tcg/ppc: Use cr0 in tcg_to_bc and tcg_to_isel tcg/ppc: Tidy up tcg_target_const_match tcg/ppc: Add TCG_CT_CONST_CMP tcg/ppc: Support TCG_COND_TST{EQ,NE} tcg/s390x: Split constraint A into J+U tcg/s390x: Add TCG_CT_CONST_CMP tcg/s390x: Support TCG_COND_TST{EQ,NE} tcg/tci: Support TCG_COND_TST{EQ,NE} include/tcg/tcg-cond.h | 74 ++++-- tcg/aarch64/tcg-target-con-set.h | 5 +- tcg/aarch64/tcg-target-con-str.h | 1 + tcg/aarch64/tcg-target.h | 2 + tcg/arm/tcg-target.h | 2 + tcg/i386/tcg-target-con-set.h | 6 +- tcg/i386/tcg-target-con-str.h | 1 + tcg/i386/tcg-target.h | 2 + tcg/loongarch64/tcg-target.h | 2 + tcg/mips/tcg-target.h | 2 + tcg/ppc/tcg-target-con-set.h | 5 +- tcg/ppc/tcg-target-con-str.h | 1 + tcg/ppc/tcg-target.h | 2 + tcg/riscv/tcg-target.h | 2 + tcg/s390x/tcg-target-con-set.h | 8 +- tcg/s390x/tcg-target-con-str.h | 3 +- tcg/s390x/tcg-target.h | 2 + tcg/sparc64/tcg-target.h | 2 + tcg/tcg-internal.h | 2 + tcg/tci/tcg-target.h | 2 + target/alpha/translate.c | 94 ++++---- target/m68k/translate.c | 74 +++--- target/s390x/tcg/translate.c | 100 +++------ target/sparc/translate.c | 4 +- tcg/optimize.c | 474 ++++++++++++++++++++++++++++++--------- tcg/tcg.c | 40 +++- tcg/tci.c | 14 ++ docs/devel/tcg-ops.rst | 2 + tcg/aarch64/tcg-target.c.inc | 166 +++++++++++--- tcg/arm/tcg-target.c.inc | 62 +++-- tcg/i386/tcg-target.c.inc | 201 ++++++++++++----- tcg/loongarch64/tcg-target.c.inc | 3 +- tcg/mips/tcg-target.c.inc | 3 +- tcg/ppc/tcg-target.c.inc | 294 ++++++++++++++++++------ tcg/riscv/tcg-target.c.inc | 3 +- tcg/s390x/tcg-target.c.inc | 246 +++++++++++++------- tcg/sparc64/tcg-target.c.inc | 65 ++++-- tcg/tci/tcg-target.c.inc | 3 +- 38 files changed, 1379 insertions(+), 595 deletions(-) . Date: Tue, 6 Feb 2024 13:21:50 +1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 00/39] tcg patch queue v2: Fix rebase error in patch 38 (tcg/s390x: Support TCG_COND_TST{EQ,NE}). r~ The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240205-2 for you to fetch changes up to 23c5692abc3917151dee36c00d751cf5bc46ef19: tcg/tci: Support TCG_COND_TST{EQ,NE} (2024-02-05 22:45:41 +0000) ---------------------------------------------------------------- tcg: Introduce TCG_COND_TST{EQ,NE} target/alpha: Use TCG_COND_TST{EQ,NE} target/m68k: Use TCG_COND_TST{EQ,NE} in gen_fcc_cond target/sparc: Use TCG_COND_TSTEQ in gen_op_mulscc target/s390x: Use TCG_COND_TSTNE for CC_OP_{TM,ICM} target/s390x: Improve general case of disas_jcc ---------------------------------------------------------------- Paolo Bonzini (1): tcg/i386: Use TEST r,r to test 8/16/32 bits Philippe Mathieu-Daudé (1): tcg/aarch64: Massage tcg_out_brcond() Richard Henderson (37): tcg: Introduce TCG_COND_TST{EQ,NE} tcg: Introduce TCG_TARGET_HAS_tst tcg/optimize: Split out arg_is_const_val tcg/optimize: Split out do_constant_folding_cond1 tcg/optimize: Do swap_commutative2 in do_constant_folding_cond2 tcg/optimize: Handle TCG_COND_TST{EQ,NE} tcg/optimize: Lower TCG_COND_TST{EQ,NE} if unsupported target/alpha: Pass immediate value to gen_bcond_internal() target/alpha: Use TCG_COND_TST{EQ,NE} for BLB{C,S} target/alpha: Use TCG_COND_TST{EQ,NE} for CMOVLB{C,S} target/alpha: Use TCG_COND_TSTNE for gen_fold_mzero target/m68k: Use TCG_COND_TST{EQ,NE} in gen_fcc_cond target/sparc: Use TCG_COND_TSTEQ in gen_op_mulscc target/s390x: Use TCG_COND_TSTNE for CC_OP_{TM,ICM} target/s390x: Improve general case of disas_jcc tcg: Add TCGConst argument to tcg_target_const_match tcg/aarch64: Support TCG_COND_TST{EQ,NE} tcg/aarch64: Generate TBZ, TBNZ tcg/aarch64: Generate CBNZ for TSTNE of UINT32_MAX tcg/arm: Split out tcg_out_cmp() tcg/arm: Support TCG_COND_TST{EQ,NE} tcg/i386: Pass x86 condition codes to tcg_out_cmov tcg/i386: Move tcg_cond_to_jcc[] into tcg_out_cmp tcg/i386: Support TCG_COND_TST{EQ,NE} tcg/i386: Improve TSTNE/TESTEQ vs powers of two tcg/sparc64: Hoist read of tcg_cond_to_rcond tcg/sparc64: Pass TCGCond to tcg_out_cmp tcg/sparc64: Support TCG_COND_TST{EQ,NE} tcg/ppc: Sink tcg_to_bc usage into tcg_out_bc tcg/ppc: Use cr0 in tcg_to_bc and tcg_to_isel tcg/ppc: Tidy up tcg_target_const_match tcg/ppc: Add TCG_CT_CONST_CMP tcg/ppc: Support TCG_COND_TST{EQ,NE} tcg/s390x: Split constraint A into J+U tcg/s390x: Add TCG_CT_CONST_CMP tcg/s390x: Support TCG_COND_TST{EQ,NE} tcg/tci: Support TCG_COND_TST{EQ,NE} docs/devel/tcg-ops.rst | 2 + include/tcg/tcg-cond.h | 74 ++++-- tcg/aarch64/tcg-target-con-set.h | 5 +- tcg/aarch64/tcg-target-con-str.h | 1 + tcg/aarch64/tcg-target.h | 2 + tcg/arm/tcg-target.h | 2 + tcg/i386/tcg-target-con-set.h | 6 +- tcg/i386/tcg-target-con-str.h | 1 + tcg/i386/tcg-target.h | 2 + tcg/loongarch64/tcg-target.h | 2 + tcg/mips/tcg-target.h | 2 + tcg/ppc/tcg-target-con-set.h | 5 +- tcg/ppc/tcg-target-con-str.h | 1 + tcg/ppc/tcg-target.h | 2 + tcg/riscv/tcg-target.h | 2 + tcg/s390x/tcg-target-con-set.h | 8 +- tcg/s390x/tcg-target-con-str.h | 3 +- tcg/s390x/tcg-target.h | 2 + tcg/sparc64/tcg-target.h | 2 + tcg/tcg-internal.h | 2 + tcg/tci/tcg-target.h | 2 + target/alpha/translate.c | 94 ++++---- target/m68k/translate.c | 74 +++--- target/s390x/tcg/translate.c | 100 +++------ target/sparc/translate.c | 4 +- tcg/optimize.c | 474 ++++++++++++++++++++++++++++++--------- tcg/tcg.c | 40 +++- tcg/tci.c | 14 ++ tcg/aarch64/tcg-target.c.inc | 166 +++++++++++--- tcg/arm/tcg-target.c.inc | 62 +++-- tcg/i386/tcg-target.c.inc | 201 ++++++++++++----- tcg/loongarch64/tcg-target.c.inc | 3 +- tcg/mips/tcg-target.c.inc | 3 +- tcg/ppc/tcg-target.c.inc | 294 ++++++++++++++++++------ tcg/riscv/tcg-target.c.inc | 3 +- tcg/s390x/tcg-target.c.inc | 246 +++++++++++++------- tcg/sparc64/tcg-target.c.inc | 65 ++++-- tcg/tci/tcg-target.c.inc | 3 +- 38 files changed, 1379 insertions(+), 595 deletions(-) . Date: Tue, 6 Feb 2024 08:02:44 +0100 From: David Hildenbrand To: qemu-devel@nongnu.org Cc: Peter Maydell , Paolo Bonzini , David Hildenbrand Subject: [PULL 0/3] Host Memory Backends and Memory devices queue 2024-02-6 The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://github.com/davidhildenbrand/qemu.git tags/mem-2024-02-06 for you to fetch changes up to a32c31979a852a07d590effa1586f6ab4fa4d784: oslib-posix: initialize backend memory objects in parallel (2024-02-04 17:51:13 +0100) ---------------------------------------------------------------- Hi, "Host Memory Backends" and "Memory devices" queue ("mem"): - Reintroduce memory region size checks for memory devices; the removal lead to some undesired side effects - Preallocate memory of memory backends in selected configurations asynchronously (so we preallocate concurrently), to speed up QEMU startup time. ---------------------------------------------------------------- David Hildenbrand (2): hv-balloon: use get_min_alignment() to express 32 GiB alignment memory-device: reintroduce memory region size check Mark Kanda (1): oslib-posix: initialize backend memory objects in parallel backends/hostmem.c | 7 ++- hw/hyperv/hv-balloon.c | 37 +++++++----- hw/mem/memory-device.c | 14 +++++ hw/virtio/virtio-mem.c | 4 +- include/hw/qdev-core.h | 5 ++ include/qemu/osdep.h | 18 +++++- system/vl.c | 9 +++ util/oslib-posix.c | 131 +++++++++++++++++++++++++++++++---------- util/oslib-win32.c | 8 ++- 9 files changed, 180 insertions(+), 53 deletions(-) -- 2.43.0 . Date: Tue, 6 Feb 2024 08:14:19 +0100 From: David Hildenbrand To: qemu-devel@nongnu.org Cc: Peter Maydell , Paolo Bonzini , David Hildenbrand Subject: [PULL v2 0/3] Host Memory Backends and Memory devices queue 2024-02-06 The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://github.com/davidhildenbrand/qemu.git tags/mem-2024-02-06-v2 for you to fetch changes up to 8eb38ab662e74d618d473a9a52d71c644926c3c0: oslib-posix: initialize backend memory objects in parallel (2024-02-06 08:09:55 +0100) ---------------------------------------------------------------- Hi, "Host Memory Backends" and "Memory devices" queue ("mem"): - Reintroduce memory region size checks for memory devices; the removal lead to some undesired side effects - Preallocate memory of memory backends in selected configurations asynchronously (so we preallocate concurrently), to speed up QEMU startup time. ---------------------------------------------------------------- David Hildenbrand (2): hv-balloon: use get_min_alignment() to express 32 GiB alignment memory-device: reintroduce memory region size check Mark Kanda (1): oslib-posix: initialize backend memory objects in parallel backends/hostmem.c | 7 ++- hw/hyperv/hv-balloon.c | 37 +++++++----- hw/mem/memory-device.c | 14 +++++ hw/virtio/virtio-mem.c | 4 +- include/hw/qdev-core.h | 5 ++ include/qemu/osdep.h | 18 +++++- system/vl.c | 9 +++ util/oslib-posix.c | 131 +++++++++++++++++++++++++++++++---------- util/oslib-win32.c | 8 ++- 9 files changed, 180 insertions(+), 53 deletions(-) -- 2.43.0 . Date: Tue, 6 Feb 2024 08:22:22 +0100 From: David Hildenbrand To: qemu-devel@nongnu.org Cc: Peter Maydell , Paolo Bonzini , David Hildenbrand Subject: [PULL v3 0/3] Host Memory Backends and Memory devices queue 2024-02-06 The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://github.com/davidhildenbrand/qemu.git tags/mem-2024-02-06-v3 for you to fetch changes up to 04accf43df83aa10f06f7dbda3ecf0db97f0c5a6: oslib-posix: initialize backend memory objects in parallel (2024-02-06 08:15:22 +0100) ---------------------------------------------------------------- Hi, "Host Memory Backends" and "Memory devices" queue ("mem"): - Reintroduce memory region size checks for memory devices; the removal lead to some undesired side effects - Preallocate memory of memory backends in selected configurations asynchronously (so we preallocate concurrently), to speed up QEMU startup time. ---------------------------------------------------------------- David Hildenbrand (2): hv-balloon: use get_min_alignment() to express 32 GiB alignment memory-device: reintroduce memory region size check Mark Kanda (1): oslib-posix: initialize backend memory objects in parallel backends/hostmem.c | 7 ++- hw/hyperv/hv-balloon.c | 37 +++++++----- hw/mem/memory-device.c | 14 +++++ hw/virtio/virtio-mem.c | 4 +- include/hw/qdev-core.h | 5 ++ include/qemu/osdep.h | 18 +++++- system/vl.c | 9 +++ util/oslib-posix.c | 131 +++++++++++++++++++++++++++++++---------- util/oslib-win32.c | 8 ++- 9 files changed, 180 insertions(+), 53 deletions(-) -- 2.43.0 . Date: Tue, 6 Feb 2024 11:43:35 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/12] s390x, tests and misc. patches The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-02-06 for you to fetch changes up to a1a9800e9721f7a4b0762b97ff8961473870bc54: meson: Link with libinotify on FreeBSD (2024-02-06 10:27:50 +0100) ---------------------------------------------------------------- * Emulate CVB, CVBY, CVBG and CVDG s390x instructions * Fix bug in lsi53c895a reentrancy counter * Deprecate the "power5+" and "power7+" CPU names * Fix problems in the freebsd VM test ---------------------------------------------------------------- Ilya Leoshkevich (8): target/s390x: Emulate CVDG target/s390x: Emulate CVB, CVBY and CVBG tests/tcg/s390x: Test CONVERT TO DECIMAL tests/tcg/s390x: Test CONVERT TO BINARY tests/vm: Set UseDNS=no in the sshd configuration tests/vm/freebsd: Reload the sshd configuration test-util-filemonitor: Adapt to the FreeBSD inotify rename semantics meson: Link with libinotify on FreeBSD Philippe Mathieu-Daudé (1): target/s390x: Prefer fast cpu_env() over slower CPU QOM cast macro Sven Schnelle (1): hw/scsi/lsi53c895a: add missing decrement of reentrancy counter Thomas Huth (2): target/ppc/cpu-models: Rename power5+ and power7+ for new QOM naming rules docs/about: Deprecate the old "power5+" and "power7+" CPU names docs/about/deprecated.rst | 9 ++++ meson.build | 23 +++++++-- target/s390x/helper.h | 3 ++ target/s390x/tcg/insn-data.h.inc | 5 ++ hw/ppc/spapr_cpu_core.c | 4 +- hw/scsi/lsi53c895a.c | 1 + qom/object.c | 4 -- target/ppc/cpu-models.c | 10 ++-- target/s390x/cpu-dump.c | 3 +- target/s390x/gdbstub.c | 6 +-- target/s390x/helper.c | 3 +- target/s390x/kvm/kvm.c | 6 +-- target/s390x/tcg/excp_helper.c | 11 ++-- target/s390x/tcg/int_helper.c | 97 +++++++++++++++++++++++++++++++++++ target/s390x/tcg/misc_helper.c | 4 +- target/s390x/tcg/translate.c | 27 +++++++++- tests/tcg/s390x/cvb.c | 102 +++++++++++++++++++++++++++++++++++++ tests/tcg/s390x/cvd.c | 63 +++++++++++++++++++++++ tests/unit/test-util-filemonitor.c | 8 +++ tests/tcg/s390x/Makefile.target | 2 + tests/vm/basevm.py | 2 + tests/vm/freebsd | 1 + util/meson.build | 6 ++- 23 files changed, 360 insertions(+), 40 deletions(-) create mode 100644 tests/tcg/s390x/cvb.c create mode 100644 tests/tcg/s390x/cvd.c . Date: Tue, 6 Feb 2024 10:31:04 -0500 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Peter Maydell , Kevin Wolf , Stefan Hajnoczi , "Michael S. Tsirkin" , Hanna Reitz , qemu-block@nongnu.org Subject: [PULL 0/1] Block patches The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 1d52cc0ac27761e296b14655c2f5b2649ee69491: virtio-blk: avoid using ioeventfd state in irqfd conditional (2024-02-06 10:22:18 -0500) ---------------------------------------------------------------- Pull request A bug fix for in-flight I/O during ioeventfd shutdown. ---------------------------------------------------------------- Stefan Hajnoczi (1): virtio-blk: avoid using ioeventfd state in irqfd conditional hw/block/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.0 . Date: Wed, 7 Feb 2024 22:55:50 +0100 From: Kevin Wolf To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [PULL 00/16] Block layer patches The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 7ccd0415f2d67e6739da756241f60d98d5c80bf8: virtio-blk: avoid using ioeventfd state in irqfd conditional (2024-02-07 21:59:07 +0100) ---------------------------------------------------------------- Block layer patches - Allow concurrent BB context changes - virtio: Re-enable notifications after drain - virtio-blk: Fix missing use of irqfd - scsi: Don't ignore most usb-storage properties - blkio: Respect memory-alignment for bounce buffer allocations - iotests tmpdir fixes - virtio-blk: Code cleanups ---------------------------------------------------------------- Daniel P. Berrangé (2): iotests: fix leak of tmpdir in dry-run mode iotests: give tempdir an identifying name Hanna Czenczek (5): block-backend: Allow concurrent context changes scsi: Await request purging virtio-scsi: Attach event vq notifier with no_poll virtio: Re-enable notifications after drain virtio-blk: Use ioeventfd_attach in start_ioeventfd Kevin Wolf (2): scsi: Don't ignore most usb-storage properties blkio: Respect memory-alignment for bounce buffer allocations Stefan Hajnoczi (7): virtio-blk: enforce iothread-vq-mapping validation virtio-blk: clarify that there is at least 1 virtqueue virtio-blk: add vq_rq[] bounds check in virtio_blk_dma_restart_cb() virtio-blk: declare VirtIOBlock::rq with a type monitor: use aio_co_reschedule_self() virtio-blk: do not use C99 mixed declarations virtio-blk: avoid using ioeventfd state in irqfd conditional include/block/aio.h | 7 +- include/hw/scsi/scsi.h | 5 +- include/hw/virtio/virtio-blk.h | 2 +- block/blkio.c | 3 + block/block-backend.c | 22 ++-- hw/block/virtio-blk.c | 226 +++++++++++++++++++++++------------------ hw/scsi/scsi-bus.c | 63 ++++++------ hw/scsi/virtio-scsi.c | 7 +- hw/usb/dev-storage-classic.c | 5 +- hw/virtio/virtio.c | 42 ++++++++ qapi/qmp-dispatch.c | 7 +- tests/qemu-iotests/testenv.py | 2 +- tests/qemu-iotests/check | 3 +- 13 files changed, 236 insertions(+), 158 deletions(-) . Date: Thu, 8 Feb 2024 11:04:54 +0800 From: peterx@redhat.com To: Peter Maydell , qemu-devel@nongnu.org Cc: peterx@redhat.com, Fabiano Rosas Subject: [PULL 00/34] Migration staging patches From: Peter Xu The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-staging-pull-request for you to fetch changes up to 940bf8ff1ca82aa458c553d9aa9dd7671ed15a4d: ci: Update comment for migration-compat-aarch64 (2024-02-07 10:51:27 +0800) ---------------------------------------------------------------- Migration pull - William's fix on hwpoison migration which used to crash QEMU - Peter's multifd cleanup + bugfix + optimizations - Avihai's fix on multifd crash over non-socket channels - Fabiano's multifd thread-race fix - Peter's CI fix series ---------------------------------------------------------------- Avihai Horon (1): migration: Fix logic of channels and transport compatibility check Fabiano Rosas (6): migration/multifd: Join the TLS thread migration/multifd: Remove p->running migration/multifd: Move multifd_send_setup error handling in to the function migration/multifd: Move multifd_send_setup into migration thread migration/multifd: Unify multifd and TLS connection paths migration/multifd: Add a synchronization point for channel creation Peter Xu (26): migration/multifd: Drop stale comment for multifd zero copy migration/multifd: multifd_send_kick_main() migration/multifd: Drop MultiFDSendParams.quit, cleanup error paths migration/multifd: Postpone reset of MultiFDPages_t migration/multifd: Drop MultiFDSendParams.normal[] array migration/multifd: Separate SYNC request with normal jobs migration/multifd: Simplify locking in sender thread migration/multifd: Drop pages->num check in sender thread migration/multifd: Rename p->num_packets and clean it up migration/multifd: Move total_normal_pages accounting migration/multifd: Move trace_multifd_send|recv() migration/multifd: multifd_send_prepare_header() migration/multifd: Move header prepare/fill into send_prepare() migration/multifd: Forbid spurious wakeups migration/multifd: Split multifd_send_terminate_threads() migration/multifd: Change retval of multifd_queue_page() migration/multifd: Change retval of multifd_send_pages() migration/multifd: Rewrite multifd_queue_page() migration/multifd: Cleanup multifd_save_cleanup() migration/multifd: Cleanup multifd_load_cleanup() migration/multifd: Stick with send/recv on function names migration/multifd: Fix MultiFDSendParams.packet_num race migration/multifd: Optimize sender side to be lockless tests/migration-test: Stick with gicv3 in aarch64 test ci: Remove tag dependency for build-previous-qemu ci: Update comment for migration-compat-aarch64 William Roche (1): migration: prevent migration when VM has poisoned memory include/sysemu/kvm.h | 6 + migration/multifd.h | 59 +-- accel/kvm/kvm-all.c | 10 + accel/stubs/kvm-stub.c | 5 + migration/migration.c | 48 ++- migration/multifd-zlib.c | 11 +- migration/multifd-zstd.c | 11 +- migration/multifd.c | 778 ++++++++++++++++++++--------------- migration/ram.c | 2 +- tests/qtest/migration-test.c | 2 +- .gitlab-ci.d/buildtest.yml | 9 +- migration/trace-events | 2 +- 12 files changed, 547 insertions(+), 396 deletions(-) -- 2.43.0 . Date: Fri, 9 Feb 2024 20:57:12 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/61] riscv-to-apply queue The following changes since commit 03e4bc0bc02779fdf6f8e8d83197f05e70881abf: Merge tag 'pull-tcg-20240205-2' of https://gitlab.com/rth7680/qemu into staging (2024-02-08 16:08:42 +0000) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240209 for you to fetch changes up to deb0ff0c777d20602ecc5b6f74f18cb7ecc0b91f: target/riscv: add rv32i, rv32e and rv64e CPUs (2024-02-09 20:49:41 +1000) ---------------------------------------------------------------- RISC-V PR for 9.0 * Check for 'A' extension on all atomic instructions * Add support for 'B' extension * Internally deprecate riscv_cpu_options * Implement optional CSR mcontext of debug Sdtrig extension * Internally add cpu->cfg.vlenb and remove cpu->cfg.vlen * Support vlenb and vregs[] in KVM * RISC-V gdbstub and TCG plugin improvements * Remove vxrm and vxsat from FCSR * Use RISCVException as return type for all csr ops * Use g_autofree more and fix a memory leak * Add support for Zaamo and Zalrsc * Support new isa extension detection devicetree properties * SMBIOS support for RISC-V virt machine * Enable xtheadsync under user mode * Add rv32i,rv32e and rv64e CPUs ---------------------------------------------------------------- Akihiko Odaki (3): target/riscv: Remove misa_mxl validation target/riscv: Move misa_mxl_max to class target/riscv: Validate misa_mxl_max only once Alvin Chang (1): target/riscv: Implement optional CSR mcontext of debug Sdtrig extension Conor Dooley (2): target/riscv: use misa_mxl_max to populate isa string rather than TARGET_LONG_BITS target/riscv: support new isa extension detection devicetree properties Daniel Henrique Barboza (42): target/riscv/cpu_cfg.h: remove unused fields target/riscv: make riscv_cpu_is_vendor() public target/riscv: move 'pmu-mask' and 'pmu-num' to riscv_cpu_properties[] target/riscv: move 'mmu' to riscv_cpu_properties[] target/riscv: move 'pmp' to riscv_cpu_properties[] target/riscv: rework 'priv_spec' target/riscv: rework 'vext_spec' target/riscv: move 'vlen' to riscv_cpu_properties[] target/riscv: move 'elen' to riscv_cpu_properties[] target/riscv: create finalize_features() for KVM target/riscv: move 'cbom_blocksize' to riscv_cpu_properties[] target/riscv: move 'cbop_blocksize' to riscv_cpu_properties[] target/riscv: move 'cboz_blocksize' to riscv_cpu_properties[] target/riscv: remove riscv_cpu_options[] target/riscv/cpu.c: move 'mvendorid' to riscv_cpu_properties[] target/riscv/cpu.c: move 'mimpid' to riscv_cpu_properties[] target/riscv/cpu.c: move 'marchid' to riscv_cpu_properties[] target/riscv: add 'vlenb' field in cpu->cfg target/riscv/csr.c: use 'vlenb' instead of 'vlen' target/riscv/gdbstub.c: use 'vlenb' instead of shifting 'vlen' target/riscv/insn_trans/trans_rvbf16.c.inc: use cpu->cfg.vlenb target/riscv/insn_trans/trans_rvv.c.inc: use 'vlenb' target/riscv/insn_trans/trans_rvvk.c.inc: use 'vlenb' target/riscv/vector_helper.c: use 'vlenb' target/riscv/vector_helper.c: use vlenb in HELPER(vsetvl) target/riscv/insn_trans/trans_rvv.c.inc: use 'vlenb' in MAXSZ() target/riscv/cpu.h: use 'vlenb' in vext_get_vlmax() target/riscv: change vext_get_vlmax() arguments trans_rvv.c.inc: use vext_get_vlmax() in trans_vrgather_v*() target/riscv/cpu.c: remove cpu->cfg.vlen target/riscv/kvm: change kvm_reg_id to uint64_t target/riscv/kvm: initialize 'vlenb' via get-reg-list target/riscv/kvm: get/set vector vregs[] hw/riscv/virt-acpi-build.c: fix leak in build_rhct() hw/riscv/numa.c: use g_autofree in socket_fdt_write_distance_matrix() hw/riscv/virt.c: use g_autofree in create_fdt_socket_cpus() hw/riscv/virt.c: use g_autofree in create_fdt_sockets() hw/riscv/virt.c: use g_autofree in create_fdt_virtio() hw/riscv/virt.c: use g_autofree in virt_machine_init() hw/riscv/virt.c: use g_autofree in create_fdt_* target/riscv/cpu.c: add riscv_bare_cpu_init() target/riscv: add rv32i, rv32e and rv64e CPUs Heinrich Schuchardt (4): smbios: add processor-family option smbios: function to set default processor family target/riscv: SMBIOS support for RISC-V virt machine qemu-options: enable -smbios option on RISC-V LIU Zhiwei (3): target/riscv: FCSR doesn't contain vxrm and vxsat target/riscv: Use RISCVException as return type for all csr ops target/riscv: Enable xtheadsync under user mode Rob Bradford (6): target/riscv: Check for 'A' extension on all atomic instructions target/riscv: Add infrastructure for 'B' MISA extension target/riscv: Add step to validate 'B' extension target/riscv: Add Zaamo and Zalrsc extension infrastructure target/riscv: Check 'A' and split extensions for atomic instructions target/riscv: Expose Zaamo and Zalrsc extensions include/hw/firmware/smbios.h | 1 + target/riscv/cpu-qom.h | 3 + target/riscv/cpu.h | 30 +- target/riscv/cpu_bits.h | 15 +- target/riscv/cpu_cfg.h | 8 +- target/riscv/kvm/kvm_riscv.h | 1 + hw/riscv/boot.c | 3 +- hw/riscv/numa.c | 4 +- hw/riscv/sifive_u.c | 7 +- hw/riscv/spike.c | 6 +- hw/riscv/virt-acpi-build.c | 2 +- hw/riscv/virt.c | 153 ++-- hw/smbios/smbios.c | 20 +- target/riscv/cpu.c | 1106 +++++++++++++++++++++------- target/riscv/cpu_helper.c | 11 +- target/riscv/csr.c | 157 ++-- target/riscv/debug.c | 2 + target/riscv/gdbstub.c | 18 +- target/riscv/kvm/kvm-cpu.c | 250 +++++-- target/riscv/machine.c | 7 +- target/riscv/tcg/tcg-cpu.c | 143 ++-- target/riscv/translate.c | 3 +- target/riscv/vector_helper.c | 43 +- target/riscv/insn_trans/trans_rva.c.inc | 45 +- target/riscv/insn_trans/trans_rvbf16.c.inc | 12 +- target/riscv/insn_trans/trans_rvv.c.inc | 152 ++-- target/riscv/insn_trans/trans_rvvk.c.inc | 16 +- target/riscv/insn_trans/trans_xthead.c.inc | 10 - hw/riscv/Kconfig | 1 + qemu-options.hx | 6 +- 30 files changed, 1522 insertions(+), 713 deletions(-) . Date: Fri, 9 Feb 2024 14:04:48 +0000 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Cc: Hanna Reitz , Gerd Hoffmann , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Markus Armbruster , Cleber Rosa , Paolo Bonzini , Eric Blake , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Eduardo Habkost , Stefan Weil , Kevin Wolf , Thomas Huth , Hyman Huang , Richard Henderson , John Snow , qemu-block@nongnu.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PULL 00/17] Misc fixes patches The following changes since commit 9e34f127f419b3941b36dfdfac79640dc81e97e2: Merge tag 'pull-request-2024-02-06' of https://gitlab.com/thuth/qemu into staging (2024-02-08 11:59:28 +0000) are available in the Git repository at: https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request for you to fetch changes up to d87b258b75498d3e8563ec8ebaaf67efc27be945: tests: Add case for LUKS volume with detached header (2024-02-09 12:50:38 +0000) ---------------------------------------------------------------- - LUKS support for detached headers - Update x86 CPU model docs and script - Add missing close of chardev QIOChannel - More trace events o nTKS handshake - Drop unsafe VNC constants - Increase NOFILE limit during startup ---------------------------------------------------------------- Daniel P. Berrangé (8): meson: sort C warning flags alphabetically ui: drop VNC feature _MASK constants softmmu: remove obsolete comment about libvirt timeouts scripts: drop comment about autogenerated CPU API file docs: fix highlighting of CPU ABI header rows docs: re-generate x86_64 ABI compatibility CSV chardev: close QIOChannel before unref'ing io: add trace event when cancelling TLS handshake Fiona Ebner (1): qemu_init: increase NOFILE soft limit on POSIX Hyman Huang (8): crypto: Introduce SM4 symmetric cipher algorithm crypto: Support LUKS volume with detached header qapi: Make parameter 'file' optional for BlockdevCreateOptionsLUKS crypto: Modify the qcrypto_block_create to support creation flags block: Support detached LUKS header creation using blockdev-create block: Support detached LUKS header creation using qemu-img crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS tests: Add case for LUKS volume with detached header MAINTAINERS | 5 + block.c | 5 +- block/crypto.c | 144 +++++++- block/crypto.h | 8 + block/qcow.c | 2 +- block/qcow2.c | 2 +- chardev/char-socket.c | 4 + crypto/block-luks.c | 52 ++- crypto/block.c | 4 +- crypto/blockpriv.h | 2 + crypto/cipher-gcrypt.c.inc | 8 + crypto/cipher-nettle.c.inc | 49 +++ crypto/cipher.c | 6 + docs/system/cpu-models-x86-abi.csv | 20 +- docs/system/cpu-models-x86.rst.inc | 2 +- include/crypto/block.h | 16 + include/sysemu/os-posix.h | 1 + include/sysemu/os-win32.h | 5 + io/channel-tls.c | 1 + io/trace-events | 1 + meson.build | 66 ++-- os-posix.c | 22 ++ qapi/block-core.json | 13 +- qapi/crypto.json | 13 +- scripts/cpu-x86-uarch-abi.py | 1 - system/vl.c | 3 +- tests/qemu-iotests/210.out | 4 + tests/qemu-iotests/tests/luks-detached-header | 316 ++++++++++++++++++ .../tests/luks-detached-header.out | 5 + tests/unit/test-crypto-block.c | 2 + tests/unit/test-crypto-cipher.c | 13 + ui/vnc.c | 34 +- ui/vnc.h | 22 +- 33 files changed, 760 insertions(+), 91 deletions(-) create mode 100755 tests/qemu-iotests/tests/luks-detached-header create mode 100644 tests/qemu-iotests/tests/luks-detached-header.out -- 2.43.0 . Date: Fri, 9 Feb 2024 19:47:24 +0000 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 00/10] testing, doc and gdbstub updates The following changes since commit 5d1fc614413b10dd94858b07a1b2e26b1aa0296c: Merge tag 'migration-staging-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-09 11:22:20 +0000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-updates-090224-1 for you to fetch changes up to 86b75667e04b49a0b75f061f589b3fbec3fb78f1: tests/tcg: Add the syscall catchpoint gdbstub test (2024-02-09 17:52:40 +0000) ---------------------------------------------------------------- testing, doc and gdbstub updates: - add sqlite3 to openSUSE image - mark CRIS as deprecated - re-enable the TCG plugin tests - use select for semihosting - implement syscall catching in gdbstub ---------------------------------------------------------------- Alex Bennée (2): docs: mark CRIS support as deprecated Revert "hw/elf_ops: Ignore loadable segments with zero size" Fabiano Rosas (1): tests/docker: Add sqlite3 module to openSUSE Leap container Ilya Leoshkevich (5): gdbstub: Expose TARGET_SIGTRAP in a target-agnostic way gdbstub: Allow specifying a reason in stop packets gdbstub: Add syscall entry/return hooks gdbstub: Implement catching syscalls tests/tcg: Add the syscall catchpoint gdbstub test Paolo Bonzini (2): configure: run plugin TCG tests again kconfig: use "select" to enable semihosting docs/about/deprecated.rst | 7 ++ configure | 3 + configs/devices/m68k-softmmu/default.mak | 2 - configs/devices/mips-softmmu/common.mak | 3 - configs/devices/nios2-softmmu/default.mak | 2 - configs/devices/riscv32-softmmu/default.mak | 2 - configs/devices/riscv64-softmmu/default.mak | 2 - configs/devices/xtensa-softmmu/default.mak | 2 - gdbstub/internals.h | 2 + include/gdbstub/user.h | 29 ++++++- include/hw/elf_ops.h | 75 +++++++++---------- include/user/syscall-trace.h | 7 +- gdbstub/gdbstub.c | 9 +++ gdbstub/user-target.c | 5 ++ gdbstub/user.c | 104 +++++++++++++++++++++++++- tests/tcg/multiarch/catch-syscalls.c | 51 +++++++++++++ target/m68k/Kconfig | 1 + target/mips/Kconfig | 1 + target/nios2/Kconfig | 1 + target/riscv/Kconfig | 2 + target/xtensa/Kconfig | 1 + tests/docker/dockerfiles/opensuse-leap.docker | 1 + tests/lcitool/mappings.yml | 4 + tests/lcitool/projects/qemu.yml | 1 + tests/tcg/multiarch/Makefile.target | 10 ++- tests/tcg/multiarch/gdbstub/catch-syscalls.py | 53 +++++++++++++ 26 files changed, 322 insertions(+), 58 deletions(-) create mode 100644 tests/tcg/multiarch/catch-syscalls.c create mode 100644 tests/tcg/multiarch/gdbstub/catch-syscalls.py -- 2.39.2 . Date: Sun, 11 Feb 2024 13:28:57 +0100 From: deller@kernel.org To: qemu-devel@nongnu.org Cc: Richard Henderson , Sven Schnelle , Jason Wang , Helge Deller Subject: [PULL 00/12] Hppa64 patches From: Helge Deller The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://github.com/hdeller/qemu-hppa.git tags/hppa64-pull-request for you to fetch changes up to f9d2270c85872bd71a01e15b2ebda2569f17f811: hw/hppa/machine: Load 64-bit firmware on 64-bit machines (2024-02-11 13:25:15 +0100) ---------------------------------------------------------------- target/hppa: Enhancements and fixes A new SeaBIOS-hppa firmware which is built as 32- and 64-bit firmware. Necessary to fully support 64-bit operating systems (HP-UX, Linux, NetBSD,...). ---------------------------------------------------------------- Helge Deller (11): disas/hppa: Add disassembly for qemu specific instructions target/hppa: Add "diag 0x101" for console output support hw/pci-host/astro: Avoid aborting on access failure hw/pci-host/astro: Implement Hard Fail and Soft Fail mode lasi: allow access to LAN MAC address registers target/hppa: Implement do_transaction_failed handler for I/O errors lasi: Add reset I/O ports for LASI audio and FDC target/hppa: Allow read-access to PSW with rsm 0,reg instruction target/hppa: PDC_BTLB_INFO uses 32-bit ints target/hppa: Update SeaBIOS-hppa to version 16 hw/hppa/machine: Load 64-bit firmware on 64-bit machines Sven Schnelle (1): hw/net/tulip: add chip status register values disas/hppa.c | 4 ++++ hw/hppa/machine.c | 11 ++++++++--- hw/misc/lasi.c | 13 +++++++++++++ hw/net/tulip.c | 4 ++-- hw/pci-host/astro.c | 36 ++++++++++++++++++++---------------- include/hw/misc/lasi.h | 2 ++ include/hw/pci-host/astro.h | 2 ++ pc-bios/hppa-firmware.img | Bin 163324 -> 167820 bytes pc-bios/hppa-firmware64.img | Bin 0 -> 206024 bytes roms/seabios-hppa | 2 +- target/hppa/cpu.c | 1 + target/hppa/cpu.h | 5 +++++ target/hppa/helper.h | 1 + target/hppa/mem_helper.c | 21 ++++++++++++++++++++- target/hppa/sys_helper.c | 36 ++++++++++++++++++++++++++++++++++++ target/hppa/translate.c | 14 +++++++++++++- 16 files changed, 128 insertions(+), 24 deletions(-) mode change 100644 => 100755 pc-bios/hppa-firmware.img create mode 100755 pc-bios/hppa-firmware64.img -- 2.43.0 . Date: Mon, 12 Feb 2024 09:51:38 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/4] Character device backend patches for 2024-02-12 I offered Marc-André to do this pull request, and he accepted. The following changes since commit 5d1fc614413b10dd94858b07a1b2e26b1aa0296c: Merge tag 'migration-staging-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-09 11:22:20 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-char-2024-02-12 for you to fetch changes up to 684d03acff6096b8ae79da0fcd6194238827c67e: qapi/char: Deprecate backend type "memory" (2024-02-12 09:39:38 +0100) ---------------------------------------------------------------- Character device backend patches for 2024-02-12 ---------------------------------------------------------------- Markus Armbruster (4): chardev/parallel: Don't close stdin on inappropriate device tests/unit/test-char: Fix qemu_socket(), make_udp_socket() check qapi/char: Make backend types properly conditional qapi/char: Deprecate backend type "memory" docs/about/deprecated.rst | 8 ++++++++ qapi/char.json | 28 +++++++++++++++++----------- include/qemu/osdep.h | 9 ++++++++- chardev/char-parallel.c | 7 +++++-- tests/unit/test-char.c | 25 +++++++++++++++++++++++-- chardev/meson.build | 4 +--- 6 files changed, 62 insertions(+), 19 deletions(-) -- 2.43.0 . Date: Mon, 12 Feb 2024 10:14:18 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 00/18] QAPI patches patches for 2024-02-12 The following changes since commit 5d1fc614413b10dd94858b07a1b2e26b1aa0296c: Merge tag 'migration-staging-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-09 11:22:20 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-02-12 for you to fetch changes up to 0afbba6c3255dbe954ef609987b610cdaaf48f24: MAINTAINERS: Cover qapi/stats.json (2024-02-12 10:12:18 +0100) ---------------------------------------------------------------- QAPI patches patches for 2024-02-12 ---------------------------------------------------------------- Markus Armbruster (17): docs/devel/qapi-code-gen: Normalize version refs x.y.0 to just x.y docs/devel/qapi-code-gen: Tweak doc comment whitespace qapi/block-core: Fix BlockLatencyHistogramInfo doc markup qapi: Indent tagged doc comment sections properly sphinx/qapidoc: Drop code to generate doc for simple union tag qapi: Require member documentation (with loophole) qga/qapi-schema: Clean up documentation of guest-set-memory-blocks qga/qapi-schema: Clean up documentation of guest-set-vcpus qga/qapi-schema: Plug trivial documentation holes qapi/yank: Clean up documentaion of yank qapi/dump: Clean up documentation of DumpGuestMemoryCapability qapi: Plug trivial documentation holes around former simple unions qapi: Improve documentation of file descriptor socket addresses qapi: Move @String out of common.json to discourage reuse qapi: Add missing union tag documentation MAINTAINERS: Cover qapi/cxl.json MAINTAINERS: Cover qapi/stats.json Peter Xu (1): qapi/migration: Add missing tls-authz documentation MAINTAINERS | 2 + docs/devel/qapi-code-gen.rst | 14 ++++-- docs/sphinx/qapidoc.py | 6 --- qapi/block-core.json | 26 ++++++++-- qapi/block-export.json | 2 + qapi/char.json | 28 +++++++++++ qapi/common.json | 11 ----- qapi/crypto.json | 2 + qapi/dump.json | 2 +- qapi/machine.json | 14 ++++++ qapi/migration.json | 52 ++++++++++--------- qapi/misc.json | 12 +++-- qapi/net.json | 12 ++++- qapi/pragma.json | 66 +++++++++++++++++++++++++ qapi/qdev.json | 12 ++--- qapi/sockets.json | 48 +++++++++++++----- qapi/stats.json | 2 + qapi/tpm.json | 4 ++ qapi/transaction.json | 2 + qapi/ui.json | 14 ++++++ qapi/yank.json | 4 +- qga/qapi-schema.json | 58 ++++++++++++++-------- include/hw/virtio/vhost-vsock-common.h | 1 + include/net/filter.h | 2 +- chardev/char-socket.c | 2 +- util/qemu-sockets.c | 3 +- scripts/qapi/parser.py | 7 ++- scripts/qapi/source.py | 2 + tests/qapi-schema/doc-bad-alternate-member.json | 2 + tests/qapi-schema/doc-good.json | 14 +++--- tests/qapi-schema/doc-good.out | 2 +- 31 files changed, 322 insertions(+), 106 deletions(-) -- 2.43.0 . Date: Tue, 13 Feb 2024 00:47:11 +0100 From: deller@kernel.org To: qemu-devel@nongnu.org Cc: Richard Henderson , Sven Schnelle , Jason Wang , Helge Deller Subject: [PULL 00/12] Hppa64 patches From: Helge Deller The following changes since commit 39a6e4f87e7b75a45b08d6dc8b8b7c2954c87440: Merge tag 'pull-qapi-2024-02-03' of https://repo.or.cz/qemu/armbru into staging (2024-02-03 13:31:58 +0000) are available in the Git repository at: https://github.com/hdeller/qemu-hppa.git tags/hppa64-pull-request for you to fetch changes up to a9314795f068515ff5925d0f68adf0a3215f6d2d: hw/hppa/machine: Load 64-bit firmware on 64-bit machines (2024-02-13 00:44:06 +0100) ---------------------------------------------------------------- target/hppa: Enhancements and fixes Some enhancements and fixes for the hppa target. The major change is, that this patchset adds a new SeaBIOS-hppa firmware which is built as 32- and 64-bit firmware. The new 64-bit firmware is necessary to fully support 64-bit operating systems (HP-UX, Linux, NetBSD,...). ---------------------------------------------------------------- Helge Deller (11): disas/hppa: Add disassembly for qemu specific instructions target/hppa: Add "diag 0x101" for console output support hw/pci-host/astro: Avoid aborting on access failure hw/pci-host/astro: Implement Hard Fail and Soft Fail mode lasi: allow access to LAN MAC address registers target/hppa: Implement do_transaction_failed handler for I/O errors lasi: Add reset I/O ports for LASI audio and FDC target/hppa: Allow read-access to PSW with rsm 0,reg instruction target/hppa: PDC_BTLB_INFO uses 32-bit ints target/hppa: Update SeaBIOS-hppa to version 16 hw/hppa/machine: Load 64-bit firmware on 64-bit machines Sven Schnelle (1): hw/net/tulip: add chip status register values disas/hppa.c | 4 +++ hw/hppa/machine.c | 52 +++++++++++++++++++++--------------- hw/misc/lasi.c | 13 +++++++++ hw/net/tulip.c | 4 +-- hw/pci-host/astro.c | 36 ++++++++++++++----------- include/hw/misc/lasi.h | 2 ++ include/hw/pci-host/astro.h | 2 ++ pc-bios/hppa-firmware.img | Bin 163324 -> 167820 bytes pc-bios/hppa-firmware64.img | Bin 0 -> 206024 bytes roms/seabios-hppa | 2 +- target/hppa/cpu.c | 1 + target/hppa/cpu.h | 5 ++++ target/hppa/helper.h | 1 + target/hppa/mem_helper.c | 21 ++++++++++++++- target/hppa/sys_helper.c | 36 +++++++++++++++++++++++++ target/hppa/translate.c | 14 +++++++++- 16 files changed, 150 insertions(+), 43 deletions(-) mode change 100644 => 100755 pc-bios/hppa-firmware.img create mode 100755 pc-bios/hppa-firmware64.img -- 2.43.0 . Date: Tue, 13 Feb 2024 11:01:36 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 00/15] Trivial patches for 2024-02-13 The following changes since commit 5005aed8a7e728d028efb40e243ecfc2b4f3df3a: Merge tag 'pull-maintainer-updates-090224-1' of https://gitlab.com/stsquad/qemu into staging (2024-02-12 14:14:10 +0000) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to f6e33708bbb824d493863bc936d3c86fc86f2004: monitor/target: Include missing 'exec/memory.h' header (2024-02-13 10:59:25 +0300) ---------------------------------------------------------------- trivial patches for 2024-02-13 ---------------------------------------------------------------- Akihiko Odaki (2): hw/smbios: Fix OEM strings table option validation hw/smbios: Fix port connector option validation BALATON Zoltan (2): qemu-options.hx: Add zoom-to-fit to option summary for gtk system: Move memory_ldst.c.inc to system Kevin Wolf (1): iothread: Simplify expression in qemu_in_iothread() Markus Armbruster (2): MAINTAINERS: Cover qapi/cxl.json MAINTAINERS: Cover qapi/stats.json Michael Tokarev (2): qemu-nbd: mention --tls-hostname option in qemu-nbd --help qemu-options.hx: document that tftp=dir is readonly Philippe Mathieu-Daudé (2): cpu-target: Include missing 'exec/memory.h' header monitor/target: Include missing 'exec/memory.h' header Zhao Liu (4): hw/isa/vt82c686: Consolidate the use of device_class_set_parent_realize() hw/isa/pc87312: Consolidate the use of device_class_set_parent_realize() hw/intc/s390_flic: Consolidate the use of device_class_set_parent_realize() hw/arm/smmuv3: Consolidate the use of device_class_set_parent_realize() MAINTAINERS | 2 ++ cpu-target.c | 1 + hw/arm/smmuv3.c | 4 ++-- hw/intc/s390_flic_kvm.c | 5 +++-- hw/isa/pc87312.c | 4 ++-- hw/isa/vt82c686.c | 4 ++-- hw/smbios/smbios.c | 12 ++++++++++++ iothread.c | 3 +-- monitor/hmp-cmds-target.c | 1 + qemu-nbd.c | 1 + qemu-options.hx | 4 +++- memory_ldst.c.inc => system/memory_ldst.c.inc | 0 12 files changed, 30 insertions(+), 11 deletions(-) rename memory_ldst.c.inc => system/memory_ldst.c.inc (100%) . Date: Tue, 13 Feb 2024 19:39:24 +0000 From: Mark Cave-Ayland To: peter.maydell@linaro.org, qemu-devel@nongnu.org Subject: [PULL 00/88] qemu-sparc queue 20240213 The following changes since commit bc2e8b18fba33f30f25b7c2d74328493c0a2231d: Merge tag 'hppa64-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2024-02-13 13:56:46 +0000) are available in the Git repository at: https://github.com/mcayland/qemu.git tags/qemu-sparc-20240213 for you to fetch changes up to 78d68f312aec905edcb1dc5549a2c3a6f716605a: esp.c: add my copyright to the file (2024-02-13 19:37:28 +0000) ---------------------------------------------------------------- qemu-sparc queue - This contains the rework of the ESP controller as agreed with Paolo ---------------------------------------------------------------- Mark Cave-Ayland (88): esp.c: don't clear cmdfifo when esp_select() fails in get_cmd() esp.c: move existing request cancel check into esp_select() esp.c: add FIFO wraparound support to esp_fifo_pop_buf() esp.c: remove FIFO clear from esp_select() esp.c: move esp_select() to ESP selection commands from get_cmd() esp.c: update esp_set_tc() to set STAT_TC flag esp.c: start removal of manual STAT_TC setting when transfer counter reaches zero esp.c: move command execution logic to new esp_run_cmd() function esp.c: update TC check logic in do_dma_pdma_cb() to check for TC == 0 esp.c: move buffer and TC logic into separate to/from device paths in esp_do_dma() esp.c: remove unused case from esp_pdma_read() esp.c: don't accumulate directly into cmdfifo esp.c: decrement the TC during MESSAGE OUT and COMMAND phases esp.c: introduce esp_set_phase() helper function esp.c: remove another set of manual STAT_TC updates esp.c: remove MacOS TI workaround that pads FIFO transfers to ESP_FIFO_SZ esp.c: don't reset the TC and ESP_RSEQ state when executing a SCSI command esp.c: don't clear RFLAGS register when DMA is complete esp.c: remove zero transfer size check from esp_do_dma() esp.c: update condition for esp_dma_done() in esp_do_dma() from device path esp.c: update condition for esp_dma_done() in esp_do_dma() to device path esp.c: ensure that the PDMA callback is called for every device read esp.c: don't immediately raise INTR_BS if SCSI data needed in esp_do_dma() esp.c: remove TC adjustment in esp_do_dma() from device path esp.c: remove unaligned adjustment in do_dma_pdma_cb() to device path esp.c: remove unneeded if() check in esp_transfer_data() esp.c: update end of transfer logic at the end of esp_transfer_data() esp.c: consolidate async_len and TC == 0 checks in do_dma_pdma_cb() and esp_do_dma() esp.c: fix premature end of phase logic esp_command_complete esp.c: move TC and FIFO check logic into esp_dma_done() esp.c: rename esp_dma_done() to esp_dma_ti_check() esp.c: copy PDMA logic for transfers to device from do_dma_pdma_cb() to esp_do_dma() esp.c: copy logic for do_cmd transfers from do_dma_pdma_cb() to esp_do_dma() esp.c: update esp_do_dma() bypass if async_len is zero to include non-zero transfer check esp.c: move end of SCSI transfer check after TC adjustment in do_dma_pdma_cb() esp.c: remove s_without_satn_pdma_cb() PDMA callback esp.c: introduce esp_get_phase() function esp.c: convert esp_do_dma() to switch statement based upon SCSI phase esp.c: convert do_dma_pdma_db() to switch statement based upon SCSI phase esp.c: convert esp_do_nodma() to switch statement based upon SCSI phase esp.c: convert esp_do_dma() do_cmd path to check for SCSI phase instead esp.c: convert do_dma_pdma_cb() do_cmd path to check for SCSI phase instead esp.c: convert esp_do_nodma() do_cmd path to check for SCSI phase instead esp.c: convert esp_reg_write() do_cmd path to check for SCSI phase instead esp.c: remove do_cmd from ESPState esp.c: untangle MESSAGE OUT and COMMAND phase logic in esp_do_dma() esp.c: untangle MESSAGE OUT and COMMAND phase logic in do_dma_pdma_cb() esp.c: untangle MESSAGE OUT and COMMAND phase logic in esp_do_nodma() esp.c: move CMD_SELATN end of message phase detection to esp_do_dma() and do_dma_pdma_cb() esp.c: move CMD_TI end of message phase detection to esp_do_dma() and do_dma_pdma_cb() esp.c: don't use get_cmd() for CMD_SEL DMA commands esp.c: move CMD_SELATNS end of command logic to esp_do_dma() and do_dma_pdma_cb() esp.c: replace do_dma_pdma_cb() with esp_do_dma() esp.c: move CMD_ICCS command logic to esp_do_dma() esp.c: always use esp_do_dma() in pdma_cb() esp.c: remove unused PDMA callback implementation esp.c: rename data_in_ready to to data_ready esp.c: separate logic based upon ESP command in esp_command_complete() esp.c: separate logic based upon ESP command in esp_transfer_data() esp.c: use deferred interrupts for both DATA IN and DATA OUT phases esp.c: remove DATA IN phase logic when reading from FIFO esp.c: zero command register when TI command terminates due to phase change esp.c: remove unneeded ti_cmd field esp.c: don't raise INTR_BS interrupt in DATA IN phase until TI command issued esp.c: move non-DMA TI logic to separate esp_nodma_ti_dataout() function esp.c: process non-DMA FIFO writes in esp_do_nodma() esp.c: replace get_cmd() with esp_do_nodma() esp.c: move write_response() non-DMA logic to esp_do_nodma() esp.c: consolidate end of command sequence after ICCS command esp.c: ensure that STAT_INT is cleared when reading ESP_RINTR esp.c: don't clear the SCSI phase when reading ESP_RINTR esp.c: handle TC underflow for DMA SCSI requests esp.c: remove restriction on FIFO read access when DMA memory routines defined esp.c: handle non-DMA FIFO writes used to terminate DMA commands esp.c: improve ESP_RSEQ logic consolidation esp.c: only transfer non-DMA COMMAND phase data for specific commands esp.c: only transfer non-DMA MESSAGE OUT phase data for specific commands esp.c: consolidate DMA and PDMA logic in DATA OUT phase esp.c: consolidate DMA and PDMA logic in DATA IN phase esp.c: consolidate DMA and PDMA logic in MESSAGE OUT phase esp.c: remove redundant n variable in PDMA COMMAND phase esp.c: consolidate DMA and PDMA logic in STATUS and MESSAGE IN phases esp.c: replace n variable with len in esp_do_nodma() esp.c: implement DMA Transfer Pad command for DATA phases esp.c: rename irq_data IRQ to drq_irq esp.c: keep track of the DRQ state during DMA esp.c: switch TypeInfo registration to use DEFINE_TYPES() macro esp.c: add my copyright to the file hw/scsi/esp.c | 1371 ++++++++++++++++++++++++++----------------------- hw/scsi/trace-events | 1 + include/hw/scsi/esp.h | 18 +- 3 files changed, 727 insertions(+), 663 deletions(-) . Date: Wed, 14 Feb 2024 07:47:45 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL v2 0/4] Character device backend patches for 2024-02-12 I offered Marc-André to do this pull request, and he accepted. The following changes since commit 5d1fc614413b10dd94858b07a1b2e26b1aa0296c: Merge tag 'migration-staging-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-09 11:22:20 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-char-2024-02-12-v2 for you to fetch changes up to b04c12282b33e81ba29b54dd001667f5c4002252: qapi/char: Deprecate backend type "memory" (2024-02-14 07:45:08 +0100) ---------------------------------------------------------------- Character device backend patches for 2024-02-12 ---------------------------------------------------------------- Markus Armbruster (4): chardev/parallel: Don't close stdin on inappropriate device tests/unit/test-char: Fix qemu_socket(), make_udp_socket() check qapi/char: Make backend types properly conditional qapi/char: Deprecate backend type "memory" docs/about/deprecated.rst | 8 ++++++++ qapi/char.json | 28 +++++++++++++++++----------- include/qemu/osdep.h | 9 ++++++++- chardev/char-parallel.c | 7 +++++-- tests/unit/test-char.c | 31 +++++++++++++++++++++++++++++-- chardev/meson.build | 4 +--- 6 files changed, 68 insertions(+), 19 deletions(-) -- 2.43.0 . Date: Wed, 14 Feb 2024 06:13:13 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/60] virtio,pc,pci: features, cleanups, fixes The following changes since commit df50424b4dcfde823047d3717abd6a61224ea205: Merge tag 'pull-riscv-to-apply-20240209' of https://github.com/alistair23/qemu into staging (2024-02-09 16:15:01 +0000) 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 3afdb6d18e9ccd6470be30f151a562cf4537d13f: MAINTAINERS: Switch to my Enfabrica email (2024-02-14 06:09:33 -0500) ---------------------------------------------------------------- virtio,pc,pci: features, cleanups, fixes vhost-user-snd support x2APIC mode with TCG support CXL update to r3.1 fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (2): hw/smbios: Fix OEM strings table option validation hw/smbios: Fix port connector option validation Alex Bennée (6): virtio: split into vhost-user-base and vhost-user-device hw/virtio: convert vhost-user-base to async shutdown hw/virtio: derive vhost-user-rng from vhost-user-base hw/virtio: derive vhost-user-gpio from vhost-user-base hw/virtio: derive vhost-user-i2c from vhost-user-base docs/system: add a basic enumeration of vhost-user devices Andrey Ignatov (1): vhost-user.rst: Fix vring address description Bernhard Beschow (14): hw/i386/x86: Reverse if statement hw/i386/x86: Fix PIC interrupt handling if APIC is globally disabled target/i386/cpu: Fix typo in comment hw/block/fdc-isa: Move portio_list from FDCtrl to FDCtrlISABus hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus hw/char/parallel: Move portio_list from ParallelState to ISAParallelState exec/ioport: Resolve redundant .base attribute in struct MemoryRegionPortio exec/ioport: Add portio_list_set_address() exec/ioport: Add portio_list_set_enabled() hw/block/fdc-isa: Implement relocation and enabling/disabling for TYPE_ISA_FDC hw/char/serial-isa: Implement relocation and enabling/disabling for TYPE_ISA_SERIAL hw/char/parallel-isa: Implement relocation and enabling/disabling for TYPE_ISA_PARALLEL hw/ppc/pegasos2: Let pegasos2 machine configure SuperI/O functions hw/isa/vt82c686: Implement relocation and toggling of SuperI/O functions Bui Quang Minh (7): i386/tcg: implement x2APIC registers MSR access apic: add support for x2APIC mode apic, i386/tcg: add x2apic transitions intel_iommu: allow Extended Interrupt Mode when using userspace APIC test: bios-tables-test: prepare IVRS change in ACPI table amd_iommu: report x2APIC support to the operating system test: bios-tables-test: add IVRS changed binary Davidlohr Bueso (1): hw/cxl/mbox: Remove dead code Dmitry Osipenko (1): virtio-gpu: Correct virgl_renderer_resource_get_info() error check Hyeonggon Yoo (1): hw/cxl/device: read from register values in mdev_reg_read() Ira Weiny (2): cxl/cdat: Handle cdat table build errors cxl/cdat: Fix header sum value in CDAT checksum Jonathan Cameron (11): hw/mem/cxl_type3: Drop handling of failure of g_malloc0() and g_malloc() hw/pci-bridge/cxl_upstream: Drop g_malloc() failure handling hw/mem/cxl_type3: Fix potential divide by zero reported by coverity tests/acpi: Allow update of DSDT.cxl hw/i386: Fix _STA return value for ACPI0017 tests/acpi: Update DSDT.cxl to reflect change _STA return value. hw/cxl: Update HDM Decoder capability to version 3 hw/cxl: Update link register definitions. hw/cxl: Update RAS Capability Definitions for version 3. hw/cxl: Update mailbox status registers. hw/cxl: Standardize all references on CXL r3.1 and minor updates Leo Yan (4): hw/virtio: Support set_config() callback in vhost-user-base docs/system: Add vhost-user-input documentation hw/virtio: Move vhost-user-input into virtio folder hw/virtio: derive vhost-user-input from vhost-user-base Li Zhijian (2): hw/cxl: Pass CXLComponentState to cache_mem_ops hw/cxl: Pass NULL for a NULL MemoryRegionOps Manos Pitsidianakis (4): hw/virtio: add vhost-user-snd and vhost-user-snd-pci devices hw/display/virtio-gpu.c: use reset_bh class method virtio-gpu.c: add resource_destroy class method virtio-gpu-rutabaga.c: override resource_destroy method Peter Xu (1): MAINTAINERS: Drop myself as VT-d maintainers Raphael Norwitz (1): MAINTAINERS: Switch to my Enfabrica email Zhenzhong Duan (2): virtio_iommu: Clear IOMMUPciBus pointer cache when system reset smmu: Clear SMMUPciBus pointer cache when system reset hw/block/fdc-internal.h | 4 - hw/i386/amd_iommu.h | 16 +- include/exec/ioport.h | 4 +- include/hw/block/fdc.h | 3 + include/hw/char/parallel-isa.h | 5 + include/hw/char/parallel.h | 2 - include/hw/char/serial.h | 2 + include/hw/cxl/cxl_cdat.h | 10 +- include/hw/cxl/cxl_component.h | 51 ++- include/hw/cxl/cxl_device.h | 86 ++-- include/hw/cxl/cxl_events.h | 18 +- include/hw/cxl/cxl_pci.h | 67 ++- include/hw/i386/apic.h | 9 +- include/hw/i386/apic_internal.h | 9 +- .../{vhost-user-device.h => vhost-user-base.h} | 21 +- include/hw/virtio/vhost-user-gpio.h | 25 +- include/hw/virtio/vhost-user-i2c.h | 14 +- include/hw/virtio/vhost-user-rng.h | 13 +- include/hw/virtio/vhost-user-snd.h | 24 ++ include/hw/virtio/virtio-gpu.h | 3 + include/hw/virtio/virtio-input.h | 6 +- target/i386/cpu.h | 9 + contrib/vhost-user-gpu/virgl.c | 6 +- hw/arm/smmu-common.c | 2 + hw/block/fdc-isa.c | 18 +- hw/block/fdc-sysbus.c | 6 +- hw/char/parallel-isa.c | 14 + hw/char/parallel.c | 2 +- hw/char/serial-isa.c | 14 + hw/cxl/cxl-cdat.c | 11 +- hw/cxl/cxl-component-utils.c | 33 +- hw/cxl/cxl-device-utils.c | 31 +- hw/cxl/cxl-events.c | 2 +- hw/cxl/cxl-mailbox-utils.c | 92 ++-- hw/display/virtio-gpu-rutabaga.c | 47 +- hw/display/virtio-gpu-virgl.c | 2 +- hw/display/virtio-gpu.c | 27 +- hw/i386/acpi-build.c | 109 +++-- hw/i386/amd_iommu-stub.c | 26 ++ hw/i386/amd_iommu.c | 29 +- hw/i386/intel_iommu.c | 6 +- hw/i386/kvm/apic.c | 3 +- hw/i386/x86.c | 14 +- hw/i386/xen/xen_apic.c | 3 +- hw/input/vhost-user-input.c | 136 ------ hw/intc/apic.c | 473 ++++++++++++++++----- hw/intc/apic_common.c | 35 +- hw/isa/vt82c686.c | 65 ++- hw/mem/cxl_type3.c | 67 +-- hw/pci-bridge/cxl_downstream.c | 4 +- hw/pci-bridge/cxl_root_port.c | 4 +- hw/pci-bridge/cxl_upstream.c | 10 +- hw/ppc/pegasos2.c | 12 + hw/smbios/smbios.c | 12 + hw/virtio/vhost-user-base.c | 371 ++++++++++++++++ hw/virtio/vhost-user-device-pci.c | 13 +- hw/virtio/vhost-user-device.c | 338 +-------------- hw/virtio/vhost-user-gpio.c | 407 +----------------- hw/virtio/vhost-user-i2c.c | 272 +----------- hw/virtio/vhost-user-input-pci.c | 3 - hw/virtio/vhost-user-input.c | 58 +++ hw/virtio/vhost-user-rng.c | 294 +------------ hw/virtio/vhost-user-snd-pci.c | 75 ++++ hw/virtio/vhost-user-snd.c | 67 +++ hw/virtio/virtio-iommu.c | 4 +- system/ioport.c | 41 +- target/i386/cpu-sysemu.c | 18 +- target/i386/cpu.c | 11 +- target/i386/tcg/sysemu/misc_helper.c | 41 +- target/i386/whpx/whpx-apic.c | 3 +- MAINTAINERS | 19 +- docs/devel/migration/main.rst | 6 +- docs/interop/vhost-user.rst | 6 +- docs/system/device-emulation.rst | 1 + docs/system/devices/cxl.rst | 3 +- docs/system/devices/vhost-user-input.rst | 45 ++ docs/system/devices/vhost-user-rng.rst | 2 + docs/system/devices/vhost-user.rst | 72 +++- hw/i386/meson.build | 3 +- hw/input/meson.build | 1 - hw/intc/trace-events | 4 +- hw/virtio/Kconfig | 5 + hw/virtio/meson.build | 27 +- tests/data/acpi/q35/DSDT.cxl | Bin 9713 -> 9714 bytes tests/data/acpi/q35/IVRS.ivrs | Bin 104 -> 176 bytes 85 files changed, 2016 insertions(+), 1910 deletions(-) rename include/hw/virtio/{vhost-user-device.h => vhost-user-base.h} (71%) create mode 100644 include/hw/virtio/vhost-user-snd.h create mode 100644 hw/i386/amd_iommu-stub.c delete mode 100644 hw/input/vhost-user-input.c create mode 100644 hw/virtio/vhost-user-base.c create mode 100644 hw/virtio/vhost-user-input.c create mode 100644 hw/virtio/vhost-user-snd-pci.c create mode 100644 hw/virtio/vhost-user-snd.c create mode 100644 docs/system/devices/vhost-user-input.rst . Date: Thu, 15 Feb 2024 17:35:03 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/35] target-arm queue The following changes since commit 5767815218efd3cbfd409505ed824d5f356044ae: Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-02-14 15:45:52 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240215 for you to fetch changes up to f780e63fe731b058fe52d43653600d8729a1b5f2: docs: Add documentation for the mps3-an536 board (2024-02-15 14:32:39 +0000) ---------------------------------------------------------------- target-arm queue: * hw/arm/xilinx_zynq: Wire FIQ between CPU <> GIC * linux-user/aarch64: Choose SYNC as the preferred MTE mode * Fix some errors in SVE/SME handling of MTE tags * hw/pci-host/raven.c: Mark raven_io_ops as implementing unaligned accesses * hw/block/tc58128: Don't emit deprecation warning under qtest * tests/qtest: Fix handling of npcm7xx and GMAC tests * hw/arm/virt: Wire up non-secure EL2 virtual timer IRQ * tests/qtest/npcm7xx_emc-test: Connect all NICs to a backend * Don't assert on vmload/vmsave of M-profile CPUs * hw/arm/smmuv3: add support for stage 1 access fault * hw/arm/stellaris: QOM cleanups * Use new CBAR encoding for all v8 CPUs, not all aarch64 CPUs * Improve Cortex_R52 IMPDEF sysreg modelling * Allow access to SPSR_hyp from hyp mode * New board model mps3-an536 (Cortex-R52) ---------------------------------------------------------------- Luc Michel (1): hw/arm/smmuv3: add support for stage 1 access fault Nabih Estefan (1): tests/qtest: Fix GMAC test to run on a machine in upstream QEMU Peter Maydell (22): hw/pci-host/raven.c: Mark raven_io_ops as implementing unaligned accesses hw/block/tc58128: Don't emit deprecation warning under qtest tests/qtest/meson.build: Don't include qtests_npcm7xx in qtests_aarch64 tests/qtest/bios-tables-test: Allow changes to virt GTDT hw/arm/virt: Wire up non-secure EL2 virtual timer IRQ tests/qtest/bios-tables-tests: Update virt golden reference hw/arm/npcm7xx: Call qemu_configure_nic_device() for GMAC modules tests/qtest/npcm7xx_emc-test: Connect all NICs to a backend target/arm: Don't get MDCR_EL2 in pmu_counter_enabled() before checking ARM_FEATURE_PMU target/arm: Use new CBAR encoding for all v8 CPUs, not all aarch64 CPUs target/arm: The Cortex-R52 has a read-only CBAR target/arm: Add Cortex-R52 IMPDEF sysregs target/arm: Allow access to SPSR_hyp from hyp mode hw/misc/mps2-scc: Fix condition for CFG3 register hw/misc/mps2-scc: Factor out which-board conditionals hw/misc/mps2-scc: Make changes needed for AN536 FPGA image hw/arm/mps3r: Initial skeleton for mps3-an536 board hw/arm/mps3r: Add CPUs, GIC, and per-CPU RAM hw/arm/mps3r: Add UARTs hw/arm/mps3r: Add GPIO, watchdog, dual-timer, I2C devices hw/arm/mps3r: Add remaining devices docs: Add documentation for the mps3-an536 board Philippe Mathieu-Daudé (5): hw/arm/xilinx_zynq: Wire FIQ between CPU <> GIC hw/arm/stellaris: Convert ADC controller to Resettable interface hw/arm/stellaris: Convert I2C controller to Resettable interface hw/arm/stellaris: Add missing QOM 'machine' parent hw/arm/stellaris: Add missing QOM 'SoC' parent Richard Henderson (6): linux-user/aarch64: Choose SYNC as the preferred MTE mode target/arm: Fix nregs computation in do_{ld,st}_zpa target/arm: Adjust and validate mtedesc sizem1 target/arm: Split out make_svemte_desc target/arm: Handle mte in do_ldrq, do_ldro target/arm: Fix SVE/SME gross MTE suppression checks MAINTAINERS | 3 +- docs/system/arm/mps2.rst | 37 +- configs/devices/arm-softmmu/default.mak | 1 + hw/arm/smmuv3-internal.h | 1 + include/hw/arm/smmu-common.h | 1 + include/hw/arm/virt.h | 2 + include/hw/misc/mps2-scc.h | 1 + linux-user/aarch64/target_prctl.h | 29 +- target/arm/internals.h | 2 +- target/arm/tcg/translate-a64.h | 2 + hw/arm/mps3r.c | 640 ++++++++++++++++++++++++++++++++ hw/arm/npcm7xx.c | 1 + hw/arm/smmu-common.c | 11 + hw/arm/smmuv3.c | 1 + hw/arm/stellaris.c | 47 ++- hw/arm/virt-acpi-build.c | 20 +- hw/arm/virt.c | 60 ++- hw/arm/xilinx_zynq.c | 2 + hw/block/tc58128.c | 4 +- hw/misc/mps2-scc.c | 138 ++++++- hw/pci-host/raven.c | 1 + target/arm/helper.c | 14 +- target/arm/tcg/cpu32.c | 109 ++++++ target/arm/tcg/op_helper.c | 43 ++- target/arm/tcg/sme_helper.c | 8 +- target/arm/tcg/sve_helper.c | 12 +- target/arm/tcg/translate-sme.c | 15 +- target/arm/tcg/translate-sve.c | 83 +++-- target/arm/tcg/translate.c | 19 +- tests/qtest/npcm7xx_emc-test.c | 5 +- tests/qtest/npcm_gmac-test.c | 84 +---- hw/arm/Kconfig | 5 + hw/arm/meson.build | 1 + tests/data/acpi/virt/FACP | Bin 276 -> 276 bytes tests/data/acpi/virt/GTDT | Bin 96 -> 104 bytes tests/qtest/meson.build | 4 +- 36 files changed, 1184 insertions(+), 222 deletions(-) create mode 100644 hw/arm/mps3r.c . Date: Thu, 15 Feb 2024 18:56:54 +0100 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-arm@nongnu.org, qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/56] Misc HW patches for 2024-02-15 The following changes since commit 5767815218efd3cbfd409505ed824d5f356044ae: Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-02-14 15:45:52 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240215 for you to fetch changes up to 9a4b35f57eefbfc6977ed47d1f19d839e9e4784d: hw/ide/ich9: Use AHCIPCIState typedef (2024-02-15 16:58:47 +0100) ---------------------------------------------------------------- Misc HW patch queue - Remove unused MIPS SAAR* registers (Phil) - Remove warning when testing the TC58128 NAND EEPROM (Peter) - KConfig cleanups around ISA SuperI/O and MIPS (Paolo) - QDev API uses sanitization (Philippe) - Split AHCI model as PCI / SysBus (Philippe) - Add SMP support to SPARC Leon3 board (Clément) ---------------------------------------------------------------- Bernhard Beschow (1): hw/mips/Kconfig: Remove ISA dependencies from MIPSsim board Clément Chigot (9): hw/sparc/grlib: split out the headers for each peripherals hw/intc/grlib_irqmp: add ncpus property hw/intc/grlib_irqmp: implements the multiprocessor status register hw/intc/grlib_irqmp: implements multicore irq target/sparc: implement asr17 feature for smp hw/sparc/leon3: remove SP initialization hw/sparc/leon3: implement multiprocessor hw/sparc/leon3: check cpu_id in the tiny bootloader MAINTAINERS: replace Fabien by myself as Leon3 maintainer Paolo Bonzini (5): hw/mips: remove unnecessary "select PTIMER" hw/isa: clean up Kconfig selections for ISA_SUPERIO hw/isa: fix ISA_SUPERIO dependencies hw/isa: specify instance_size in isa_superio_type_info hw/isa: extract FDC37M81X to a separate file Peter Maydell (1): hw/block/tc58128: Don't emit deprecation warning under qtest Philippe Mathieu-Daudé (39): target/mips: Use qemu_irq typedef for CPUMIPSState::irq member target/mips: Remove helpers accessing SAAR registers hw/misc/mips: Reduce itc_reconfigure() scope target/mips: Remove MIPSITUState::itu field target/mips: Remove CPUMIPSState::saarp field hw/misc/mips_itu: Remove MIPSITUState::cpu0 field hw/misc/mips_itu: Remove MIPSITUState::saar field target/mips: Remove unused mips_def_t::SAARP field target/mips: Remove CPUMIPSState::CP0_SAAR[2] field target/mips: Remove helpers accessing SAARI register target/mips: Remove CPUMIPSState::CP0_SAARI field target/mips: Remove the unused DisasContext::saar field hw/rx/rx62n: Reduce inclusion of 'qemu/units.h' hw/rx/rx62n: Only call qdev_get_gpio_in() when necessary hw/i386/q35: Realize LPC PCI function before accessing it hw/ppc/prep: Realize ISA bridge before accessing it hw/misc/macio: Realize IDE controller before accessing it hw/sh4/r2d: Realize IDE controller before accessing it hw/dma: Pass parent object to i8257_dma_init() hw/sparc/sun4m: Realize DMA controller before accessing it hw/sparc64/cpu: Initialize GPIO before realizing CPU devices target/sparc: Provide hint about CPUSPARCState::irq_manager member hw/sparc/leon3: Remove duplicate code hw/sparc/leon3: Remove unused 'env' argument of write_bootloader() hw/sparc/leon3: Have write_bootloader() take a void pointer argument hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in() hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu() hw/sparc/leon3: Initialize GPIO before realizing CPU devices hw/i386/q35: Simplify pc_q35_init() since PCI is always enabled hw/i386/q35: Use DEVICE() cast macro with PCIDevice object hw/ide/ahci: Expose AHCIPCIState structure hw/ide/ahci: Rename AHCI PCI function as 'pdev' hw/ide/ahci: Inline ahci_get_num_ports() hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs() hw/ide/ahci: Convert AHCIState::ports to unsigned hw/ide/ahci: Do not pass 'ports' argument to ahci_realize() hw/ide/ahci: Remove SysbusAHCIState::num_ports field hw/ide/ahci: Move SysBus definitions to 'ahci-sysbus.h' hw/ide/ich9: Use AHCIPCIState typedef Pierrick Bouvier (1): MAINTAINERS: Add myself as reviewer for TCG Plugins MAINTAINERS | 4 +- hw/ide/ahci_internal.h | 10 +- include/hw/arm/allwinner-a10.h | 2 +- include/hw/arm/allwinner-r40.h | 2 +- include/hw/arm/xlnx-zynqmp.h | 2 +- include/hw/char/grlib_uart.h | 32 ++++ include/hw/dma/i8257.h | 2 +- include/hw/ide/ahci-pci.h | 22 +++ include/hw/ide/ahci-sysbus.h | 35 +++++ include/hw/ide/ahci.h | 38 +---- .../hw/{sparc/grlib.h => intc/grlib_irqmp.h} | 18 +-- include/hw/misc/mips_itu.h | 6 - include/hw/rx/rx62n.h | 2 - include/hw/timer/grlib_gptimer.h | 32 ++++ target/mips/cpu.h | 6 +- target/mips/internal.h | 1 - target/mips/tcg/translate.h | 1 - target/sparc/cpu.h | 5 +- target/sparc/helper.h | 1 + target/mips/tcg/sysemu_helper.h.inc | 6 - hw/arm/highbank.c | 2 +- hw/arm/sbsa-ref.c | 1 + hw/block/tc58128.c | 4 +- hw/char/grlib_apbuart.c | 6 +- hw/dma/i82374.c | 2 +- hw/dma/i8257.c | 4 +- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 57 +++---- hw/ide/ahci-allwinner.c | 3 +- hw/ide/ahci.c | 29 ++-- hw/ide/ich.c | 10 +- hw/intc/grlib_irqmp.c | 110 ++++++++----- hw/isa/fdc37m81x-superio.c | 32 ++++ hw/isa/isa-superio.c | 18 --- hw/isa/lpc_ich9.c | 2 +- hw/isa/piix.c | 2 +- hw/isa/smc37c669-superio.c | 1 - hw/isa/vt82c686.c | 2 +- hw/mips/boston.c | 14 +- hw/mips/cps.c | 3 - hw/mips/jazz.c | 2 +- hw/mips/mipssim.c | 7 +- hw/misc/macio/macio.c | 9 +- hw/misc/mips_itu.c | 35 +---- hw/ppc/prep.c | 2 +- hw/rx/rx-gdbsim.c | 1 + hw/rx/rx62n.c | 17 ++- hw/sh4/r2d.c | 2 +- hw/sparc/leon3.c | 144 ++++++++++++------ hw/sparc/sun4m.c | 7 +- hw/sparc64/sparc64.c | 4 +- hw/timer/grlib_gptimer.c | 6 +- target/mips/sysemu/machine.c | 4 +- target/mips/tcg/sysemu/cp0_helper.c | 63 -------- target/mips/tcg/translate.c | 62 -------- target/sparc/helper.c | 16 ++ target/sparc/translate.c | 13 +- hw/isa/Kconfig | 20 +-- hw/isa/meson.build | 1 + hw/mips/Kconfig | 6 +- 60 files changed, 491 insertions(+), 461 deletions(-) create mode 100644 include/hw/char/grlib_uart.h create mode 100644 include/hw/ide/ahci-pci.h create mode 100644 include/hw/ide/ahci-sysbus.h rename include/hw/{sparc/grlib.h => intc/grlib_irqmp.h} (83%) create mode 100644 include/hw/timer/grlib_gptimer.h create mode 100644 hw/isa/fdc37m81x-superio.c -- 2.41.0 . Date: Fri, 16 Feb 2024 17:31:33 +0400 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , peter.maydell@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PULL 0/7] Ui patches From: Marc-André Lureau The following changes since commit 3ff11e4dcabe2b5b4c26e49d741018ec326f127f: Merge tag 'pull-target-arm-20240215' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-02-15 17:36:30 +0000) 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 186acfbaf7f325833702f50f75ef5116dc29e233: tests/qtest: Depend on dbus_display1_dep (2024-02-16 17:27:22 +0400) ---------------------------------------------------------------- UI-related fixes ---------------------------------------------------------------- Akihiko Odaki (3): audio: Depend on dbus_display1_dep meson: Explicitly specify dbus-display1.h dependency tests/qtest: Depend on dbus_display1_dep Daniel P. Berrangé (1): ui: reject extended clipboard message if not activated Fiona Ebner (2): ui/clipboard: mark type as not available when there is no data ui/clipboard: add asserts for update and request Tianlan Zhou (1): ui/console: Fix console resize with placeholder surface ui/clipboard.c | 26 +++++++++++++++++++++++--- ui/console.c | 2 +- ui/vnc.c | 5 +++++ audio/meson.build | 3 ++- tests/qtest/meson.build | 2 +- ui/meson.build | 2 +- 6 files changed, 33 insertions(+), 7 deletions(-) -- 2.43.1 . Date: Mon, 19 Feb 2024 18:28:49 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org, Daniel Henrique Barboza , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Harsh Prateek Bora Subject: [PULL 00/49] ppc-for-9.0 queue The following changes since commit da96ad4a6a2ef26c83b15fa95e7fceef5147269c: Merge tag 'hw-misc-20240215' of https://github.com/philmd/qemu into staging (2024-02-16 11:05:14 +0000) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-20240219 for you to fetch changes up to 922e408e12315121d3e09304b8b8f462ea051af1: target/ppc: optimise ppcemb_tlb_t flushing (2024-02-19 18:09:19 +1000) ---------------------------------------------------------------- * Avocado tests for ppc64 to boot FreeBSD, run guests with emulated or nested hypervisor facilities, among other things. * Update ppc64 CPU defaults to Power10. * Add a new powernv10-rainier machine to better capture differences between the different Power10 systems. * Implement more device models for powernv. * 4xx TLB flushing performance and correctness improvements. * Correct gdb implementation to access some important SPRs. * Misc cleanups and bug fixes. I dropped the BHRB patches, they are very close but minor issue only noticed recently held them up. Hopefully we can get those and a bunch of other outstanding submissions in for 9.0 but this PR was taking too long as it was. Thanks, Nick ---------------------------------------------------------------- Chalapathi V (3): hw/ppc: Add pnv nest pervasive common chiplet model hw/ppc: Add N1 chiplet model hw/ppc: N1 chiplet wiring Cédric Le Goater (1): spapr: Tag pseries-2.1 - 2.11 machines as deprecated Glenn Miles (9): misc/pca9552: Fix inverted input status misc/pca9552: Let external devices set pca9552 inputs ppc/pnv: New powernv10-rainier machine type ppc/pnv: Add pca9552 to powernv10-rainier for PCIe hotplug power control ppc/pnv: Wire up pca9552 GPIO pins for PCIe hotplug power control ppc/pnv: Use resettable interface to reset child I2C buses misc: Add a pca9554 GPIO device model ppc/pnv: Add a pca9554 I2C device to powernv10-rainier ppc/pnv: Test pnv i2c master and connected devices Harsh Prateek Bora (2): ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs. ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS. Nicholas Piggin (28): target/ppc: Fix lxv/stxv MSR facility check target/ppc: Fix crash on machine check caused by ifetch tests/avocado: mark boot_linux.py long runtime instead of flaky tests/avocado: improve flaky ppc/pnv boot_linux_console.py test tests/avocado: ppc add powernv10 boot_linux_console test tests/avocado: Add ppc pseries and powernv hash MMU tests tests/avocado: Add pseries KVM boot_linux test tests/avocado: ppc add hypervisor tests tests/avocado: Add FreeBSD distro boot tests for ppc tests/avocado: Use default CPU for pseries machine ppc/pnv: Update skiboot to v7.1 target/ppc: Rename registers to match ISA ppc/spapr: change pseries machine default to POWER10 CPU ppc/pnv: Change powernv default to powernv10 target/ppc: Rename TBL to TB on 64-bit target/ppc: Improve timebase register defines naming target/ppc: Fix move-to timebase SPR access permissions ppc/pnv: Add POWER9/10 chiptod model ppc/pnv: Wire ChipTOD model to powernv9 and powernv10 machines ppc/pnv: Implement the ChipTOD to Core transfer target/ppc: Implement core timebase state machine and TFMR target/ppc: Add SMT support to time facilities target/ppc: Fix 440 tlbwe TLB invalidation gaps target/ppc: Factor out 4xx ppcemb_tlb_t flushing target/ppc: 4xx don't flush TLB for a newly written software TLB entry target/ppc: 4xx optimise tlbwe_lo TLB flushing target/ppc: 440 optimise tlbwe TLB flushing target/ppc: optimise ppcemb_tlb_t flushing Peter Maydell (1): hw/pci-host/raven.c: Mark raven_io_ops as implementing unaligned accesses Philippe Mathieu-Daudé (4): hw/ppc/spapr: Add missing license hw/ppc/spapr_hcall: Allow elision of softmmu_resize_hpt_prep hw/ppc/spapr_hcall: Rename {softmmu -> vhyp_mmu}_resize_hpt_pr hw/ppc/spapr: Rename 'softmmu' -> 'vhyp_mmu' Saif Abrar (1): target/ppc: Update gdbstub to read SPR's CFAR, DEC, HDEC, TB-L/U MAINTAINERS | 11 +- docs/about/deprecated.rst | 8 + docs/devel/testing.rst | 11 + hw/misc/Kconfig | 4 + hw/misc/meson.build | 1 + hw/misc/pca9552.c | 58 ++- hw/misc/pca9554.c | 328 +++++++++++++++ hw/ppc/Kconfig | 2 + hw/ppc/meson.build | 5 +- hw/ppc/pnv.c | 131 +++++- hw/ppc/pnv_chiptod.c | 586 +++++++++++++++++++++++++++ hw/ppc/pnv_i2c.c | 146 +------ hw/ppc/pnv_n1_chiplet.c | 173 ++++++++ hw/ppc/pnv_nest_pervasive.c | 208 ++++++++++ hw/ppc/spapr.c | 12 +- hw/ppc/spapr_hcall.c | 12 +- hw/ppc/spapr_irq.c | 6 +- hw/ppc/{spapr_softmmu.c => spapr_vhyp_mmu.c} | 13 +- hw/ppc/trace-events | 4 + include/hw/i2c/pnv_i2c_regs.h | 143 +++++++ include/hw/misc/pca9552.h | 3 +- include/hw/misc/pca9554.h | 36 ++ include/hw/misc/pca9554_regs.h | 19 + include/hw/ppc/pnv.h | 3 + include/hw/ppc/pnv_chip.h | 5 + include/hw/ppc/pnv_chiptod.h | 53 +++ include/hw/ppc/pnv_n1_chiplet.h | 32 ++ include/hw/ppc/pnv_nest_pervasive.h | 32 ++ include/hw/ppc/pnv_xscom.h | 18 + include/hw/ppc/spapr.h | 9 +- include/hw/ppc/spapr_irq.h | 14 +- pc-bios/skiboot.lid | Bin 2527240 -> 2527328 bytes target/ppc/cpu.h | 57 ++- target/ppc/cpu_init.c | 20 +- target/ppc/excp_helper.c | 36 +- target/ppc/gdbstub.c | 40 +- target/ppc/helper_regs.c | 41 +- target/ppc/mmu_helper.c | 105 +++-- target/ppc/ppc-qmp-cmds.c | 4 + target/ppc/tcg-stub.c | 15 - target/ppc/timebase_helper.c | 309 +++++++++++++- target/ppc/translate.c | 42 +- target/ppc/translate/vsx-impl.c.inc | 2 +- tests/avocado/boot_freebsd.py | 174 ++++++++ tests/avocado/boot_linux.py | 16 +- tests/avocado/boot_linux_console.py | 11 +- tests/avocado/migration.py | 1 - tests/avocado/ppc_hv_tests.py | 203 ++++++++++ tests/avocado/ppc_powernv.py | 23 +- tests/avocado/ppc_pseries.py | 20 +- tests/qtest/meson.build | 1 + tests/qtest/pca9552-test.c | 6 +- tests/qtest/pnv-host-i2c-test.c | 491 ++++++++++++++++++++++ tests/qtest/pnv-xscom-test.c | 61 +-- tests/qtest/pnv-xscom.h | 80 ++++ 55 files changed, 3492 insertions(+), 352 deletions(-) create mode 100644 hw/misc/pca9554.c create mode 100644 hw/ppc/pnv_chiptod.c create mode 100644 hw/ppc/pnv_n1_chiplet.c create mode 100644 hw/ppc/pnv_nest_pervasive.c rename hw/ppc/{spapr_softmmu.c => spapr_vhyp_mmu.c} (97%) create mode 100644 include/hw/i2c/pnv_i2c_regs.h create mode 100644 include/hw/misc/pca9554.h create mode 100644 include/hw/misc/pca9554_regs.h create mode 100644 include/hw/ppc/pnv_chiptod.h create mode 100644 include/hw/ppc/pnv_n1_chiplet.h create mode 100644 include/hw/ppc/pnv_nest_pervasive.h create mode 100644 tests/avocado/boot_freebsd.py create mode 100644 tests/avocado/ppc_hv_tests.py create mode 100644 tests/qtest/pnv-host-i2c-test.c create mode 100644 tests/qtest/pnv-xscom.h . Date: Tue, 20 Feb 2024 09:05:41 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/17] Build, x86 patches for 2024-02-16 The following changes since commit 3ff11e4dcabe2b5b4c26e49d741018ec326f127f: Merge tag 'pull-target-arm-20240215' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-02-15 17:36:30 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 5f9beb5001738d9d32bb8a617ed0528d99d7f09a: ci: Fix again build-previous-qemu (2024-02-16 13:56:09 +0100) ---------------------------------------------------------------- * Some hw/isa cleanups * Fixes for x86 CPUID * Cleanups for configure, hw/isa and x86 ---------------------------------------------------------------- Paolo Bonzini (8): mips: remove unnecessary "select PTIMER" isa-superio: validate floppy.count value smc37c669: remove useless is_enabled functions configure: do not create legacy symlinks configure: put all symlink creation together i386: xen: fix compilation --without-default-devices usb: inline device creation functions ci: Fix again build-previous-qemu Xiaoyao Li (8): i386/cpu: Clear FEAT_XSAVE_XSS_LO/HI leafs when CPUID_EXT_XSAVE is not available i386/cpu: Mask with XCR0/XSS mask for FEAT_XSAVE_XCR0_HI and FEAT_XSAVE_XSS_HI leafs target/i386: Add support of KVM_FEATURE_ASYNC_PF_VMEXIT for guest i386/pc: Drop pc_machine_kvm_type() physmem: replace function name with __func__ in ram_block_discard_range() i386/cpuid: Decrease cpuid_i when skipping CPUID leaf 1F i386/cpuid: Remove subleaf constraint on CPUID leaf 1F i386/cpuid: Move leaf 7 to correct group Ziqiao Kong (1): target/i386: Generate an illegal opcode exception on cmp instructions with lock prefix configure | 20 +++++--------------- include/hw/i386/pc.h | 3 --- include/hw/usb.h | 27 ++++++++++++++++++++++++--- hw/i386/pc.c | 5 ----- hw/isa/isa-superio.c | 4 +++- hw/isa/smc37c669-superio.c | 18 ------------------ hw/usb/bus.c | 23 ----------------------- system/physmem.c | 38 +++++++++++++++++--------------------- target/i386/cpu.c | 8 +++++--- target/i386/kvm/kvm.c | 7 ++----- target/i386/tcg/translate.c | 11 ++++++----- .gitlab-ci.d/buildtest.yml | 2 +- accel/Kconfig | 1 + hw/mips/Kconfig | 1 - 14 files changed, 64 insertions(+), 104 deletions(-) -- 2.43.0 . Date: Wed, 21 Feb 2024 17:11:53 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/1] loongarch-to-apply queue The following changes since commit 760b4dcdddba4a40b9fa0eb78fdfc7eda7cb83d0: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-02-20 10:11:08 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240221 for you to fetch changes up to be57fd1e526e70fd55f1e87b0b70fab3c6baf089: loongarch: Change the UEFI loading mode to loongarch (2024-02-21 17:06:23 +0800) ---------------------------------------------------------------- pull-loongarch-20240221 ---------------------------------------------------------------- Xianglai Li (1): loongarch: Change the UEFI loading mode to loongarch hw/loongarch/acpi-build.c | 29 +++++++++++-- hw/loongarch/virt.c | 101 ++++++++++++++++++++++++++++++++------------ include/hw/loongarch/virt.h | 10 +++-- 3 files changed, 107 insertions(+), 33 deletions(-) . Date: Wed, 21 Feb 2024 22:16:00 +0100 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-block@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/25] Misc HW patches for 2024-02-21 The following changes since commit 760b4dcdddba4a40b9fa0eb78fdfc7eda7cb83d0: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-02-20 10:11:08 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240221 for you to fetch changes up to df07f6bb563f25f39f4f5887adab557e42bdee59: hw/sparc/leon3: Fix wrong usage of DO_UPCAST macro (2024-02-21 22:13:03 +0100) Following checkpatch.pl error ignored: ERROR: Macros with complex values should be enclosed in parenthesis #62: FILE: include/hw/ide/ide-dev.h:31: +#define DEFINE_IDE_DEV_PROPERTIES() \ + DEFINE_BLOCK_PROPERTIES(IDEDrive, dev.conf), \ + DEFINE_BLOCK_ERROR_PROPERTIES(IDEDrive, dev.conf), \ + DEFINE_PROP_STRING("ver", IDEDrive, dev.version), \ + DEFINE_PROP_UINT64("wwn", IDEDrive, dev.wwn, 0), \ + DEFINE_PROP_STRING("serial", IDEDrive, dev.serial),\ + DEFINE_PROP_STRING("model", IDEDrive, dev.model) ---------------------------------------------------------------- Misc HW patch queue - Remove sysbus_add_io (Phil) - Build PPC 4xx PCI host bridges once (Phil) - Display QOM path while debugging SMBus targets (Joe) - Simplify x86 PC code (Bernhard) - Remove qemu_[un]register_reset() calls in x86 PC CMOS (Peter) - Fix wiring of ICH9 LPC interrupts (Bernhard) - Split core IDE as device / bus / dma (Thomas) - Fix invalid use of DO_UPCAST() in Leon3 (Thomas) ---------------------------------------------------------------- Bernhard Beschow (8): hw/i386/pc_piix: Share pc_cmos_init() invocation between pc and isapc machines hw/i386/x86: Turn apic_xrupt_override into class attribute hw/i386/pc: Merge pc_guest_info_init() into pc_machine_initfn() hw/i386/pc: Defer smbios_set_defaults() to machine_done hw/i386/pc: Confine system flash handling to pc_sysfw hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it hw/i386/pc_q35: Populate interrupt handlers before realizing LPC PCI function hw/isa/meson.build: Sort alphabetically Joe Komlodi (1): hw/i2c/smbus_slave: Add object path on error prints Peter Maydell (2): hw/i386/pc: Store pointers to IDE buses in PCMachineState hw/i386/pc: Do pc_cmos_init_late() from pc_machine_done() Philippe Mathieu-Daudé (6): hw/input/pckbd: Open-code i8042_setup_a20_line() wrapper hw/sysbus: Inline and remove sysbus_add_io() hw/ppc/ppc4xx_pci: Remove unused "hw/ppc/ppc.h" header hw/ppc/ppc4xx_pci: Extract PCI host definitions to hw/pci-host/ppc4xx.h hw/ppc/ppc4xx_pci: Move ppc4xx_pci.c to hw/pci-host/ hw/ppc/ppc440_pcix: Move ppc440_pcix.c to hw/pci-host/ Thomas Huth (8): hw/ide: Add the possibility to disable the CompactFlash device in the build hw/ide: Split qdev.c into ide-bus.c and ide-dev.c hw/ide: Move IDE DMA related definitions to a separate header ide-dma.h hw/ide: Move IDE device related definitions to ide-dev.h hw/ide: Move IDE bus related definitions to a new header ide-bus.h hw/ide: Remove the include/hw/ide.h legacy file hw/ide: Stop exposing internal.h to non-IDE files hw/sparc/leon3: Fix wrong usage of DO_UPCAST macro MAINTAINERS | 5 +- hw/i386/fw_cfg.h | 3 +- include/hw/i386/pc.h | 9 +- include/hw/i386/x86.h | 3 +- include/hw/ide.h | 9 -- include/hw/ide/ide-bus.h | 42 ++++++ include/hw/ide/ide-dev.h | 184 +++++++++++++++++++++++++ include/hw/ide/ide-dma.h | 37 +++++ include/hw/ide/internal.h | 211 +---------------------------- include/hw/ide/pci.h | 2 +- include/hw/input/i8042.h | 1 - include/hw/pci-host/ppc4xx.h | 17 +++ include/hw/ppc/ppc4xx.h | 5 - include/hw/sysbus.h | 2 - hw/core/sysbus.c | 6 - hw/i2c/smbus_slave.c | 8 +- hw/i386/acpi-common.c | 3 +- hw/i386/fw_cfg.c | 12 +- hw/i386/kvmvapic.c | 2 +- hw/i386/pc.c | 60 ++++---- hw/i386/pc_piix.c | 31 +---- hw/i386/pc_q35.c | 22 +-- hw/i386/pc_sysfw.c | 17 +-- hw/ide/cf.c | 58 ++++++++ hw/ide/cmd646.c | 1 + hw/ide/ide-bus.c | 111 +++++++++++++++ hw/ide/{qdev.c => ide-dev.c} | 137 +------------------ hw/ide/pci.c | 1 + hw/ide/piix.c | 1 + hw/ide/sii3112.c | 1 + hw/ide/via.c | 1 + hw/input/pckbd.c | 5 - hw/mips/mipssim.c | 2 +- hw/nvram/fw_cfg.c | 5 +- hw/{ppc => pci-host}/ppc440_pcix.c | 3 +- hw/{ppc => pci-host}/ppc4xx_pci.c | 3 +- hw/pci-host/ppce500.c | 2 +- hw/ppc/ppc440_bamboo.c | 1 + hw/ppc/ppc440_uc.c | 1 + hw/ppc/sam460ex.c | 1 + hw/sparc/leon3.c | 2 +- hw/arm/Kconfig | 2 + hw/ide/Kconfig | 32 +++-- hw/ide/meson.build | 4 +- hw/isa/meson.build | 2 +- hw/pci-host/Kconfig | 8 ++ hw/pci-host/meson.build | 2 + hw/pci-host/trace-events | 12 ++ hw/ppc/Kconfig | 3 +- hw/ppc/meson.build | 3 +- hw/ppc/trace-events | 12 -- 51 files changed, 591 insertions(+), 516 deletions(-) delete mode 100644 include/hw/ide.h create mode 100644 include/hw/ide/ide-bus.h create mode 100644 include/hw/ide/ide-dev.h create mode 100644 include/hw/ide/ide-dma.h create mode 100644 include/hw/pci-host/ppc4xx.h create mode 100644 hw/ide/cf.c create mode 100644 hw/ide/ide-bus.c rename hw/ide/{qdev.c => ide-dev.c} (67%) rename hw/{ppc => pci-host}/ppc440_pcix.c (99%) rename hw/{ppc => pci-host}/ppc4xx_pci.c (99%) -- 2.41.0 . Date: Thu, 22 Feb 2024 14:25:27 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 00/34] Trivial patches for 2024-02-22 The following changes since commit 760b4dcdddba4a40b9fa0eb78fdfc7eda7cb83d0: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-02-20 10:11:08 +0000) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to 185311130f54ead75c407cdf83004d575829b5d2: system/vl: Update description for input grab key (2024-02-22 08:59:16 +0300) ---------------------------------------------------------------- trivial patches for 2024-02-22 The bulk is a spelling fixes series from Manos Pitsidianakis. Plus a few small things in other places. ---------------------------------------------------------------- Manos Pitsidianakis (20): system/physmem: remove redundant arg reassignment docs: correct typos tests: correct typos accel/tcg: correct typos loongson3: correct typos ppc: correct typos sh4: correct typos include/exec/memory.h: correct typos hw/arm/omap.h: correct typos hw/cxl/cxl_device.h: correct typos hw/net/npcm_gmac.h: correct typos hw/riscv/virt.h: correct typos pc-bios/README: correct typos qapi/ui: correct typos qemu-options.hx: correct typos ci/gitlab-pipeline-status: correct typos hexagon: correct typos m68k: correct typos s390x: correct typos target/sparc: correct typos Philippe Mathieu-Daudé (11): hw/usb: Style cleanup hw/usb/uhci: Rename NB_PORTS -> UHCI_PORTS hw/usb/ehci: Rename NB_PORTS -> EHCI_PORTS hw/i386/kvm/ioapic: Replace magic '24' value by proper definition target/i386/monitor: Remove unused 'hw/i386/pc.h' header hw/timer: Move HPET_INTCAP definition to "hpet.h" hw/isa/lpc_ich9: Remove unused 'hw/i386/pc.h' hw/i386/acpi: Declare pc_madt_cpu_entry() in 'acpi-common.h' hw/i386/port92: Add missing 'hw/isa/isa.h' header hw/acpi/cpu_hotplug: Include 'pci_device.h' instead of 'pci.h' hw/acpi/cpu_hotplug: Include 'x86.h' instead of 'pc.h' Thomas Huth (1): hw/hppa/Kconfig: Fix building with "configure --without-default-devices" Tianlan Zhou (2): docs/system: Update description for input grab key system/vl: Update description for input grab key accel/tcg/ldst_atomicity.c.inc | 2 +- docs/devel/ci-jobs.rst.inc | 2 +- docs/devel/docs.rst | 2 +- docs/devel/testing.rst | 2 +- docs/interop/prl-xml.txt | 2 +- docs/interop/vhost-user.rst | 2 +- docs/system/devices/canokey.rst | 2 +- docs/system/keys.rst.inc | 2 +- hw/acpi/cpu_hotplug.c | 4 ++-- hw/hppa/Kconfig | 2 ++ hw/i386/acpi-common.c | 1 - hw/i386/acpi-common.h | 3 +++ hw/i386/kvm/ioapic.c | 2 +- hw/i386/port92.c | 1 + hw/isa/lpc_ich9.c | 1 - hw/mips/loongson3_bootp.h | 4 ++-- hw/sh4/sh7750_regs.h | 2 +- hw/timer/hpet.c | 1 - hw/usb/hcd-ehci-pci.c | 2 +- hw/usb/hcd-ehci-sysbus.c | 2 +- hw/usb/hcd-ehci.c | 21 +++++++++++---------- hw/usb/hcd-ehci.h | 8 ++++---- hw/usb/hcd-uhci.c | 24 +++++++++++++----------- hw/usb/hcd-uhci.h | 4 ++-- include/exec/memory.h | 2 +- include/hw/arm/omap.h | 3 ++- include/hw/cxl/cxl_device.h | 4 ++-- include/hw/i386/pc.h | 6 ------ include/hw/net/npcm_gmac.h | 4 ++-- include/hw/riscv/virt.h | 4 ++-- include/hw/timer/hpet.h | 2 ++ pc-bios/README | 2 +- qapi/ui.json | 4 ++-- qemu-options.hx | 4 ++-- scripts/ci/gitlab-pipeline-status | 2 +- system/physmem.c | 7 ++----- system/vl.c | 2 +- target/hexagon/idef-parser/macros.inc | 2 +- target/i386/monitor.c | 1 - target/m68k/cpu.h | 7 ++++--- target/ppc/translate/vmx-impl.c.inc | 2 +- target/s390x/cpu_features_def.h.inc | 2 +- target/sparc/asi.h | 8 ++++---- tests/avocado/acpi-bits/bits-tests/smbios.py2 | 2 +- tests/avocado/mem-addr-space-check.py | 6 +++--- tests/avocado/reverse_debugging.py | 2 +- 46 files changed, 88 insertions(+), 88 deletions(-) . Date: Thu, 22 Feb 2024 10:42:44 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/39] tcg and linux-user patch queue The following changes since commit 6630bc04bccadcf868165ad6bca5a964bb69b067: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-02-22 12:42:52 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240222 for you to fetch changes up to a06efc2615a1283e139e35ae8a8875925766268f: linux-user: Remove pgb_dynamic alignment assertion (2024-02-22 09:04:05 -1000) ---------------------------------------------------------------- tcg/aarch64: Apple does not align __int128_t in even registers accel/tcg: Fixes for page tables in mmio memory linux-user: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN migration: Remove qemu_host_page_size hw/tpm: Remove qemu_host_page_size softmmu: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN linux-user: Split and reorganize target_mmap. *-user: Deprecate and disable -p pagesize linux-user: Allow TARGET_PAGE_BITS_VARY target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only linux-user: Remove pgb_dynamic alignment assertion ---------------------------------------------------------------- Jonathan Cameron (1): tcg: Avoid double lock if page tables happen to be in mmio memory. Peter Maydell (1): accel/tcg: Set can_do_io at at start of lookup_tb_ptr helper Richard Henderson (37): tcg/aarch64: Apple does not align __int128_t in even registers accel/tcg: Remove qemu_host_page_size from page_protect/page_unprotect linux-user: Adjust SVr4 NULL page mapping linux-user: Remove qemu_host_page_{size, mask} in probe_guest_base linux-user: Remove qemu_host_page_size from create_elf_tables linux-user/hppa: Simplify init_guest_commpage linux-user/nios2: Remove qemu_host_page_size from init_guest_commpage linux-user/arm: Remove qemu_host_page_size from init_guest_commpage linux-user: Remove qemu_host_page_{size, mask} from mmap.c linux-user: Remove REAL_HOST_PAGE_ALIGN from mmap.c linux-user: Remove HOST_PAGE_ALIGN from mmap.c migration: Remove qemu_host_page_size hw/tpm: Remove HOST_PAGE_ALIGN from tpm_ppi_init softmmu/physmem: Remove qemu_host_page_size softmmu/physmem: Remove HOST_PAGE_ALIGN linux-user: Remove qemu_host_page_size from main linux-user: Split out target_mmap__locked linux-user: Move some mmap checks outside the lock linux-user: Fix sub-host-page mmap linux-user: Split out mmap_end linux-user: Do early mmap placement only for reserved_va linux-user: Split out do_munmap linux-user: Use do_munmap for target_mmap failure linux-user: Split out mmap_h_eq_g linux-user: Split out mmap_h_lt_g linux-user: Split out mmap_h_gt_g tests/tcg: Remove run-test-mmap-* tests/tcg: Extend file in linux-madvise.c *-user: Deprecate and disable -p pagesize cpu: Remove page_size_init accel/tcg: Disconnect TargetPageDataNode from page size linux-user: Allow TARGET_PAGE_BITS_VARY target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only linux-user: Bound mmap_min_addr by host page size target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only linux-user: Remove pgb_dynamic alignment assertion docs/about/deprecated.rst | 10 + docs/user/main.rst | 3 - bsd-user/qemu.h | 7 + include/exec/cpu-common.h | 7 - include/hw/core/cpu.h | 2 - target/alpha/cpu-param.h | 16 +- target/arm/cpu-param.h | 6 +- target/ppc/cpu-param.h | 9 +- tcg/aarch64/tcg-target.h | 6 +- accel/tcg/cpu-exec.c | 8 + accel/tcg/cputlb.c | 34 +- accel/tcg/translate-all.c | 1 - accel/tcg/user-exec.c | 31 +- bsd-user/main.c | 22 +- cpu-target.c | 13 - hw/tpm/tpm_ppi.c | 6 +- linux-user/elfload.c | 68 +-- linux-user/main.c | 34 +- linux-user/mmap.c | 767 ++++++++++++++++++------------ migration/ram.c | 22 +- system/physmem.c | 17 +- system/vl.c | 1 - target/arm/cpu.c | 51 +- tests/tcg/multiarch/linux/linux-madvise.c | 2 + tests/tcg/alpha/Makefile.target | 3 - tests/tcg/arm/Makefile.target | 3 - tests/tcg/hppa/Makefile.target | 3 - tests/tcg/i386/Makefile.target | 3 - tests/tcg/m68k/Makefile.target | 3 - tests/tcg/multiarch/Makefile.target | 9 - tests/tcg/ppc/Makefile.target | 12 - tests/tcg/sh4/Makefile.target | 3 - tests/tcg/sparc64/Makefile.target | 6 - 33 files changed, 700 insertions(+), 488 deletions(-) delete mode 100644 tests/tcg/ppc/Makefile.target delete mode 100644 tests/tcg/sparc64/Makefile.target . Date: Sat, 24 Feb 2024 01:41:19 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org, Daniel Henrique Barboza , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Harsh Prateek Bora Subject: [PULL 00/47] ppc-for-9.0 queue The following changes since commit 3d54cbf269d63ff1d500b35b2bcf4565ff8ad485: Merge tag 'hw-misc-20240222' of https://github.com/philmd/qemu into staging (2024-02-22 15:44:29 +0000) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-20240224 for you to fetch changes up to 4acc505d2236190efea94746e7f22e2c07bce5d6: target/ppc: optimise ppcemb_tlb_t flushing (2024-02-23 23:24:43 +1000) ---------------------------------------------------------------- Let's try this PR again. Since the previous attempt, I dropped the empty already merged pci/raven patch. Also added several missed R-B tags. A bunch more testing showed up some issues with the new avocado tests. FreeBSD artifact URL availability is marginal so dropped that for now. ppc_hv_tests.py sometimes hangs due to a bug in console interaction so marked it flaky so it's not gated behind the fix for that. * Avocado tests for ppc64 run guests with emulated or nested hypervisor * facilities, among other things. Update ppc64 CPU defaults to Power10. * Add a new powernv10-rainier machine to better capture differences between the different Power10 systems. * Implement more device models for powernv. * 4xx TLB flushing performance and correctness improvements. * Correct gdb implementation to access some important SPRs. * Misc cleanups and bug fixes. ---------------------------------------------------------------- Chalapathi V (3): hw/ppc: Add pnv nest pervasive common chiplet model hw/ppc: Add N1 chiplet model hw/ppc: N1 chiplet wiring Cédric Le Goater (1): spapr: Tag pseries-2.1 - 2.11 machines as deprecated Glenn Miles (9): misc/pca9552: Fix inverted input status misc/pca9552: Let external devices set pca9552 inputs ppc/pnv: New powernv10-rainier machine type ppc/pnv: Add pca9552 to powernv10-rainier for PCIe hotplug power control ppc/pnv: Wire up pca9552 GPIO pins for PCIe hotplug power control ppc/pnv: Use resettable interface to reset child I2C buses misc: Add a pca9554 GPIO device model ppc/pnv: Add a pca9554 I2C device to powernv10-rainier ppc/pnv: Test pnv i2c master and connected devices Harsh Prateek Bora (2): ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs. ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS. Nicholas Piggin (27): target/ppc: Fix lxv/stxv MSR facility check target/ppc: Fix crash on machine check caused by ifetch tests/avocado: mark boot_linux.py long runtime instead of flaky tests/avocado: improve flaky ppc/pnv boot_linux_console.py test tests/avocado: ppc add powernv10 boot_linux_console test tests/avocado: Add ppc pseries and powernv hash MMU tests tests/avocado: Add pseries KVM boot_linux test tests/avocado: ppc add hypervisor tests tests/avocado: Use default CPU for pseries machine ppc/pnv: Update skiboot to v7.1 target/ppc: Rename registers to match ISA ppc/spapr: change pseries machine default to POWER10 CPU ppc/pnv: Change powernv default to powernv10 target/ppc: Rename TBL to TB on 64-bit target/ppc: Improve timebase register defines naming target/ppc: Fix move-to timebase SPR access permissions ppc/pnv: Add POWER9/10 chiptod model ppc/pnv: Wire ChipTOD model to powernv9 and powernv10 machines ppc/pnv: Implement the ChipTOD to Core transfer target/ppc: Implement core timebase state machine and TFMR target/ppc: Add SMT support to time facilities target/ppc: Fix 440 tlbwe TLB invalidation gaps target/ppc: Factor out 4xx ppcemb_tlb_t flushing target/ppc: 4xx don't flush TLB for a newly written software TLB entry target/ppc: 4xx optimise tlbwe_lo TLB flushing target/ppc: 440 optimise tlbwe TLB flushing target/ppc: optimise ppcemb_tlb_t flushing Philippe Mathieu-Daudé (4): hw/ppc/spapr: Add missing license hw/ppc/spapr_hcall: Allow elision of softmmu_resize_hpt_prep hw/ppc/spapr_hcall: Rename {softmmu -> vhyp_mmu}_resize_hpt_pr hw/ppc/spapr: Rename 'softmmu' -> 'vhyp_mmu' Saif Abrar (1): target/ppc: Update gdbstub to read SPR's CFAR, DEC, HDEC, TB-L/U MAINTAINERS | 11 +- docs/about/deprecated.rst | 8 + docs/devel/testing.rst | 11 + hw/misc/Kconfig | 4 + hw/misc/meson.build | 1 + hw/misc/pca9552.c | 58 ++- hw/misc/pca9554.c | 328 +++++++++++++++ hw/ppc/Kconfig | 2 + hw/ppc/meson.build | 5 +- hw/ppc/pnv.c | 131 +++++- hw/ppc/pnv_chiptod.c | 586 +++++++++++++++++++++++++++ hw/ppc/pnv_i2c.c | 146 +------ hw/ppc/pnv_n1_chiplet.c | 173 ++++++++ hw/ppc/pnv_nest_pervasive.c | 208 ++++++++++ hw/ppc/spapr.c | 12 +- hw/ppc/spapr_hcall.c | 12 +- hw/ppc/spapr_irq.c | 6 +- hw/ppc/{spapr_softmmu.c => spapr_vhyp_mmu.c} | 13 +- hw/ppc/trace-events | 4 + include/hw/i2c/pnv_i2c_regs.h | 143 +++++++ include/hw/misc/pca9552.h | 3 +- include/hw/misc/pca9554.h | 36 ++ include/hw/misc/pca9554_regs.h | 19 + include/hw/ppc/pnv.h | 3 + include/hw/ppc/pnv_chip.h | 5 + include/hw/ppc/pnv_chiptod.h | 53 +++ include/hw/ppc/pnv_n1_chiplet.h | 32 ++ include/hw/ppc/pnv_nest_pervasive.h | 32 ++ include/hw/ppc/pnv_xscom.h | 18 + include/hw/ppc/spapr.h | 9 +- include/hw/ppc/spapr_irq.h | 14 +- pc-bios/skiboot.lid | Bin 2527240 -> 2527328 bytes target/ppc/cpu.h | 57 ++- target/ppc/cpu_init.c | 20 +- target/ppc/excp_helper.c | 36 +- target/ppc/gdbstub.c | 40 +- target/ppc/helper_regs.c | 41 +- target/ppc/mmu_helper.c | 105 +++-- target/ppc/ppc-qmp-cmds.c | 4 + target/ppc/tcg-stub.c | 15 - target/ppc/timebase_helper.c | 309 +++++++++++++- target/ppc/translate.c | 42 +- target/ppc/translate/vsx-impl.c.inc | 2 +- tests/avocado/boot_linux.py | 17 +- tests/avocado/boot_linux_console.py | 11 +- tests/avocado/migration.py | 1 - tests/avocado/ppc_hv_tests.py | 202 +++++++++ tests/avocado/ppc_powernv.py | 23 +- tests/avocado/ppc_pseries.py | 20 +- tests/qtest/meson.build | 1 + tests/qtest/pca9552-test.c | 6 +- tests/qtest/pnv-host-i2c-test.c | 491 ++++++++++++++++++++++ tests/qtest/pnv-xscom-test.c | 61 +-- tests/qtest/pnv-xscom.h | 80 ++++ 54 files changed, 3318 insertions(+), 352 deletions(-) create mode 100644 hw/misc/pca9554.c create mode 100644 hw/ppc/pnv_chiptod.c create mode 100644 hw/ppc/pnv_n1_chiplet.c create mode 100644 hw/ppc/pnv_nest_pervasive.c rename hw/ppc/{spapr_softmmu.c => spapr_vhyp_mmu.c} (97%) create mode 100644 include/hw/i2c/pnv_i2c_regs.h create mode 100644 include/hw/misc/pca9554.h create mode 100644 include/hw/misc/pca9554_regs.h create mode 100644 include/hw/ppc/pnv_chiptod.h create mode 100644 include/hw/ppc/pnv_n1_chiplet.h create mode 100644 include/hw/ppc/pnv_nest_pervasive.h create mode 100644 tests/avocado/ppc_hv_tests.py create mode 100644 tests/qtest/pnv-host-i2c-test.c create mode 100644 tests/qtest/pnv-xscom.h . Date: Fri, 23 Feb 2024 20:09:52 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/11] Test and misc patches Hi Peter! The following changes since commit 3d54cbf269d63ff1d500b35b2bcf4565ff8ad485: Merge tag 'hw-misc-20240222' of https://github.com/philmd/qemu into staging (2024-02-22 15:44:29 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-02-23 for you to fetch changes up to 028ade14da9eb31a8c5dde48dd5b140e49888908: target/i386: do not filter processor tracing features except on KVM (2024-02-23 08:13:52 +0100) ---------------------------------------------------------------- * m68k: Fix exception frame format for 68010 * Add cdrom test for LoongArch virt machine * Fix qtests when using --without-default-devices * Enable -Wvla * Windows 32-bit removal * Silence warnings in the test-x86-cpuid-compat qtest ---------------------------------------------------------------- Bibo Mao (1): tests/cdrom-test: Add cdrom test for LoongArch virt machine Daniel Palmer (1): target/m68k: Fix exception frame format for 68010 Marc-André Lureau (1): tests: skip dbus-display tests that need a console Paolo Bonzini (1): target/i386: do not filter processor tracing features except on KVM Peter Maydell (4): meson: Enable -Wvla docs: Document that 32-bit Windows is unsupported .gitlab-ci.d: Drop cross-win32-system job .gitlab-ci.d/windows.yml: Remove shared-msys2 abstraction Thomas Huth (3): tests/qtest: Fix boot-serial-test when using --without-default-devices target/ppc/kvm: Replace variable length array in kvmppc_save_htab() target/ppc/kvm: Replace variable length array in kvmppc_read_hptes() docs/about/build-platforms.rst | 2 + docs/about/removed-features.rst | 15 +++ meson.build | 1 + target/m68k/cpu.h | 2 + target/i386/cpu.c | 11 +- target/m68k/cpu.c | 4 +- target/m68k/op_helper.c | 4 +- target/ppc/kvm.c | 6 +- tests/qtest/boot-serial-test.c | 2 +- tests/qtest/cdrom-test.c | 5 + tests/qtest/dbus-display-test.c | 16 ++- .gitlab-ci.d/container-cross.yml | 5 - .gitlab-ci.d/crossbuilds.yml | 14 --- .gitlab-ci.d/windows.yml | 85 ++++++++-------- tests/docker/dockerfiles/fedora-win32-cross.docker | 111 --------------------- tests/lcitool/refresh | 5 - 16 files changed, 99 insertions(+), 189 deletions(-) delete mode 100644 tests/docker/dockerfiles/fedora-win32-cross.docker . Date: Fri, 23 Feb 2024 15:05:15 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 00/39] tcg and linux-user patch queue v2: Fix bsd-user build errors. r~ The following changes since commit 3d54cbf269d63ff1d500b35b2bcf4565ff8ad485: Merge tag 'hw-misc-20240222' of https://github.com/philmd/qemu into staging (2024-02-22 15:44:29 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240222-2 for you to fetch changes up to fcc6ad372f56d3f47b6d5457a904916b48b9e114: linux-user: Remove pgb_dynamic alignment assertion (2024-02-23 15:07:03 -0800) ---------------------------------------------------------------- tcg/aarch64: Apple does not align __int128_t in even registers accel/tcg: Fixes for page tables in mmio memory linux-user: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN migration: Remove qemu_host_page_size hw/tpm: Remove qemu_host_page_size softmmu: Remove qemu_host_page_{size,mask}, HOST_PAGE_ALIGN linux-user: Split and reorganize target_mmap. *-user: Deprecate and disable -p pagesize linux-user: Allow TARGET_PAGE_BITS_VARY target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only linux-user: Remove pgb_dynamic alignment assertion ---------------------------------------------------------------- Jonathan Cameron (1): tcg: Avoid double lock if page tables happen to be in mmio memory. Peter Maydell (1): accel/tcg: Set can_do_io at at start of lookup_tb_ptr helper Richard Henderson (37): tcg/aarch64: Apple does not align __int128_t in even registers accel/tcg: Remove qemu_host_page_size from page_protect/page_unprotect linux-user: Adjust SVr4 NULL page mapping linux-user: Remove qemu_host_page_{size, mask} in probe_guest_base linux-user: Remove qemu_host_page_size from create_elf_tables linux-user/hppa: Simplify init_guest_commpage linux-user/nios2: Remove qemu_host_page_size from init_guest_commpage linux-user/arm: Remove qemu_host_page_size from init_guest_commpage linux-user: Remove qemu_host_page_{size, mask} from mmap.c linux-user: Remove REAL_HOST_PAGE_ALIGN from mmap.c linux-user: Remove HOST_PAGE_ALIGN from mmap.c migration: Remove qemu_host_page_size hw/tpm: Remove HOST_PAGE_ALIGN from tpm_ppi_init softmmu/physmem: Remove qemu_host_page_size softmmu/physmem: Remove HOST_PAGE_ALIGN linux-user: Remove qemu_host_page_size from main linux-user: Split out target_mmap__locked linux-user: Move some mmap checks outside the lock linux-user: Fix sub-host-page mmap linux-user: Split out mmap_end linux-user: Do early mmap placement only for reserved_va linux-user: Split out do_munmap linux-user: Use do_munmap for target_mmap failure linux-user: Split out mmap_h_eq_g linux-user: Split out mmap_h_lt_g linux-user: Split out mmap_h_gt_g tests/tcg: Remove run-test-mmap-* tests/tcg: Extend file in linux-madvise.c *-user: Deprecate and disable -p pagesize cpu: Remove page_size_init accel/tcg: Disconnect TargetPageDataNode from page size linux-user: Allow TARGET_PAGE_BITS_VARY target/arm: Enable TARGET_PAGE_BITS_VARY for AArch64 user-only linux-user: Bound mmap_min_addr by host page size target/ppc: Enable TARGET_PAGE_BITS_VARY for user-only target/alpha: Enable TARGET_PAGE_BITS_VARY for user-only linux-user: Remove pgb_dynamic alignment assertion docs/about/deprecated.rst | 10 + docs/user/main.rst | 3 - bsd-user/qemu.h | 7 + include/exec/cpu-common.h | 7 - include/hw/core/cpu.h | 2 - target/alpha/cpu-param.h | 16 +- target/arm/cpu-param.h | 6 +- target/ppc/cpu-param.h | 9 +- tcg/aarch64/tcg-target.h | 6 +- accel/tcg/cpu-exec.c | 8 + accel/tcg/cputlb.c | 34 +- accel/tcg/translate-all.c | 1 - accel/tcg/user-exec.c | 31 +- bsd-user/main.c | 23 +- cpu-target.c | 16 - hw/tpm/tpm_ppi.c | 6 +- linux-user/elfload.c | 68 +-- linux-user/main.c | 34 +- linux-user/mmap.c | 767 ++++++++++++++++++------------ migration/ram.c | 22 +- system/physmem.c | 17 +- system/vl.c | 1 - target/arm/cpu.c | 51 +- tests/tcg/multiarch/linux/linux-madvise.c | 2 + tests/tcg/alpha/Makefile.target | 3 - tests/tcg/arm/Makefile.target | 3 - tests/tcg/hppa/Makefile.target | 3 - tests/tcg/i386/Makefile.target | 3 - tests/tcg/m68k/Makefile.target | 3 - tests/tcg/multiarch/Makefile.target | 9 - tests/tcg/ppc/Makefile.target | 12 - tests/tcg/sh4/Makefile.target | 3 - tests/tcg/sparc64/Makefile.target | 6 - 33 files changed, 701 insertions(+), 491 deletions(-) delete mode 100644 tests/tcg/ppc/Makefile.target delete mode 100644 tests/tcg/sparc64/Makefile.target . Date: Mon, 26 Feb 2024 11:49:37 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 00/17] QAPI patches patches for 2024-02-26 The following changes since commit dd88d696ccecc0f3018568f8e281d3d526041e6f: Merge tag 'pull-request-2024-02-23' of https://gitlab.com/thuth/qemu into staging (2024-02-24 16:12:51 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-02-26 for you to fetch changes up to adb0193b90bd1fecd7d6dda70fc1c2d2e45ceae0: qapi: Divorce QAPIDoc from QAPIParseError (2024-02-26 10:43:56 +0100) ---------------------------------------------------------------- QAPI patches patches for 2024-02-26 ---------------------------------------------------------------- Het Gala (1): qapi: Misc cleanups to migrate QAPIs Markus Armbruster (16): tests/qapi-schema: Fix test 'QAPI rST doc' tests/qapi-schema: Cover duplicate 'Features:' line tests/qapi-schema: Cover 'Features:' not followed by descriptions sphinx/qapidoc: Drop code to generate doc for simple union branch qapi: Improve error position for bogus argument descriptions qapi: Improve error position for bogus invalid "Returns" section qapi: Improve error message for empty doc sections qapi: Rename QAPIDoc.Section.name to .tag qapi: Reject section heading in the middle of a doc comment qapi: Require descriptions and tagged sections to be indented qapi: Recognize section tags and 'Features:' only after blank line qapi: Call QAPIDoc.check() always qapi: Merge adjacent untagged sections qapi: Rewrite doc comment parser qapi: Reject multiple and empty feature descriptions qapi: Divorce QAPIDoc from QAPIParseError docs/devel/qapi-code-gen.rst | 30 +- docs/sphinx/qapidoc.py | 28 +- qapi/acpi.json | 20 +- qapi/block-core.json | 868 ++++++++++++------------ qapi/block.json | 274 ++++---- qapi/char.json | 172 ++--- qapi/control.json | 54 +- qapi/dump.json | 26 +- qapi/machine-target.json | 6 +- qapi/machine.json | 302 ++++----- qapi/migration.json | 695 +++++++++---------- qapi/misc-target.json | 110 +-- qapi/misc.json | 172 ++--- qapi/net.json | 118 ++-- qapi/pci.json | 252 +++---- qapi/qdev.json | 38 +- qapi/qom.json | 54 +- qapi/rdma.json | 14 +- qapi/replay.json | 16 +- qapi/rocker.json | 66 +- qapi/run-state.json | 86 ++- qapi/tpm.json | 36 +- qapi/trace.json | 12 +- qapi/transaction.json | 36 +- qapi/ui.json | 324 ++++----- qapi/virtio.json | 778 ++++++++++----------- qapi/yank.json | 24 +- scripts/qapi/parser.py | 517 +++++++------- scripts/qapi/schema.py | 7 +- tests/qapi-schema/doc-bad-alternate-member.err | 2 +- tests/qapi-schema/doc-bad-boxed-command-arg.err | 2 +- tests/qapi-schema/doc-bad-command-arg.err | 2 +- tests/qapi-schema/doc-bad-enum-member.err | 2 +- tests/qapi-schema/doc-bad-event-arg.err | 2 +- tests/qapi-schema/doc-bad-feature.err | 2 +- tests/qapi-schema/doc-bad-union-member.err | 2 +- tests/qapi-schema/doc-duplicate-features.err | 1 + tests/qapi-schema/doc-duplicate-features.json | 11 + tests/qapi-schema/doc-duplicate-features.out | 0 tests/qapi-schema/doc-duplicated-arg.err | 2 +- tests/qapi-schema/doc-duplicated-return.err | 2 +- tests/qapi-schema/doc-duplicated-return.json | 1 + tests/qapi-schema/doc-duplicated-since.err | 2 +- tests/qapi-schema/doc-duplicated-since.json | 1 + tests/qapi-schema/doc-empty-arg.err | 2 +- tests/qapi-schema/doc-empty-features.err | 1 + tests/qapi-schema/doc-empty-features.json | 10 + tests/qapi-schema/doc-empty-features.out | 0 tests/qapi-schema/doc-empty-section.err | 2 +- tests/qapi-schema/doc-good.json | 25 +- tests/qapi-schema/doc-good.txt | 21 +- tests/qapi-schema/doc-invalid-return.err | 2 +- tests/qapi-schema/doc-invalid-return.json | 1 + tests/qapi-schema/doc-non-first-section.err | 1 + tests/qapi-schema/doc-non-first-section.json | 6 + tests/qapi-schema/doc-non-first-section.out | 0 tests/qapi-schema/meson.build | 12 +- tests/qapi-schema/test-qapi.py | 2 +- 58 files changed, 2624 insertions(+), 2630 deletions(-) create mode 100644 tests/qapi-schema/doc-duplicate-features.err create mode 100644 tests/qapi-schema/doc-duplicate-features.json create mode 100644 tests/qapi-schema/doc-duplicate-features.out create mode 100644 tests/qapi-schema/doc-empty-features.err create mode 100644 tests/qapi-schema/doc-empty-features.json create mode 100644 tests/qapi-schema/doc-empty-features.out create mode 100644 tests/qapi-schema/doc-non-first-section.err create mode 100644 tests/qapi-schema/doc-non-first-section.json create mode 100644 tests/qapi-schema/doc-non-first-section.out -- 2.43.0 . Date: Mon, 26 Feb 2024 16:59:52 +0100 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Gerd Hoffmann Subject: [PULL 0/2] Edk2 stable202402 20240226 patches The following changes since commit 4a4efae44f19528589204581e9e2fab69c5d39aa: Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging (2024-01-23 13:40:45 +0000) are available in the Git repository at: https://gitlab.com/kraxel/qemu.git tags/edk2-stable202402-20240226-pull-request for you to fetch changes up to 658178c3d4e95b3f4106e25ec5a209356e339032: update edk2 binaries to edk2-stable202402 (2024-02-26 10:23:25 +0100) ---------------------------------------------------------------- firmware: update to edk2-stable202402 Update edk2 to the latest release tagged end of last week. Cc stable this time because we should move away from the git snapshot update done in January. ---------------------------------------------------------------- Gerd Hoffmann (2): update edk2 submodule to edk2-stable202402 update edk2 binaries to edk2-stable202402 pc-bios/edk2-aarch64-code.fd.bz2 | Bin 1587761 -> 1589320 bytes pc-bios/edk2-arm-code.fd.bz2 | Bin 1569509 -> 1571418 bytes pc-bios/edk2-i386-code.fd.bz2 | Bin 1773520 -> 1775832 bytes pc-bios/edk2-i386-secure-code.fd.bz2 | Bin 2127480 -> 2130741 bytes pc-bios/edk2-riscv-code.fd.bz2 | Bin 1180314 -> 1345420 bytes pc-bios/edk2-riscv-vars.fd.bz2 | Bin 231 -> 235 bytes pc-bios/edk2-x86_64-code.fd.bz2 | Bin 1891942 -> 1892372 bytes pc-bios/edk2-x86_64-microvm.fd.bz2 | Bin 1783951 -> 1785258 bytes pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 2212258 -> 2214892 bytes roms/edk2 | 2 +- 10 files changed, 1 insertion(+), 1 deletion(-) -- 2.43.2 . Date: Tue, 27 Feb 2024 09:39:16 +0100 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/30] Misc HW patches for 2024-02-27 The following changes since commit 03d496a992d98650315af41be7c0ca6de2a28da1: Merge tag 'pull-qapi-2024-02-26' of https://repo.or.cz/qemu/armbru into staging (2024-02-26 11:22:32 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240227 for you to fetch changes up to 0316482e876988f7526ebe62d579ad069f485957: hw/ide: Include 'ide-internal.h' from current path (2024-02-27 09:37:30 +0100) ---------------------------------------------------------------- Misc HW patch queue hw: Remove sysbus_address_space() (Phil) hw/nubus: Add nubus-virtio-mmio device (Mark) hw/usb: Remove usb_bus_find() (Paolo) hw/usb: Extract sysbus-ohci from ohci (Paolo) hw/nvme: Fix invalid endian conversion hw/i386: More PC machine housekeeping (Bernhard, Phil) hw/ide: Restrict "ide-internal.h" (Zoltan, Phil) qom: Expose object_resolve_type_unambiguous() (Paolo) ---------------------------------------------------------------- BALATON Zoltan (1): hw/ide: Remove last two uses of ide/internal.h outside of hw/ide/ Bernhard Beschow (5): hw/i386/x86: Let ioapic_init_gsi() take parent as pointer hw/i386/pc: Rename "bus" attribute to "pcibus" hw/i386/pc_{piix, q35}: Eliminate local pci_bus/pci_host variables hw/i386/pc: Remove unneeded class attribute "kvmclock_enabled" hw/i386/pc: Populate RTC attribute directly Klaus Jensen (1): hw/nvme: fix invalid endian conversion Mark Cave-Ayland (3): hw/nubus-device: round Declaration ROM memory region address to qemu_target_page_size() hw/nubus: increase maximum Declaration ROM size from 128k to 1Mb hw/nubus: add nubus-virtio-mmio device Paolo Bonzini (10): hw/acpi: move object_resolve_type_unambiguous to core QOM hw/ppc/sam460ex: do not use usb_bus_find() hw/sh4/r2d: do not use usb_bus_find() hw/mips/loongson3_virt: do not require CONFIG_USB hw/hppa: do not require CONFIG_USB hw/ppc/mac_newworld: do not require CONFIG_USB hw/ppc/pseries: do not require CONFIG_USB hw/usb: remove usb_bus_find hw/usb: extract sysbus-ohci to a separate file hw/usb: remove duplicate file in system_ss Philippe Mathieu-Daudé (10): hw/arm: Inline sysbus_create_simple(PL110 / PL111) hw/display/pl110: Pass frame buffer memory region as link property hw/arm/exynos4210: Inline sysbus_create_varargs(EXYNOS4210_FIMD) hw/display/exynos4210_fimd: Pass frame buffer memory region as link hw/i386/kvmvapic: Inline sysbus_address_space() hw/sysbus: Remove now unused sysbus_address_space() hw/i386/sgx: Use QDev API hw/i386/q35: Include missing 'hw/acpi/acpi.h' header hw/arm/sbsa-ref: Do not open-code ahci_ide_create_devs() hw/ide: Include 'ide-internal.h' from current path hw/ide/ahci_internal.h | 2 +- .../ide/internal.h => hw/ide/ide-internal.h | 0 include/hw/i386/pc.h | 3 +- include/hw/i386/x86.h | 2 +- include/hw/misc/macio/macio.h | 2 +- include/hw/nubus/nubus-virtio-mmio.h | 36 +++++++ include/hw/nubus/nubus.h | 2 +- include/hw/sysbus.h | 1 - include/hw/usb.h | 1 - include/qom/object.h | 13 +++ hw/arm/exynos4210.c | 14 ++- hw/arm/integratorcp.c | 7 +- hw/arm/realview.c | 7 +- hw/arm/sbsa-ref.c | 13 +-- hw/arm/versatilepb.c | 8 +- hw/arm/vexpress.c | 15 ++- hw/core/sysbus.c | 5 - hw/display/exynos4210_fimd.c | 19 +++- hw/display/pl110.c | 20 +++- hw/hppa/machine.c | 10 +- hw/i386/acpi-build.c | 22 ++-- hw/i386/amd_iommu.c | 2 +- hw/i386/intel_iommu.c | 2 +- hw/i386/kvm/xen_evtchn.c | 2 +- hw/i386/kvmvapic.c | 11 +- hw/i386/microvm.c | 2 +- hw/i386/pc.c | 17 +-- hw/i386/pc_piix.c | 42 ++++---- hw/i386/pc_q35.c | 26 +++-- hw/i386/sgx.c | 14 ++- hw/i386/x86-iommu.c | 2 +- hw/i386/x86.c | 7 +- hw/ide/ahci.c | 2 +- hw/ide/atapi.c | 2 +- hw/ide/cmd646.c | 2 +- hw/ide/core.c | 2 +- hw/ide/ide-bus.c | 2 +- hw/ide/ide-dev.c | 2 +- hw/ide/ioport.c | 2 +- hw/ide/isa.c | 2 +- hw/ide/macio.c | 2 +- hw/ide/microdrive.c | 2 +- hw/ide/mmio.c | 2 +- hw/ide/pci.c | 2 +- hw/ide/piix.c | 2 +- hw/ide/sii3112.c | 2 +- hw/ide/via.c | 2 +- hw/mips/loongson3_virt.c | 8 +- hw/nubus/nubus-device.c | 18 +++- hw/nubus/nubus-virtio-mmio.c | 102 ++++++++++++++++++ hw/nvme/ctrl.c | 2 +- hw/ppc/mac_newworld.c | 4 +- hw/ppc/sam460ex.c | 7 +- hw/ppc/spapr.c | 4 +- hw/sh4/r2d.c | 5 +- hw/usb/bus.c | 15 +-- hw/usb/hcd-ohci-sysbus.c | 88 +++++++++++++++ hw/usb/hcd-ohci.c | 58 ---------- qom/object.c | 16 +++ hw/arm/Kconfig | 12 ++- hw/display/Kconfig | 1 + hw/hppa/Kconfig | 2 +- hw/nubus/meson.build | 1 + hw/ppc/Kconfig | 5 +- hw/sh4/Kconfig | 1 - hw/usb/Kconfig | 4 + hw/usb/meson.build | 3 +- 67 files changed, 473 insertions(+), 242 deletions(-) rename include/hw/ide/internal.h => hw/ide/ide-internal.h (100%) create mode 100644 include/hw/nubus/nubus-virtio-mmio.h create mode 100644 hw/nubus/nubus-virtio-mmio.c create mode 100644 hw/usb/hcd-ohci-sysbus.c -- 2.41.0 . Date: Tue, 27 Feb 2024 13:51:59 +0100 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 0/2] aspeed queue The following changes since commit 1b330dafcdc34315f6837ff3af34dbb4b3106373: Merge tag 'edk2-stable202402-20240226-pull-request' of https://gitlab.com/kraxel/qemu into staging (2024-02-26 21:28:11 +0000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240227 for you to fetch changes up to db052d0eafe86c336d512dba99a1ec7c5c553f63: aspeed: fix hardcode boot address 0 (2024-02-27 13:47:05 +0100) ---------------------------------------------------------------- aspeed queue: * Add support for UART0, in preparation of AST2700 models ---------------------------------------------------------------- Jamin Lin (2): aspeed: introduce a new UART0 device name aspeed: fix hardcode boot address 0 include/hw/arm/aspeed_soc.h | 19 +++++++++++++++++-- hw/arm/aspeed.c | 17 +++++++++++------ hw/arm/aspeed_ast10x0.c | 1 + hw/arm/aspeed_ast2400.c | 6 ++++-- hw/arm/aspeed_ast2600.c | 3 ++- hw/arm/aspeed_soc_common.c | 6 ++++-- 6 files changed, 39 insertions(+), 13 deletions(-) . Date: Tue, 27 Feb 2024 13:32:29 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/45] target-arm queue The following changes since commit dccbaf0cc0f1744ffd7562a3dc60e4fc99fd9d44: Merge tag 'hw-misc-20240227' of https://github.com/philmd/qemu into staging (2024-02-27 10:11:07 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240227 for you to fetch changes up to 48f471ab5450ef8981298e39583118729f6b2aa2: docs/system/arm: Add RPi4B to raspi.rst (2024-02-27 13:01:43 +0000) ---------------------------------------------------------------- target-arm queue: * Handle atomic updates of page tables entries in MMIO during PTW * Advertise Cortex-A53 erratum #843419 fix via REVIDR * MAINTAINERS: Cover hw/ide/ahci-allwinner.c with AllWinner A10 machine * misc: m48t59: replace qemu_system_reset_request() call with watchdog_perform_action() * misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() * xlnx-versal-ospi: disable reentrancy detection for iomem_dac * sbsa-ref: Simplify init since PCIe is always enabled * stm32l4x5: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs * pl031: Update last RTCLR value on write in case it's read back * block: m25p80: Add support of mt35xu02gbba * xlnx-versal-virt: Add machine property ospi-flash * reset: refactor system reset to be three-phase aware * new board model raspi4b ---------------------------------------------------------------- Abhiram Tilak (2): misc: m48t59: replace qemu_system_reset_request() call with watchdog_perform_action() misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() Ard Biesheuvel (1): target/arm: Advertise Cortex-A53 erratum #843419 fix via REVIDR Inès Varhol (2): hw/arm: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs tests/qtest: Check that EXTI fan-in irqs are correctly connected Jessica Clarke (1): pl031: Update last RTCLR value on write in case it's read back Jonathan Cameron (1): arm/ptw: Handle atomic updates of page tables entries in MMIO during PTW. Marcin Juszkiewicz (1): hw/arm/sbsa-ref: Simplify init since PCIe is always enabled Peter Maydell (9): system/bootdevice: Don't unregister reset handler in restore_boot_order() include/qom/object.h: New OBJECT_DEFINE_SIMPLE_TYPE{, _WITH_INTERFACES} macros hw/core: Add documentation and license comments to reset.h hw/core: Add ResetContainer which holds objects implementing Resettable hw/core/reset: Add qemu_{register, unregister}_resettable() hw/core/reset: Implement qemu_register_reset via qemu_register_resettable hw/core/machine: Use qemu_register_resettable for sysbus reset docs/devel/reset: Update to discuss system reset tests/avocado/boot_linux_console.py: Add Rpi4b boot tests Philippe Mathieu-Daudé (1): MAINTAINERS: Cover hw/ide/ahci-allwinner.c with AllWinner A10 machine Sai Pavan Boddu (3): xlnx-versal-ospi: disable reentrancy detection for iomem_dac block: m25p80: Add support of mt35xu02gbba arm: xlnx-versal-virt: Add machine property ospi-flash Sergey Kambalin (24): hw/arm/bcm2836: Split out common part of BCM283X classes hw/arm/bcm2853_peripherals: Split out common part of peripherals hw/arm/raspi: Split out raspi machine common part hw/arm: Introduce BCM2838 SoC hw/arm/bcm2838: Add GIC-400 to BCM2838 SoC hw/gpio: Add BCM2838 GPIO stub hw/gpio: Implement BCM2838 GPIO functionality hw/gpio: Connect SD controller to BCM2838 GPIO hw/arm: Add GPIO and SD to BCM2838 periph hw/arm: Introduce Raspberry PI 4 machine hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices hw/arm: Add memory region for BCM2837 RPiVid ASB hw/arm/bcm2838_peripherals: Add clock_isp stub tests/qtest: Add bcm2838 mailbox test stub tests/qtest/bcm2828-mailbox: Add mailbox test constants tests/qtest/bcm2828-mailbox: Add mailbox tests tags. Part 1 tests/qtest/bcm2828-mailbox: Add mailbox tests tags. Part 2 tests/qtest/bcm2828-mailbox: Add mailbox tests tags. Part 3 tests/qtest/bcm2828-mailbox: Add mailbox property tests. Part 1 tests/qtest/bcm2828-mailbox: Add mailbox property tests. Part 2 tests/qtest/bcm2828-mailbox: Add mailbox property tests. Part 3 hw/misc/bcm2835_property: Add missed BCM2835 properties tests/qtest/bcm2828-mailbox: Append added properties to mailbox test docs/system/arm: Add RPi4B to raspi.rst MAINTAINERS | 11 + docs/devel/qom.rst | 34 +- docs/devel/reset.rst | 44 ++- docs/system/arm/raspi.rst | 12 +- hw/block/m25p80_sfdp.h | 1 + include/hw/arm/bcm2835_peripherals.h | 29 +- include/hw/arm/bcm2836.h | 27 +- include/hw/arm/bcm2838.h | 31 ++ include/hw/arm/bcm2838_peripherals.h | 84 ++++ include/hw/arm/raspberrypi-fw-defs.h | 11 + include/hw/arm/raspi_platform.h | 38 +- include/hw/arm/stm32l4x5_soc.h | 4 + include/hw/core/resetcontainer.h | 48 +++ include/hw/display/bcm2835_fb.h | 2 + include/hw/gpio/bcm2838_gpio.h | 45 +++ include/qom/object.h | 114 ++++-- include/sysemu/reset.h | 113 ++++++ tests/qtest/bcm2838-mailbox.h | 532 ++++++++++++++++++++++++++ hw/arm/bcm2835_peripherals.c | 215 ++++++----- hw/arm/bcm2836.c | 117 +++--- hw/arm/bcm2838.c | 263 +++++++++++++ hw/arm/bcm2838_peripherals.c | 224 +++++++++++ hw/arm/raspi.c | 130 ++++--- hw/arm/raspi4b.c | 132 +++++++ hw/arm/sbsa-ref.c | 5 +- hw/arm/stm32l4x5_soc.c | 80 +++- hw/arm/xlnx-versal-virt.c | 44 ++- hw/block/m25p80.c | 3 + hw/block/m25p80_sfdp.c | 36 ++ hw/core/machine.c | 7 +- hw/core/reset.c | 166 ++++++-- hw/core/resetcontainer.c | 77 ++++ hw/gpio/bcm2838_gpio.c | 390 +++++++++++++++++++ hw/misc/bcm2835_property.c | 21 + hw/rtc/m48t59.c | 4 +- hw/rtc/pl031.c | 1 + hw/ssi/xlnx-versal-ospi.c | 6 + hw/timer/pxa2xx_timer.c | 3 +- system/bootdevice.c | 25 +- target/arm/cpu64.c | 2 +- target/arm/ptw.c | 64 +++- tests/qtest/bcm2838-mailbox.c | 60 +++ tests/qtest/bcm2838-mbox-property-test.c | 631 +++++++++++++++++++++++++++++++ tests/qtest/stm32l4x5_exti-test.c | 37 ++ hw/arm/meson.build | 2 + hw/arm/trace-events | 3 + hw/core/meson.build | 1 + hw/gpio/meson.build | 5 +- tests/avocado/boot_linux_console.py | 97 +++++ tests/qtest/meson.build | 3 +- 50 files changed, 3728 insertions(+), 306 deletions(-) create mode 100644 include/hw/arm/bcm2838.h create mode 100644 include/hw/arm/bcm2838_peripherals.h create mode 100644 include/hw/core/resetcontainer.h create mode 100644 include/hw/gpio/bcm2838_gpio.h create mode 100644 tests/qtest/bcm2838-mailbox.h create mode 100644 hw/arm/bcm2838.c create mode 100644 hw/arm/bcm2838_peripherals.c create mode 100644 hw/arm/raspi4b.c create mode 100644 hw/core/resetcontainer.c create mode 100644 hw/gpio/bcm2838_gpio.c create mode 100644 tests/qtest/bcm2838-mailbox.c create mode 100644 tests/qtest/bcm2838-mbox-property-test.c . Date: Tue, 27 Feb 2024 15:34:10 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL v2 00/36] target-arm queue Changes v1->v2: dropped all the patches for the bcm2828-mailbox qtest, which turns out to have portability problems on big-endian hosts and macos. thanks -- PMM The following changes since commit dccbaf0cc0f1744ffd7562a3dc60e4fc99fd9d44: Merge tag 'hw-misc-20240227' of https://github.com/philmd/qemu into staging (2024-02-27 10:11:07 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240227-1 for you to fetch changes up to 9c5c959dd748f2972e46a84b8d5f77794f515014: docs/system/arm: Add RPi4B to raspi.rst (2024-02-27 15:24:20 +0000) ---------------------------------------------------------------- target-arm queue: * Handle atomic updates of page tables entries in MMIO during PTW * Advertise Cortex-A53 erratum #843419 fix via REVIDR * MAINTAINERS: Cover hw/ide/ahci-allwinner.c with AllWinner A10 machine * misc: m48t59: replace qemu_system_reset_request() call with watchdog_perform_action() * misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() * xlnx-versal-ospi: disable reentrancy detection for iomem_dac * sbsa-ref: Simplify init since PCIe is always enabled * stm32l4x5: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs * pl031: Update last RTCLR value on write in case it's read back * block: m25p80: Add support of mt35xu02gbba * xlnx-versal-virt: Add machine property ospi-flash * reset: refactor system reset to be three-phase aware * new board model raspi4b ---------------------------------------------------------------- Abhiram Tilak (2): misc: m48t59: replace qemu_system_reset_request() call with watchdog_perform_action() misc: pxa2xx_timer: replace qemu_system_reset_request() call with watchdog_perform_action() Ard Biesheuvel (1): target/arm: Advertise Cortex-A53 erratum #843419 fix via REVIDR Inès Varhol (2): hw/arm: Use TYPE_OR_IRQ when connecting STM32L4x5 EXTI fan-in IRQs tests/qtest: Check that EXTI fan-in irqs are correctly connected Jessica Clarke (1): pl031: Update last RTCLR value on write in case it's read back Jonathan Cameron (1): arm/ptw: Handle atomic updates of page tables entries in MMIO during PTW. Marcin Juszkiewicz (1): hw/arm/sbsa-ref: Simplify init since PCIe is always enabled Peter Maydell (9): system/bootdevice: Don't unregister reset handler in restore_boot_order() include/qom/object.h: New OBJECT_DEFINE_SIMPLE_TYPE{, _WITH_INTERFACES} macros hw/core: Add documentation and license comments to reset.h hw/core: Add ResetContainer which holds objects implementing Resettable hw/core/reset: Add qemu_{register, unregister}_resettable() hw/core/reset: Implement qemu_register_reset via qemu_register_resettable hw/core/machine: Use qemu_register_resettable for sysbus reset docs/devel/reset: Update to discuss system reset tests/avocado/boot_linux_console.py: Add Rpi4b boot tests Philippe Mathieu-Daudé (1): MAINTAINERS: Cover hw/ide/ahci-allwinner.c with AllWinner A10 machine Sai Pavan Boddu (3): xlnx-versal-ospi: disable reentrancy detection for iomem_dac block: m25p80: Add support of mt35xu02gbba arm: xlnx-versal-virt: Add machine property ospi-flash Sergey Kambalin (15): hw/arm/bcm2836: Split out common part of BCM283X classes hw/arm/bcm2853_peripherals: Split out common part of peripherals hw/arm/raspi: Split out raspi machine common part hw/arm: Introduce BCM2838 SoC hw/arm/bcm2838: Add GIC-400 to BCM2838 SoC hw/gpio: Add BCM2838 GPIO stub hw/gpio: Implement BCM2838 GPIO functionality hw/gpio: Connect SD controller to BCM2838 GPIO hw/arm: Add GPIO and SD to BCM2838 periph hw/arm: Introduce Raspberry PI 4 machine hw/arm/raspi4b: Temporarily disable unimplemented rpi4b devices hw/arm: Add memory region for BCM2837 RPiVid ASB hw/arm/bcm2838_peripherals: Add clock_isp stub hw/misc/bcm2835_property: Add missed BCM2835 properties docs/system/arm: Add RPi4B to raspi.rst MAINTAINERS | 11 + docs/devel/qom.rst | 34 ++- docs/devel/reset.rst | 44 +++- docs/system/arm/raspi.rst | 12 +- hw/block/m25p80_sfdp.h | 1 + include/hw/arm/bcm2835_peripherals.h | 29 ++- include/hw/arm/bcm2836.h | 27 ++- include/hw/arm/bcm2838.h | 31 +++ include/hw/arm/bcm2838_peripherals.h | 84 ++++++++ include/hw/arm/raspberrypi-fw-defs.h | 11 + include/hw/arm/raspi_platform.h | 38 +++- include/hw/arm/stm32l4x5_soc.h | 4 + include/hw/core/resetcontainer.h | 48 +++++ include/hw/display/bcm2835_fb.h | 2 + include/hw/gpio/bcm2838_gpio.h | 45 ++++ include/qom/object.h | 114 +++++++--- include/sysemu/reset.h | 113 ++++++++++ hw/arm/bcm2835_peripherals.c | 215 +++++++++++-------- hw/arm/bcm2836.c | 117 ++++++----- hw/arm/bcm2838.c | 263 +++++++++++++++++++++++ hw/arm/bcm2838_peripherals.c | 224 ++++++++++++++++++++ hw/arm/raspi.c | 130 +++++++----- hw/arm/raspi4b.c | 132 ++++++++++++ hw/arm/sbsa-ref.c | 5 +- hw/arm/stm32l4x5_soc.c | 80 ++++++- hw/arm/xlnx-versal-virt.c | 44 +++- hw/block/m25p80.c | 3 + hw/block/m25p80_sfdp.c | 36 ++++ hw/core/machine.c | 7 +- hw/core/reset.c | 166 ++++++++++++--- hw/core/resetcontainer.c | 77 +++++++ hw/gpio/bcm2838_gpio.c | 390 +++++++++++++++++++++++++++++++++++ hw/misc/bcm2835_property.c | 21 ++ hw/rtc/m48t59.c | 4 +- hw/rtc/pl031.c | 1 + hw/ssi/xlnx-versal-ospi.c | 6 + hw/timer/pxa2xx_timer.c | 3 +- system/bootdevice.c | 25 ++- target/arm/cpu64.c | 2 +- target/arm/ptw.c | 64 +++++- tests/qtest/stm32l4x5_exti-test.c | 37 ++++ hw/arm/meson.build | 2 + hw/arm/trace-events | 3 + hw/core/meson.build | 1 + hw/gpio/meson.build | 5 +- tests/avocado/boot_linux_console.py | 97 +++++++++ 46 files changed, 2503 insertions(+), 305 deletions(-) create mode 100644 include/hw/arm/bcm2838.h create mode 100644 include/hw/arm/bcm2838_peripherals.h create mode 100644 include/hw/core/resetcontainer.h create mode 100644 include/hw/gpio/bcm2838_gpio.h create mode 100644 hw/arm/bcm2838.c create mode 100644 hw/arm/bcm2838_peripherals.c create mode 100644 hw/arm/raspi4b.c create mode 100644 hw/core/resetcontainer.c create mode 100644 hw/gpio/bcm2838_gpio.c . Date: Wed, 28 Feb 2024 13:12:50 +0800 From: peterx@redhat.com To: Peter Maydell , qemu-devel@nongnu.org Cc: David Hildenbrand , Eric Blake , Laurent Vivier , Paolo Bonzini , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Gerd Hoffmann , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Markus Armbruster , Fabiano Rosas , "Michael S. Tsirkin" , Thomas Huth , Jason Wang , Alex Williamson , Peter Xu Subject: [PULL 00/25] Migration next patches From: Peter Xu The following changes since commit 158a054c4d1a40179f5e83cd7e1cfe65de457b92: Merge tag 'pull-target-arm-20240227-1' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-02-27 15:34:41 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-next-pull-request for you to fetch changes up to 9425ef3f990a42b98329d5059362f40714e70442: migration: Use migrate_has_error() in close_return_path_on_source() (2024-02-28 11:31:28 +0800) ---------------------------------------------------------------- Migration pull request - Fabiano's fixed-ram patches (1-5 only) - Peter's cleanups on multifd tls IOC referencing - Steve's cpr patches for vfio (migration patches only) - Fabiano's fix on mbps stats racing with COMPLETE state - Fabiano's fix on return path thread hang ---------------------------------------------------------------- Cédric Le Goater (1): migration: Use migrate_has_error() in close_return_path_on_source() Fabiano Rosas (7): docs/devel/migration.rst: Document the file transport tests/qtest/migration: Rename fd_proto test tests/qtest/migration: Add a fd + file test migration/multifd: Remove p->quit from recv side migration/multifd: Release recv sem_sync earlier migration: Fix qmp_query_migrate mbps value migration: Join the return path thread before releasing to_dst_file Peter Xu (5): migration/multifd: Cleanup TLS iochannel referencing migration/multifd: Drop registered_yank migration/multifd: Make multifd_channel_connect() return void migration/multifd: Cleanup outgoing_args in state destroy migration/multifd: Drop unnecessary helper to destroy IOC Steve Sistare (12): notify: pass error to notifier with return migration: remove error from notifier data migration: convert to NotifierWithReturn migration: MigrationEvent for notifiers migration: remove postcopy_after_devices migration: MigrationNotifyFunc migration: per-mode notifiers migration: refactor migrate_fd_connect failures migration: notifier error checking migration: stop vm for cpr migration: update cpr-reboot description migration: options incompatible with cpr docs/devel/migration/main.rst | 4 + qapi/migration.json | 37 ++++--- include/hw/vfio/vfio-common.h | 2 +- include/hw/virtio/virtio-net.h | 2 +- include/migration/misc.h | 47 +++++++- include/qemu/notify.h | 8 +- migration/migration.h | 4 - migration/multifd.h | 2 - migration/postcopy-ram.h | 1 - migration/socket.h | 3 +- hw/net/virtio-net.c | 13 ++- hw/vfio/migration.c | 13 +-- hw/virtio/vhost-user.c | 10 +- hw/virtio/virtio-balloon.c | 3 +- migration/migration.c | 196 +++++++++++++++++++++------------ migration/multifd.c | 111 ++++++++++--------- migration/postcopy-ram.c | 3 +- migration/ram.c | 3 +- migration/socket.c | 19 ++-- net/vhost-vdpa.c | 14 +-- tests/qtest/migration-test.c | 46 +++++++- ui/spice-core.c | 17 ++- util/notify.c | 5 +- hw/vfio/trace-events | 2 +- 24 files changed, 354 insertions(+), 211 deletions(-) -- 2.43.0 . Date: Wed, 28 Feb 2024 09:06:36 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/10] pc, target/i486 changes for 2024-02-27 The following changes since commit dd88d696ccecc0f3018568f8e281d3d526041e6f: Merge tag 'pull-request-2024-02-23' of https://gitlab.com/thuth/qemu into staging (2024-02-24 16:12:51 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to e7028c36f0e4cb8e357b627eabfe6efee5cb4ed9: ide, vl: turn -win2k-hack into a property on IDE devices (2024-02-26 10:17:16 +0100) ---------------------------------------------------------------- * target/i386: Fix physical address truncation on 32-bit PAE * Remove globals for options -no-fd-bootchk and -win2k-hack ---------------------------------------------------------------- Paolo Bonzini (10): vl, pc: turn -no-fd-bootchk into a machine property target/i386: mask high bits of CR3 in 32-bit mode target/i386: check validity of VMCB addresses target/i386: introduce function to query MMU indices target/i386: use separate MMU indexes for 32-bit accesses target/i386: Fix physical address truncation target/i386: remove unnecessary/wrong application of the A20 mask target/i386: leave the A20 bit set in the final NPT walk ide: collapse parameters to ide_init_drive ide, vl: turn -win2k-hack into a property on IDE devices include/hw/i386/pc.h | 2 +- include/hw/ide/ide-dev.h | 2 ++ include/hw/ide/internal.h | 6 +---- include/sysemu/sysemu.h | 1 - target/i386/cpu.h | 46 +++++++++++++++++++++++++------ hw/i386/pc.c | 31 +++++++++++++++++---- hw/ide/core.c | 43 ++++++++++++++--------------- hw/ide/ide-dev.c | 6 ++--- system/globals.c | 2 -- system/vl.c | 4 +-- target/i386/cpu.c | 9 ++++--- target/i386/tcg/sysemu/excp_helper.c | 52 +++++++++++++++++------------------- target/i386/tcg/sysemu/misc_helper.c | 3 +++ target/i386/tcg/sysemu/svm_helper.c | 27 ++++++++++++++----- qemu-options.hx | 5 ++-- 15 files changed, 149 insertions(+), 90 deletions(-) -- 2.43.2 . Date: Wed, 28 Feb 2024 11:56:32 +0000 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 00/29] testing, gdbstub and plugin updates The following changes since commit 158a054c4d1a40179f5e83cd7e1cfe65de457b92: Merge tag 'pull-target-arm-20240227-1' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-02-27 15:34:41 +0000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-updates-280224-1 for you to fetch changes up to 02ca5ec15089c8717d435d8a842360f15afa7d20: docs/devel: plugins can trigger a tb flush (2024-02-28 09:11:42 +0000) ---------------------------------------------------------------- Testing, gdbstub and plugin updates: - fix some test/tcg license headers to GPLv2+ - bump up check-tcg timeout to 120s - avoid re-building VM images too often - update OpenBSD to 7.4 - use GDBFeature to build gdbstub XML - unify plugin vcpu count under qemu_plugin_num_vcpus - avoid spurious idle/resume callbacks on new vCPUs - ensure nios2-linux-user processes async work - call vcpu_init plugin callback through async work - define plugin helpers when registers being read - add plugin API for reading register values - add support for register tracking to execlog - update plugin docs with assumptions - mention plugins can trigger tb_flush in mttcg design doc ---------------------------------------------------------------- Akihiko Odaki (11): target/arm: Use GDBFeature for dynamic XML target/ppc: Use GDBFeature for dynamic XML target/riscv: Use GDBFeature for dynamic XML gdbstub: Use GDBFeature for gdb_register_coprocessor gdbstub: Use GDBFeature for GDBRegisterState gdbstub: Change gdb_get_reg_cb and gdb_set_reg_cb gdbstub: Simplify XML lookup gdbstub: Infer number of core registers from XML hw/core/cpu: Remove gdb_get_dynamic_xml member gdbstub: Add members to identify registers to GDBFeature plugins: Use different helpers when reading registers Alex Bennée (13): tests/tcg: update licenses to GPLv2 as intended tests/tcg: bump TCG test timeout to 120s tests/vm: avoid re-building the VM images all the time tests/vm: update openbsd image to 7.4 linux-user: ensure nios2 processes queued work gdbstub: expose api to find registers plugins: create CPUPluginState and migrate plugin_mask plugins: add an API to read registers tests/tcg: expand insn test case to exercise register API contrib/plugins: fix imatch contrib/plugins: extend execlog to track register changes docs/devel: lift example and plugin API sections up docs/devel: document some plugin assumptions Pierrick Bouvier (5): plugins: remove previous n_vcpus functions from API plugins: add qemu_plugin_num_vcpus function plugins: fix order of init/idle/resume callback cpu: call plugin init hook asynchronously docs/devel: plugins can trigger a tb flush docs/devel/multi-thread-tcg.rst | 1 + docs/devel/tcg-plugins.rst | 72 ++++- accel/tcg/plugin-helpers.h | 3 +- include/exec/gdbstub.h | 43 ++- include/hw/core/cpu.h | 18 +- include/qemu/plugin.h | 14 + include/qemu/qemu-plugin.h | 61 ++++- include/qemu/typedefs.h | 1 + plugins/plugin.h | 6 +- target/arm/cpu.h | 27 +- target/arm/internals.h | 14 +- target/hexagon/internal.h | 4 +- target/microblaze/cpu.h | 4 +- target/ppc/cpu-qom.h | 1 + target/ppc/cpu.h | 5 +- target/riscv/cpu.h | 5 +- target/s390x/cpu.h | 2 - tests/tcg/aarch64/semicall.h | 4 +- tests/tcg/arm/semicall.h | 4 +- tests/tcg/multiarch/float_helpers.h | 4 +- tests/tcg/riscv64/semicall.h | 4 +- accel/tcg/plugin-gen.c | 46 +++- contrib/plugins/cache.c | 2 +- contrib/plugins/execlog.c | 318 ++++++++++++++++++---- gdbstub/gdbstub.c | 169 +++++++----- hw/core/cpu-common.c | 19 +- linux-user/nios2/cpu_loop.c | 1 + plugins/api.c | 96 +++++-- plugins/core.c | 28 +- target/arm/cpu.c | 2 - target/arm/cpu64.c | 1 - target/arm/gdbstub.c | 230 ++++++++-------- target/arm/gdbstub64.c | 122 +++++---- target/avr/cpu.c | 1 - target/hexagon/cpu.c | 4 +- target/hexagon/gdbstub.c | 10 +- target/i386/cpu.c | 2 - target/loongarch/cpu.c | 2 - target/loongarch/gdbstub.c | 13 +- target/m68k/cpu.c | 1 - target/m68k/helper.c | 26 +- target/microblaze/cpu.c | 6 +- target/microblaze/gdbstub.c | 14 +- target/ppc/cpu_init.c | 7 - target/ppc/gdbstub.c | 114 ++++---- target/riscv/cpu.c | 15 - target/riscv/gdbstub.c | 145 +++++----- target/rx/cpu.c | 1 - target/s390x/cpu.c | 1 - target/s390x/gdbstub.c | 105 ++++--- tests/plugin/insn.c | 21 ++ tests/tcg/multiarch/arm-compat-semi/semiconsole.c | 4 +- tests/tcg/multiarch/arm-compat-semi/semihosting.c | 4 +- tests/tcg/multiarch/float_convd.c | 4 +- tests/tcg/multiarch/float_convs.c | 4 +- tests/tcg/multiarch/float_madds.c | 4 +- tests/tcg/multiarch/libs/float_helpers.c | 4 +- plugins/qemu-plugins.symbols | 5 +- scripts/feature_to_c.py | 14 +- tests/tcg/Makefile.target | 9 +- tests/tcg/i386/system/boot.S | 6 +- tests/tcg/x86_64/system/boot.S | 6 +- tests/vm/Makefile.include | 2 +- tests/vm/basevm.py | 4 +- tests/vm/openbsd | 9 +- 65 files changed, 1237 insertions(+), 661 deletions(-) -- 2.39.2 . Date: Thu, 29 Feb 2024 19:38:41 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL v2 0/1] loongarch-to-apply queue The following changes since commit bfe8020c814a30479a4241aaa78b63960655962b: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-02-28 14:23:21 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240229 for you to fetch changes up to c6e9847fc4becba561c631c4505e3b05d4926184: loongarch: Change the UEFI loading mode to loongarch (2024-02-29 19:32:45 +0800) ---------------------------------------------------------------- pull-loongarch-20240229 V2: fix build error on mipsel ---------------------------------------------------------------- Xianglai Li (1): loongarch: Change the UEFI loading mode to loongarch hw/loongarch/acpi-build.c | 29 +++++++++++-- hw/loongarch/virt.c | 101 ++++++++++++++++++++++++++++++++------------ include/hw/loongarch/virt.h | 10 +++-- 3 files changed, 107 insertions(+), 33 deletions(-) . Date: Fri, 1 Mar 2024 09:09:47 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 0/6] Misc fixes (libqos vring, Kconfig, TLS io channels, ...) Hi Peter! The following changes since commit c0c6a0e3528b88aaad0b9d333e295707a195587b: Merge tag 'migration-next-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-28 17:27:10 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-03-01 for you to fetch changes up to 462945cd22d2bcd233401ed3aa167d83a8e35b05: chardev/char-socket: Fix TLS io channels sending too much data to the backend (2024-03-01 08:27:33 +0100) ---------------------------------------------------------------- * Fix some bugs in the vring setup of libqos * Fix GIC settings when using --without-default-devices * Fix USB PCAP streams on Windows * Remove temporary files from test-util-sockets * Fix TLS io channels sending too much data to the backend ---------------------------------------------------------------- Benjamin David Lunt (1): hw/usb/bus.c: PCAP adding 0xA in Windows version Daniel Henrique Barboza (2): libqos/virtio.c: init all elems in qvring_indirect_desc_setup() libqos/virtio.c: fix 'avail_event' offset in qvring_init() Thomas Huth (3): hw/intc/Kconfig: Fix GIC settings when using "--without-default-devices" tests/unit/test-util-sockets: Remove temporary file after test chardev/char-socket: Fix TLS io channels sending too much data to the backend chardev/char-socket.c | 6 +++--- hw/usb/bus.c | 5 +++-- tests/qtest/libqos/virtio.c | 27 ++++++++++++++++++++------- tests/unit/test-util-sockets.c | 1 + hw/intc/Kconfig | 12 ++++++------ 5 files changed, 33 insertions(+), 18 deletions(-) . Date: Sun, 3 Mar 2024 06:46:40 +0100 From: deller@kernel.org To: qemu-devel@nongnu.org, Richard Henderson Cc: deller@gmx.de Subject: [PULL 0/5] Hppa latest patches From: Helge Deller The following changes since commit e1007b6bab5cf97705bf4f2aaec1f607787355b8: Merge tag 'pull-request-2024-03-01' of https://gitlab.com/thuth/qemu into staging (2024-03-01 10:14:32 +0000) are available in the Git repository at: https://github.com/hdeller/qemu-hppa.git tags/hppa-latest-pull-request for you to fetch changes up to 839a88e8bd1a1efe05844c39a59985482894f4de: roms/hppa: Add build rules for hppa-firmware (2024-03-03 06:41:19 +0100) ---------------------------------------------------------------- HPPA64 updates ---------------------------------------------------------------- Guenter Roeck (1): target: hppa: Fix unaligned double word accesses for hppa64 Helge Deller (4): target/hppa: Restore unwind_breg before calculating ior pc-bios/meson: Add hppa-firmware64.img blob pc-bios/README: Add information about hppa-firmware roms/hppa: Add build rules for hppa-firmware pc-bios/README | 6 ++++++ pc-bios/meson.build | 1 + roms/Makefile | 7 +++++++ target/hppa/cpu.c | 3 ++- target/hppa/helper.c | 3 ++- target/hppa/mem_helper.c | 3 ++- target/hppa/op_helper.c | 3 ++- 7 files changed, 22 insertions(+), 4 deletions(-) -- 2.44.0 . Date: Mon, 4 Mar 2024 09:26:07 +0800 From: peterx@redhat.com To: qemu-devel@nongnu.org, Peter Maydell Cc: peterx@redhat.com, =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Prasad Pandit , Fabiano Rosas Subject: [PULL 00/27] Migration next patches From: Peter Xu The following changes since commit c0c6a0e3528b88aaad0b9d333e295707a195587b: Merge tag 'migration-next-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-28 17:27:10 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-next-pull-request for you to fetch changes up to 1a6e217c35b6dbab10fdc1e02640b8d60b2dc663: migration/multifd: Document two places for mapped-ram (2024-03-04 08:31:11 +0800) ---------------------------------------------------------------- Migartion pull request for 20240304 - Bryan's fix on multifd compression level API - Fabiano's mapped-ram series (base + multifd only) - Steve's amend on cpr document in qapi/ ---------------------------------------------------------------- Bryan Zhang (2): migration: Properly apply migration compression level parameters tests/migration: Set compression level in migration tests Fabiano Rosas (20): migration/multifd: Cleanup multifd_recv_sync_main io: fsync before closing a file channel migration/qemu-file: add utility methods for working with seekable channels migration/ram: Introduce 'mapped-ram' migration capability migration: Add mapped-ram URI compatibility check migration/ram: Add outgoing 'mapped-ram' migration migration/ram: Add incoming 'mapped-ram' migration tests/qtest/migration: Add tests for mapped-ram file-based migration migration/multifd: Rename MultiFDSend|RecvParams::data to compress_data migration/multifd: Decouple recv method from pages migration/multifd: Allow multifd without packets migration/multifd: Allow receiving pages without packets migration/multifd: Add a wrapper for channels_created migration/multifd: Add outgoing QIOChannelFile support migration/multifd: Add incoming QIOChannelFile support migration/multifd: Prepare multifd sync for mapped-ram migration migration/multifd: Support outgoing mapped-ram stream format migration/multifd: Support incoming mapped-ram stream format migration/multifd: Add mapped-ram support to fd: URI tests/qtest/migration: Add a multifd + mapped-ram migration test Nikolay Borisov (3): io: add and implement QIO_CHANNEL_FEATURE_SEEKABLE for channel file io: Add generic pwritev/preadv interface io: implement io_pwritev/preadv for QIOChannelFile Peter Xu (1): migration/multifd: Document two places for mapped-ram Steve Sistare (1): migration: massage cpr-reboot documentation docs/devel/migration/features.rst | 1 + docs/devel/migration/mapped-ram.rst | 138 +++++++++ qapi/migration.json | 42 +-- include/exec/ramblock.h | 13 + include/io/channel.h | 83 ++++++ include/migration/qemu-file-types.h | 2 + include/qemu/bitops.h | 13 + migration/fd.h | 2 + migration/file.h | 8 + migration/multifd.h | 27 +- migration/options.h | 1 + migration/qemu-file.h | 6 + migration/ram.h | 1 + io/channel-file.c | 69 +++++ io/channel.c | 58 ++++ migration/fd.c | 44 +++ migration/file.c | 149 +++++++++- migration/migration.c | 56 +++- migration/multifd-zlib.c | 26 +- migration/multifd-zstd.c | 26 +- migration/multifd.c | 417 ++++++++++++++++++++++------ migration/options.c | 47 ++++ migration/qemu-file.c | 106 +++++++ migration/ram.c | 351 +++++++++++++++++++++-- migration/savevm.c | 1 + tests/qtest/migration-test.c | 137 +++++++++ migration/trace-events | 2 +- 27 files changed, 1666 insertions(+), 160 deletions(-) create mode 100644 docs/devel/migration/mapped-ram.rst -- 2.44.0 . Date: Mon, 4 Mar 2024 07:32:18 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 00/18] QAPI patches patches for 2024-03-04 The following changes since commit e1007b6bab5cf97705bf4f2aaec1f607787355b8: Merge tag 'pull-request-2024-03-01' of https://gitlab.com/thuth/qemu into staging (2024-03-01 10:14:32 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-03-04 for you to fetch changes up to 018d5fb1f91c7f316b4b8501a78e7219bb9fb614: migration: simplify exec migration functions (2024-03-04 07:12:40 +0100) ---------------------------------------------------------------- QAPI patches patches for 2024-03-04 ---------------------------------------------------------------- Markus Armbruster (15): qapi: Memorize since & returns sections qapi: Slightly clearer error message for invalid "Returns" section qapi: New documentation section tag "Errors" qapi: Move error documentation to new "Errors" sections qapi: Delete useless "Returns" sections qapi: Clean up "Returns" sections qapi/yank: Tweak @yank's error description for consistency qga/qapi-schema: Move error documentation to new "Errors" sections qga/qapi-schema: Delete useless "Returns" sections qga/qapi-schema: Clean up "Returns" sections qga/qapi-schema: Tweak documentation of fsfreeze commands qga/qapi-schema: Fix guest-set-memory-blocks documentation qapi: Reject "Returns" section when command doesn't return anything docs/devel/writing-monitor-commands: Repair a decade of rot docs/devel/writing-monitor-commands: Minor improvements Steve Sistare (3): qapi: New QAPI_LIST_LENGTH() qapi: New strv_from_str_list() migration: simplify exec migration functions docs/devel/qapi-code-gen.rst | 6 +- docs/devel/writing-monitor-commands.rst | 496 ++++++++++++----------------- qapi/block-core.json | 74 ++--- qapi/block-export.json | 23 +- qapi/block.json | 10 +- qapi/char.json | 6 - qapi/dump.json | 2 - qapi/machine-target.json | 37 ++- qapi/machine.json | 19 +- qapi/migration.json | 26 -- qapi/misc-target.json | 3 - qapi/misc.json | 25 +- qapi/net.json | 17 +- qapi/qdev.json | 3 +- qapi/qom.json | 6 +- qapi/run-state.json | 5 +- qapi/tpm.json | 2 - qapi/transaction.json | 5 +- qapi/ui.json | 17 +- qapi/yank.json | 5 +- qga/qapi-schema.json | 72 ++--- include/qapi/type-helpers.h | 8 + include/qapi/util.h | 13 + migration/exec.c | 57 +--- qapi/qapi-type-helpers.c | 14 + scripts/qapi/parser.py | 50 ++- tests/qapi-schema/doc-good.json | 2 + tests/qapi-schema/doc-good.out | 2 + tests/qapi-schema/doc-good.txt | 6 + tests/qapi-schema/doc-invalid-return.err | 2 +- tests/qapi-schema/doc-invalid-return2.err | 1 + tests/qapi-schema/doc-invalid-return2.json | 7 + tests/qapi-schema/doc-invalid-return2.out | 0 tests/qapi-schema/meson.build | 1 + 34 files changed, 430 insertions(+), 592 deletions(-) create mode 100644 tests/qapi-schema/doc-invalid-return2.err create mode 100644 tests/qapi-schema/doc-invalid-return2.json create mode 100644 tests/qapi-schema/doc-invalid-return2.out -- 2.44.0 . Date: Mon, 4 Mar 2024 16:51:41 +0300 From: Maksim Davydov To: qemu-devel@nongnu.org Cc: davydov-max@yandex-team.ru, vsementsov@yandex-team.ru, peter.maydell@linaro.org, jsnow@redhat.com, philmd@linaro.org, armbru@redhat.com Subject: [PULL 0/4] machine development tool The following changes since commit e1007b6bab5cf97705bf4f2aaec1f607787355b8: Merge tag 'pull-request-2024-03-01' of https://gitlab.com/thuth/qemu into staging (2024-03-01 10:14:32 +0000) are available in the Git repository at: https://gitlab.com/davydov-max/qemu.git tags/pull-compare-mt-2024-03-04 for you to fetch changes up to 7693a2e8518811a907d73a85807ee71dac8fabcb: scripts: add script to compare compatibility properties (2024-03-04 14:10:53 +0300) ---------------------------------------------------------------- Please note. This is the first pull request from me. My public GPG key is available here https://keys.openpgp.org/vks/v1/by-fingerprint/CDB5BEEF8837142579F5CDFE8E927E10F72F78D4 ---------------------------------------------------------------- scripts: add a new script for machine development ---------------------------------------------------------------- Maksim Davydov (4): qom: add default value qmp: add dump machine type compatibility properties python/qemu/machine: add method to retrieve QEMUMachine::binary field scripts: add script to compare compatibility properties MAINTAINERS | 5 + hw/core/machine-qmp-cmds.c | 23 +- python/qemu/machine/machine.py | 5 + qapi/machine.json | 69 ++++- qom/qom-qmp-cmds.c | 1 + scripts/compare-machine-types.py | 486 +++++++++++++++++++++++++++++++ tests/qtest/fuzz/qos_fuzz.c | 2 +- 7 files changed, 586 insertions(+), 5 deletions(-) create mode 100755 scripts/compare-machine-types.py -- 2.34.1 . Date: Tue, 5 Mar 2024 12:05:55 +0100 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/12] Cocoa patches for 2024-03-05 The following changes since commit 52e7db443bd8d233acc3977bd150bdadb62db86c: Merge tag 'hppa-latest-pull-request' of https://github.com/hdeller/qemu-hppa into staging (2024-03-04 16:01:33 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/darwin-20240305 for you to fetch changes up to 5576663208b7c31766c580520df506375d00103e: ui/cocoa: Remove stretch_video flag (2024-03-05 12:04:41 +0100) ---------------------------------------------------------------- Darwin Cocoa patches: - Add 'zoom-interpolation' to smooth scaled display with 'zoom-to-fit' (Carwyn) - Set clipsToBounds on macOS 14 to fix window clipping (David) - Use NSWindow's ability to resize (Akihiko) ---------------------------------------------------------------- Akihiko Odaki (10): ui/cocoa: Split [-QemuCocoaView handleEventLocked:] ui/cocoa: Immediately call [-QemuCocoaView handleMouseEvent:buttons:] ui/cocoa: Release specific mouse buttons ui/cocoa: Scale with NSView instead of Core Graphics ui/cocoa: Fix pause label coordinates ui/cocoa: Let the platform toggle fullscreen ui/cocoa: Remove normalWindow ui/cocoa: Make window resizable ui/cocoa: Call console_select() with the BQL ui/cocoa: Remove stretch_video flag Carwyn Ellis (1): ui/cocoa: add zoom-interpolation display option David Parsons (1): ui/cocoa: Fix window clipping on macOS 14 qapi/ui.json | 6 +- ui/cocoa.m | 578 ++++++++++++++++++++++++--------------------------- 2 files changed, 273 insertions(+), 311 deletions(-) -- 2.41.0 . Date: Tue, 5 Mar 2024 13:52:17 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/20] target-arm queue The following changes since commit 4eac9dfbd72d346505642fb45ac3141c7eb2c516: Merge tag 'pull-tcg-20240301' of https://gitlab.com/rth7680/qemu into staging (2024-03-05 09:45:22 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240305 for you to fetch changes up to 7558300c53057126514ee0fd5cf629c65ccc20e1: qemu-options.hx: Don't claim "-serial" has limit of 4 serial ports (2024-03-05 13:22:56 +0000) ---------------------------------------------------------------- target-arm queue: * raspi: Implement Broadcom Serial Controller (BSC) for BCM2835 boards * hw/char/pl011: Add support for loopback * STM32L4x5: Implement RCC clock control device * target/arm: Do memory type alignment checks * atomic.h: Reword confusing comment for qatomic_cmpxchg * qemu-options.hx: Don't claim "-serial" has limit of 4 serial ports ---------------------------------------------------------------- Arnaud Minier (8): hw/misc/stm32l4x5_rcc: Implement STM32L4x5_RCC skeleton hw/misc/stm32l4x5_rcc: Add an internal clock multiplexer object hw/misc/stm32l4x5_rcc: Add an internal PLL Clock object hw/misc/stm32l4x5_rcc: Initialize PLLs and clock multiplexers hw/misc/stm32l4x5_rcc: Handle Register Updates hw/misc/stm32l4x5_rcc: Add write protections to CR register hw/arm/stm32l4x5_soc.c: Use the RCC Sysclk tests/qtest/stm32l4x5_rcc-test.c: Add tests for the STM32L4x5_RCC Peter Maydell (1): atomic.h: Reword confusing comment for qatomic_cmpxchg Rayhan Faizel (3): hw/i2c: Implement Broadcom Serial Controller (BSC) hw/arm: Connect BSC to BCM2835 board as I2C0, I2C1 and I2C2 tests/qtest: Add testcase for BCM2835 BSC Richard Henderson (6): target/arm: Support 32-byte alignment in pow2_align exec/memattrs: Remove target_tlb_bit* accel/tcg: Add tlb_fill_flags to CPUTLBEntryFull accel/tcg: Add TLB_CHECK_ALIGNED target/arm: Do memory type alignment check when translation disabled target/arm: Do memory type alignment check when translation enabled Steven Shen (1): qemu-options.hx: Don't claim "-serial" has limit of 4 serial ports Tong Ho (1): hw/char/pl011: Add support for loopback MAINTAINERS | 5 +- docs/system/arm/b-l475e-iot01a.rst | 2 +- docs/system/arm/raspi.rst | 1 + include/exec/cpu-all.h | 4 +- include/exec/memattrs.h | 12 - include/hw/arm/bcm2835_peripherals.h | 4 +- include/hw/arm/stm32l4x5_soc.h | 5 +- include/hw/core/cpu.h | 3 + include/hw/i2c/bcm2835_i2c.h | 80 ++ include/hw/misc/stm32l4x5_rcc.h | 239 +++++ include/hw/misc/stm32l4x5_rcc_internals.h | 1042 +++++++++++++++++++++ include/qemu/atomic.h | 2 +- accel/tcg/cputlb.c | 35 +- hw/arm/b-l475e-iot01a.c | 10 +- hw/arm/bcm2835_peripherals.c | 45 +- hw/arm/stm32l4x5_soc.c | 45 +- hw/char/pl011.c | 110 ++- hw/i2c/bcm2835_i2c.c | 282 ++++++ hw/misc/stm32l4x5_rcc.c | 1457 +++++++++++++++++++++++++++++ target/arm/ptw.c | 39 + target/arm/tcg/hflags.c | 34 +- target/arm/tcg/translate.c | 8 +- target/sparc/mmu_helper.c | 2 +- tests/qtest/bcm2835-i2c-test.c | 115 +++ tests/qtest/stm32l4x5_rcc-test.c | 189 ++++ hw/arm/Kconfig | 2 + hw/i2c/Kconfig | 4 + hw/i2c/meson.build | 1 + hw/misc/Kconfig | 3 + hw/misc/meson.build | 1 + hw/misc/trace-events | 14 + qemu-options.hx | 2 +- tests/qtest/meson.build | 5 +- 33 files changed, 3718 insertions(+), 84 deletions(-) create mode 100644 include/hw/i2c/bcm2835_i2c.h create mode 100644 include/hw/misc/stm32l4x5_rcc.h create mode 100644 include/hw/misc/stm32l4x5_rcc_internals.h create mode 100644 hw/i2c/bcm2835_i2c.c create mode 100644 hw/misc/stm32l4x5_rcc.c create mode 100644 tests/qtest/bcm2835-i2c-test.c create mode 100644 tests/qtest/stm32l4x5_rcc-test.c . Date: Wed, 6 Mar 2024 14:40:12 +0000 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL for 9.0 00/29] maintainer updates (tests, gdbstub, plugins) The following changes since commit db596ae19040574e41d086e78469014191d7d7fc: Merge tag 'pull-target-arm-20240305' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-03-05 13:54:54 +0000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-updates-060324-1 for you to fetch changes up to db7e8b1f75662cf957f6bfad938ed112488518ed: target/riscv: honour show_opcodes when disassembling (2024-03-06 12:35:51 +0000) ---------------------------------------------------------------- maintainer updates (tests, gdbstub, plugins): - expand QOS_PATH_MAX_ELEMENT_SIZE to avoid LTO issues - support fork-follow-mode in gdbstub - new thread-safe scoreboard API for TCG plugins - suppress showing opcodes in plugin disassembly ---------------------------------------------------------------- Alex Bennée (5): tests: bump QOS_PATH_MAX_ELEMENT_SIZE again disas: introduce show_opcodes disas/hppa: honour show_opcodes target/loongarch: honour show_opcodes when disassembling target/riscv: honour show_opcodes when disassembling Ilya Leoshkevich (12): gdbstub: Support disablement in a multi-threaded process {linux,bsd}-user: Introduce get_task_state() {linux,bsd}-user: Update ts_tid after fork() gdbstub: Introduce gdbserver_fork_start() {linux,bsd}-user: Pass pid to fork_end() {linux,bsd}-user: Pass pid to gdbserver_fork() gdbstub: Call gdbserver_fork() both in parent and in child gdbstub: Introduce gdb_handle_query_supported_user() gdbstub: Introduce gdb_handle_set_thread_user() gdbstub: Introduce gdb_handle_detach_user() gdbstub: Implement follow-fork-mode child tests/tcg: Add two follow-fork-mode tests Pierrick Bouvier (12): plugins: scoreboard API plugins: define qemu_plugin_u64 plugins: implement inline operation relative to cpu_index plugins: add inline operation per vcpu tests/plugin: add test plugin for inline operations tests/plugin/mem: migrate to new per_vcpu API tests/plugin/insn: migrate to new per_vcpu API tests/plugin/bb: migrate to new per_vcpu API contrib/plugins/hotblocks: migrate to new per_vcpu API contrib/plugins/howvec: migrate to new per_vcpu API plugins: remove non per_vcpu inline operation from API plugins: cleanup codepath for previous inline operation bsd-user/bsd-file.h | 2 +- bsd-user/freebsd/os-proc.h | 6 +- bsd-user/qemu.h | 7 +- gdbstub/internals.h | 3 + include/disas/dis-asm.h | 8 + include/gdbstub/user.h | 10 +- include/qemu/plugin.h | 7 + include/qemu/qemu-plugin.h | 142 +++++++++--- include/user/safe-syscall.h | 2 +- linux-user/m68k/target_cpu.h | 2 +- linux-user/qemu.h | 5 + linux-user/signal-common.h | 2 +- linux-user/user-internals.h | 2 +- plugins/plugin.h | 17 +- tests/qtest/libqos/qgraph.h | 2 +- accel/tcg/plugin-gen.c | 69 +++++- bsd-user/main.c | 9 +- bsd-user/signal.c | 20 +- contrib/plugins/hotblocks.c | 50 +++-- contrib/plugins/howvec.c | 53 +++-- disas/disas.c | 1 + disas/hppa.c | 8 +- disas/riscv.c | 28 +-- gdbstub/gdbstub.c | 29 ++- gdbstub/user-target.c | 4 +- gdbstub/user.c | 244 ++++++++++++++++++++- linux-user/aarch64/cpu_loop.c | 2 +- linux-user/arm/cpu_loop.c | 4 +- linux-user/arm/signal.c | 2 +- linux-user/cris/cpu_loop.c | 2 +- linux-user/elfload.c | 2 +- linux-user/hppa/signal.c | 2 +- linux-user/linuxload.c | 2 +- linux-user/m68k/cpu_loop.c | 2 +- linux-user/main.c | 8 +- linux-user/mips/cpu_loop.c | 2 +- linux-user/ppc/signal.c | 4 +- linux-user/riscv/cpu_loop.c | 2 +- linux-user/signal.c | 30 +-- linux-user/syscall.c | 32 +-- linux-user/vm86.c | 18 +- linux-user/xtensa/signal.c | 2 +- plugins/api.c | 100 +++++++-- plugins/core.c | 79 ++++++- semihosting/arm-compat-semi.c | 8 +- target/loongarch/disas.c | 13 +- tests/plugin/bb.c | 63 +++--- tests/plugin/inline.c | 186 ++++++++++++++++ tests/plugin/insn.c | 106 +++++---- tests/plugin/mem.c | 46 ++-- tests/tcg/multiarch/follow-fork-mode.c | 56 +++++ plugins/qemu-plugins.symbols | 13 +- tests/plugin/meson.build | 2 +- tests/tcg/Makefile.target | 2 +- tests/tcg/multiarch/Makefile.target | 17 +- .../multiarch/gdbstub/follow-fork-mode-child.py | 40 ++++ .../multiarch/gdbstub/follow-fork-mode-parent.py | 16 ++ 57 files changed, 1257 insertions(+), 338 deletions(-) create mode 100644 tests/plugin/inline.c create mode 100644 tests/tcg/multiarch/follow-fork-mode.c create mode 100644 tests/tcg/multiarch/gdbstub/follow-fork-mode-child.py create mode 100644 tests/tcg/multiarch/gdbstub/follow-fork-mode-parent.py -- 2.39.2 . Date: Thu, 7 Mar 2024 22:51:50 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Song Gao Subject: [PULL 00/17] loongarch-to-apply queue The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240307 for you to fetch changes up to 4dc2edfd6f8abfc38f0ba110502790aa5051b1b5: hw/loongarch: Add cells missing from rtc node (2024-03-07 21:58:00 +0800) ---------------------------------------------------------------- pull-loongarch-20240307 ---------------------------------------------------------------- Song Gao (17): hw/loongarch: Move boot fucntions to boot.c hw/loongarch: Add load initrd hw/loongarch: Add slave cpu boot_code hw/loongarch: Add init_cmdline hw/loongarch: Init efi_system_table hw/loongarch: Init efi_boot_memmap table hw/loongarch: Init efi_initrd table hw/loongarch: Init efi_fdt table hw/loongarch: Fix fdt memory node wrong 'reg' hw/loongarch: fdt adds cpu interrupt controller node hw/loongarch: fdt adds Extend I/O Interrupt Controller hw/loongarch: fdt adds pch_pic Controller hw/loongarch: fdt adds pch_msi Controller hw/loongarch: fdt adds pcie irq_map node hw/loongarch: fdt remove unused irqchip node hw/loongarch: Add cells missing from uart node hw/loongarch: Add cells missing from rtc node hw/loongarch/boot.c | 330 +++++++++++++++++++++++++++++++++ hw/loongarch/meson.build | 1 + hw/loongarch/virt.c | 363 +++++++++++++++++++++---------------- include/hw/intc/loongarch_extioi.h | 1 + include/hw/loongarch/boot.h | 109 +++++++++++ include/hw/loongarch/virt.h | 14 ++ include/hw/pci-host/ls7a.h | 2 + target/loongarch/cpu.h | 2 + 8 files changed, 662 insertions(+), 160 deletions(-) create mode 100644 hw/loongarch/boot.c create mode 100644 include/hw/loongarch/boot.h . Date: Thu, 7 Mar 2024 23:28:18 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL v2 00/17] loongarch-to-apply queue The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240307 for you to fetch changes up to 4dc2edfd6f8abfc38f0ba110502790aa5051b1b5: hw/loongarch: Add cells missing from rtc node (2024-03-07 21:58:00 +0800) ---------------------------------------------------------------- pull-loongarch-20240307 ---------------------------------------------------------------- Song Gao (17): hw/loongarch: Move boot fucntions to boot.c hw/loongarch: Add load initrd hw/loongarch: Add slave cpu boot_code hw/loongarch: Add init_cmdline hw/loongarch: Init efi_system_table hw/loongarch: Init efi_boot_memmap table hw/loongarch: Init efi_initrd table hw/loongarch: Init efi_fdt table hw/loongarch: Fix fdt memory node wrong 'reg' hw/loongarch: fdt adds cpu interrupt controller node hw/loongarch: fdt adds Extend I/O Interrupt Controller hw/loongarch: fdt adds pch_pic Controller hw/loongarch: fdt adds pch_msi Controller hw/loongarch: fdt adds pcie irq_map node hw/loongarch: fdt remove unused irqchip node hw/loongarch: Add cells missing from uart node hw/loongarch: Add cells missing from rtc node hw/loongarch/boot.c | 330 +++++++++++++++++++++++++++++++++ hw/loongarch/meson.build | 1 + hw/loongarch/virt.c | 363 +++++++++++++++++++++---------------- include/hw/intc/loongarch_extioi.h | 1 + include/hw/loongarch/boot.h | 109 +++++++++++ include/hw/loongarch/virt.h | 14 ++ include/hw/pci-host/ls7a.h | 2 + target/loongarch/cpu.h | 2 + 8 files changed, 662 insertions(+), 160 deletions(-) create mode 100644 hw/loongarch/boot.c create mode 100644 include/hw/loongarch/boot.h . Date: Fri, 8 Mar 2024 21:11:18 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/34] riscv-to-apply queue The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240308-1 for you to fetch changes up to 301876597112218c1e465ecc2b2fef6b27d5c27b: target/riscv: fix ACPI MCFG table (2024-03-08 21:00:37 +1000) ---------------------------------------------------------------- RISC-V PR for 9.0 * Update $ra with current $pc in trans_cm_jalt * Enable SPCR for SCPI virt machine * Allow large kernels to boot by moving the initrd further away in RAM * Sync hwprobe keys with kernel * Named features riscv,isa, 'svade' rework * FIX xATP_MODE validation * Add missing include guard in pmu.h * Add SRAT and SLIT ACPI tables * libqos fixes and add a riscv machine * Add Ztso extension * Use 'zfa' instead of 'Zfa' * Update KVM exts to Linux 6.8 * move ratified/frozen exts to non-experimental * Ensure mcountinhibit, mcounteren, scounteren, hcounteren are 32-bit * mark_vs_dirty() before loads and stores * Remove 'is_store' bool from load/store fns * Fix shift count overflow * Fix setipnum_le write emulation for APLIC MSI-mode * Fix in_clrip[x] read emulation * Fix privilege mode of G-stage translation for debugging * Fix ACPI MCFG table for virt machine ---------------------------------------------------------------- Alexandre Ghiti (1): hw: riscv: Allow large kernels to boot by moving the initrd further away in RAM Andrew Jones (3): target/riscv: Reset henvcfg to zero target/riscv: Gate hardware A/D PTE bit updating target/riscv: Promote svade to a normal extension Anup Patel (2): hw/intc/riscv_aplic: Fix setipnum_le write emulation for APLIC MSI-mode hw/intc/riscv_aplic: Fix in_clrip[x] read emulation Christoph Müllner (4): linux-user/riscv: Add Zicboz extensions to hwprobe linux-user/riscv: Sync hwprobe keys with Linux linux-user/riscv: Add Ztso extension to hwprobe tests: riscv64: Use 'zfa' instead of 'Zfa' Daniel Henrique Barboza (12): target/riscv/tcg: set 'mmu' with 'satp' in cpu_set_profile() target/riscv: add riscv,isa to named features target/riscv: add remaining named features hw/riscv/virt.c: create '/soc/pci@...' fdt node earlier hw/riscv/virt.c: add virtio-iommu-pci hotplug support hw/riscv/virt.c: make aclint compatible with 'qtest' accel tests/libqos: add riscv/virt machine nodes linux-headers: Update to Linux v6.8-rc6 target/riscv/kvm: update KVM exts to Linux 6.8 target/riscv: move ratified/frozen exts to non-experimental trans_rvv.c.inc: mark_vs_dirty() before loads and stores trans_rvv.c.inc: remove 'is_store' bool from load/store fns Frank Chang (1): target/riscv: Add missing include guard in pmu.h Haibo Xu (1): hw/riscv/virt-acpi-build.c: Add SRAT and SLIT ACPI tables Hiroaki Yamamoto (1): target/riscv: Fix privilege mode of G-stage translation for debugging Ilya Chugin (1): target/riscv: fix ACPI MCFG table Irina Ryapolova (2): target/riscv: FIX xATP_MODE validation target/riscv: UPDATE xATP write CSR Jason Chien (1): target/riscv: Update $ra with current $pc in trans_cm_jalt() Palmer Dabbelt (1): RISC-V: Add support for Ztso Sia Jee Heng (2): hw/arm/virt-acpi-build.c: Migrate SPCR creation to common location hw/riscv/virt-acpi-build.c: Generate SPCR table Vadim Shakirov (1): target/riscv: mcountinhibit, mcounteren, scounteren, hcounteren is 32-bit demin.han (1): target/riscv: Fix shift count overflow include/hw/acpi/acpi-defs.h | 33 ++++++ include/hw/acpi/aml-build.h | 4 + include/standard-headers/drm/drm_fourcc.h | 10 +- include/standard-headers/linux/ethtool.h | 41 +++++--- include/standard-headers/linux/virtio_config.h | 8 +- include/standard-headers/linux/virtio_pci.h | 68 ++++++++++++ include/standard-headers/linux/virtio_pmem.h | 7 ++ linux-headers/asm-generic/unistd.h | 15 ++- linux-headers/asm-mips/mman.h | 2 +- linux-headers/asm-mips/unistd_n32.h | 5 + linux-headers/asm-mips/unistd_n64.h | 5 + linux-headers/asm-mips/unistd_o32.h | 5 + linux-headers/asm-powerpc/unistd_32.h | 5 + linux-headers/asm-powerpc/unistd_64.h | 5 + linux-headers/asm-riscv/kvm.h | 40 +++++++ linux-headers/asm-s390/unistd_32.h | 5 + linux-headers/asm-s390/unistd_64.h | 5 + linux-headers/asm-x86/kvm.h | 3 + linux-headers/asm-x86/unistd_32.h | 5 + linux-headers/asm-x86/unistd_64.h | 5 + linux-headers/asm-x86/unistd_x32.h | 5 + linux-headers/linux/iommufd.h | 79 ++++++++++++++ linux-headers/linux/kvm.h | 140 +++++++++---------------- linux-headers/linux/userfaultfd.h | 29 ++++- linux-headers/linux/vfio.h | 1 + target/riscv/cpu.h | 8 +- target/riscv/cpu_cfg.h | 13 ++- target/riscv/pmu.h | 5 + hw/acpi/aml-build.c | 53 ++++++++++ hw/arm/virt-acpi-build.c | 68 +++++------- hw/intc/riscv_aplic.c | 37 +++++-- hw/riscv/boot.c | 12 +-- hw/riscv/virt-acpi-build.c | 103 +++++++++++++++++- hw/riscv/virt.c | 97 ++++++++++++----- linux-user/syscall.c | 104 ++++++++++++++++-- target/riscv/cpu.c | 94 +++++++++++------ target/riscv/cpu_helper.c | 21 +++- target/riscv/csr.c | 58 +++++----- target/riscv/kvm/kvm-cpu.c | 29 +++++ target/riscv/machine.c | 16 +-- target/riscv/tcg/tcg-cpu.c | 34 +++--- target/riscv/translate.c | 3 + target/riscv/vector_helper.c | 5 +- tests/qtest/libqos/riscv-virt-machine.c | 137 ++++++++++++++++++++++++ target/riscv/insn_trans/trans_rva.c.inc | 11 +- target/riscv/insn_trans/trans_rvi.c.inc | 16 ++- target/riscv/insn_trans/trans_rvv.c.inc | 97 +++++++++-------- target/riscv/insn_trans/trans_rvzce.c.inc | 6 +- tests/qtest/libqos/meson.build | 1 + tests/tcg/riscv64/Makefile.target | 2 +- 50 files changed, 1213 insertions(+), 347 deletions(-) create mode 100644 tests/qtest/libqos/riscv-virt-machine.c . Date: Fri, 8 Mar 2024 15:55:42 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/12] Misc fixes, i386 TSTEQ/TSTNE, coverity CI for 2024-03-08 The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 47791be8cc6efa0fb9c145a2b92da0417f4137b8: gitlab-ci: add manual job to run Coverity (2024-03-08 15:52:26 +0100) ---------------------------------------------------------------- * target/i386: use TSTEQ/TSTNE * move Coverity builds to Gitlab CI * fix two memory leaks * bug fixes ---------------------------------------------------------------- Akihiko Odaki (1): meson: Remove --warn-common ldflag Dmitrii Gavrilov (1): system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add() Paolo Bonzini (8): hw/intc/apic: fix memory leak oslib-posix: fix memory leak in touch_all_pages mips: do not list individual devices from configs/ target/i386: use TSTEQ/TSTNE to test low bits target/i386: use TSTEQ/TSTNE to check flags target/i386: remove mask from CCPrepare run-coverity-scan: add --check-upload-only option gitlab-ci: add manual job to run Coverity Sven Schnelle (2): hw/scsi/lsi53c895a: add timer to scripts processing hw/scsi/lsi53c895a: stop script on phase mismatch configs/devices/mips-softmmu/common.mak | 28 +------ configs/devices/mips64el-softmmu/default.mak | 3 - meson.build | 5 -- hw/intc/apic.c | 6 +- hw/scsi/lsi53c895a.c | 59 ++++++++++---- system/qdev-monitor.c | 23 +++--- target/i386/tcg/translate.c | 115 ++++++++++++--------------- util/oslib-posix.c | 6 +- target/i386/tcg/emit.c.inc | 5 +- .gitlab-ci.d/base.yml | 4 + .gitlab-ci.d/buildtest.yml | 39 ++++++++- .gitlab-ci.d/opensbi.yml | 4 + hw/display/Kconfig | 2 +- hw/mips/Kconfig | 20 ++++- hw/scsi/trace-events | 2 + scripts/coverity-scan/run-coverity-scan | 59 ++++++++++---- 16 files changed, 228 insertions(+), 152 deletions(-) -- 2.43.2 . Date: Fri, 8 Mar 2024 15:50:01 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/14] target-arm queue The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240308 for you to fetch changes up to bbf6c6dbead82292a20951eb1204442a6b838de9: target/arm: Move v7m-related code from cpu32.c into a separate file (2024-03-08 14:45:03 +0000) ---------------------------------------------------------------- target-arm queue: * Implement FEAT_ECV * STM32L4x5: Implement GPIO device * Fix 32-bit SMOPA * Refactor v7m related code from cpu32.c into its own file * hw/rtc/sun4v-rtc: Relicense to GPLv2-or-later ---------------------------------------------------------------- Inès Varhol (3): hw/gpio: Implement STM32L4x5 GPIO hw/arm: Connect STM32L4x5 GPIO to STM32L4x5 SoC tests/qtest: Add STM32L4x5 GPIO QTest testcase Peter Maydell (9): target/arm: Move some register related defines to internals.h target/arm: Timer _EL02 registers UNDEF for E2H == 0 target/arm: use FIELD macro for CNTHCTL bit definitions target/arm: Don't allow RES0 CNTHCTL_EL2 bits to be written target/arm: Implement new FEAT_ECV trap bits target/arm: Define CNTPCTSS_EL0 and CNTVCTSS_EL0 target/arm: Implement FEAT_ECV CNTPOFF_EL2 handling target/arm: Enable FEAT_ECV for 'max' CPU hw/rtc/sun4v-rtc: Relicense to GPLv2-or-later Richard Henderson (1): target/arm: Fix 32-bit SMOPA Thomas Huth (1): target/arm: Move v7m-related code from cpu32.c into a separate file MAINTAINERS | 1 + docs/system/arm/b-l475e-iot01a.rst | 2 +- docs/system/arm/emulation.rst | 1 + include/hw/arm/stm32l4x5_soc.h | 2 + include/hw/gpio/stm32l4x5_gpio.h | 71 +++++ include/hw/misc/stm32l4x5_syscfg.h | 3 +- include/hw/rtc/sun4v-rtc.h | 2 +- target/arm/cpu-features.h | 10 + target/arm/cpu.h | 129 +-------- target/arm/internals.h | 151 ++++++++++ hw/arm/stm32l4x5_soc.c | 71 ++++- hw/gpio/stm32l4x5_gpio.c | 477 ++++++++++++++++++++++++++++++++ hw/misc/stm32l4x5_syscfg.c | 1 + hw/rtc/sun4v-rtc.c | 2 +- target/arm/helper.c | 189 ++++++++++++- target/arm/tcg/cpu-v7m.c | 290 +++++++++++++++++++ target/arm/tcg/cpu32.c | 261 ------------------ target/arm/tcg/cpu64.c | 1 + target/arm/tcg/sme_helper.c | 77 +++--- tests/qtest/stm32l4x5_gpio-test.c | 551 +++++++++++++++++++++++++++++++++++++ tests/tcg/aarch64/sme-smopa-1.c | 47 ++++ tests/tcg/aarch64/sme-smopa-2.c | 54 ++++ hw/arm/Kconfig | 3 +- hw/gpio/Kconfig | 3 + hw/gpio/meson.build | 1 + hw/gpio/trace-events | 6 + target/arm/meson.build | 3 + target/arm/tcg/meson.build | 3 + target/arm/trace-events | 1 + tests/qtest/meson.build | 3 +- tests/tcg/aarch64/Makefile.target | 2 +- 31 files changed, 1962 insertions(+), 456 deletions(-) create mode 100644 include/hw/gpio/stm32l4x5_gpio.h create mode 100644 hw/gpio/stm32l4x5_gpio.c create mode 100644 target/arm/tcg/cpu-v7m.c create mode 100644 tests/qtest/stm32l4x5_gpio-test.c create mode 100644 tests/tcg/aarch64/sme-smopa-1.c create mode 100644 tests/tcg/aarch64/sme-smopa-2.c . Date: Fri, 8 Mar 2024 18:02:42 +0100 From: "Maciej S. Szmigiero" To: qemu-devel@nongnu.org Subject: [PULL 0/3] Hyper-V Dynamic Memory and VMBus misc small patches From: "Maciej S. Szmigiero" The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://github.com/maciejsszmigiero/qemu.git tags/pull-hv-balloon-20240308 for you to fetch changes up to 6093637b4d32875f98cd59696ffc5f26884aa0b4: vmbus: Print a warning when enabled without the recommended set of features (2024-03-08 14:18:56 +0100) ---------------------------------------------------------------- Hyper-V Dynamic Memory and VMBus misc small patches This pull request contains two small patches to hv-balloon: the first one replacing alloca() usage with g_malloc0() + g_autofree and the second one adding additional declaration of a protocol message struct with an optional field explicitly defined to avoid a Coverity warning. Also included is a VMBus patch to print a warning when it is enabled without the recommended set of Hyper-V features (enlightenments) since some Windows versions crash at boot in this case. ---------------------------------------------------------------- Maciej S. Szmigiero (3): hv-balloon: avoid alloca() usage hv-balloon: define dm_hot_add_with_region to avoid Coverity warning vmbus: Print a warning when enabled without the recommended set of features hw/hyperv/hv-balloon.c | 18 ++++++++---------- hw/hyperv/hyperv.c | 12 ++++++++++++ hw/hyperv/vmbus.c | 6 ++++++ include/hw/hyperv/dynmem-proto.h | 9 ++++++++- include/hw/hyperv/hyperv.h | 4 ++++ target/i386/kvm/hyperv-stub.c | 4 ++++ target/i386/kvm/hyperv.c | 5 +++++ target/i386/kvm/hyperv.h | 2 ++ target/i386/kvm/kvm.c | 7 +++++++ 9 files changed, 56 insertions(+), 11 deletions(-) . Date: Fri, 8 Mar 2024 19:11:52 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 0/9] Misc fixes and coverity CI for 2024-03-08 The following changes since commit 8f6330a807f2642dc2a3cdf33347aa28a4c00a87: Merge tag 'pull-maintainer-updates-060324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-06 16:56:20 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 83aa1baa069c8f77aa9f7d9adfdeb11d90bdf78d: gitlab-ci: add manual job to run Coverity (2024-03-08 19:08:23 +0100) Supersedes: <20240308145554.599614-1-pbonzini@redhat.com> ---------------------------------------------------------------- * target/i386: use TSTEQ/TSTNE * move Coverity builds to Gitlab CI * fix two memory leaks * bug fixes ---------------------------------------------------------------- Akihiko Odaki (1): meson: Remove --warn-common ldflag Dmitrii Gavrilov (1): system/qdev-monitor: move drain_call_rcu call under if (!dev) in qmp_device_add() Paolo Bonzini (5): hw/intc/apic: fix memory leak oslib-posix: fix memory leak in touch_all_pages mips: do not list individual devices from configs/ run-coverity-scan: add --check-upload-only option gitlab-ci: add manual job to run Coverity Sven Schnelle (2): hw/scsi/lsi53c895a: add timer to scripts processing hw/scsi/lsi53c895a: stop script on phase mismatch configs/devices/mips-softmmu/common.mak | 28 ++----------- configs/devices/mips64el-softmmu/default.mak | 3 -- meson.build | 5 --- hw/intc/apic.c | 6 +-- hw/scsi/lsi53c895a.c | 59 +++++++++++++++++++++------- system/qdev-monitor.c | 23 ++++++----- util/oslib-posix.c | 6 ++- .gitlab-ci.d/base.yml | 4 ++ .gitlab-ci.d/buildtest.yml | 39 +++++++++++++++++- .gitlab-ci.d/opensbi.yml | 4 ++ hw/display/Kconfig | 2 +- hw/mips/Kconfig | 20 +++++++++- hw/scsi/trace-events | 2 + scripts/coverity-scan/run-coverity-scan | 59 ++++++++++++++++++++-------- 14 files changed, 176 insertions(+), 84 deletions(-) -- 2.43.2 . Date: Sat, 9 Mar 2024 18:57:18 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 00/11] Trivial patches for 2024-03-09 The following changes since commit 84644ac1b0f80d41b8a2f66547b83b2ad4a98576: Merge tag 'darwin-20240305' of https://github.com/philmd/qemu into staging (2024-03-08 18:19:25 +0000) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to d65f1ed7de1559534d0a1fabca5bdd81c594c7ca: docs/acpi/bits: add some clarity and details while also improving formating (2024-03-09 18:56:37 +0300) ---------------------------------------------------------------- trivial patches for 2024-03-09 ---------------------------------------------------------------- Ani Sinha (1): docs/acpi/bits: add some clarity and details while also improving formating BALATON Zoltan (1): hw/scsi/lsi53c895a: Fix typo in comment Frediano Ziglio (1): hw/vfio/pci.c: Make some structure static Markus Armbruster (4): replay: Improve error messages about configuration conflicts char: Slightly better error reporting when chardev is in use blockdev: Fix block_resize error reporting for op blockers qerror: QERR_DEVICE_IN_USE is no longer used, drop Michael Tokarev (1): make-release: switch to .xz format by default Thomas Huth (3): hw/cxl/cxl-cdat: Fix type of buf in ct3_load_cdat() hw/pci-bridge/cxl_upstream: Fix problem with g_steal_pointer() hw/mem/cxl_type3: Fix problem with g_steal_pointer() blockdev.c | 3 +-- chardev/char-fe.c | 13 ++++++----- docs/devel/acpi-bits.rst | 55 +++++++++++++++++++++++++++++++------------- hw/cxl/cxl-cdat.c | 4 ++-- hw/mem/cxl_type3.c | 24 +++++++++---------- hw/pci-bridge/cxl_upstream.c | 8 +++---- hw/scsi/lsi53c895a.c | 2 +- hw/vfio/pci.c | 4 ++-- include/hw/cxl/cxl_cdat.h | 17 +++++++++----- include/qapi/qmp/qerror.h | 3 --- replay/replay.c | 2 +- scripts/make-release | 2 +- system/vl.c | 2 +- 13 files changed, 82 insertions(+), 57 deletions(-) . Date: Sat, 9 Mar 2024 20:21:27 +0100 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/43] Misc HW patches for 2024-03-09 The following changes since commit 84644ac1b0f80d41b8a2f66547b83b2ad4a98576: Merge tag 'darwin-20240305' of https://github.com/philmd/qemu into staging (2024-03-08 18:19:25 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240309 for you to fetch changes up to d3c79c397484ad117063702e6246e39f22f020f6: hw/m68k/mcf5208: add support for reset (2024-03-09 19:17:01 +0100) ---------------------------------------------------------------- Misc HW patch queue - hmp: Shorter 'info qtree' output (Zoltan) - qdev: Add a granule_mode property (Eric) - Some ERRP_GUARD() fixes (Zhao) - Doc & style fixes in docs/interop/firmware.json (Thomas) - hw/xen: Housekeeping (Phil) - hw/ppc/mac99: Change timebase frequency 25 -> 100 MHz (Mark) - hw/intc/apic: Memory leak fix (Paolo) - hw/intc/grlib_irqmp: Ensure ncpus value is in range (Clément) - hw/m68k/mcf5208: Add support for reset (Angelo) - hw/i386/pc: Housekeeping (Phil) - hw/core/smp: Remove/deprecate parameter=0,1 adapting test-smp-parse (Zhao) ---------------------------------------------------------------- Angelo Dureghello (1): hw/m68k/mcf5208: add support for reset BALATON Zoltan (1): hmp: Add option to info qtree to omit details Clément Chigot (1): hw/intc/grlib_irqmp: abort realize when ncpus value is out of range Eric Auger (1): qdev: Add a granule_mode property Mark Cave-Ayland (1): mac_newworld: change timebase frequency from 100MHz to 25MHz for mac99 machine Paolo Bonzini (1): hw/intc/apic: fix memory leak Philippe Mathieu-Daudé (18): hw/i386: Rename kvmvapic.c -> vapic.c sysemu/xen: Forbid using Xen headers in user emulation sysemu/xen-mapcache: Check Xen availability with CONFIG_XEN_IS_POSSIBLE system/physmem: Do not include 'hw/xen/xen.h' but 'sysemu/xen.h' hw/pci/msi: Restrict xen_is_pirq_msi() call to Xen hw/xen: Remove unnecessary xen_hvm_inject_msi() stub hw/xen: Rename 'ram_memory' global variable as 'xen_memory' hw/xen: Use target-agnostic qemu_target_page_bits() hw/xen/xen_pt: Add missing license hw/xen: Extract 'xen_igd.h' from 'xen_pt.h' hw/i386/xen: Compile 'xen-hvm.c' with Xen CPPFLAGS hw/xen/hvm: Inline TARGET_PAGE_ALIGN() macro hw/xen/hvm: Propagate page_mask to a pair of functions hw/xen/hvm: Get target page size at runtime hw/i386/pc: Remove pc_compat_1_4..1.7[] left over declarations hw/i386/pc: Use generated NotifyVmexitOption_str() hw/i386/pc: Remove 'host_type' argument from pc_init1() hw/i386/pc: Have pc_init_isa() pass a NULL pci_type argument Thomas Weißschuh (2): docs/interop/firmware.json: Align examples docs/interop/firmware.json: Fix doc for FirmwareFlashMode Zhao Liu (17): hw/char/xen_console: Fix missing ERRP_GUARD() for error_prepend() hw/net/xen_nic: Fix missing ERRP_GUARD() for error_prepend() hw/remote/remote-obj: hw/misc/ivshmem: Fix missing ERRP_GUARD() for error_prepend() target/i386/sev: Fix missing ERRP_GUARD() for error_prepend() hw/core/machine-smp: Remove deprecated "parameter=0" SMP configurations hw/core/machine-smp: Deprecate unsupported "parameter=1" SMP configurations hw/core/machine-smp: Calculate total CPUs once in machine_parse_smp_config() tests/unit/test-smp-parse: Drop the unsupported "dies=1" case tests/unit/test-smp-parse: Use CPU number macros in invalid topology case tests/unit/test-smp-parse: Bump max_cpus to 4096 tests/unit/test-smp-parse: Make test cases aware of the book/drawer tests/unit/test-smp-parse: Test "books" parameter in -smp tests/unit/test-smp-parse: Test "drawers" parameter in -smp tests/unit/test-smp-parse: Test "drawers" and "books" combination case tests/unit/test-smp-parse: Test the full 7-levels topology hierarchy tests/unit/test-smp-parse: Test smp_props.has_clusters tests/unit/test-smp-parse: Test "parameter=0" SMP configurations docs/about/deprecated.rst | 30 +- docs/about/removed-features.rst | 15 + docs/interop/firmware.json | 376 ++++++++--------- qapi/virtio.json | 18 + hw/xen/xen_pt.h | 24 +- include/hw/i386/pc.h | 12 - include/hw/qdev-properties-system.h | 3 + include/hw/xen/xen-hvm-common.h | 2 +- include/hw/xen/xen_igd.h | 33 ++ include/sysemu/xen-mapcache.h | 3 +- include/sysemu/xen.h | 8 +- accel/xen/xen-all.c | 1 + hw/arm/xen_arm.c | 6 +- hw/char/xen_console.c | 1 + hw/core/machine-smp.c | 78 ++-- hw/core/qdev-properties-system.c | 14 + hw/i386/pc_piix.c | 19 +- hw/i386/{kvmvapic.c => vapic.c} | 5 +- hw/i386/xen/xen-hvm.c | 82 ++-- hw/intc/apic.c | 6 +- hw/intc/grlib_irqmp.c | 1 + hw/m68k/mcf5208.c | 44 +- hw/net/xen_nic.c | 1 + hw/pci/msi.c | 3 +- hw/ppc/mac_newworld.c | 2 +- hw/remote/remote-obj.c | 1 + hw/xen/xen-hvm-common.c | 12 +- hw/xen/xen_pt.c | 3 +- hw/xen/xen_pt_config_init.c | 3 +- hw/xen/xen_pt_graphics.c | 3 +- hw/xen/xen_pt_stub.c | 2 +- stubs/xen-hw-stub.c | 4 - system/physmem.c | 2 +- system/qdev-monitor.c | 27 +- target/i386/sev.c | 1 + tests/unit/test-smp-parse.c | 612 ++++++++++++++++++++++++++-- hmp-commands-info.hx | 6 +- hw/i386/meson.build | 2 +- hw/i386/xen/meson.build | 4 +- 39 files changed, 1095 insertions(+), 374 deletions(-) create mode 100644 include/hw/xen/xen_igd.h rename hw/i386/{kvmvapic.c => vapic.c} (99%) -- 2.41.0 . Date: Sun, 10 Mar 2024 20:19:22 +0100 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL 0/2] vfio queue The following changes since commit cbccded4a2b5d685a426a437e25f67d3a375b292: Merge tag 'pull-riscv-to-apply-20240308-1' of https://github.com/alistair23/qemu into staging (2024-03-08 11:47:01 +0000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240310 for you to fetch changes up to 0cb51c183a91e882b10ead4ddf2321296a537c47: vfio: allow cpr-reboot migration if suspended (2024-03-08 22:10:13 +0100) ---------------------------------------------------------------- vfio queue: * Allow cpr-reboot for vfio ---------------------------------------------------------------- Steve Sistare (2): vfio: register container for cpr vfio: allow cpr-reboot migration if suspended include/hw/vfio/vfio-common.h | 3 +++ include/hw/vfio/vfio-container-base.h | 1 + hw/vfio/common.c | 2 +- hw/vfio/container.c | 11 +++++++++- hw/vfio/cpr.c | 39 +++++++++++++++++++++++++++++++++++ hw/vfio/iommufd.c | 6 ++++++ hw/vfio/migration.c | 2 +- hw/vfio/meson.build | 1 + 8 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 hw/vfio/cpr.c . Date: Mon, 11 Mar 2024 18:57:21 +0200 From: Konstantin Kostiuk To: qemu-devel@nongnu.org, Peter Maydell , Stefan Hajnoczi Subject: [PULL 0/3] Misc QGA patches for 2024-03-11 The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://github.com/kostyanf14/qemu.git tags/qga-pull-2024-03-11-2 for you to fetch changes up to bfded6fe62b859e337386ed3028b85743569a30b: qga-win: Add support of Windows Server 2025 in get-osinfo command (2024-03-11 18:24:39 +0200) ---------------------------------------------------------------- qga-pull-2024-03-11-2 ---------------------------------------------------------------- Dehan Meng (1): qga-win: Add support of Windows Server 2025 in get-osinfo command Philippe Mathieu-Daudé (2): qga/commands-win32: Declare const qualifier before type qga/commands-win32: Do not set matrix_lookup_t/win_10_0_t arrays size qga/commands-win32.c | 63 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 32 deletions(-) -- 2.44.0 . Date: Mon, 11 Mar 2024 18:54:39 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: Laurent Vivier Subject: [PULL 0/1] M68k for 9.0 patches The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://github.com/vivier/qemu-m68k.git tags/m68k-for-9.0-pull-request for you to fetch changes up to e39a0809b99bbbe5f0ec432fdd9e8c943ba24936: virt: set the CPU type in BOOTINFO (2024-03-11 09:38:08 +0100) ---------------------------------------------------------------- Pull request for m68k 20240311 ---------------------------------------------------------------- Laurent Vivier (1): virt: set the CPU type in BOOTINFO hw/m68k/virt.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) -- 2.43.2 . Date: Mon, 11 Mar 2024 20:11:06 +0100 From: Klaus Jensen To: Peter Maydell , qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org, Klaus Jensen , Jesper Devantier , Yanan Wang , Marcel Apfelbaum , Eduardo Habkost , Keith Busch , Klaus Jensen Subject: [PULL 0/6] hw/nvme updates From: Klaus Jensen Hi, The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) 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 a1505d799232939bf90c1b3e1fc20e81cd398404: hw/nvme: add machine compatibility parameter to enable msix exclusive bar (2024-03-11 20:07:41 +0100) ---------------------------------------------------------------- hw/nvme updates -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmXvVsYACgkQTeGvMW1P DemWtwf9HU3cjtvCp8AeHGoPFTwp8/Vx3cQlQ6ilADKSDm44up2+M504xE/Mdviv 6y3PTPe1yiEpg/MbjWTX/df5lo+VdNoCuCyjph9mea0s1QAjCfVpl+KLMUVF/Oj5 y1Iz9PQqOVDJ3O4xlgmPTfd8NXE/frNJaiXAjFuBxF2+4lilD5kMxpyu7DXbLiy2 Szd1I3DhFAEOLEbrSSRDI3Fpy0KBdRzdKuUfmRdrHzbmhzHJefW7wnZ3aAiDboaD Ny7y/aovmjGymMp9GrBKWhUFPfSUtJ8l8j4Z7acQs+VDxg8lcAHCJKOyqCBTspUL PSnDe6E/CRyjrG2fUVXTLb6YW1eibQ== =Ld7a -----END PGP SIGNATURE----- ---------------------------------------------------------------- Klaus Jensen (4): hw/nvme: fix invalid check on mcl MAINTAINERS: add Jesper as reviewer on hw/nvme hw/nvme: generalize the mbar size helper hw/nvme: add machine compatibility parameter to enable msix exclusive bar Minwoo Im (1): hw/nvme: separate 'serial' property for VFs Roque Arcudia Hernandez (1): hw/nvme: Add NVMe NGUID property MAINTAINERS | 1 + docs/system/devices/nvme.rst | 7 ++ hw/core/machine.c | 1 + hw/nvme/ctrl.c | 95 +++++++++++++----- hw/nvme/meson.build | 2 +- hw/nvme/nguid.c | 187 +++++++++++++++++++++++++++++++++++ hw/nvme/ns.c | 2 + hw/nvme/nvme.h | 27 +++-- 8 files changed, 288 insertions(+), 34 deletions(-) create mode 100644 hw/nvme/nguid.c -- 2.44.0 . Date: Mon, 11 Mar 2024 19:12:21 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/20] target-arm queue The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240311 for you to fetch changes up to 5dd6bfd90d01e0cb27c349157208e5e4ce883846: docs: update copyright date to the year 2024 (2024-03-11 17:21:21 +0000) ---------------------------------------------------------------- target-arm queue: * contrib/elf2dmp: Improve robustness to corrupt input files * docs: update copyright date to the year 2024 * hw/arm: Deprecate various old Arm machine types ---------------------------------------------------------------- Akihiko Odaki (18): contrib/elf2dmp: Remove unnecessary err flags contrib/elf2dmp: Assume error by default contrib/elf2dmp: Continue even contexts are lacking contrib/elf2dmp: Change pa_space_create() signature contrib/elf2dmp: Fix error reporting style in addrspace.c contrib/elf2dmp: Fix error reporting style in download.c contrib/elf2dmp: Fix error reporting style in pdb.c contrib/elf2dmp: Fix error reporting style in qemu_elf.c contrib/elf2dmp: Fix error reporting style in main.c contrib/elf2dmp: Always check for PA resolution failure contrib/elf2dmp: Always destroy PA space contrib/elf2dmp: Ensure segment fits in file contrib/elf2dmp: Use lduw_le_p() to read PDB contrib/elf2dmp: Use rol64() to decode MAINTAINERS: Add Akihiko Odaki as a elf2dmp reviewer contrib/elf2dmp: Use GPtrArray contrib/elf2dmp: Clamp QEMU note to file size contrib/elf2dmp: Ensure phdrs fit in file Ani Sinha (1): docs: update copyright date to the year 2024 Peter Maydell (1): hw/arm: Deprecate various old Arm machine types MAINTAINERS | 1 + docs/about/deprecated.rst | 15 ++++ docs/conf.py | 2 +- contrib/elf2dmp/addrspace.h | 6 +- contrib/elf2dmp/download.h | 2 +- contrib/elf2dmp/pdb.h | 2 +- contrib/elf2dmp/qemu_elf.h | 2 +- include/qemu/help-texts.h | 2 +- contrib/elf2dmp/addrspace.c | 63 ++++++++++------- contrib/elf2dmp/download.c | 12 ++-- contrib/elf2dmp/main.c | 168 ++++++++++++++++++++------------------------ contrib/elf2dmp/pdb.c | 61 +++++++--------- contrib/elf2dmp/qemu_elf.c | 150 ++++++++++++++++++++++----------------- hw/arm/gumstix.c | 2 + hw/arm/mainstone.c | 1 + hw/arm/nseries.c | 2 + hw/arm/palm.c | 1 + hw/arm/spitz.c | 1 + hw/arm/tosa.c | 1 + hw/arm/z2.c | 1 + 20 files changed, 263 insertions(+), 232 deletions(-) . Date: Mon, 11 Mar 2024 17:58:51 -0400 From: peterx@redhat.com To: qemu-devel@nongnu.org, Peter Maydell Cc: Paolo Bonzini , peterx@redhat.com, Fabiano Rosas , David Hildenbrand , Prasad Pandit Subject: [PULL 00/34] Migration 20240311 patches From: Peter Xu The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240311-pull-request for you to fetch changes up to 1815338df00fd0a3fe25085564c6966f74c8f43d: migration/multifd: Add new migration test cases for legacy zero page checking. (2024-03-11 16:57:09 -0400) ---------------------------------------------------------------- Migration pull request - Avihai's fix to allow vmstate iterators to not starve for VFIO - Maksim's fix on additional check on precopy load error - Fabiano's fix on fdatasync() hang in mapped-ram - Jonathan's fix on vring cached access over MMIO regions - Cedric's cleanup patches 1-4 out of his error report series - Yu's fix for RDMA migration (which used to be broken even for 8.2) - Anthony's small cleanup/fix on err message - Steve's patches on privatize migration.h - Xiang's patchset to enable zero page detections in multifd threads ---------------------------------------------------------------- Anthony PERARD (1): migration: Fix format in error message Avihai Horon (3): migration: Don't serialize devices in qemu_savevm_state_iterate() vfio/migration: Refactor vfio_save_state() return value vfio/migration: Add a note about migration rate limiting Cédric Le Goater (4): migration: Report error when shutdown fails migration: Remove SaveStateHandler and LoadStateHandler typedefs migration: Add documentation for SaveVMHandlers migration: Do not call PRECOPY_NOTIFY_SETUP notifiers in case of error Fabiano Rosas (3): migration/multifd: Don't fsync when closing QIOChannelFile migration/multifd: Allow zero pages in file migration migration/multifd: Allow clearing of the file_bmap from multifd Hao Xiang (5): migration/multifd: Add new migration option zero-page-detection. migration/multifd: Implement zero page transmission on the multifd thread. migration/multifd: Implement ram_save_target_page_multifd to handle multifd version of MigrationOps::ram_save_target_page. migration/multifd: Enable multifd zero page checking by default. migration/multifd: Add new migration test cases for legacy zero page checking. Jonathan Cameron (4): physmem: Rename addr1 to more informative mr_addr in flatview_read/write() and similar physmem: Reduce local variable scope in flatview_read/write_continue() physmem: Factor out body of flatview_read/write_continue() loop physmem: Fix wrong address in large address_space_read/write_cached_slow() Maksim Davydov (1): migration/ram: add additional check Steve Sistare (12): migration: export fewer options migration: remove migration.h references migration: export migration_is_setup_or_active migration: export migration_is_active migration: export migration_is_running migration: export vcpu_dirty_limit_period migration: migration_thread_is_self migration: migration_is_device migration: migration_file_set_error migration: privatize colo interfaces migration: delete unused accessors migration: purge MigrationState from public interface Yu Zhang (1): migration/rdma: Fix a memory issue for migration docs/devel/migration/main.rst | 3 +- qapi/migration.json | 38 +++- include/hw/qdev-properties-system.h | 4 + include/migration/client-options.h | 25 +++ include/migration/misc.h | 18 +- include/migration/register.h | 267 +++++++++++++++++++++++++--- include/qemu/typedefs.h | 2 - migration/migration.h | 7 +- migration/multifd.h | 23 ++- migration/options.h | 7 +- migration/ram.h | 3 +- hw/core/machine.c | 4 +- hw/core/qdev-properties-system.c | 10 ++ hw/vfio/common.c | 17 +- hw/vfio/container.c | 1 - hw/vfio/migration.c | 24 ++- hw/virtio/vhost-user.c | 1 - hw/virtio/virtio-balloon.c | 2 - io/channel-file.c | 5 - migration/colo.c | 17 +- migration/file.c | 4 +- migration/migration-hmp-cmds.c | 9 + migration/migration.c | 67 ++++--- migration/multifd-zero-page.c | 87 +++++++++ migration/multifd-zlib.c | 21 ++- migration/multifd-zstd.c | 20 ++- migration/multifd.c | 120 ++++++++++--- migration/options.c | 32 +++- migration/qemu-file.c | 5 +- migration/ram.c | 62 +++++-- migration/rdma.c | 2 +- migration/savevm.c | 23 +-- net/colo-compare.c | 3 +- net/vhost-vdpa.c | 3 +- stubs/colo.c | 1 - system/dirtylimit.c | 13 +- system/physmem.c | 260 +++++++++++++++++---------- system/qdev-monitor.c | 1 - target/loongarch/kvm/kvm.c | 1 - target/riscv/kvm/kvm-cpu.c | 4 +- tests/qtest/migration-test.c | 52 ++++++ tests/unit/test-vmstate.c | 1 - migration/meson.build | 1 + migration/trace-events | 8 +- 44 files changed, 981 insertions(+), 297 deletions(-) create mode 100644 include/migration/client-options.h create mode 100644 migration/multifd-zero-page.c -- 2.44.0 . Date: Tue, 12 Mar 2024 09:22:25 +0100 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-arm@nongnu.org, qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/13] Misc HW patches for 2024-03-12 The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240312 for you to fetch changes up to afc8b05cea14b2eea6f1eaa640f74b21486fca48: docs/about/deprecated.rst: Move SMP configurations item to system emulator section (2024-03-12 09:19:04 +0100) ---------------------------------------------------------------- Misc HW patch queue - Rename hw/ide/ahci-internal.h for consistency (Zoltan) - More convenient PCI hotplug trace events (Vladimir) - Short CLI option to add drives for sam460ex machine (Zoltan) - More missing ERRP_GUARD() macros (Zhao) - Avoid faulting when unmapped I/O BAR is accessed on SPARC EBUS (Mark) - Remove unused includes in hw/core/ (Zhao) - New PCF8574 GPIO over I2C model (Dmitriy) - Require ObjC on Darwin macOS by default (Peter) - Corrected "-smp parameter=1" placement in docs/ (Zhao) ---------------------------------------------------------------- BALATON Zoltan (2): hw/ide/ahci: Rename ahci_internal.h to ahci-internal.h hw/ppc/sam460ex: Support short options for adding drives Dmitriy Sharikhin (1): hw/gpio: introduce pcf8574 driver Mark Cave-Ayland (1): sun4u: remap ebus BAR0 to use unassigned_io_ops instead of alias to PCI IO space Peter Maydell (1): meson.build: Always require an objc compiler on macos hosts Vladimir Sementsov-Ogievskiy (1): hw/pci: add some convenient trace-events for pcie and shpc hotplug Zhao Liu (7): hw/core/loader-fit: Fix missing ERRP_GUARD() for error_prepend() hw/core/qdev-properties-system: Fix missing ERRP_GUARD() for error_prepend() hw/misc/ivshmem: Fix missing ERRP_GUARD() for error_prepend() hw/core: Cleanup unused included headers in cpu-common.c hw/core: Cleanup unused included header in machine-qmp-cmds.c hw/core: Cleanup unused included headers in numa.c docs/about/deprecated.rst: Move SMP configurations item to system emulator section MAINTAINERS | 6 + docs/about/deprecated.rst | 20 +-- meson.build | 2 +- hw/ide/{ahci_internal.h => ahci-internal.h} | 0 include/hw/gpio/pcf8574.h | 15 ++ hw/core/cpu-common.c | 4 - hw/core/loader-fit.c | 2 + hw/core/machine-qmp-cmds.c | 1 - hw/core/numa.c | 2 - hw/core/qdev-properties-system.c | 1 + hw/gpio/pcf8574.c | 162 ++++++++++++++++++++ hw/ide/ahci.c | 2 +- hw/ide/ich.c | 2 +- hw/misc/ivshmem.c | 1 + hw/pci/pcie.c | 56 +++++++ hw/pci/shpc.c | 46 ++++++ hw/ppc/sam460ex.c | 24 ++- hw/sparc64/sun4u.c | 9 +- hw/gpio/Kconfig | 4 + hw/gpio/meson.build | 1 + hw/pci/trace-events | 6 + 21 files changed, 339 insertions(+), 27 deletions(-) rename hw/ide/{ahci_internal.h => ahci-internal.h} (100%) create mode 100644 include/hw/gpio/pcf8574.h create mode 100644 hw/gpio/pcf8574.c -- 2.41.0 . Date: Tue, 12 Mar 2024 11:25:24 +0000 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL for 9.0 0/8] final maintainer updates (testing, gdbstub) The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-final-120324-1 for you to fetch changes up to 0532045e8112c13a8a949e696576672e64c6fa14: gdbstub: Fix double close() of the follow-fork-mode socket (2024-03-12 10:48:35 +0000) ---------------------------------------------------------------- final updates for 9.0 (testing, gdbstub): - avoid transferring pointless git data - fix the over rebuilding of test VMs - support Xfer:siginfo:read in gdbstub - fix double close() in gdbstub ---------------------------------------------------------------- Alex Bennée (2): gitlab: aggressively avoid extra GIT data tests/vm: ensure we build everything by default Gustavo Romero (5): gdbstub: Rename back gdb_handlesig linux-user: Move tswap_siginfo out of target code gdbstub: Save target's siginfo gdbstub: Add Xfer:siginfo:read stub tests/tcg: Add multiarch test for Xfer:siginfo:read stub Ilya Leoshkevich (1): gdbstub: Fix double close() of the follow-fork-mode socket gdbstub/internals.h | 1 + include/gdbstub/user.h | 19 +++------ linux-user/signal-common.h | 2 - bsd-user/main.c | 2 +- bsd-user/signal.c | 5 ++- gdbstub/gdbstub.c | 8 ++++ gdbstub/user.c | 49 +++++++++++++++++++--- linux-user/aarch64/signal.c | 2 +- linux-user/alpha/signal.c | 2 +- linux-user/arm/signal.c | 2 +- linux-user/hexagon/signal.c | 2 +- linux-user/hppa/signal.c | 2 +- linux-user/i386/signal.c | 6 +-- linux-user/loongarch64/signal.c | 2 +- linux-user/m68k/signal.c | 4 +- linux-user/main.c | 2 +- linux-user/microblaze/signal.c | 2 +- linux-user/mips/signal.c | 4 +- linux-user/nios2/signal.c | 2 +- linux-user/openrisc/signal.c | 2 +- linux-user/ppc/signal.c | 4 +- linux-user/riscv/signal.c | 2 +- linux-user/s390x/signal.c | 2 +- linux-user/sh4/signal.c | 2 +- linux-user/signal.c | 15 +++++-- linux-user/sparc/signal.c | 2 +- linux-user/xtensa/signal.c | 2 +- tests/tcg/multiarch/segfault.c | 14 +++++++ .gitlab-ci.d/base.yml | 4 ++ .gitlab-ci.d/buildtest-template.yml | 1 + .gitlab-ci.d/buildtest.yml | 2 + .gitlab-ci.d/windows.yml | 2 + tests/tcg/multiarch/Makefile.target | 10 ++++- .../multiarch/gdbstub/test-qxfer-siginfo-read.py | 26 ++++++++++++ tests/vm/basevm.py | 2 +- 35 files changed, 158 insertions(+), 52 deletions(-) create mode 100644 tests/tcg/multiarch/segfault.c create mode 100644 tests/tcg/multiarch/gdbstub/test-qxfer-siginfo-read.py -- 2.39.2 . Date: Tue, 12 Mar 2024 19:36:34 +0800 From: Jason Wang To: qemu-devel@nongnu.org, peter.maydell@linaro.org Cc: Jason Wang Subject: [PULL 0/8] Net patches The following changes since commit 05ec974671200814fa5c1d5db710e0e4b88a40af: Merge tag 'm68k-for-9.0-pull-request' of https://github.com/vivier/qemu-m68k into staging (2024-03-11 18:42:53 +0000) are available in the Git repository at: https://github.com/jasowang/qemu.git tags/net-pull-request for you to fetch changes up to 0cc14182aba961f4c34a21dd202ce6e4a87470f5: ebpf: Updated eBPF program and skeleton. (2024-03-12 19:31:47 +0800) ---------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmXwPUAACgkQ7wSWWzmN YhFnIwgAgctDniJwlRxXB01eVlzXz7IulHnpSby07XEJxENSpGB8ufaeE4eK5gJy NVK6C2+1EU2vRxm4oIdcvtN4C4/jtRbYYjiSTx7eE4FmSkqshSnR5XCV72LDqG3i WbzInjMvYfysmcMXLfrWgxOnVew9WqEzlpEWlc7FfNKnkzBVf+JDztfqCUx0XM7H qefw4ImjqQw993QxJpipXC7aEGUyouB0RIBB71FkCa9ihlh9x7W68evbOI/jTn5q HWuStgS02sKHjRFliMbdbMY77FNUz4Yroo/GKSvGt64atxkQSJqPNAV+/9n18LNy QAH5eK6cXFPOIAaYpADU5kHDVVAFiw== =iBdx -----END PGP SIGNATURE----- ---------------------------------------------------------------- Andrew Melnychenko (5): ebpf: Added eBPF map update through mmap. ebpf: Added eBPF initialization by fds. virtio-net: Added property to load eBPF RSS with fds. qmp: Added new command to retrieve eBPF blob. ebpf: Updated eBPF program and skeleton. Laurent Vivier (2): igb: fix link state on resume e1000e: fix link state on resume Nick Briggs (1): Avoid unaligned fetch in ladr_match() ebpf/ebpf.c | 69 +++ ebpf/ebpf.h | 29 + ebpf/ebpf_rss-stub.c | 6 + ebpf/ebpf_rss.c | 149 ++++- ebpf/ebpf_rss.h | 10 + ebpf/meson.build | 2 +- ebpf/rss.bpf.skeleton.h | 1343 ++++++++++++++++++++-------------------- ebpf/trace.h | 1 - hw/net/e1000e_core.c | 60 +- hw/net/e1000e_core.h | 2 - hw/net/igb_core.c | 51 +- hw/net/igb_core.h | 2 - hw/net/pcnet.c | 2 +- hw/net/virtio-net.c | 54 +- include/hw/virtio/virtio-net.h | 2 + meson.build | 10 +- qapi/ebpf.json | 66 ++ qapi/meson.build | 1 + qapi/qapi-schema.json | 1 + tools/ebpf/rss.bpf.c | 7 +- 20 files changed, 1058 insertions(+), 809 deletions(-) create mode 100644 ebpf/ebpf.c create mode 100644 ebpf/ebpf.h delete mode 100644 ebpf/trace.h create mode 100644 qapi/ebpf.json . Date: Tue, 12 Mar 2024 13:42:44 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/55] Misc ERRP_GUARD() and cpu_env() patches The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-03-12 for you to fetch changes up to 42e62aadfdcc44215482a85da55dc4758775d790: user: Prefer fast cpu_env() over slower CPU QOM cast macro (2024-03-12 12:04:25 +0100) ---------------------------------------------------------------- * Add missing ERRP_GUARD() statements in functions that need it * Prefer fast cpu_env() over slower CPU QOM cast macro ---------------------------------------------------------------- Philippe Mathieu-Daudé (22): bulk: Access existing variables initialized to &S->F when available hw/core: Declare CPUArchId::cpu as CPUState instead of Object bulk: Call in place single use cpu_env() target: Replace CPU_GET_CLASS(cpu -> obj) in cpu_reset_hold() handler target/alpha: Prefer fast cpu_env() over slower CPU QOM cast macro target/avr: Prefer fast cpu_env() over slower CPU QOM cast macro target/cris: Prefer fast cpu_env() over slower CPU QOM cast macro target/hexagon: Prefer fast cpu_env() over slower CPU QOM cast macro target/i386/hvf: Use CPUState typedef target/loongarch: Prefer fast cpu_env() over slower CPU QOM cast macro target/m68k: Prefer fast cpu_env() over slower CPU QOM cast macro target/microblaze: Prefer fast cpu_env() over slower CPU QOM cast macro target/mips: Prefer fast cpu_env() over slower CPU QOM cast macro target/nios2: Prefer fast cpu_env() over slower CPU QOM cast macro target/openrisc: Prefer fast cpu_env() over slower CPU QOM cast macro target/ppc: Prefer fast cpu_env() over slower CPU QOM cast macro target/rx: Prefer fast cpu_env() over slower CPU QOM cast macro target/sh4: Prefer fast cpu_env() over slower CPU QOM cast macro target/sparc: Prefer fast cpu_env() over slower CPU QOM cast macro target/tricore: Prefer fast cpu_env() over slower CPU QOM cast macro target/xtensa: Prefer fast cpu_env() over slower CPU QOM cast macro user: Prefer fast cpu_env() over slower CPU QOM cast macro Zhao Liu (33): hw/cxl/cxl-host: Fix missing ERRP_GUARD() in cxl_fixed_memory_window_config() hw/display/macfb: Fix missing ERRP_GUARD() in macfb_nubus_realize() hw/mem/cxl_type3: Fix missing ERRP_GUARD() in ct3_realize() hw/misc/xlnx-versal-trng: Check returned bool in trng_prop_fault_event_set() hw/pci-bridge/cxl_upstream: Fix missing ERRP_GUARD() in cxl_usp_realize() hw/intc: Check @errp to handle the error of IOAPICCommonClass.realize() error: Add error_vprepend() in comment of ERRP_GUARD() rules backends/iommufd: Fix missing ERRP_GUARD() for error_prepend() block: Fix missing ERRP_GUARD() for error_prepend() block/copy-before-write: Fix missing ERRP_GUARD() for error_prepend() block/nbd: Fix missing ERRP_GUARD() for error_prepend() block/nvme: Fix missing ERRP_GUARD() for error_prepend() block/qcow2-bitmap: Fix missing ERRP_GUARD() for error_prepend() block/qcow2: Fix missing ERRP_GUARD() for error_prepend() block/qed: Fix missing ERRP_GUARD() for error_prepend() block/snapshot: Fix missing ERRP_GUARD() for error_prepend() block/vdi: Fix missing ERRP_GUARD() for error_prepend() block/vmdk: Fix missing ERRP_GUARD() for error_prepend() block/virtio-blk: Fix missing ERRP_GUARD() for error_prepend() hw/scsi/vhost-scsi: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/ap: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/container: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/helpers: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/iommufd: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/pci-quirks: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/pci: Fix missing ERRP_GUARD() for error_prepend() hw/vfio/platform: Fix missing ERRP_GUARD() for error_prepend() hw/virtio/vhost-vsock: Fix missing ERRP_GUARD() for error_prepend() hw/virtio/vhost: Fix missing ERRP_GUARD() for error_prepend() migration/option: Fix missing ERRP_GUARD() for error_prepend() net/vhost-vdpa: Fix missing ERRP_GUARD() for error_prepend() target/s390x/cpu_models: Fix missing ERRP_GUARD() for error_prepend() error: Move ERRP_GUARD() to the beginning of the function include/hw/boards.h | 2 +- include/qapi/error.h | 2 +- target/i386/hvf/x86.h | 26 ++++++++++----------- target/i386/hvf/x86_descr.h | 14 +++++------ target/i386/hvf/x86_emu.h | 4 ++-- target/i386/hvf/x86_mmu.h | 6 ++--- accel/tcg/cpu-exec.c | 3 +-- backends/iommufd.c | 1 + block.c | 6 ++++- block/copy-before-write.c | 1 + block/nbd.c | 1 + block/nvme.c | 3 +++ block/qapi.c | 6 ++--- block/qcow2-bitmap.c | 1 + block/qcow2.c | 2 ++ block/qed.c | 1 + block/snapshot.c | 2 ++ block/vdi.c | 1 + block/vmdk.c | 1 + bsd-user/signal.c | 3 +-- hw/block/virtio-blk.c | 1 + hw/core/machine.c | 4 ++-- hw/cxl/cxl-host.c | 1 + hw/display/ati.c | 2 +- hw/display/macfb.c | 1 + hw/i386/x86.c | 2 +- hw/intc/ioapic_common.c | 4 ++++ hw/loongarch/virt.c | 2 +- hw/mem/cxl_type3.c | 1 + hw/misc/macio/pmu.c | 3 +-- hw/misc/pvpanic-pci.c | 2 +- hw/misc/xlnx-versal-trng.c | 3 +-- hw/pci-bridge/cxl_root_port.c | 2 +- hw/pci-bridge/cxl_upstream.c | 1 + hw/ppc/mpc8544_guts.c | 3 +-- hw/ppc/pnv.c | 23 +++++++++--------- hw/ppc/pnv_xscom.c | 5 +--- hw/ppc/ppce500_spin.c | 3 +-- hw/ppc/spapr.c | 8 +++---- hw/ppc/spapr_caps.c | 7 ++---- hw/s390x/s390-virtio-ccw.c | 4 ++-- hw/scsi/vhost-scsi.c | 1 + hw/vfio/ap.c | 1 + hw/vfio/container.c | 1 + hw/vfio/helpers.c | 3 +++ hw/vfio/iommufd.c | 1 + hw/vfio/pci-quirks.c | 2 ++ hw/vfio/pci.c | 2 ++ hw/vfio/platform.c | 1 + hw/virtio/vhost-user-scmi.c | 6 ++--- hw/virtio/vhost-vsock.c | 1 + hw/virtio/vhost.c | 2 ++ hw/virtio/virtio-pci.c | 2 +- hw/xen/xen_pt.c | 6 ++--- linux-user/i386/cpu_loop.c | 4 ++-- linux-user/signal.c | 6 ++--- migration/multifd-zlib.c | 2 +- migration/options.c | 4 +++- migration/postcopy-ram.c | 4 ++-- net/vhost-vdpa.c | 4 ++-- target/alpha/cpu.c | 31 ++++++------------------- target/alpha/gdbstub.c | 6 ++--- target/alpha/helper.c | 15 ++++-------- target/alpha/mem_helper.c | 11 +++------ target/alpha/translate.c | 4 ++-- target/arm/cpu.c | 18 +++++++-------- target/arm/kvm.c | 2 +- target/arm/machine.c | 6 ++--- target/avr/cpu.c | 29 +++++++---------------- target/avr/gdbstub.c | 6 ++--- target/avr/helper.c | 10 +++----- target/avr/translate.c | 3 +-- target/cris/cpu.c | 12 ++++------ target/cris/gdbstub.c | 9 +++----- target/cris/helper.c | 12 ++++------ target/cris/translate.c | 6 ++--- target/hexagon/cpu.c | 27 ++++++---------------- target/hexagon/gdbstub.c | 6 ++--- target/hppa/mem_helper.c | 3 +-- target/hppa/translate.c | 3 +-- target/i386/cpu.c | 14 +++++------ target/i386/hvf/x86.c | 26 ++++++++++----------- target/i386/hvf/x86_descr.c | 11 +++++---- target/i386/hvf/x86_mmu.c | 14 +++++------ target/i386/hvf/x86hvf.c | 2 +- target/i386/nvmm/nvmm-all.c | 6 ++--- target/i386/whpx/whpx-all.c | 18 +++++---------- target/loongarch/cpu.c | 41 +++++++++------------------------ target/loongarch/cpu_helper.c | 3 +-- target/loongarch/gdbstub.c | 6 ++--- target/loongarch/kvm/kvm.c | 41 ++++++++++----------------------- target/loongarch/tcg/tlb_helper.c | 3 +-- target/loongarch/tcg/translate.c | 3 +-- target/m68k/cpu.c | 37 +++++++++++------------------ target/m68k/gdbstub.c | 6 ++--- target/m68k/helper.c | 8 +++---- target/m68k/m68k-semi.c | 6 ++--- target/m68k/op_helper.c | 11 +++------ target/m68k/translate.c | 3 +-- target/microblaze/cpu.c | 6 ++--- target/microblaze/gdbstub.c | 3 +-- target/microblaze/helper.c | 3 +-- target/microblaze/translate.c | 6 ++--- target/mips/cpu.c | 17 ++++---------- target/mips/gdbstub.c | 6 ++--- target/mips/kvm.c | 27 ++++++++-------------- target/mips/sysemu/physaddr.c | 3 +-- target/mips/tcg/exception.c | 3 +-- target/mips/tcg/op_helper.c | 8 +++---- target/mips/tcg/sysemu/special_helper.c | 3 +-- target/mips/tcg/sysemu/tlb_helper.c | 6 ++--- target/mips/tcg/translate.c | 3 +-- target/nios2/cpu.c | 17 ++++---------- target/nios2/helper.c | 3 +-- target/nios2/nios2-semi.c | 6 ++--- target/nios2/translate.c | 3 +-- target/openrisc/cpu.c | 8 +++---- target/openrisc/gdbstub.c | 6 ++--- target/openrisc/interrupt.c | 6 ++--- target/openrisc/translate.c | 6 ++--- target/ppc/cpu_init.c | 23 ++++++++---------- target/ppc/excp_helper.c | 3 +-- target/ppc/gdbstub.c | 12 ++++------ target/ppc/kvm.c | 20 +++++++--------- target/ppc/ppc-qmp-cmds.c | 3 +-- target/ppc/user_only_helper.c | 3 +-- target/riscv/cpu.c | 2 +- target/rx/cpu.c | 6 ++--- target/rx/gdbstub.c | 6 ++--- target/rx/helper.c | 6 ++--- target/rx/translate.c | 6 ++--- target/s390x/cpu_models.c | 2 ++ target/sh4/cpu.c | 22 +++++++----------- target/sh4/gdbstub.c | 6 ++--- target/sh4/helper.c | 14 ++++------- target/sh4/op_helper.c | 4 +--- target/sh4/translate.c | 6 ++--- target/sparc/cpu.c | 21 ++++++----------- target/sparc/gdbstub.c | 3 +-- target/sparc/int32_helper.c | 3 +-- target/sparc/int64_helper.c | 3 +-- target/sparc/ldst_helper.c | 6 ++--- target/sparc/mmu_helper.c | 15 ++++-------- target/sparc/translate.c | 9 +++----- target/tricore/cpu.c | 28 ++++++---------------- target/tricore/gdbstub.c | 6 ++--- target/tricore/helper.c | 3 +-- target/tricore/translate.c | 3 +-- target/xtensa/cpu.c | 9 ++++---- target/xtensa/dbg_helper.c | 3 +-- target/xtensa/exc_helper.c | 3 +-- target/xtensa/gdbstub.c | 6 ++--- target/xtensa/helper.c | 9 +++----- target/xtensa/translate.c | 6 ++--- 154 files changed, 436 insertions(+), 692 deletions(-) . Date: Tue, 12 Mar 2024 14:41:04 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/4] Error reporting patches for 2024-03-12 The following changes since commit 05ec974671200814fa5c1d5db710e0e4b88a40af: Merge tag 'm68k-for-9.0-pull-request' of https://github.com/vivier/qemu-m68k into staging (2024-03-11 18:42:53 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-error-2024-03-12 for you to fetch changes up to 28054406715a90e3fab96d4a29190e8857e57fbc: target/loongarch: Fix query-cpu-model-expansion to reject props (2024-03-12 14:03:37 +0100) ---------------------------------------------------------------- Error reporting patches for 2024-03-12 ---------------------------------------------------------------- Markus Armbruster (4): target: Simplify type checks for CpuModelInfo member @props target/i386: Fix query-cpu-model-expansion to reject props target: Improve error reporting for CpuModelInfo member @props target/loongarch: Fix query-cpu-model-expansion to reject props target/arm/arm-qmp-cmds.c | 16 ++++------------ target/i386/cpu-sysemu.c | 34 +++++++++++++++++++++++++--------- target/loongarch/loongarch-qmp-cmds.c | 18 +++++++++++++++++- target/riscv/riscv-qmp-cmds.c | 20 ++++++-------------- target/s390x/cpu_models_sysemu.c | 31 +++++++++++++------------------ tests/qtest/arm-cpu-features.c | 13 +++++++------ 6 files changed, 72 insertions(+), 60 deletions(-) -- 2.44.0 . Date: Tue, 12 Mar 2024 18:02:11 +0400 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Gerd Hoffmann , "Michael S. Tsirkin" Subject: [PULL 0/5] UI patches From: Marc-André Lureau The following changes since commit 8f3f329f5e0117bd1a23a79ab751f8a7d3471e4b: Merge tag 'migration-20240311-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-03-12 11:35:41 +0000) 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 dfcf74fa68c88233209aafc5f82728d0b9a1af5c: virtio-gpu: fix scanout migration post-load (2024-03-12 17:57:58 +0400) ---------------------------------------------------------------- display/ui: pending fixes - ui/vnc: Respect bound console - ui/dbus: optimize a bit message queuing - virtio-gpu: fix blob scanout post-load ---------------------------------------------------------------- Akihiko Odaki (1): ui/vnc: Respect bound console Marc-André Lureau (4): ui/dbus: factor out sending a scanout ui/dbus: filter out pending messages when scanout virtio-gpu: remove needless condition virtio-gpu: fix scanout migration post-load include/hw/virtio/virtio-gpu.h | 1 + hw/display/virtio-gpu.c | 58 ++++++++++++++++++-------- ui/dbus-listener.c | 75 ++++++++++++++++++++++++++-------- ui/vnc.c | 59 +++++++++++++------------- ui/trace-events | 1 + 5 files changed, 130 insertions(+), 64 deletions(-) -- 2.44.0 . Date: Tue, 12 Mar 2024 14:27:54 +0000 From: Anthony PERARD To: qemu-devel@nongnu.org Subject: [PULL 0/3] Xen queue 2024-03-12 The following changes since commit 8f3f329f5e0117bd1a23a79ab751f8a7d3471e4b: Merge tag 'migration-20240311-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-03-12 11:35:41 +0000) are available in the Git repository at: https://xenbits.xen.org/git-http/people/aperard/qemu-dm.git tags/pull-xen-20240312 for you to fetch changes up to 918a7f706b69a8c725bac0694971d2831f688ebb: i386: load kernel on xen using DMA (2024-03-12 14:13:08 +0000) ---------------------------------------------------------------- Xen queue: * In Xen PCI passthrough, emulate multifunction bit. * Fix in Xen mapcache. * Improve performance of kernel+initrd loading in an Xen HVM Direct Kernel Boot scenario. ---------------------------------------------------------------- Marek Marczykowski-Górecki (1): i386: load kernel on xen using DMA Peng Fan (1): xen: Drop out of coroutine context xen_invalidate_map_cache_entry Ross Lagerwall (1): xen/pt: Emulate multifunction bit in header type hw/i386/pc.c | 3 ++- hw/xen/xen-mapcache.c | 30 ++++++++++++++++++++++++++++-- hw/xen/xen_pt_config_init.c | 7 +++++-- 3 files changed, 35 insertions(+), 5 deletions(-) . Date: Wed, 13 Mar 2024 02:58:11 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Harsh Prateek Bora Subject: [PULL 00/38] ppc-for-9.0-2 queue The following changes since commit 35ac6831d98e18e2c78c85c93e3a6ca1f1ae3e58: Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging (2024-03-12 13:42:57 +0000) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-2-20240313 for you to fetch changes up to e1617b845104032f0aaad9b91dcda56c7c437998: spapr: nested: Introduce cap-nested-papr for Nested PAPR API (2024-03-13 02:47:04 +1000) ---------------------------------------------------------------- * PAPR nested hypervisor host implementation for spapr TCG * excp_helper.c code cleanups and improvements * Move more ops to decodetree * Deprecate pseries-2.12 machines and P9 and P10 DD1.0 CPUs * Document running Linux on AmigaNG * Update dt feature advertising POWER CPUs. * Add P10 PMU SPRs * Improve pnv topology calculation for SMT8 CPUs. * Various bug fixes. ---------------------------------------------------------------- BALATON Zoltan (8): docs/system/ppc: Document running Linux on AmigaNG machines target/ppc: Use env_cpu for cpu_abort in excp_helper target/ppc: Readability improvements in exception handlers target/ppc: Add gen_exception_err_nip() function target/ppc: Clean up ifdefs in excp_helper.c, part 1 target/ppc: Clean up ifdefs in excp_helper.c, part 2 target/ppc: Clean up ifdefs in excp_helper.c, part 3 target/ppc: Remove interrupt handler wrapper functions Benjamin Gray (1): ppc/spapr: Add pa-features for POWER10 machines Caleb Schlossin (1): ppc/pnv: Improve pervasive topology calculation for big-core Chinmay Rath (1): target/ppc: Move add and subf type fixed-point arithmetic instructions to decodetree Cédric Le Goater (1): MAINTAINERS: Remove myself as reviewer from PPC Harsh Prateek Bora (14): spapr: nested: register nested-hv api hcalls only for cap-nested-hv spapr: nested: move nested part of spapr_get_pate into spapr_nested.c spapr: nested: Introduce SpaprMachineStateNested to store related info. spapr: nested: keep nested-hv related code restricted to its API. spapr: nested: Document Nested PAPR API spapr: nested: Introduce H_GUEST_[GET|SET]_CAPABILITIES hcalls. spapr: nested: Introduce H_GUEST_[CREATE|DELETE] hcalls. spapr: nested: Introduce H_GUEST_CREATE_VCPU hcall. spapr: nested: Extend nested_ppc_state for nested PAPR API spapr: nested: Initialize the GSB elements lookup table. spapr: nested: Introduce H_GUEST_[GET|SET]_STATE hcalls. spapr: nested: Use correct source for parttbl info for nested PAPR API. spapr: nested: Introduce H_GUEST_RUN_VCPU hcall. spapr: nested: Introduce cap-nested-papr for Nested PAPR API Madhavan Srinivasan (1): target/ppc: Add power10 pmu SPRs Nicholas Piggin (10): target/ppc: Fix GDB SPR regnum indexing target/ppc: Prevent supervisor from modifying MSR[ME] spapr: set MSR[ME] and MSR[FP] on client entry ppc: Drop support for POWER9 and POWER10 DD1 chips target/ppc: POWER10 does not have transactional memory ppc/spapr|pnv: Remove SAO from pa-features ppc/spapr: Remove copy-paste from pa-features ppc/spapr: Adjust ibm,pa-features for POWER9 ppc/pnv: Permit ibm,pa-features set per machine variant ppc/pnv: Set POWER9, POWER10 ibm,pa-features bits Philippe Mathieu-Daudé (1): docs: Deprecate the pseries-2.12 machines MAINTAINERS | 4 +- docs/about/deprecated.rst | 6 +- docs/devel/nested-papr.txt | 119 +++ docs/system/ppc/amigang.rst | 161 +++ docs/system/target-ppc.rst | 1 + hw/ppc/pnv.c | 175 +++- hw/ppc/pnv_core.c | 8 +- hw/ppc/ppc.c | 10 + hw/ppc/spapr.c | 98 +- hw/ppc/spapr_caps.c | 54 + hw/ppc/spapr_cpu_core.c | 8 +- hw/ppc/spapr_hcall.c | 24 +- hw/ppc/spapr_nested.c | 1556 +++++++++++++++++++++++++++- include/hw/ppc/pnv_chip.h | 2 +- include/hw/ppc/pnv_core.h | 1 + include/hw/ppc/spapr.h | 27 +- include/hw/ppc/spapr_nested.h | 427 +++++++- target/ppc/cpu-models.c | 4 - target/ppc/cpu.h | 11 + target/ppc/cpu_init.c | 46 +- target/ppc/excp_helper.c | 418 +++----- target/ppc/gdbstub.c | 7 +- target/ppc/helper_regs.c | 5 + target/ppc/insn32.decode | 26 + target/ppc/kvm.c | 11 - target/ppc/misc_helper.c | 3 - target/ppc/translate.c | 164 +-- target/ppc/translate/fixedpoint-impl.c.inc | 70 ++ 28 files changed, 2883 insertions(+), 563 deletions(-) create mode 100644 docs/devel/nested-papr.txt create mode 100644 docs/system/ppc/amigang.rst . Date: Tue, 12 Mar 2024 18:26:23 +0100 From: Klaus Jensen To: Peter Maydell , qemu-devel@nongnu.org Cc: Eduardo Habkost , qemu-block@nongnu.org, Yanan Wang , Keith Busch , Klaus Jensen , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Jesper Devantier , Klaus Jensen Subject: [PULL v2 0/6] hw/nvme updates From: Klaus Jensen Hi, Sorry about the compilation error in v1. Did a full CI run for v2. https://gitlab.com/birkelund/qemu/-/pipelines/1210559370 The following changes since commit 8f3f329f5e0117bd1a23a79ab751f8a7d3471e4b: Merge tag 'migration-20240311-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-03-12 11:35:41 +0000) 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 fa905f65c5549703279f68c253914799b10ada47: hw/nvme: add machine compatibility parameter to enable msix exclusive bar (2024-03-12 16:05:53 +0100) ---------------------------------------------------------------- hw/nvme updates -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmXwj+wACgkQTeGvMW1P DelOsAf+Jg51zf3vtWpe4MS/WtULjSr5GtnXMJ5hkHS0WdKOiLW3P+pUZXbsohmh faVlYeCWptF1CFGfxBf4Trc7XzJy8J6W1YJEofs/07hIAnazo9pwk5shoVu4oiex HVsBg7/9y7DuiEEg1MRvVvW895cP60WmG1AqU63SYwrVgxZ51ZH0XNuyRhQeYC/6 OSXJ3FDYu2iJQ58uEzGEwv8vhskIpEFTdz0J6gQVxIdzFBbuk87VgZo6pqwgfMBm /65K85TgFBT4SASc7a2iSUv+iAqSCA6Jdy0VWxCYCikiv5nuPCMCrlbvqcVp+i2B GKtgfFXhtgepxx6jmYd03EkRjCrxUA== =W3gg -----END PGP SIGNATURE----- ---------------------------------------------------------------- Klaus Jensen (4): hw/nvme: fix invalid check on mcl MAINTAINERS: add Jesper as reviewer on hw/nvme hw/nvme: generalize the mbar size helper hw/nvme: add machine compatibility parameter to enable msix exclusive bar Minwoo Im (1): hw/nvme: separate 'serial' property for VFs Roque Arcudia Hernandez (1): hw/nvme: Add NVMe NGUID property MAINTAINERS | 1 + docs/system/devices/nvme.rst | 7 ++ hw/core/machine.c | 1 + hw/nvme/ctrl.c | 99 +++++++++++++------ hw/nvme/meson.build | 2 +- hw/nvme/nguid.c | 187 +++++++++++++++++++++++++++++++++++ hw/nvme/ns.c | 2 + hw/nvme/nvme.h | 27 +++-- 8 files changed, 291 insertions(+), 35 deletions(-) create mode 100644 hw/nvme/nguid.c -- 2.44.0 . Date: Tue, 12 Mar 2024 08:41:07 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/8] tcg + linux-user patch queue The following changes since commit 8f3f329f5e0117bd1a23a79ab751f8a7d3471e4b: Merge tag 'migration-20240311-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-03-12 11:35:41 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240312 for you to fetch changes up to 4fe19bbbea2cb9f1ec28cfd40cdc7f61e95a790e: tcg/aarch64: Fix tcg_out_brcond for test comparisons (2024-03-12 04:09:21 -1000) ---------------------------------------------------------------- linux-user: Add FIFREEZE and FITHAW ioctls linux-user: Implement PR_*_{CHILD_SUBREAPER,SPECULATION_CTRL,TID_ADDRESS} linux-user/elfload: Fixes for two Coverity CIDs tcg/aarch64: Fixes for two TCG_COND_TST{EQ,NE} bugs ---------------------------------------------------------------- Michael Vogt (1): linux-user: Add FIFREEZE and FITHAW ioctls Richard Henderson (7): linux-user: Implement PR_{GET,SET}_CHILD_SUBREAPER linux-user: Implement PR_{GET,SET}_SPECULATION_CTRL linux-user: Implement PR_GET_TID_ADDRESS linux-user/elfload: Don't close an unopened file descriptor linux-user/elfload: Fully initialize struct target_elf_prpsinfo tcg/aarch64: Fix tcg_out_cmp for test comparisons tcg/aarch64: Fix tcg_out_brcond for test comparisons linux-user/ioctls.h | 6 ++++++ linux-user/syscall_defs.h | 3 +++ linux-user/elfload.c | 20 +++++++++++--------- linux-user/syscall.c | 22 +++++++++++++++++----- tcg/aarch64/tcg-target.c.inc | 4 ++-- 5 files changed, 39 insertions(+), 16 deletions(-) . Date: Tue, 12 Mar 2024 15:01:42 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Mads Ynddal , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Stefan Hajnoczi , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , John Snow Subject: [PULL 0/2] Tracing patches The following changes since commit 8f3f329f5e0117bd1a23a79ab751f8a7d3471e4b: Merge tag 'migration-20240311-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-03-12 11:35:41 +0000) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request for you to fetch changes up to 2b608e16ca00017509fa2a211b7b49aacdedb760: meson: generate .stp files for tools too (2024-03-12 14:52:07 -0400) ---------------------------------------------------------------- Pull request ---------------------------------------------------------------- Daniel P. Berrangé (2): tracetool: remove redundant --target-type / --target-name args meson: generate .stp files for tools too docs/devel/tracing.rst | 3 +- meson.build | 63 +++++++++++++++++++++++++++--------------- scripts/tracetool.py | 24 ++++------------ 3 files changed, 46 insertions(+), 44 deletions(-) -- 2.44.0 . Date: Tue, 12 Mar 2024 18:25:29 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/68] virtio,pc,pci: features, cleanups, fixes The following changes since commit 7489f7f3f81dcb776df8c1b9a9db281fc21bf05f: Merge tag 'hw-misc-20240309' of https://github.com/philmd/qemu into staging (2024-03-09 20:12:21 +0000) 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 73279cecca03f7c2b4489c5fea994e7349eaafaa: docs/specs/pvpanic: document shutdown event (2024-03-12 17:59:57 -0400) ---------------------------------------------------------------- virtio,pc,pci: features, cleanups, fixes more memslots support in libvhost-user support PCIe Gen5/Gen6 link speeds in pcie more traces in vdpa network simulation devices support in vdpa SMBIOS type 9 descriptor implementation Bump max_cpus to 4096 vcpus in q35 aw-bits and granule options in VIRTIO-IOMMU Support report NUMA nodes for device memory using GI in acpi Beginning of shutdown event support in pvpanic fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (5): hw/nvme: Use pcie_sriov_num_vfs() pcie_sriov: Validate NumVFs pcie_sriov: Reset SR-IOV extended capability pcie_sriov: Do not reset NumVFs after disabling VFs hw/pci: Always call pcie_sriov_pf_reset() Albert Esteve (1): hw/virtio: check owner for removing objects Ani Sinha (1): pc: q35: Bump max_cpus to 4096 vcpus Ankit Agrawal (3): qom: new object to associate device to NUMA node hw/acpi: Implement the SRAT GI affinity structure hw/i386/acpi-build: Add support for SRAT Generic Initiator structures Bernhard Beschow (6): Revert "hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it" Revert "hw/i386/pc: Confine system flash handling to pc_sysfw" hw/i386/pc: Remove "rtc_state" link again hw/i386/pc: Avoid one use of the current_machine global hw/i386/pc: Set "normal" boot device order in pc_basic_device_init() hw/i386/pc: Inline pc_cmos_init() into pc_cmos_init_late() and remove it David Hildenbrand (14): libvhost-user: Dynamically allocate memory for memory slots libvhost-user: Bump up VHOST_USER_MAX_RAM_SLOTS to 509 libvhost-user: Factor out removing all mem regions libvhost-user: Merge vu_set_mem_table_exec_postcopy() into vu_set_mem_table_exec() libvhost-user: Factor out adding a memory region libvhost-user: No need to check for NULL when unmapping libvhost-user: Don't zero out memory for memory regions libvhost-user: Don't search for duplicates when removing memory regions libvhost-user: Factor out search for memory region by GPA and simplify libvhost-user: Speedup gpa_to_mem_region() and vu_gpa_to_va() libvhost-user: Use most of mmap_offset as fd_offset libvhost-user: Factor out vq usability check libvhost-user: Dynamically remap rings after (temporarily?) removing memory regions libvhost-user: Mark mmap'ed region memory as MADV_DONTDUMP Eric Auger (8): virtio-iommu: Add a granule property virtio-iommu: Change the default granule to the host page size qemu-options.hx: Document the virtio-iommu-pci granule option virtio-iommu: Trace domain range limits as unsigned int virtio-iommu: Add an option to define the input range width hw/i386/q35: Set virtio-iommu aw-bits default value to 39 hw/arm/virt: Set virtio-iommu aw-bits default value to 48 qemu-options.hx: Document the virtio-iommu-pci aw-bits option Eugenio Pérez (2): vdpa: stash memory region properties in vars vdpa: trace skipped memory sections Felix Wu (2): Implement base of SMBIOS type 9 descriptor. Implement SMBIOS type 9 v2.6 Hao Chen (1): hw/virtio: Add support for VDPA network simulation devices Jonathan Cameron (4): hw/pci-bridge/pxb-cxl: Drop RAS capability from host bridge. hmat acpi: Do not add Memory Proximity Domain Attributes Structure targetting non existent memory. hmat acpi: Fix out of bounds access due to missing use of indirection hw/cxl: Fix missing reserved data in CXL Device DVSEC Lukas Stockner (1): pcie: Support PCIe Gen5/Gen6 link speeds Si-Wei Liu (11): vdpa: add back vhost_vdpa_net_first_nc_vdpa vdpa: factor out vhost_vdpa_last_dev vdpa: factor out vhost_vdpa_net_get_nc_vdpa vdpa: add vhost_vdpa_set_address_space_id trace vdpa: add vhost_vdpa_get_vring_base trace for svq mode vdpa: add vhost_vdpa_set_dev_vring_base trace for svq mode vdpa: add trace events for vhost_vdpa_net_load_cmd vdpa: add trace event for vhost_vdpa_net_load_mq vdpa: define SVQ transitioning state for mode switching vdpa: indicate transitional state for SVQ switching vdpa: fix network breakage after cancelling migration Thomas Weißschuh (1): docs/specs/pvpanic: document shutdown event Volker Rümelin (1): hw/audio/virtio-sound: return correct command response size Zhao Liu (7): hw/cxl/cxl-host: Fix missing ERRP_GUARD() in cxl_fixed_memory_window_config() hw/display/macfb: Fix missing ERRP_GUARD() in macfb_nubus_realize() hw/mem/cxl_type3: Fix missing ERRP_GUARD() in ct3_realize() hw/misc/xlnx-versal-trng: Check returned bool in trng_prop_fault_event_set() hw/pci-bridge/cxl_upstream: Fix missing ERRP_GUARD() in cxl_usp_realize() hw/vfio/iommufd: Fix missing ERRP_GUARD() in iommufd_cdev_getfd() hw/intc: Check @errp to handle the error of IOAPICCommonClass.realize() qapi/common.json | 6 +- qapi/qom.json | 17 + include/hw/acpi/acpi_generic_initiator.h | 47 +++ include/hw/audio/virtio-snd.h | 1 + include/hw/cxl/cxl_component.h | 1 + include/hw/cxl/cxl_pci.h | 3 +- include/hw/firmware/smbios.h | 17 + include/hw/i386/pc.h | 4 +- include/hw/pci/pcie_regs.h | 2 + include/hw/pci/pcie_sriov.h | 4 +- include/hw/virtio/vhost-vdpa.h | 9 + include/hw/virtio/virtio-iommu.h | 3 + include/hw/virtio/virtio-pci.h | 5 + include/hw/virtio/virtio.h | 19 + include/standard-headers/linux/virtio_pci.h | 7 + include/sysemu/numa.h | 1 + subprojects/libvhost-user/libvhost-user.h | 10 +- hw/acpi/acpi_generic_initiator.c | 148 +++++++ hw/acpi/hmat.c | 15 +- hw/arm/virt-acpi-build.c | 3 + hw/arm/virt.c | 17 + hw/audio/virtio-snd.c | 7 +- hw/core/machine.c | 6 +- hw/core/numa.c | 3 +- hw/core/qdev-properties-system.c | 16 +- hw/cxl/cxl-component-utils.c | 21 +- hw/cxl/cxl-host.c | 1 + hw/display/macfb.c | 1 + hw/i386/acpi-build.c | 3 + hw/i386/pc.c | 30 +- hw/i386/pc_piix.c | 3 +- hw/i386/pc_q35.c | 14 +- hw/i386/pc_sysfw.c | 17 +- hw/intc/ioapic_common.c | 4 + hw/mem/cxl_type3.c | 1 + hw/misc/xlnx-versal-trng.c | 3 +- hw/net/igb.c | 2 - hw/net/virtio-net.c | 16 + hw/nvme/ctrl.c | 30 +- hw/pci-bridge/cxl_upstream.c | 1 + hw/pci-bridge/pci_expander_bridge.c | 2 +- hw/pci/pci.c | 1 + hw/pci/pcie.c | 8 + hw/pci/pcie_sriov.c | 32 +- hw/smbios/smbios.c | 142 +++++++ hw/vfio/iommufd.c | 1 + hw/virtio/vhost-user.c | 21 +- hw/virtio/vhost-vdpa.c | 44 +- hw/virtio/virtio-iommu.c | 36 +- hw/virtio/virtio-pci.c | 189 ++++++++- hw/virtio/virtio.c | 39 ++ net/vhost-vdpa.c | 30 +- subprojects/libvhost-user/libvhost-user.c | 601 +++++++++++++++------------- tests/qtest/virtio-iommu-test.c | 2 +- MAINTAINERS | 5 + docs/interop/vhost-user.rst | 4 +- docs/specs/pvpanic.rst | 2 + docs/system/device-emulation.rst | 1 + docs/system/devices/vdpa-net.rst | 121 ++++++ hw/acpi/meson.build | 1 + hw/virtio/trace-events | 7 +- net/trace-events | 6 + qemu-options.hx | 14 + 63 files changed, 1440 insertions(+), 387 deletions(-) create mode 100644 include/hw/acpi/acpi_generic_initiator.h create mode 100644 hw/acpi/acpi_generic_initiator.c create mode 100644 docs/system/devices/vdpa-net.rst . Date: Wed, 13 Mar 2024 11:49:06 +0000 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL v2 for 9.0 0/7] final maintainer updates (testing, gdbstub) The following changes since commit 0748129684be2773117b0b8fc3c60161abdb7bb8: Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2024-03-12 16:56:13 +0000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-final-130324-1 for you to fetch changes up to 6971998e241d8edc842b165b447f706c05166ae6: gdbstub: Fix double close() of the follow-fork-mode socket (2024-03-13 11:43:52 +0000) ---------------------------------------------------------------- final updates for 9.0 (testing, gdbstub): - fix the over rebuilding of test VMs - support Xfer:siginfo:read in gdbstub - fix double close() in gdbstub ---------------------------------------------------------------- Alex Bennée (1): tests/vm: ensure we build everything by default Gustavo Romero (5): gdbstub: Rename back gdb_handlesig linux-user: Move tswap_siginfo out of target code gdbstub: Save target's siginfo gdbstub: Add Xfer:siginfo:read stub tests/tcg: Add multiarch test for Xfer:siginfo:read stub Ilya Leoshkevich (1): gdbstub: Fix double close() of the follow-fork-mode socket gdbstub/internals.h | 1 + include/gdbstub/user.h | 19 +++------ linux-user/signal-common.h | 2 - bsd-user/main.c | 2 +- bsd-user/signal.c | 5 ++- gdbstub/gdbstub.c | 8 ++++ gdbstub/user.c | 49 +++++++++++++++++++--- linux-user/aarch64/signal.c | 2 +- linux-user/alpha/signal.c | 2 +- linux-user/arm/signal.c | 2 +- linux-user/hexagon/signal.c | 2 +- linux-user/hppa/signal.c | 2 +- linux-user/i386/signal.c | 6 +-- linux-user/loongarch64/signal.c | 2 +- linux-user/m68k/signal.c | 4 +- linux-user/main.c | 2 +- linux-user/microblaze/signal.c | 2 +- linux-user/mips/signal.c | 4 +- linux-user/nios2/signal.c | 2 +- linux-user/openrisc/signal.c | 2 +- linux-user/ppc/signal.c | 4 +- linux-user/riscv/signal.c | 2 +- linux-user/s390x/signal.c | 2 +- linux-user/sh4/signal.c | 2 +- linux-user/signal.c | 15 +++++-- linux-user/sparc/signal.c | 2 +- linux-user/xtensa/signal.c | 2 +- tests/tcg/multiarch/segfault.c | 14 +++++++ tests/tcg/multiarch/Makefile.target | 10 ++++- .../multiarch/gdbstub/test-qxfer-siginfo-read.py | 26 ++++++++++++ tests/vm/basevm.py | 2 +- 31 files changed, 149 insertions(+), 52 deletions(-) create mode 100644 tests/tcg/multiarch/segfault.c create mode 100644 tests/tcg/multiarch/gdbstub/test-qxfer-siginfo-read.py -- 2.39.2 . Date: Sun, 17 Mar 2024 16:57:53 -0400 From: peterx@redhat.com To: qemu-devel@nongnu.org, Peter Maydell Cc: Fabiano Rosas , Prasad Pandit , peterx@redhat.com, David Hildenbrand , Paolo Bonzini Subject: [PULL 00/10] Migration 20240317 patches From: Peter Xu The following changes since commit 35ac6831d98e18e2c78c85c93e3a6ca1f1ae3e58: Merge tag 'net-pull-request' of https://github.com/jasowang/qemu into staging (2024-03-12 13:42:57 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240317-pull-request for you to fetch changes up to 9adfb308c1513562d6acec02aa780c5ef9b0193d: migration/multifd: Duplicate the fd for the outgoing_args (2024-03-15 11:26:33 -0400) ---------------------------------------------------------------- Migration pull for 9.0-rc0 - Nicholas/Phil's fix on migration corruption / inconsistent for tcg - Cedric's fix on block migration over n_sectors==0 - Steve's CPR reboot documentation page - Fabiano's misc fixes on mapped-ram (IOC leak, dup() errors, fd checks, fd use race, etc.) ---------------------------------------------------------------- Cédric Le Goater (1): migration: Skip only empty block devices Fabiano Rosas (5): io: Introduce qio_channel_file_new_dupfd migration: Fix error handling after dup in file migration migration: Fix iocs leaks during file and fd migration migration/multifd: Ensure we're not given a socket for file migration migration/multifd: Duplicate the fd for the outgoing_args Nicholas Piggin (2): physmem: Factor cpu_physical_memory_dirty_bits_cleared() out physmem: Fix migration dirty bitmap coherency with TCG memory access Philippe Mathieu-Daudé (1): physmem: Expose tlb_reset_dirty_range_all() Steve Sistare (1): migration: cpr-reboot documentation docs/devel/migration/CPR.rst | 147 ++++++++++++++++++++++++++++++ docs/devel/migration/features.rst | 1 + include/exec/exec-all.h | 1 + include/exec/ram_addr.h | 12 +++ include/io/channel-file.h | 18 ++++ migration/file.h | 1 + io/channel-file.c | 12 +++ migration/block.c | 5 +- migration/fd.c | 51 ++++++----- migration/file.c | 75 +++++++++------ migration/migration.c | 6 +- system/physmem.c | 10 +- 12 files changed, 279 insertions(+), 60 deletions(-) create mode 100644 docs/devel/migration/CPR.rst -- 2.44.0 . Date: Mon, 18 Mar 2024 14:01:03 +0100 From: Kevin Wolf To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [PULL 00/15] Block layer patches The following changes since commit ba49d760eb04630e7b15f423ebecf6c871b8f77b: Merge tag 'pull-maintainer-final-130324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-13 15:12:14 +0000) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 39a94d7c34ce9d222fa9c0c99a14e20a567456d7: iotests: adapt to output change for recently introduced 'detached header' field (2024-03-18 13:33:54 +0100) ---------------------------------------------------------------- Block layer patches - mirror: Fix deadlock - nbd/server: Fix race in draining the export - qemu-img snapshot: Fix formatting with large values - Fix blockdev-snapshot-sync error reporting for no medium - iotests fixes ---------------------------------------------------------------- Abhiram Tilak (1): qemu-img: Fix Column Width and Improve Formatting in snapshot list Fiona Ebner (1): iotests: adapt to output change for recently introduced 'detached header' field Kevin Wolf (3): mirror: Don't call job_pause_point() under graph lock nbd/server: Fix race in draining the export iotests: Add test for reset/AioContext switches with NBD exports Markus Armbruster (1): blockdev: Fix blockdev-snapshot-sync error reporting for no medium Thomas Huth (9): tests/qemu-iotests: Fix test 033 for running with non-file protocols tests/qemu-iotests: Restrict test 066 to the 'file' protocol tests/qemu-iotests: Restrict test 114 to the 'file' protocol tests/qemu-iotests: Restrict test 130 to the 'file' protocol tests/qemu-iotests: Restrict test 134 and 158 to the 'file' protocol tests/qemu-iotests: Restrict test 156 to the 'file' protocol tests/qemu-iotests: Restrict tests that use --image-opts to the 'file' protocol tests/qemu-iotests: Fix some tests that use --image-opts for other protocols tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol include/qemu/job.h | 2 +- block/mirror.c | 10 ++-- block/qapi.c | 10 ++-- blockdev.c | 3 +- nbd/server.c | 15 +++-- tests/qemu-iotests/033 | 6 +- tests/qemu-iotests/066 | 2 +- tests/qemu-iotests/114 | 2 +- tests/qemu-iotests/130 | 2 +- tests/qemu-iotests/134 | 2 +- tests/qemu-iotests/156 | 2 +- tests/qemu-iotests/158 | 2 +- tests/qemu-iotests/176.out | 16 +++--- tests/qemu-iotests/188 | 2 +- tests/qemu-iotests/189 | 2 +- tests/qemu-iotests/198 | 2 +- tests/qemu-iotests/198.out | 2 + tests/qemu-iotests/206.out | 1 + tests/qemu-iotests/261 | 4 +- tests/qemu-iotests/263 | 6 +- tests/qemu-iotests/267.out | 48 ++++++++-------- tests/qemu-iotests/284 | 7 +-- tests/qemu-iotests/286 | 3 +- tests/qemu-iotests/286.out | 2 +- .../tests/detect-zeroes-registered-buf | 4 +- tests/qemu-iotests/tests/iothreads-nbd-export | 66 ++++++++++++++++++++++ tests/qemu-iotests/tests/iothreads-nbd-export.out | 19 +++++++ tests/qemu-iotests/tests/qcow2-internal-snapshots | 2 +- .../tests/qcow2-internal-snapshots.out | 14 ++--- tests/qemu-iotests/tests/qsd-jobs | 2 +- 30 files changed, 178 insertions(+), 82 deletions(-) create mode 100755 tests/qemu-iotests/tests/iothreads-nbd-export create mode 100644 tests/qemu-iotests/tests/iothreads-nbd-export.out . Date: Mon, 18 Mar 2024 12:15:26 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/24] virtio,pc,pci: bugfixes The following changes since commit ba49d760eb04630e7b15f423ebecf6c871b8f77b: Merge tag 'pull-maintainer-final-130324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-13 15:12:14 +0000) 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 bb949df637bdb6136a9acca55a2371fe1721e109: smbios: add extra comments to smbios_get_table_legacy() (2024-03-18 08:42:46 -0400) ---------------------------------------------------------------- virtio,pc,pci: bugfixes Some minor fixes plus a big patchset from Igor fixing a regression with windows. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Igor Mammedov (21): tests: smbios: make it possible to write SMBIOS only test tests: smbios: add test for -smbios type=11 option tests: smbios: add test for legacy mode CLI options smbios: cleanup smbios_get_tables() from legacy handling smbios: get rid of smbios_smp_sockets global smbios: get rid of smbios_legacy global smbios: avoid mangling user provided tables smbios: don't check type4 structures in legacy mode smbios: add smbios_add_usr_blob_size() helper smbios: rename/expose structures/bitmaps used by both legacy and modern code smbios: build legacy mode code only for 'pc' machine smbios: handle errors consistently smbios: get rid of global smbios_ep_type smbios: clear smbios_type4_count before building tables smbios: extend smbios-entry-point-type with 'auto' value smbios: in case of entry point is 'auto' try to build v2 tables 1st smbios: error out when building type 4 table is not possible tests: acpi/smbios: whitelist expected blobs pc/q35: set SMBIOS entry point type to 'auto' by default tests: acpi: update expected SSDT.dimmpxm blob smbios: add extra comments to smbios_get_table_legacy() Michael S. Tsirkin (2): SMBIOS: fix long lines qapi: document PCIe Gen5/Gen6 speeds since 9.0 Thomas Weißschuh (1): docs/specs/pvpanic: mark shutdown event as not implemented qapi/common.json | 4 +- qapi/machine.json | 5 +- hw/i386/fw_cfg.h | 3 +- include/hw/firmware/smbios.h | 28 +- hw/arm/virt.c | 6 +- hw/i386/fw_cfg.c | 14 +- hw/i386/pc.c | 4 +- hw/i386/pc_piix.c | 4 + hw/i386/pc_q35.c | 3 + hw/loongarch/virt.c | 7 +- hw/riscv/virt.c | 6 +- hw/smbios/smbios.c | 508 +++++++++++++++-------------------- hw/smbios/smbios_legacy.c | 192 +++++++++++++ hw/smbios/smbios_legacy_stub.c | 15 ++ tests/qtest/bios-tables-test.c | 81 +++++- docs/specs/pvpanic.rst | 2 +- hw/i386/Kconfig | 1 + hw/smbios/Kconfig | 2 + hw/smbios/meson.build | 4 + tests/data/acpi/q35/SSDT.dimmpxm | Bin 1815 -> 1815 bytes tests/data/smbios/type11_blob | Bin 0 -> 11 bytes tests/data/smbios/type11_blob.legacy | Bin 0 -> 10 bytes 22 files changed, 558 insertions(+), 331 deletions(-) create mode 100644 hw/smbios/smbios_legacy.c create mode 100644 hw/smbios/smbios_legacy_stub.c create mode 100644 tests/data/smbios/type11_blob create mode 100644 tests/data/smbios/type11_blob.legacy . Date: Mon, 18 Mar 2024 18:56:51 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 0/4] s390x and misc patches for 9.0-rc0 Hi Peter! The following changes since commit ba49d760eb04630e7b15f423ebecf6c871b8f77b: Merge tag 'pull-maintainer-final-130324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-13 15:12:14 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-03-18 for you to fetch changes up to aebe0a8552e8d419c8103e60e593f2778eab41c4: travis-ci: Rename SOFTMMU -> SYSTEM (2024-03-18 17:18:05 +0100) ---------------------------------------------------------------- * Clarify s390x CPU topology docs and CPU compatibility error messages * Improve the Sparc CPU help text * Rename SOFTMMU to SYSTEM in the travis.yml file ---------------------------------------------------------------- Claudio Fontana (2): docs/s390: clarify even more that cpu-topology is KVM-only target/s390x: improve cpu compatibility check error message Philippe Mathieu-Daudé (1): travis-ci: Rename SOFTMMU -> SYSTEM Thomas Huth (1): target/sparc/cpu: Improve the CPU help text docs/system/introduction.rst | 2 ++ docs/system/s390x/cpu-topology.rst | 14 ++++++++------ target/s390x/cpu_models.c | 22 +++++++++++++++------- target/sparc/cpu.c | 5 +++-- .travis.yml | 8 ++++---- 5 files changed, 32 insertions(+), 19 deletions(-) . Date: Tue, 19 Mar 2024 00:35:46 +0300 From: Maksim Davydov To: qemu-devel@nongnu.org Cc: davydov-max@yandex-team.ru, vsementsov@yandex-team.ru, peter.maydell@linaro.org, jsnow@redhat.com, philmd@linaro.org, armbru@redhat.com, peterx@redhat.com, farosas@suse.de, pbonzini@redhat.com, berrange@redhat.com, eduardo@habkost.net Subject: [PULL v2 0/4] machine development tool The following changes since commit ba49d760eb04630e7b15f423ebecf6c871b8f77b: Merge tag 'pull-maintainer-final-130324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-13 15:12:14 +0000) are available in the Git repository at: https://gitlab.com/davydov-max/qemu.git tags/pull-compare-mt-2024-03-19 for you to fetch changes up to e12b89f71ba5b93877b6a3adc379a6369d0c9bab: scripts: add script to compare compatibility properties (2024-03-19 00:13:54 +0300) ---------------------------------------------------------------- Please note. This is the first pull request from me. My public GPG key is available here https://keys.openpgp.org/vks/v1/by-fingerprint/CDB5BEEF8837142579F5CDFE8E927E10F72F78D4 ---------------------------------------------------------------- scripts: add a new script for machine development ---------------------------------------------------------------- Maksim Davydov (4): qom: add default value qmp: add dump machine type compatibility properties python/qemu/machine: add method to retrieve QEMUMachine::binary field scripts: add script to compare compatibility properties MAINTAINERS | 5 + hw/core/machine-qmp-cmds.c | 23 +- python/qemu/machine/machine.py | 5 + qapi/machine.json | 67 ++++- qom/qom-qmp-cmds.c | 1 + scripts/compare-machine-types.py | 486 +++++++++++++++++++++++++++++++ tests/qtest/fuzz/qos_fuzz.c | 2 +- 7 files changed, 585 insertions(+), 4 deletions(-) create mode 100755 scripts/compare-machine-types.py -- 2.34.1 . Date: Tue, 19 Mar 2024 15:05:13 +0100 From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PULL 0/3] for-9.0 queue The following changes since commit 4511400fb78e72d4d9916ed60e04f4e99e594f65: Merge tag 'for-upstream' of https://repo.or.cz/qemu/kevin into staging (2024-03-18 17:16:08 +0000) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-for-9.0-20240319 for you to fetch changes up to a7538ca0791880b6aeb2cc4cc8c00305e2d975f8: aspeed/smc: Only wire flash devices at reset (2024-03-19 11:58:15 +0100) ---------------------------------------------------------------- aspeed, pnv, vfio queue: * user device fixes for Aspeed and PowerNV machines * coverity fix for iommufd ---------------------------------------------------------------- Cédric Le Goater (3): vfio/iommufd: Fix memory leak ppc/pnv: I2C controller is not user creatable aspeed/smc: Only wire flash devices at reset include/hw/block/flash.h | 2 ++ hw/arm/xlnx-versal-virt.c | 3 ++- hw/block/m25p80.c | 1 - hw/ppc/pnv_i2c.c | 3 +++ hw/ssi/aspeed_smc.c | 9 +++++++++ hw/vfio/iommufd.c | 19 ++++++++----------- 6 files changed, 24 insertions(+), 13 deletions(-) . Date: Tue, 19 Mar 2024 11:09:37 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , qemu-block@nongnu.org, Kevin Wolf , Stefan Hajnoczi , Peter Maydell , Hanna Reitz Subject: [PULL 0/1] Block patches The following changes since commit ddc27d2ad9361a81c2b3800d14143bf420dae172: Merge tag 'pull-request-2024-03-18' of https://gitlab.com/thuth/qemu into staging (2024-03-19 10:25:25 +0000) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 86a637e48104ae74d8be53bed6441ce32be33433: coroutine: cap per-thread local pool size (2024-03-19 10:49:31 -0400) ---------------------------------------------------------------- Pull request This fix solves the "failed to set up stack guard page" error that has been reported on Linux hosts where the QEMU coroutine pool exceeds the vm.max_map_count limit. ---------------------------------------------------------------- Stefan Hajnoczi (1): coroutine: cap per-thread local pool size util/qemu-coroutine.c | 282 +++++++++++++++++++++++++++++++++--------- 1 file changed, 223 insertions(+), 59 deletions(-) -- 2.44.0 . Date: Tue, 19 Mar 2024 20:21:13 +0000 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini Subject: [PULL 0/8] Misc fixes patches The following changes since commit c62d54d0a8067ffb3d5b909276f7296d7df33fa7: Update version for v9.0.0-rc0 release (2024-03-19 19:13:52 +0000) are available in the Git repository at: https://gitlab.com/berrange/qemu tags/misc-fixes-pull-request for you to fetch changes up to c3b1aa1c1ae66e0174704072b1fb7d10d6e4a4b7: crypto: report which ciphers are being skipped during tests (2024-03-19 20:17:12 +0000) ---------------------------------------------------------------- * Use EPERM for seccomp filter instead of killing QEMU when an attempt to spawn child process is made * Reduce priority of POLLHUP handling for socket chardevs to increase likelihood of pending data being processed * Fix chardev I/O main loop integration when TLS is enabled * Fix broken crypto test suite when distro disables SM4 algorithm * Improve diagnosis of failed crypto tests ---------------------------------------------------------------- Daniel P. Berrangé (8): seccomp: report EPERM instead of killing process for spawn set chardev: lower priority of the HUP GSource in socket chardev Revert "chardev/char-socket: Fix TLS io channels sending too much data to the backend" Revert "chardev: use a child source for qio input source" crypto: factor out conversion of QAPI to gcrypt constants crypto: query gcrypt for cipher availability crypto: use error_abort for unexpected failures crypto: report which ciphers are being skipped during tests chardev/char-io.c | 56 +++++++++++++-- chardev/char-socket.c | 22 +++++- crypto/cipher-gcrypt.c.inc | 121 +++++++++++++++++--------------- system/qemu-seccomp.c | 10 +-- tests/unit/test-crypto-cipher.c | 7 +- 5 files changed, 145 insertions(+), 71 deletions(-) -- 2.43.0 . Date: Tue, 19 Mar 2024 14:32:14 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/9] target/hppa fixes for 9.0 The following changes since commit c62d54d0a8067ffb3d5b909276f7296d7df33fa7: Update version for v9.0.0-rc0 release (2024-03-19 19:13:52 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-pa-20240319 for you to fetch changes up to 518d2f4300e5c50a3e6416fd46e58373781a5267: target/hppa: fix do_stdby_e() (2024-03-19 14:08:02 -1000) ---------------------------------------------------------------- target/hppa: Fix load/store offset assembly for wide mode target/hppa: Fix LDCW,S shift target/hppa: Fix SHRPD conditions target/hppa: Fix access_id checks target/hppa: Exit TB after Flush Instruction Cache target/hppa: Fix MFIA result target hppa: Fix STDBY,E ---------------------------------------------------------------- Richard Henderson (3): target/hppa: Fix assemble_16 insns for wide mode target/hppa: Fix assemble_11a insns for wide mode target/hppa: Fix assemble_12a insns for wide mode Sven Schnelle (6): target/hppa: ldcw,s uses static shift of 3 target/hppa: fix shrp for wide mode target/hppa: fix access_id check target/hppa: exit tb on flush cache instructions target/hppa: mask privilege bits in mfia target/hppa: fix do_stdby_e() target/hppa/insns.decode | 55 +++++++++++++++++++-------------- target/hppa/mem_helper.c | 80 +++++++++++++++++++++++++++++++++++++----------- target/hppa/op_helper.c | 10 +++--- target/hppa/translate.c | 77 ++++++++++++++++++++++++++++++++++++++++------ 4 files changed, 166 insertions(+), 56 deletions(-) . Date: Wed, 20 Mar 2024 10:40:07 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 0/3] loongarch fixes for 9.0 The following changes since commit c62d54d0a8067ffb3d5b909276f7296d7df33fa7: Update version for v9.0.0-rc0 release (2024-03-19 19:13:52 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240320 for you to fetch changes up to 77642f92c0b71a105aba2a4d03bc62328eae703b: target/loongarch: Fix qemu-loongarch64 hang when executing 'll.d $t0, $t0, 0' (2024-03-20 10:20:08 +0800) ---------------------------------------------------------------- pull-loongarch-20240320 ---------------------------------------------------------------- Bibo Mao (1): hw/intc/loongarch_extioi: Fix interrupt routing update Song Gao (1): target/loongarch: Fix qemu-loongarch64 hang when executing 'll.d $t0, $t0, 0' Xianglai Li (1): target/loongarch: Fix tlb huge page loading issue hw/intc/loongarch_extioi.c | 2 +- target/loongarch/cpu-csr.h | 3 + target/loongarch/internals.h | 5 - target/loongarch/tcg/insn_trans/trans_atomic.c.inc | 8 +- target/loongarch/tcg/tlb_helper.c | 113 ++++++++++++++------- 5 files changed, 87 insertions(+), 44 deletions(-) . Date: Wed, 20 Mar 2024 08:08:43 +0100 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Gerd Hoffmann Subject: [PULL 0/5] Edk2 20240320 patches The following changes since commit ba49d760eb04630e7b15f423ebecf6c871b8f77b: Merge tag 'pull-maintainer-final-130324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-13 15:12:14 +0000) are available in the Git repository at: https://gitlab.com/kraxel/qemu.git tags/edk2-20240320-pull-request for you to fetch changes up to 4a1babe58a1b3cd2c493ee6e0d774e70f62ad9c3: update edk2 binaries for arm, risc-v and x86 secure boot. (2024-03-19 16:42:10 +0100) ---------------------------------------------------------------- edk2: cleanup fix, update build config, rebuild binaries. ---------------------------------------------------------------- Gerd Hoffmann (5): roms/efi: clean up edk2 build config roms/efi: drop workaround for edk2-stable202308 roms/efi: exclude efi shell from secure boot builds roms/efi: use pure 64-bit build for edk2-x86_64-secure-code.fd update edk2 binaries for arm, risc-v and x86 secure boot. pc-bios/edk2-aarch64-code.fd.bz2 | Bin 1589320 -> 1589310 bytes pc-bios/edk2-arm-code.fd.bz2 | Bin 1571418 -> 1571693 bytes pc-bios/edk2-i386-secure-code.fd.bz2 | Bin 2130741 -> 1876986 bytes pc-bios/edk2-riscv-code.fd.bz2 | Bin 1345420 -> 1289160 bytes roms/Makefile | 1 + roms/edk2-build.config | 13 ++++--------- 6 files changed, 5 insertions(+), 9 deletions(-) -- 2.44.0 . Date: Wed, 20 Mar 2024 11:32:07 +0100 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 0/6] QEMU bug fixes for 20240320 The following changes since commit ba49d760eb04630e7b15f423ebecf6c871b8f77b: Merge tag 'pull-maintainer-final-130324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-13 15:12:14 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 05007258f02da253af370387b69fe98e9f37b320: meson: remove dead dictionary access (2024-03-20 11:30:49 +0100) ---------------------------------------------------------------- * fix use-after-free issue * fix i386 TLB issue * fix crash with wrong -M confidential-guest-support argument * fix NULL pointer dereference in x86 MCE injection ---------------------------------------------------------------- Paolo Bonzini (5): target/i386: fix direction of "32-bit MMU" test vl: convert qemu_machine_creation_done() to Error ** vl: do not assert if sev-guest is used together with TCG tests/plugins: fix use-after-free bug meson: remove dead dictionary access Tao Su (1): target/i386: Revert monitor_puts() in do_inject_x86_mce() meson.build | 2 +- target/i386/cpu.h | 2 +- contrib/plugins/howvec.c | 2 +- system/vl.c | 19 +++++++++++-------- target/i386/cpu.c | 2 +- target/i386/helper.c | 2 +- 6 files changed, 16 insertions(+), 13 deletions(-) -- 2.44.0 . Date: Wed, 20 Mar 2024 17:53:44 +0400 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , "Michael S. Tsirkin" , Peter Maydell , Gerd Hoffmann , Akihiko Odaki , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 0/5] Ui patches From: Marc-André Lureau The following changes since commit c62d54d0a8067ffb3d5b909276f7296d7df33fa7: Update version for v9.0.0-rc0 release (2024-03-19 19:13:52 +0000) 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 d4069a84a3380247c1b524096c6a807743bf687a: ui: compile dbus-display1.c with -fPIC as necessary (2024-03-20 10:28:00 +0400) ---------------------------------------------------------------- UI: fixes - dbus-display shared-library compilation fix - remove console_select() and fix related issues ---------------------------------------------------------------- Akihiko Odaki (4): ui/vc: Do not inherit the size of active console ui/vnc: Do not use console_select() ui/cocoa: Do not use console_select() ui/curses: Do not use console_select() Marc-André Lureau (1): ui: compile dbus-display1.c with -fPIC as necessary include/ui/console.h | 2 +- include/ui/kbd-state.h | 11 ++++ ui/console-priv.h | 2 +- ui/console-vc-stubs.c | 2 +- ui/console-vc.c | 7 +-- ui/console.c | 133 ++++++++++------------------------------- ui/curses.c | 48 ++++++++------- ui/kbd-state.c | 6 ++ ui/vnc.c | 14 +++-- ui/cocoa.m | 37 ++++++++---- ui/meson.build | 3 +- 11 files changed, 119 insertions(+), 146 deletions(-) -- 2.44.0 . Date: Wed, 20 Mar 2024 16:13:35 +0000 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 0/5] more maintainer updates (git, avocado) The following changes since commit c62d54d0a8067ffb3d5b909276f7296d7df33fa7: Update version for v9.0.0-rc0 release (2024-03-19 19:13:52 +0000) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-final-for-real-this-time-200324-1 for you to fetch changes up to 55900f5dcc3205b87609d9be452c6c76c48b863b: tests/avocado: sbsa-ref: add OpenBSD tests for misc 'max' setup (2024-03-20 09:52:27 +0000) ---------------------------------------------------------------- maintainer updates (gitlab, avocado): - avoid extra git data on gitlab checkouts - update sbsa-ref tests ---------------------------------------------------------------- Alex Bennée (1): gitlab: aggressively avoid extra GIT data Marcin Juszkiewicz (4): tests/avocado: update sbsa-ref firmware tests/avocado: drop virtio-rng from sbsa-ref tests tests/avocado: sbsa-ref: add Alpine tests for misc 'max' setup tests/avocado: sbsa-ref: add OpenBSD tests for misc 'max' setup .gitlab-ci.d/base.yml | 4 ++ .gitlab-ci.d/buildtest-template.yml | 1 + .gitlab-ci.d/buildtest.yml | 2 + .gitlab-ci.d/custom-runners.yml | 5 +- .gitlab-ci.d/windows.yml | 2 + tests/avocado/machine_aarch64_sbsaref.py | 86 +++++++++++++++++++++----------- 6 files changed, 70 insertions(+), 30 deletions(-) -- 2.39.2 . Date: Thu, 21 Mar 2024 13:22:50 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Kevin Wolf , Peter Maydell , Hanna Reitz , qemu-block@nongnu.org, "Michael S. Tsirkin" , Stefan Hajnoczi Subject: [PULL for-9.0 0/1] Block patches The following changes since commit fea445e8fe9acea4f775a832815ee22bdf2b0222: Merge tag 'pull-maintainer-final-for-real-this-time-200324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-21 10:31:56 +0000) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to 9352f80cd926fe2dde7c89b93ee33bb0356ff40e: coroutine: reserve 5,000 mappings (2024-03-21 13:14:30 -0400) ---------------------------------------------------------------- Pull request I was too quick in sending the coroutine pool sizing change for -rc0 and still needed to address feedback from Daniel Berrangé. ---------------------------------------------------------------- Stefan Hajnoczi (1): coroutine: reserve 5,000 mappings util/qemu-coroutine.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) -- 2.44.0 . Date: Fri, 22 Mar 2024 18:53:04 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/15] riscv-to-apply queue The following changes since commit fea445e8fe9acea4f775a832815ee22bdf2b0222: Merge tag 'pull-maintainer-final-for-real-this-time-200324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-21 10:31:56 +0000) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240322 for you to fetch changes up to 385e575cd5ab2436c123e4b7f8c9b383a64c0dbe: target/riscv/kvm: fix timebase-frequency when using KVM acceleration (2024-03-22 15:41:01 +1000) ---------------------------------------------------------------- RISC-V PR for 9.0 * Do not enable all named features by default * A range of Vector fixes * Update APLIC IDC after claiming iforce register * Remove the dependency of Zvfbfmin to Zfbfmin * Fix mode in riscv_tlb_fill * Fix timebase-frequency when using KVM acceleration ---------------------------------------------------------------- Daniel Henrique Barboza (10): target/riscv: do not enable all named features by default target/riscv/vector_helper.c: set vstart = 0 in GEN_VEXT_VSLIDEUP_VX() trans_rvv.c.inc: set vstart = 0 in int scalar move insns target/riscv/vector_helper.c: fix 'vmvr_v' memcpy endianess target/riscv: always clear vstart in whole vec move insns target/riscv: always clear vstart for ldst_whole insns target/riscv/vector_helpers: do early exit when vstart >= vl target/riscv: remove 'over' brconds from vector trans trans_rvv.c.inc: remove redundant mark_vs_dirty() calls target/riscv/vector_helper.c: optimize loops in ldst helpers Frank Chang (1): hw/intc: Update APLIC IDC after claiming iforce register Irina Ryapolova (1): target/riscv: Fix mode in riscv_tlb_fill Ivan Klokov (1): target/riscv: enable 'vstart_eq_zero' in the end of insns Max Chou (1): target/riscv: rvv: Remove the dependency of Zvfbfmin to Zfbfmin Yong-Xuan Wang (1): target/riscv/kvm: fix timebase-frequency when using KVM acceleration target/riscv/cpu_cfg.h | 8 +- target/riscv/kvm/kvm_riscv.h | 1 + target/riscv/vector_internals.h | 9 ++ hw/intc/riscv_aplic.c | 1 + hw/riscv/virt.c | 2 + target/riscv/cpu.c | 40 ++--- target/riscv/cpu_helper.c | 2 +- target/riscv/kvm/kvm-cpu.c | 9 ++ target/riscv/tcg/tcg-cpu.c | 19 ++- target/riscv/translate.c | 6 + target/riscv/vcrypto_helper.c | 32 ++++ target/riscv/vector_helper.c | 93 ++++++++++- target/riscv/vector_internals.c | 4 + target/riscv/insn_trans/trans_rvbf16.c.inc | 18 +-- target/riscv/insn_trans/trans_rvv.c.inc | 244 +++++++++-------------------- target/riscv/insn_trans/trans_rvvk.c.inc | 30 +--- 16 files changed, 259 insertions(+), 259 deletions(-) . Date: Fri, 22 Mar 2024 18:03:22 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, mjt@tls.msk.ru Subject: [PULL 0/1] loongarch fix for 9.0 The following changes since commit fea445e8fe9acea4f775a832815ee22bdf2b0222: Merge tag 'pull-maintainer-final-for-real-this-time-200324-1' of https://gitlab.com/stsquad/qemu into staging (2024-03-21 10:31:56 +0000) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240322 for you to fetch changes up to 1590154ee4376819a8c6ee61e849ebf4a4e7cd02: target/loongarch: Fix qemu-system-loongarch64 assert failed with the option '-d int' (2024-03-22 17:57:49 +0800) ---------------------------------------------------------------- pull-loongarch-20240322 ---------------------------------------------------------------- Song Gao (1): target/loongarch: Fix qemu-system-loongarch64 assert failed with the option '-d int' target/loongarch/cpu.c | 74 +++++++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 34 deletions(-) . Date: Fri, 22 Mar 2024 12:14:14 -0400 From: peterx@redhat.com To: qemu-devel@nongnu.org Cc: Fabiano Rosas , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , peterx@redhat.com Subject: [PULL 0/3] Migration 20240322 patches From: Peter Xu The following changes since commit 853546f8128476eefb701d4a55b2781bb3a46faa: Merge tag 'pull-loongarch-20240322' of https://gitlab.com/gaosong/qemu into staging (2024-03-22 10:59:57 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240322-pull-request for you to fetch changes up to 8fa1a21c6edc2bf7de85984944848ab9ac49e937: migration/multifd: Fix clearing of mapped-ram zero pages (2024-03-22 12:12:08 -0400) ---------------------------------------------------------------- Migration pull for 9.0-rc1 - Fabiano's patch to revert fd: support on mapped-ram - Peter's fix on postcopy regression on unnecessary dirty syncs - Fabiano's fix on mapped-ram rare corrupt on zero page handling ---------------------------------------------------------------- Fabiano Rosas (2): migration: Revert mapped-ram multifd support to fd: URI migration/multifd: Fix clearing of mapped-ram zero pages Peter Xu (1): migration/postcopy: Fix high frequency sync migration/fd.h | 2 -- migration/fd.c | 56 ++++-------------------------------- migration/file.c | 19 ++---------- migration/migration.c | 20 ++----------- migration/multifd.c | 5 +--- tests/qtest/migration-test.c | 43 --------------------------- 6 files changed, 12 insertions(+), 133 deletions(-) -- 2.44.0 . Date: Mon, 25 Mar 2024 12:35:43 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 0/7] target-arm queue It's been quiet on the arm front this week, so all I have is these coverity fixes I posted a while back... -- PMM The following changes since commit 853546f8128476eefb701d4a55b2781bb3a46faa: Merge tag 'pull-loongarch-20240322' of https://gitlab.com/gaosong/qemu into staging (2024-03-22 10:59:57 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240325 for you to fetch changes up to 55c79639d553c1b7a82b4cde781ad5f316f45b0e: tests/qtest/libqtest.c: Check for g_setenv() failure (2024-03-25 10:41:01 +0000) ---------------------------------------------------------------- target-arm queue: * Fixes for seven minor coverity issues ---------------------------------------------------------------- Peter Maydell (7): tests/qtest/npcm7xx_emc_test: Don't leak cmd_line tests/unit/socket-helpers: Don't close(-1) net/af-xdp.c: Don't leak sock_fds array in net_init_af_xdp() hw/misc/pca9554: Correct error check bounds in get/set pin functions hw/nvram/mac_nvram: Report failure to write data tests/unit/test-throttle: Avoid unintended integer division tests/qtest/libqtest.c: Check for g_setenv() failure hw/misc/pca9554.c | 4 ++-- hw/nvram/mac_nvram.c | 5 ++++- net/af-xdp.c | 3 +-- tests/qtest/libqtest.c | 6 +++++- tests/qtest/npcm7xx_emc-test.c | 4 ++-- tests/unit/socket-helpers.c | 4 +++- tests/unit/test-throttle.c | 4 ++-- 7 files changed, 19 insertions(+), 11 deletions(-) . Date: Mon, 25 Mar 2024 15:12:01 +0100 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 0/9] Patches for QEMU 9.0-rc1 The following changes since commit 853546f8128476eefb701d4a55b2781bb3a46faa: Merge tag 'pull-loongarch-20240322' of https://gitlab.com/gaosong/qemu into staging (2024-03-22 10:59:57 +0000) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-03-25 for you to fetch changes up to f9b29c636442e917a56a725d774ea99be3b28111: tests/tcg/s390x: Test TEST AND SET (2024-03-25 15:05:59 +0100) ---------------------------------------------------------------- * Fix timeouts in Travis-CI jobs * Mark devices with user_creatable = false that can crash QEMU otherwise * Fix s390x TEST-AND-SET TCG instruction emulation * Move pc955* devices to hw/gpio/ ---------------------------------------------------------------- Cédric Le Goater (3): aspeed: Make the ast2600-a3 SoC not user creatable aspeed: Make the ast1030-a1 SoC not user creatable misc/pca955*: Move models under hw/gpio Ido Plat (1): target/s390x: Use mutable temporary value for op_ts Ilya Leoshkevich (1): tests/tcg/s390x: Test TEST AND SET Thomas Huth (3): .travis.yml: Shorten the runtime of the problematic jobs .travis.yml: Remove the unused xfslib-dev package hw/microblaze: Do not allow xlnx-zynqmp-pmu-soc to be created by the user Zheyu Ma (1): libqos/virtio.c: Correct 'flags' reading in qvirtqueue_kick MAINTAINERS | 4 ++-- include/hw/{misc => gpio}/pca9552.h | 0 include/hw/{misc => gpio}/pca9552_regs.h | 0 include/hw/{misc => gpio}/pca9554.h | 0 include/hw/{misc => gpio}/pca9554_regs.h | 0 hw/arm/aspeed.c | 2 +- hw/arm/aspeed_ast10x0.c | 2 ++ hw/arm/aspeed_ast2600.c | 2 ++ hw/{misc => gpio}/pca9552.c | 4 ++-- hw/{misc => gpio}/pca9554.c | 4 ++-- hw/microblaze/xlnx-zynqmp-pmu.c | 2 ++ target/s390x/tcg/translate.c | 5 +++-- tests/qtest/libqos/virtio.c | 2 +- tests/qtest/pca9552-test.c | 2 +- tests/qtest/pnv-host-i2c-test.c | 4 ++-- tests/tcg/s390x/ts.c | 35 ++++++++++++++++++++++++++++++++ .travis.yml | 10 ++++----- hw/gpio/meson.build | 2 ++ hw/gpio/trace-events | 4 ++++ hw/misc/meson.build | 2 -- hw/misc/trace-events | 4 ---- tests/tcg/s390x/Makefile.target | 1 + 22 files changed, 67 insertions(+), 24 deletions(-) rename include/hw/{misc => gpio}/pca9552.h (100%) rename include/hw/{misc => gpio}/pca9552_regs.h (100%) rename include/hw/{misc => gpio}/pca9554.h (100%) rename include/hw/{misc => gpio}/pca9554_regs.h (100%) rename hw/{misc => gpio}/pca9552.c (99%) rename hw/{misc => gpio}/pca9554.c (99%) create mode 100644 tests/tcg/s390x/ts.c . Date: Mon, 25 Mar 2024 14:19:01 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL v2 0/7] target-arm queue v2: added a missing #include qemu/error-report.h which only causes build failure in some configs, not all. The following changes since commit 853546f8128476eefb701d4a55b2781bb3a46faa: Merge tag 'pull-loongarch-20240322' of https://gitlab.com/gaosong/qemu into staging (2024-03-22 10:59:57 +0000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240325-1 for you to fetch changes up to fe3e38390126c2202292911c49d46fc7ee4a163a: tests/qtest/libqtest.c: Check for g_setenv() failure (2024-03-25 14:17:07 +0000) ---------------------------------------------------------------- target-arm queue: * Fixes for seven minor coverity issues ---------------------------------------------------------------- Peter Maydell (7): tests/qtest/npcm7xx_emc_test: Don't leak cmd_line tests/unit/socket-helpers: Don't close(-1) net/af-xdp.c: Don't leak sock_fds array in net_init_af_xdp() hw/misc/pca9554: Correct error check bounds in get/set pin functions hw/nvram/mac_nvram: Report failure to write data tests/unit/test-throttle: Avoid unintended integer division tests/qtest/libqtest.c: Check for g_setenv() failure hw/misc/pca9554.c | 4 ++-- hw/nvram/mac_nvram.c | 6 +++++- net/af-xdp.c | 3 +-- tests/qtest/libqtest.c | 6 +++++- tests/qtest/npcm7xx_emc-test.c | 4 ++-- tests/unit/socket-helpers.c | 4 +++- tests/unit/test-throttle.c | 4 ++-- 7 files changed, 20 insertions(+), 11 deletions(-) . Date: Tue, 26 Mar 2024 08:34:00 +0100 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Subject: [PULL 00/20] QAPI patches patches for 2024-03-26 This pull request does not touch code, only QAPI schema documentation comments and error-suppressing QAPI schema pragma documentation-exceptions. The following changes since commit 6a4180af9686830d88c387baab6d79563ce42a15: Merge tag 'pull-request-2024-03-25' of https://gitlab.com/thuth/qemu into staging (2024-03-25 14:19:42 +0000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-03-26 for you to fetch changes up to 1a533ce986f52c35f324f5f4fff22cdc2619a47c: qapi: document parameters of query-cpu-model-* QAPI commands (2024-03-26 06:36:08 +0100) ---------------------------------------------------------------- QAPI patches patches for 2024-03-26 ---------------------------------------------------------------- David Hildenbrand (1): qapi: document parameters of query-cpu-model-* QAPI commands Marc-André Lureau (1): qapi: document InputMultiTouchType Markus Armbruster (15): qapi: Improve migration TLS documentation qapi: Resync MigrationParameter and MigrateSetParameters qapi: Fix bogus documentation of query-migrationthreads qapi: Drop stray Arguments: line from qmp_capabilities docs qapi: Expand a few awkward abbreviations in documentation qapi: Tidy up block-latency-histogram-set documentation some more qapi: Tidy up indentation of add_client's example qapi: Fix argument markup in drive-mirror documentation qapi: Fix typo in request-ebpf documentation qapi: Fix abbreviation punctuation in doc comments qapi: Start sentences with a capital letter, end them with a period qapi: Don't repeat member type in its documentation text qapi: Refill doc comments to conform to current conventions qapi: Correct documentation indentation and whitespace qga/qapi-schema: Refill doc comments to conform to current conventions Paolo Bonzini (2): qapi: document leftover members in qapi/run-state.json qapi: document leftover members in qapi/stats.json Vladimir Sementsov-Ogievskiy (1): qapi/block-core: improve Qcow2OverlapCheckFlags documentation qapi/block-core.json | 71 ++++++++----- qapi/block.json | 14 +-- qapi/control.json | 2 - qapi/crypto.json | 12 +-- qapi/cxl.json | 4 +- qapi/dump.json | 18 ++-- qapi/ebpf.json | 14 ++- qapi/machine-target.json | 68 ++++++++----- qapi/machine.json | 18 ++-- qapi/migration.json | 253 ++++++++++++++++++++++++----------------------- qapi/misc.json | 8 +- qapi/net.json | 27 ++--- qapi/pragma.json | 13 +-- qapi/qom.json | 38 +++---- qapi/replay.json | 4 +- qapi/run-state.json | 45 ++++++--- qapi/sockets.json | 3 +- qapi/stats.json | 14 ++- qapi/ui.json | 28 ++++-- qapi/virtio.json | 20 ++-- qga/qapi-schema.json | 29 +++--- 21 files changed, 389 insertions(+), 314 deletions(-) -- 2.44.0 . Date: Tue, 26 Mar 2024 14:54:34 +0100 From: Kevin Wolf To: qemu-block@nongnu.org Cc: kwolf@redhat.com, peter.maydell@linaro.org, qemu-devel@nongnu.org Subject: [PULL 0/6] Block layer patches The following changes since commit 096ae430a7b5a704af4cd94dca7200d6cb069991: Merge tag 'pull-qapi-2024-03-26' of https://repo.or.cz/qemu/armbru into staging (2024-03-26 09:50:21 +0000) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 12d7b3bbd3333cededd3b695501d8d247239d769: iotests: add test for stream job with an unaligned prefetch read (2024-03-26 14:21:26 +0100) ---------------------------------------------------------------- Block layer patches - Fix crash with unaligned prefetch requests (e.g. in stream jobs) - vdpa-dev: Fix initialisation order to restore VDUSE compatibility - iotests fixes ---------------------------------------------------------------- Fiona Ebner (3): block-backend: fix edge case in bdrv_next() where BDS associated to BB changes block-backend: fix edge case in bdrv_next_cleanup() where BDS associated to BB changes iotests: add test for stream job with an unaligned prefetch read Kevin Wolf (1): vdpa-dev: Fix initialisation order to restore VDUSE compatibility Stefan Reiter (1): block/io: accept NULL qiov in bdrv_pad_request Thomas Huth (1): tests/qemu-iotests: Test 157 and 227 require virtio-blk block/block-backend.c | 18 ++--- block/io.c | 33 +++++---- hw/net/vhost_net.c | 10 +++ hw/virtio/vdpa-dev.c | 5 +- hw/virtio/vhost-vdpa.c | 29 +++++++- hw/virtio/vhost.c | 8 +- hw/virtio/trace-events | 2 +- tests/qemu-iotests/157 | 2 + tests/qemu-iotests/227 | 2 + tests/qemu-iotests/tests/stream-unaligned-prefetch | 86 ++++++++++++++++++++++ .../tests/stream-unaligned-prefetch.out | 5 ++ 11 files changed, 167 insertions(+), 33 deletions(-) create mode 100755 tests/qemu-iotests/tests/stream-unaligned-prefetch create mode 100644 tests/qemu-iotests/tests/stream-unaligned-prefetch.out . Date: Tue, 26 Mar 2024 16:44:51 +0100 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/13] Misc HW patches for 2024-03-26 The following changes since commit 096ae430a7b5a704af4cd94dca7200d6cb069991: Merge tag 'pull-qapi-2024-03-26' of https://repo.or.cz/qemu/armbru into staging (2024-03-26 09:50:21 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240326 for you to fetch changes up to ccebb9ae352eea63cb1491cb829e4cd0f7576f1c: ui/cocoa: Use NSTrackingInVisibleRect (2024-03-26 14:32:54 +0100) A pair of "WARNING: line over 80 characters" are ignored (82 chars). ---------------------------------------------------------------- Misc HW patch queue [hw] - Do not silently overwrite 'io_timeout' property in scsi-generic (Lorenz) - Propagate period when enabling a clock in stm32l4x5 mux (Arnaud, Phil) - Add missing smbios_get_table_legacy() stub (Igor) - Append a space in gpa2hva() HMP error message (Yao) - Fix compiler warning in 'execlog' plugin (Yao) [target] - i386: Enable page walking from MMIO memory (Gregory, Jonathan) - tricore: Use correct string format in cpu_tlb_fill (Phil) [docs] - Fix formatting in amigang.rst (Zoltan) [ui] - Fix cocoa regression in platform fullscreen toggling (Akihiko) ---------------------------------------------------------------- Akihiko Odaki (3): ui/cocoa: Fix aspect ratio ui/cocoa: Resize window after toggling zoom-to-fit ui/cocoa: Use NSTrackingInVisibleRect Arnaud Minier (1): hw/misc/stm32l4x5_rcc: Propagate period when enabling a clock BALATON Zoltan (1): docs/system/ppc/amigang.rst: Fix formatting Gregory Price (1): target/i386/tcg: Enable page walking from MMIO memory Igor Mammedov (1): hw/smbios: add stub for smbios_get_table_legacy() Lorenz Brun (1): hw/scsi/scsi-generic: Fix io_timeout property not applying Philippe Mathieu-Daudé (3): target/tricore/helper: Use correct string format in cpu_tlb_fill() hw/clock: Let clock_set_mul_div() return a boolean value hw/misc/stm32l4x5_rcc: Inline clock_update() in clock_mux_update() Yao Xingtao (2): monitor/hmp-cmds-target: Append a space in error message in gpa2hva() contrib/plugins/execlog: Fix compiler warning docs/devel/clocks.rst | 4 ++ docs/system/ppc/amigang.rst | 4 +- include/hw/clock.h | 4 +- contrib/plugins/execlog.c | 24 +++++++- hw/core/clock.c | 8 ++- hw/misc/stm32l4x5_rcc.c | 9 ++- hw/scsi/scsi-generic.c | 1 - hw/smbios/smbios_legacy_stub.c | 5 ++ monitor/hmp-cmds-target.c | 2 +- target/i386/tcg/sysemu/excp_helper.c | 57 +++++++++--------- target/tricore/helper.c | 4 +- ui/cocoa.m | 90 +++++++++++++++++----------- 12 files changed, 137 insertions(+), 75 deletions(-) -- 2.41.0 . Date: Fri, 29 Mar 2024 15:10:55 +0800 From: Jason Wang To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Jason Wang Subject: [PULL 0/5] Net patches The following changes since commit 5012e522aca161be5c141596c66e5cc6082538a9: Update version for v9.0.0-rc1 release (2024-03-26 19:46:55 +0000) are available in the Git repository at: https://github.com/jasowang/qemu.git tags/net-pull-request for you to fetch changes up to d9b33018a0da51eddceb48c42345cfb351065f3e: Revert "tap: setting error appropriately when calling net_init_tap_one()" (2024-03-29 14:59:07 +0800) ---------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmYGZ7EACgkQ7wSWWzmN YhHvxgf/SDEYYMlxU7PA1SfwlIYtUG8K1zQnwLXNY6ySCJuCn1IdVoITaUt3BtE5 OtrhKI8cW5WwL4qzkElWlL431vyqomGdmJQedF8agwoR2aIo24i/Ue09MHxJxXUB ONEOv3bizDCYWUjz+PMHRdIbo0AiSNaUDnB8iY59yD6HZqSLVMDx8Ia2KVrzUKwc nMuqkDsVIc3gwqFNPbTl3yqVt6k1x+vBCGQUg9BiKE3pkUcONhsJpBYYj4hlY9mn /BPlQBcRUoLHQD7KGSUKVFSODHPYzDg7BsSz2+EpuZucRRI3VEyHlcB5A6LIVhrK fpqd+80Fb7VE9CAxA2gFj7gh5uPJ1A== =shO6 -----END PGP SIGNATURE----- ---------------------------------------------------------------- Akihiko Odaki (5): virtio-net: Fix vhost virtqueue notifiers for RSS ebpf: Fix indirections table setting hw/net/net_tx_pkt: Fix virtio header without checksum offloading tap-win32: Remove unnecessary stubs Revert "tap: setting error appropriately when calling net_init_tap_one()" ebpf/ebpf_rss.c | 9 +++++++-- hw/net/net_tx_pkt.c | 1 + hw/net/virtio-net.c | 4 ++-- include/net/vhost_net.h | 3 --- net/tap-win32.c | 54 ------------------------------------------------- net/tap.c | 22 +++++--------------- 6 files changed, 15 insertions(+), 78 deletions(-) . Date: Fri, 29 Mar 2024 12:20:30 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/7] tcg + linux-user patch queue The following changes since commit 5012e522aca161be5c141596c66e5cc6082538a9: Update version for v9.0.0-rc1 release (2024-03-26 19:46:55 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240329 for you to fetch changes up to dafa0ecc97850c325fe85cd87dc0b536858d171a: accel/tcg: Use CPUState.get_pc in cpu_io_recompile (2024-03-29 12:16:00 -1000) ---------------------------------------------------------------- linux-user: Fix shmat(NULL) for host != guest page size tcg/optimize: Fix sign_mask for logical right-shift accel/tcg: Use CPUState.get_pc in cpu_io_recompile disas: Show opcodes for target_disas and monitor_disas ---------------------------------------------------------------- Ilya Leoshkevich (4): linux-user: Fix semctl() strace linux-user: Fix shmat() strace linux-user: Fix shmat(NULL) for h != g tests/tcg: Test shmat(NULL) Richard Henderson (3): tcg/optimize: Fix sign_mask for logical right-shift disas: Show opcodes for target_disas and monitor_disas accel/tcg: Use CPUState.get_pc in cpu_io_recompile accel/tcg/translate-all.c | 2 +- disas/disas-mon.c | 1 + disas/disas.c | 1 + linux-user/mmap.c | 2 +- linux-user/strace.c | 10 +++----- tcg/optimize.c | 2 +- tests/tcg/aarch64/test-2248.c | 28 ++++++++++++++++++++ tests/tcg/multiarch/linux/linux-shmat-null.c | 38 ++++++++++++++++++++++++++++ tests/tcg/aarch64/Makefile.target | 1 + 9 files changed, 75 insertions(+), 10 deletions(-) create mode 100644 tests/tcg/aarch64/test-2248.c create mode 100644 tests/tcg/multiarch/linux/linux-shmat-null.c . Date: Fri, 29 Mar 2024 12:30:53 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/18] target/hppa patch queue The following changes since commit 5012e522aca161be5c141596c66e5cc6082538a9: Update version for v9.0.0-rc1 release (2024-03-26 19:46:55 +0000) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-pa-20240329 for you to fetch changes up to 4a3aa11e1fb25c28c24a43fd2835c429b00a463d: target/hppa: Clear psw_n for BE on use_nullify_skip path (2024-03-29 08:15:01 -1000) ---------------------------------------------------------------- target/hppa: Fix BE,L set of sr0 target/hppa: Fix B,GATE for wide mode target/hppa: Mark interval timer write as io target/hppa: Fix EIRR, EIEM versus icount target/hppa: Fix DCOR reconstruction of carry bits target/hppa: Fix unit carry conditions target/hppa: Fix overflow computation for shladd target/hppa: Add diag instructions to set/restore shadow registers target/hppa: Clear psw_n for BE on use_nullify_skip path ---------------------------------------------------------------- Helge Deller (1): target/hppa: Add diag instructions to set/restore shadow registers Richard Henderson (14): target/hppa: Fix BE,L set of sr0 target/hppa: Fix B,GATE for wide mode target/hppa: Mark interval timer write as io target/hppa: Tidy read of interval timer target/hppa: Fix EIRR, EIEM versus icount target/hppa: Fix DCOR reconstruction of carry bits target/hppa: Optimize UADDCM with no condition target/hppa: Fix unit carry conditions target/hppa: Squash d for pa1.x during decode target/hppa: Replace c with uv in do_cond target/hppa: Fix overflow computation for shladd target/hppa: Generate getshadowregs inline target/hppa: Move diag argument handling to decodetree target/hppa: Clear psw_n for BE on use_nullify_skip path Sven Schnelle (3): target/hppa: Handle unit conditions for wide mode target/hppa: Fix ADD/SUB trap on overflow for narrow mode target/hppa: Use gva_offset_mask() everywhere target/hppa/cpu.h | 10 +- target/hppa/helper.h | 2 - target/hppa/insns.decode | 38 +++- target/hppa/int_helper.c | 14 +- target/hppa/sys_helper.c | 4 +- target/hppa/translate.c | 488 +++++++++++++++++++++++++++++++---------------- 6 files changed, 364 insertions(+), 192 deletions(-) . Date: Sat, 30 Mar 2024 14:33:03 +0100 From: Christian Schoenebeck To: qemu-devel@nongnu.org, Peter Maydell Cc: Greg Kurz , Daniel Henrique Barboza , Thomas Huth Subject: [PULL for-9.0 0/2] 9p queue 2024-03-29 The following changes since commit 5012e522aca161be5c141596c66e5cc6082538a9: Update version for v9.0.0-rc1 release (2024-03-26 19:46:55 +0000) are available in the Git repository at: https://github.com/cschoenebeck/qemu.git tags/pull-9p-20240329 for you to fetch changes up to dcae75fba1084823d0fc87caa13f0ba6f32155f3: qtest/virtio-9p-test.c: remove g_test_slow() gate (2024-03-28 09:54:47 +0100) ---------------------------------------------------------------- Changes for 9p tests only: * Fix 9p tests for riscv. * Re-enable 9p 'local' tests for running in CI pipelines. ---------------------------------------------------------------- Daniel Henrique Barboza (2): qtest/virtio-9p-test.c: create/remove temp dirs after each test qtest/virtio-9p-test.c: remove g_test_slow() gate tests/qtest/virtio-9p-test.c | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) . Date: Sun, 31 Mar 2024 17:33:37 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org Subject: [PULL 0/8] ppc-for-9.0-3 queue The following changes since commit 5012e522aca161be5c141596c66e5cc6082538a9: Update version for v9.0.0-rc1 release (2024-03-26 19:46:55 +0000) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.0-3-20240331 for you to fetch changes up to b07a5bb736ca08d55cc3ada8ca309943b55d4b70: tests/avocado: ppc_hv_tests.py set alpine time before setup-alpine (2024-03-30 18:50:26 +1000) ---------------------------------------------------------------- * Various fixes for recent regressions and new code. ---------------------------------------------------------------- Benjamin Gray (2): target/ppc: Restore [H]DEXCR to 64-bits target/ppc: Fix GDB register indexing on secondary CPUs Harsh Prateek Bora (1): spapr: nested: use bitwise NOT operator for flags check Nicholas Piggin (3): target/ppc: Do not clear MSR[ME] on MCE interrupts to supervisor tests/avocado: Fix ppc_hv_tests.py xorriso dependency guard tests/avocado: ppc_hv_tests.py set alpine time before setup-alpine Philippe Mathieu-Daudé (2): hw/ppc/spapr: Include missing 'sysemu/tcg.h' header target/ppc/mmu-radix64: Use correct string format in walk_tree() hw/ppc/spapr.c | 1 + hw/ppc/spapr_nested.c | 2 +- target/ppc/cpu_init.c | 4 ++-- target/ppc/excp_helper.c | 5 +++-- target/ppc/gdbstub.c | 31 ++++++++++++++++++++----------- target/ppc/mmu-radix64.c | 8 ++++---- tests/avocado/ppc_hv_tests.py | 6 +++++- 7 files changed, 36 insertions(+), 21 deletions(-) . Date: Sun, 31 Mar 2024 14:32:49 -0400 From: peterx@redhat.com To: Peter Maydell , qemu-devel@nongnu.org Cc: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Prasad Pandit , peterx@redhat.com, Fabiano Rosas Subject: [PULL 0/2] Migration 20240331 patches From: Peter Xu The following changes since commit b9dbf6f9bf533564f6a4277d03906fcd32bb0245: Merge tag 'pull-tcg-20240329' of https://gitlab.com/rth7680/qemu into staging (2024-03-30 14:54:57 +0000) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240331-pull-request for you to fetch changes up to d0ad271a7613459bd0a3397c8071a4ad06f3f7eb: migration/postcopy: Ensure postcopy_start() sets errp if it fails (2024-03-31 14:30:03 -0400) ---------------------------------------------------------------- Migration pull for 9.0-rc2 - Avihai's two fixes on error paths ---------------------------------------------------------------- Avihai Horon (2): migration: Set migration error in migration_completion() migration/postcopy: Ensure postcopy_start() sets errp if it fails migration/migration.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.44.0 . Date: Tue, 2 Apr 2024 12:31:53 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 0/4] Trivial patches for 2024-04-02 The following changes since commit 6af9d12c88b9720f209912f6e4b01fefe5906d59: Merge tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-04-01 13:12:40 +0100) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to dd5b28de4ed04e0c750022f31b529e4fea7ab478: hmp: Add help information for watchdog action: inject-nmi (2024-04-01 19:52:14 +0300) ---------------------------------------------------------------- trivial patches for 2024-04-02 spelling fixes for the release, minor doc fixes and usb-audio fix. ---------------------------------------------------------------- Dayu Liu (1): hmp: Add help information for watchdog action: inject-nmi Joonas Kankaala (1): usb-audio: Fix invalid values in AudioControl descriptors Philippe Mathieu-Daudé (1): fpu/softfloat: Remove mention of TILE-Gx target Stefan Weil (1): Fix some typos in documentation (found by codespell) docs/devel/atomics.rst | 2 +- docs/devel/ci-jobs.rst.inc | 2 +- docs/devel/clocks.rst | 2 +- docs/system/i386/sgx.rst | 2 +- fpu/softfloat-specialize.c.inc | 2 +- hmp-commands.hx | 2 +- hw/usb/dev-audio.c | 4 +--- qapi/qom.json | 2 +- 8 files changed, 8 insertions(+), 10 deletions(-) . Date: Tue, 2 Apr 2024 11:29:46 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 0/5] target-arm queue Nothing exciting here: two minor bug fixes, some fixes for running on a 32-bit host, and a docs tweak. thanks -- PMM The following changes since commit 6af9d12c88b9720f209912f6e4b01fefe5906d59: Merge tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-04-01 13:12:40 +0100) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240402 for you to fetch changes up to 393770d7a02135e7468018f52da610712f151ec0: raspi4b: Reduce RAM to 1Gb on 32-bit hosts (2024-04-02 10:13:48 +0100) ---------------------------------------------------------------- target-arm queue: * take HSTR traps of cp15 accesses to EL2, not EL1 * docs: sbsa: update specs, add dt note * hw/intc/arm_gicv3: ICC_HPPIR* return SPURIOUS if int group is disabled * tests/qtest: Fix STM32L4x5 GPIO test on 32-bit * raspi4b: Reduce RAM to 1Gb on 32-bit hosts ---------------------------------------------------------------- Cédric Le Goater (2): tests/qtest: Fix STM32L4x5 GPIO test on 32-bit raspi4b: Reduce RAM to 1Gb on 32-bit hosts Marcin Juszkiewicz (1): docs: sbsa: update specs, add dt note Peter Maydell (2): target/arm: take HSTR traps of cp15 accesses to EL2, not EL1 hw/intc/arm_gicv3: ICC_HPPIR* return SPURIOUS if int group is disabled docs/system/arm/sbsa.rst | 35 +++++++++++++++++------ hw/arm/raspi4b.c | 4 +++ hw/intc/arm_gicv3_cpuif.c | 4 +-- target/arm/tcg/translate.c | 2 +- tests/qtest/stm32l4x5_gpio-test.c | 59 +++++++++++++++++++++++---------------- 5 files changed, 68 insertions(+), 36 deletions(-) . Date: Tue, 2 Apr 2024 13:41:05 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL v2 0/4] Trivial patches for 2024-04-02 The following changes since commit 6af9d12c88b9720f209912f6e4b01fefe5906d59: Merge tag 'migration-20240331-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-04-01 13:12:40 +0100) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to 7805132bc30b2619355b10bbfb67217ac838c677: hmp: Add help information for watchdog action: inject-nmi (2024-04-02 13:38:51 +0300) ---------------------------------------------------------------- trivial patches for 2024-04-02 spelling fixes for the release, minor doc fixes and usb-audio fix. v2: fix Stefan Weil email ---------------------------------------------------------------- Dayu Liu (1): hmp: Add help information for watchdog action: inject-nmi Joonas Kankaala (1): usb-audio: Fix invalid values in AudioControl descriptors Philippe Mathieu-Daudé (1): fpu/softfloat: Remove mention of TILE-Gx target Stefan Weil (1): Fix some typos in documentation (found by codespell) docs/devel/atomics.rst | 2 +- docs/devel/ci-jobs.rst.inc | 2 +- docs/devel/clocks.rst | 2 +- docs/system/i386/sgx.rst | 2 +- fpu/softfloat-specialize.c.inc | 2 +- hmp-commands.hx | 2 +- hw/usb/dev-audio.c | 4 +--- qapi/qom.json | 2 +- 8 files changed, 8 insertions(+), 10 deletions(-) . Date: Tue, 2 Apr 2024 15:16:42 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 0/7] lsi, vga fixes for 2024-04-02 The following changes since commit b9dbf6f9bf533564f6a4277d03906fcd32bb0245: Merge tag 'pull-tcg-20240329' of https://gitlab.com/rth7680/qemu into staging (2024-03-30 14:54:57 +0000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to eac4af186f6db46fc90ec571a855bd6fa4cb7841: pc_q35: remove unnecessary m->alias assignment (2024-04-02 15:14:02 +0200) ---------------------------------------------------------------- * lsi53c895a: fix assertion failure with invalid Block Move * vga: fix assertion failure with 4- and 16-color modes * remove unnecessary assignment ---------------------------------------------------------------- Paolo Bonzini (7): vga: merge conditionals on shift control register vga: move computation of dirty memory region later vga: adjust dirty memory region if pel panning is active vga: do not treat horiz pel panning value of 8 as "enabled" lsi53c895a: avoid out of bounds access to s->msg[] lsi53c895a: detect invalid Block Move instruction pc_q35: remove unnecessary m->alias assignment hw/display/vga.c | 146 +++++++++++++++++++++++++-------------------------- hw/i386/pc_q35.c | 1 - hw/scsi/lsi53c895a.c | 28 +++++++--- 3 files changed, 94 insertions(+), 81 deletions(-) -- 2.44.0 . Date: Tue, 2 Apr 2024 16:24:15 +0200 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-block@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/15] Misc HW patches for 2024-04-02 The following changes since commit 7fcf7575f3d201fc84ae168017ffdfd6c86257a6: Merge tag 'pull-target-arm-20240402' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-04-02 11:34:49 +0100) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240402 for you to fetch changes up to 4c54f5bc8e1d38f15cc35b6a6932d8fbe219c692: hw/net/virtio-net: fix qemu set used ring flag even vhost started (2024-04-02 16:15:07 +0200) ---------------------------------------------------------------- Misc HW patch queue - MAINTAINERS updates (Zhao, Glenn) - Replace incorrect mentions of 'softmmu' by 'system' (Phil) - Avoid using inlined functions with external linkage (Phil) - Restrict CXL to x86 PC PCI-based machines (Phil) - Remove unnecessary NULL check in bdrv_pad_request (Kevin) - Fix a pair of -Werror=maybe-uninitialized (Marc-André) - Initialize variable in xen_evtchn_soft_reset (Artem) - Do not access virtio-net tx queue until vhost is started (Yajun) ---------------------------------------------------------------- Artem Chernyshev (1): hw/xen_evtchn: Initialize flush_kvm_routes Glenn Miles (1): gpio/pca955x: Update maintainer email address Kevin Wolf (1): block: Remove unnecessary NULL check in bdrv_pad_request() Marc-André Lureau (2): plugins: fix -Werror=maybe-uninitialized false-positive hw/nvme: fix -Werror=maybe-uninitialized Philippe Mathieu-Daudé (8): accel/tcg/plugin: Remove CONFIG_SOFTMMU_GATE definition gdbstub: Correct invalid mentions of 'softmmu' by 'system' gdbstub/system: Rename 'user_ctx' argument as 'ctx' target/ppc: Rename init_excp_4xx_softmmu() -> init_excp_4xx() hw/arm/smmu: Avoid using inlined functions with external linkage again accel/hvf: Un-inline hvf_arch_supports_guest_debug() qtest/libqos: Reduce size_to_prdtl() declaration scope hw/i386/pc: Restrict CXL to PCI-based machines Yajun Wu (1): hw/net/virtio-net: fix qemu set used ring flag even vhost started Zhao Liu (1): MAINTAINERS: Fix error-report.c entry MAINTAINERS | 4 ++-- gdbstub/internals.h | 26 +++++++++++++------------- tests/qtest/libqos/ahci.h | 1 - accel/tcg/plugin-gen.c | 6 ------ block/io.c | 2 +- gdbstub/system.c | 10 +++++----- hw/arm/smmu-common.c | 2 +- hw/i386/kvm/xen_evtchn.c | 2 +- hw/i386/pc.c | 4 +++- hw/net/virtio-net.c | 4 ++++ hw/nvme/ctrl.c | 2 +- plugins/loader.c | 2 +- target/arm/hvf/hvf.c | 2 +- target/i386/hvf/hvf.c | 2 +- target/ppc/cpu_init.c | 4 ++-- tests/qtest/libqos/ahci.c | 2 +- 16 files changed, 37 insertions(+), 38 deletions(-) -- 2.41.0 . Date: Wed, 3 Apr 2024 12:06:14 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 0/6] lsi, vga fixes for 2024-04-02 The following changes since commit 7fcf7575f3d201fc84ae168017ffdfd6c86257a6: Merge tag 'pull-target-arm-20240402' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-04-02 11:34:49 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 8fc4bdc537d901c200e43122e32bcb40dc8fed37: pc_q35: remove unnecessary m->alias assignment (2024-04-02 18:08:59 +0200) ---------------------------------------------------------------- * lsi53c895a: fix assertion failure with invalid Block Move * vga: fix assertion failure with 4- and 16-color modes * remove unnecessary assignment ---------------------------------------------------------------- v1->v2: dropped patch to reject invalid Block Move Paolo Bonzini (6): vga: merge conditionals on shift control register vga: move computation of dirty memory region later vga: adjust dirty memory region if pel panning is active vga: do not treat horiz pel panning value of 8 as "enabled" lsi53c895a: avoid out of bounds access to s->msg[] pc_q35: remove unnecessary m->alias assignment hw/display/vga.c | 146 +++++++++++++++++++++++++-------------------------- hw/i386/pc_q35.c | 1 - hw/scsi/lsi53c895a.c | 19 ++++--- 3 files changed, 85 insertions(+), 81 deletions(-) -- 2.44.0 . Date: Thu, 4 Apr 2024 09:58:22 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Peter Maydell , qemu-block@nongnu.org, Stefan Hajnoczi , Hanna Reitz , Kevin Wolf Subject: [PULL for-9.0 0/1] Block patches The following changes since commit 786fd793b81410fb2a28914315e2f05d2ff6733b: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-04-03 12:52:03 +0100) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to bbdf9023665f409113cb07b463732861af63fb47: block/virtio-blk: Fix memory leak from virtio_blk_zone_report (2024-04-04 09:29:42 -0400) ---------------------------------------------------------------- Pull request Fix a memory leak in virtio-blk zone report emulation code when the request is invalid. ---------------------------------------------------------------- Zheyu Ma (1): block/virtio-blk: Fix memory leak from virtio_blk_zone_report hw/block/virtio-blk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.44.0 . Date: Thu, 4 Apr 2024 15:25:22 +0100 From: Mark Cave-Ayland To: peter.maydell@linaro.org, qemu-devel@nongnu.org Subject: [PULL 00/17] qemu-sparc queue 20240404 The following changes since commit 786fd793b81410fb2a28914315e2f05d2ff6733b: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-04-03 12:52:03 +0100) are available in the Git repository at: https://github.com/mcayland/qemu.git tags/qemu-sparc-20240404 for you to fetch changes up to d7fe931818d5e9aa70d08056c43b496ce789ba64: esp.c: remove explicit setting of DRQ within ESP state machine (2024-04-04 15:17:53 +0100) ---------------------------------------------------------------- qemu-sparc queue - This contains fixes for the ESP emulation discovered by fuzzing (with thanks to Chuhong Yuan ) ---------------------------------------------------------------- Mark Cave-Ayland (17): esp.c: move esp_fifo_pop_buf() internals to new esp_fifo8_pop_buf() function esp.c: replace esp_fifo_pop_buf() with esp_fifo8_pop_buf() in do_command_phase() esp.c: replace esp_fifo_pop_buf() with esp_fifo8_pop_buf() in do_message_phase() esp.c: replace cmdfifo use of esp_fifo_pop() in do_message_phase() esp.c: change esp_fifo_push() to take ESPState esp.c: change esp_fifo_pop() to take ESPState esp.c: use esp_fifo_push() instead of fifo8_push() esp.c: change esp_fifo_pop_buf() to take ESPState esp.c: introduce esp_fifo_push_buf() function for pushing to the FIFO esp.c: don't assert() if FIFO empty when executing non-DMA SELATNS esp.c: rework esp_cdb_length() into esp_cdb_ready() esp.c: prevent cmdfifo overflow in esp_cdb_ready() esp.c: move esp_set_phase() and esp_get_phase() towards the beginning of the file esp.c: introduce esp_update_drq() and update esp_fifo_{push, pop}_buf() to use it esp.c: update esp_fifo_{push, pop}() to call esp_update_drq() esp.c: ensure esp_pdma_write() always calls esp_fifo_push() esp.c: remove explicit setting of DRQ within ESP state machine hw/scsi/esp.c | 223 +++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 142 insertions(+), 81 deletions(-) . Date: Sun, 7 Apr 2024 14:43:52 -0400 From: peterx@redhat.com To: Peter Maydell , qemu-devel@nongnu.org Cc: Wei Wang , Lei Wang , Avihai Horon , Fabiano Rosas , peterx@redhat.com, Prasad Pandit Subject: [PULL 0/2] Migration 20240407 patches From: Peter Xu The following changes since commit ce64e6224affb8b4e4b019f76d2950270b391af5: Merge tag 'qemu-sparc-20240404' of https://github.com/mcayland/qemu into staging (2024-04-04 15:28:06 +0100) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240407-pull-request for you to fetch changes up to 8e0b21e375f0f6e6dbaeaecc1d52e2220f163e40: MAINTAINERS: Adjust migration documentation files (2024-04-07 14:40:55 -0400) ---------------------------------------------------------------- Migration pull for 9.0-rc3 - Wei/Lei's fix on a rare postcopy race that can hang the channel (since 8.0) - Avihai's fix on maintainers file, points to the right doc links ---------------------------------------------------------------- Avihai Horon (1): MAINTAINERS: Adjust migration documentation files Wei Wang (1): migration/postcopy: ensure preempt channel is ready before loading states MAINTAINERS | 6 ++++-- migration/savevm.c | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) -- 2.44.0 . Date: Mon, 8 Apr 2024 16:23:44 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 0/2] target-arm queue Two bug fixes for 9.0... -- PMM The following changes since commit ce64e6224affb8b4e4b019f76d2950270b391af5: Merge tag 'qemu-sparc-20240404' of https://github.com/mcayland/qemu into staging (2024-04-04 15:28:06 +0100) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240408 for you to fetch changes up to 19b254e86a900dc5ee332e3ac0baf9c521301abf: target/arm: Use correct SecuritySpace for AArch64 AT ops at EL3 (2024-04-08 15:38:53 +0100) ---------------------------------------------------------------- target-arm: * Use correct SecuritySpace for AArch64 AT ops at EL3 * Fix CNTPOFF_EL2 trap to missing EL3 ---------------------------------------------------------------- Peter Maydell (1): target/arm: Use correct SecuritySpace for AArch64 AT ops at EL3 Pierre-Clément Tosi (1): target/arm: Fix CNTPOFF_EL2 trap to missing EL3 target/arm/helper.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) . Date: Mon, 8 Apr 2024 07:48:54 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/35] misc patch queue This started out to be tcg and linux-user only, but then added a few target bug fixes, and the trolled back through my inbox and picked up some other safe patch sets that got lost. r~ The following changes since commit ce64e6224affb8b4e4b019f76d2950270b391af5: Merge tag 'qemu-sparc-20240404' of https://github.com/mcayland/qemu into staging (2024-04-04 15:28:06 +0100) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240408 for you to fetch changes up to 50dbeda88ab71f9d426b7f4b126c79c44860e475: util/bufferiszero: Simplify test_buffer_is_zero_next_accel (2024-04-08 06:27:58 -1000) ---------------------------------------------------------------- util/bufferiszero: Optimizations and cleanups, esp code removal target/m68k: Semihosting for non-coldfire cpus target/m68k: Fix fp accrued exception reporting target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Fixes to mac.l and mac.w saturation target/sh4: Fixes to illegal delay slot reporting linux-user: Cleanups for do_setsockopt linux-user: Add FITRIM ioctl linux-user: Fix waitid return of siginfo_t and rusage tcg/optimize: Do not attempt to constant fold neg_vec accel/tcg: Improve can_do_io management, mmio bug fix ---------------------------------------------------------------- Alexander Monakov (5): util/bufferiszero: Remove SSE4.1 variant util/bufferiszero: Remove AVX512 variant util/bufferiszero: Reorganize for early test for acceleration util/bufferiszero: Remove useless prefetches util/bufferiszero: Optimize SSE2 and AVX2 variants Keith Packard (3): target/m68k: Map FPU exceptions to FPSR register target/m68k: Pass semihosting arg to exit target/m68k: Support semihosting on non-ColdFire targets Michael Tokarev (4): linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY linux-user: do_setsockopt: make ip_mreq local to the place it is used and inline target_to_host_ip_mreq() linux-user: do_setsockopt: make ip_mreq_source local to the place where it is used linux-user: do_setsockopt: eliminate goto in switch for SO_SNDTIMEO Michael Vogt (1): linux-user: Add FITRIM ioctl Nguyen Dinh Phi (1): linux-user: replace calloc() with g_new0() Richard Henderson (17): tcg/optimize: Do not attempt to constant fold neg_vec linux-user: Fix waitid return of siginfo_t and rusage target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Merge mach and macl into a union target/m68k: Perform the semihosting test during translate tcg: Add TCGContext.emit_before_op accel/tcg: Add insn_start to DisasContextBase target/arm: Use insn_start from DisasContextBase target/hppa: Use insn_start from DisasContextBase target/i386: Preserve DisasContextBase.insn_start across rewind target/microblaze: Use insn_start from DisasContextBase target/riscv: Use insn_start from DisasContextBase target/s390x: Use insn_start from DisasContextBase accel/tcg: Improve can_do_io management util/bufferiszero: Improve scalar variant util/bufferiszero: Introduce biz_accel_fn typedef util/bufferiszero: Simplify test_buffer_is_zero_next_accel Zack Buhman (4): target/sh4: mac.w: memory accesses are 16-bit words target/sh4: Fix mac.l with saturation enabled target/sh4: Fix mac.w with saturation enabled target/sh4: add missing CHECK_NOT_DELAY_SLOT include/exec/translator.h | 4 +- include/qemu/cutils.h | 32 +++- include/tcg/tcg.h | 6 + linux-user/ioctls.h | 3 + linux-user/syscall_defs.h | 1 + linux-user/syscall_types.h | 5 + target/arm/tcg/translate.h | 12 +- target/m68k/cpu.h | 5 +- target/m68k/helper.h | 2 + target/sh4/cpu.h | 14 +- target/sh4/helper.h | 4 +- accel/tcg/translator.c | 47 ++--- linux-user/main.c | 6 +- linux-user/syscall.c | 95 +++++----- target/arm/tcg/translate-a64.c | 2 +- target/arm/tcg/translate.c | 2 +- target/hppa/int_helper.c | 20 +- target/hppa/sys_helper.c | 18 +- target/hppa/translate.c | 10 +- target/i386/tcg/translate.c | 3 + target/m68k/cpu.c | 12 +- target/m68k/fpu_helper.c | 72 ++++++++ target/m68k/helper.c | 4 +- target/m68k/m68k-semi.c | 4 +- target/m68k/op_helper.c | 14 +- target/m68k/translate.c | 54 +++++- target/microblaze/translate.c | 8 +- target/riscv/translate.c | 11 +- target/s390x/tcg/translate.c | 4 +- target/sh4/op_helper.c | 51 ++--- target/sh4/translate.c | 7 +- tcg/optimize.c | 17 +- tcg/tcg.c | 14 +- tests/tcg/aarch64/test-2150.c | 12 ++ tests/tcg/sh4/test-macl.c | 67 +++++++ tests/tcg/sh4/test-macw.c | 61 ++++++ util/bufferiszero.c | 379 +++++++++++++++++--------------------- tests/tcg/aarch64/Makefile.target | 2 +- tests/tcg/sh4/Makefile.target | 8 + 39 files changed, 696 insertions(+), 396 deletions(-) create mode 100644 tests/tcg/aarch64/test-2150.c create mode 100644 tests/tcg/sh4/test-macl.c create mode 100644 tests/tcg/sh4/test-macw.c . Date: Mon, 8 Apr 2024 21:24:01 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 0/3] 9.0 bugfixes for 2024-04-08 The following changes since commit ce64e6224affb8b4e4b019f76d2950270b391af5: Merge tag 'qemu-sparc-20240404' of https://github.com/mcayland/qemu into staging (2024-04-04 15:28:06 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to e34f4d87e8d47b0a65cb663aaf7bef60c2112d36: kvm: error out of kvm_irqchip_add_msi_route() in case of full route table (2024-04-08 21:22:00 +0200) ---------------------------------------------------------------- * fall back to non-ioeventfd notification if KVM routing table is full * support kitware ninja with jobserver support * nanomips: fix warnings with GCC 14 ---------------------------------------------------------------- Igor Mammedov (1): kvm: error out of kvm_irqchip_add_msi_route() in case of full route table Martin Hundebøll (1): Makefile: preserve --jobserver-auth argument when calling ninja Paolo Bonzini (1): nanomips: fix warnings with GCC 14 Makefile | 2 +- accel/kvm/kvm-all.c | 15 ++-- disas/nanomips.c | 194 ++++++++++++++++++++++++++-------------------------- 3 files changed, 108 insertions(+), 103 deletions(-) -- 2.44.0 . Date: Tue, 9 Apr 2024 03:32:12 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 0/7] virtio,pc,pci: bugfixes The following changes since commit ce64e6224affb8b4e4b019f76d2950270b391af5: Merge tag 'qemu-sparc-20240404' of https://github.com/mcayland/qemu into staging (2024-04-04 15:28:06 +0100) 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 e1999904a960c33b68fedf26dfb7b8e00abab8f2: qdev-monitor: fix error message in find_device_state() (2024-04-09 02:31:33 -0400) ---------------------------------------------------------------- virtio,pc,pci: bugfixes Tiny fixes: important but mostly obvious ones. Revert VDPA network sim for this release as there are questions around it's maintainatiblity. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Manos Pitsidianakis (1): virtio-snd: rewrite invalid tx/rx message handling Michael S. Tsirkin (1): Revert "hw/virtio: Add support for VDPA network simulation devices" Vladimir Sementsov-Ogievskiy (2): vhost-user-blk: simplify and fix vhost_user_blk_handle_config_change qdev-monitor: fix error message in find_device_state() Wafer (1): hw/virtio: Fix packed virtqueue flush used_idx Zheyu Ma (1): virtio-snd: Enhance error handling for invalid transfers lyx634449800 (1): vdpa-dev: Fix the issue of device status not updating when configuration interruption is triggered include/hw/audio/virtio-snd.h | 16 ++- include/hw/virtio/virtio-pci.h | 5 - include/hw/virtio/virtio.h | 19 --- include/standard-headers/linux/virtio_pci.h | 7 -- hw/audio/virtio-snd.c | 129 +++++++++---------- hw/block/vhost-user-blk.c | 11 +- hw/net/virtio-net.c | 16 --- hw/virtio/vdpa-dev.c | 7 ++ hw/virtio/virtio-pci.c | 189 +--------------------------- hw/virtio/virtio.c | 51 ++------ system/qdev-monitor.c | 2 +- MAINTAINERS | 5 - docs/system/device-emulation.rst | 1 - docs/system/devices/vdpa-net.rst | 121 ------------------ 14 files changed, 97 insertions(+), 482 deletions(-) delete mode 100644 docs/system/devices/vdpa-net.rst . Date: Tue, 9 Apr 2024 18:29:30 +0200 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Peter Maydell Subject: [PULL 0/4] Edk2 20240409 patches The following changes since commit e5c6528dce86d7a9ada7ecf02fcb7b8560955131: Update version for v9.0.0-rc2 release (2024-04-02 20:59:43 +0100) are available in the Git repository at: https://gitlab.com/kraxel/qemu.git tags/edk2-20240409-pull-request for you to fetch changes up to e3404e01c7f74efdc3440ddfd339d67bf7a8410e: edk2: rebuild binaries with correct version information (2024-04-09 18:21:23 +0200) ---------------------------------------------------------------- edk2: fix version information, rebuild binaries. ---------------------------------------------------------------- Gerd Hoffmann (4): edk2: get version + date from git submodule edk2: commit version info edk2/seabios: use common extra version edk2: rebuild binaries with correct version information pc-bios/edk2-aarch64-code.fd.bz2 | Bin 1589310 -> 1588976 bytes pc-bios/edk2-arm-code.fd.bz2 | Bin 1571693 -> 1571639 bytes pc-bios/edk2-i386-code.fd.bz2 | Bin 1775832 -> 1775230 bytes pc-bios/edk2-i386-secure-code.fd.bz2 | Bin 1876986 -> 1877268 bytes pc-bios/edk2-riscv-code.fd.bz2 | Bin 1289160 -> 1289337 bytes pc-bios/edk2-x86_64-code.fd.bz2 | Bin 1892372 -> 1892766 bytes pc-bios/edk2-x86_64-microvm.fd.bz2 | Bin 1785258 -> 1785290 bytes pc-bios/edk2-x86_64-secure-code.fd.bz2 | Bin 2214892 -> 1969096 bytes roms/Makefile | 25 ++++++++++++++++++------- roms/edk2-version | 2 ++ 10 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 roms/edk2-version -- 2.44.0 . Date: Tue, 9 Apr 2024 09:35:43 -1000 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 00/20] misc patch queue Defer 16 patches to 9.1; add fix for -strace. r~ The following changes since commit bc0cd4ae881dff47e81581a8fea93a50b1d1dbe7: Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-04-09 09:51:07 +0100) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240409 for you to fetch changes up to 143bcc1d59f174b6c6743bd4ca8f99415ed1aba2: linux-user: Preserve unswapped siginfo_t for strace (2024-04-09 07:47:11 -1000) ---------------------------------------------------------------- target/m68k: Fix fp accrued exception reporting target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Fixes to mac.l and mac.w saturation target/sh4: Fixes to illegal delay slot reporting linux-user: Fix waitid return of siginfo_t and rusage linux-user: Preserve unswapped siginfo_t for strace tcg/optimize: Do not attempt to constant fold neg_vec accel/tcg: Improve can_do_io management, mmio bug fix ---------------------------------------------------------------- Keith Packard (1): target/m68k: Map FPU exceptions to FPSR register Nguyen Dinh Phi (1): linux-user: replace calloc() with g_new0() Richard Henderson (14): tcg/optimize: Do not attempt to constant fold neg_vec linux-user: Fix waitid return of siginfo_t and rusage target/hppa: Fix IIAOQ, IIASQ for pa2.0 target/sh4: Merge mach and macl into a union tcg: Add TCGContext.emit_before_op accel/tcg: Add insn_start to DisasContextBase target/arm: Use insn_start from DisasContextBase target/hppa: Use insn_start from DisasContextBase target/i386: Preserve DisasContextBase.insn_start across rewind target/microblaze: Use insn_start from DisasContextBase target/riscv: Use insn_start from DisasContextBase target/s390x: Use insn_start from DisasContextBase accel/tcg: Improve can_do_io management linux-user: Preserve unswapped siginfo_t for strace Zack Buhman (4): target/sh4: mac.w: memory accesses are 16-bit words target/sh4: Fix mac.l with saturation enabled target/sh4: Fix mac.w with saturation enabled target/sh4: add missing CHECK_NOT_DELAY_SLOT include/exec/translator.h | 4 ++- include/tcg/tcg.h | 6 ++++ target/arm/tcg/translate.h | 12 +++---- target/m68k/cpu.h | 3 +- target/m68k/helper.h | 2 ++ target/sh4/cpu.h | 14 ++++++-- target/sh4/helper.h | 4 +-- accel/tcg/translator.c | 47 +++++++++++++------------ linux-user/main.c | 6 +--- linux-user/signal.c | 12 +++++-- linux-user/syscall.c | 22 ++++++++---- target/arm/tcg/translate-a64.c | 2 +- target/arm/tcg/translate.c | 2 +- target/hppa/int_helper.c | 20 ++++++----- target/hppa/sys_helper.c | 18 +++++----- target/hppa/translate.c | 10 +++--- target/i386/tcg/translate.c | 3 ++ target/m68k/cpu.c | 12 +++++-- target/m68k/fpu_helper.c | 72 +++++++++++++++++++++++++++++++++++++++ target/m68k/helper.c | 4 +-- target/m68k/translate.c | 4 +-- target/microblaze/translate.c | 8 ++--- target/riscv/translate.c | 11 +++--- target/s390x/tcg/translate.c | 4 +-- target/sh4/op_helper.c | 51 +++++++++++++++------------ target/sh4/translate.c | 7 ++-- tcg/optimize.c | 17 +++++---- tcg/tcg.c | 14 ++++++-- tests/tcg/aarch64/test-2150.c | 12 +++++++ tests/tcg/sh4/test-macl.c | 67 ++++++++++++++++++++++++++++++++++++ tests/tcg/sh4/test-macw.c | 61 +++++++++++++++++++++++++++++++++ tests/tcg/aarch64/Makefile.target | 2 +- tests/tcg/sh4/Makefile.target | 8 +++++ 33 files changed, 412 insertions(+), 129 deletions(-) create mode 100644 tests/tcg/aarch64/test-2150.c create mode 100644 tests/tcg/sh4/test-macl.c create mode 100644 tests/tcg/sh4/test-macw.c . Date: Wed, 10 Apr 2024 11:12:59 +0200 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/16] Misc HW patches for 2024-04-10 The following changes since commit 927284d65bce63ab1495d3febe7c7b5b6d563874: Merge tag 'edk2-20240409-pull-request' of https://gitlab.com/kraxel/qemu into staging (2024-04-09 17:36:40 +0100) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240410 for you to fetch changes up to dcb0a1ac03d6b5ba6c7fcbe467f0215738006113: hw/audio/virtio-snd: Remove unused assignment (2024-04-10 11:07:37 +0200) ---------------------------------------------------------------- Misc HW patch queue - Fix CXL Fixed Memory Window interleave-granularity typo - Fix for DMA re-entrancy abuse with VirtIO devices (CVE-2024-3446) - Fix out-of-bound access in NAND block buffer - Fix memory leak in AppleSMC reset() handler - Avoid VirtIO crypto backends abort o invalid session ID - Fix overflow in LAN9118 MIL TX FIFO - Fix overflow when abusing SDHCI TRNMOD register (CVE-2024-3447) - Fix overrun in short fragmented packet SCTP checksum (CVE-2024-3567) - Remove unused assignment in virtio-snd model (Coverity 1542933 & 1542934) ---------------------------------------------------------------- Philippe Mathieu-Daudé (15): hw/virtio: Introduce virtio_bh_new_guarded() helper hw/display/virtio-gpu: Protect from DMA re-entrancy bugs hw/char/virtio-serial-bus: Protect from DMA re-entrancy bugs hw/virtio/virtio-crypto: Protect from DMA re-entrancy bugs hw/block/nand: Factor nand_load_iolen() method out hw/block/nand: Have blk_load() take unsigned offset and return boolean hw/block/nand: Fix out-of-bound access in NAND block buffer hw/misc/applesmc: Do not call DeviceReset from DeviceRealize hw/misc/applesmc: Fix memory leak in reset() handler backends/cryptodev: Do not abort for invalid session ID hw/net/lan9118: Replace magic '2048' value by MIL_TXFIFO_SIZE definition hw/net/lan9118: Fix overflow in MIL TX FIFO hw/sd/sdhci: Do not update TRNMOD when Command Inhibit (DAT) is set hw/net/net_tx_pkt: Fix overrun in update_sctp_checksum() hw/audio/virtio-snd: Remove unused assignment Yuquan Wang (1): qemu-options: Fix CXL Fixed Memory Window interleave-granularity typo include/hw/virtio/virtio.h | 7 +++++ backends/cryptodev-builtin.c | 4 ++- hw/audio/virtio-snd.c | 8 ++++-- hw/block/nand.c | 55 +++++++++++++++++++++++++----------- hw/char/virtio-serial-bus.c | 3 +- hw/display/virtio-gpu.c | 6 ++-- hw/misc/applesmc.c | 2 +- hw/net/lan9118.c | 28 +++++++++++++++--- hw/net/net_tx_pkt.c | 4 +++ hw/sd/sdhci.c | 8 ++++++ hw/virtio/virtio-crypto.c | 4 +-- hw/virtio/virtio.c | 10 +++++++ qemu-options.hx | 6 ++-- 13 files changed, 109 insertions(+), 36 deletions(-) -- 2.41.0 . Date: Fri, 12 Apr 2024 12:03:59 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 0/2] Final build system fixes for 9.0 The following changes since commit 02e16ab9f4f19c4bdd17c51952d70e2ded74c6bf: Update version for v9.0.0-rc3 release (2024-04-10 18:05:18 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 2d6d995709482cc8b6a76dbb5334a28001a14a9a: meson.build: Disable -fzero-call-used-regs on OpenBSD (2024-04-12 12:02:12 +0200) ---------------------------------------------------------------- build system fixes ---------------------------------------------------------------- Matheus Tavares Bernardino (1): Makefile: fix use of -j without an argument Thomas Huth (1): meson.build: Disable -fzero-call-used-regs on OpenBSD Makefile | 9 +++++++-- meson.build | 6 +++++- 2 files changed, 12 insertions(+), 3 deletions(-) -- 2.44.0 . Date: Fri, 12 Apr 2024 11:54:30 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/1] target/sparc late fix Since this problem has 4 issues open, let's get it for 9.0. r~ The following changes since commit be72d6ab361a26878752467a17289066dfd5bc28: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-04-12 16:01:04 +0100) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-sp-20240412 for you to fetch changes up to c84f5198b0b676ad67962b5250af1b0d0842e319: target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT (2024-04-12 11:48:26 -0700) ---------------------------------------------------------------- target/sparc: Fix ASI_USERTXT for Solaris gdb crashes ---------------------------------------------------------------- Richard Henderson (1): target/sparc: Use GET_ASI_CODE for ASI_KERNELTXT and ASI_USERTXT target/sparc/helper.h | 3 +++ target/sparc/ldst_helper.c | 65 ++++++++++++++++++++++++++++++++-------------- target/sparc/translate.c | 48 ++++++++++++++++++++++++++++++++-- 3 files changed, 94 insertions(+), 22 deletions(-) . Date: Mon, 15 Apr 2024 06:52:39 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 0/1] virtio: bugfix The following changes since commit e1999904a960c33b68fedf26dfb7b8e00abab8f2: qdev-monitor: fix error message in find_device_state() (2024-04-09 02:31:33 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch changes up to 2ce6cff94df2650c460f809e5ad263f1d22507c0: virtio-pci: fix use of a released vector (2024-04-15 06:50:44 -0400) ---------------------------------------------------------------- virtio: bugfix A last minute fix for a use of a vector after it's released. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Cindy Lu (1): virtio-pci: fix use of a released vector hw/virtio/virtio-pci.c | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) . Date: Mon, 15 Apr 2024 16:55:03 +0200 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PULL 0/2] Misc HW patches for 2024-04-15 The following changes since commit 824ebb92c39920a65b34a93d1bd462baf0d2d174: Merge tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu into staging (2024-04-13 09:43:46 +0100) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240415 for you to fetch changes up to 6e4aceba2079e3df42edc89d44f4ee02343bb09e: hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus (2024-04-15 13:07:15 +0200) ---------------------------------------------------------------- Misc HW patch queue Fixes for hardware used by machines running AmigaOS. ---------------------------------------------------------------- BALATON Zoltan (2): hw/isa/vt82c686: Keep track of PIRQ/PINT pins separately hw/pci-host/ppc440_pcix: Do not expose a bridge device on PCI bus hw/isa/vt82c686.c | 3 ++- hw/pci-host/ppc440_pcix.c | 11 ++++------- 2 files changed, 6 insertions(+), 8 deletions(-) -- 2.41.0 . Date: Tue, 23 Apr 2024 17:08:48 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/63] First batch of i386 and build system patch for QEMU 9.1 The following changes since commit 62dbe54c24dbf77051bafe1039c31ddc8f37602d: Update version for v9.0.0-rc4 release (2024-04-16 18:06:15 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 254fade7854a6b3d5b7c54a4ca74c25bb928da14: target/i386/translate.c: always write 32-bits for SGDT and SIDT (2024-04-23 16:08:50 +0200) ---------------------------------------------------------------- * cleanups for stubs * do not link pixman automatically into all targets * optimize computation of VGA dirty memory region * kvm: use configs/ definition to conditionalize debug support * hw: Add compat machines for 9.1 * target/i386: add guest-phys-bits cpu property * target/i386: Introduce Icelake-Server-v7 and SierraForest models * target/i386: Export RFDS bit to guests * q35: SMM ranges cleanups * target/i386: basic support for confidential guests * linux-headers: update headers * target/i386: SEV: use KVM_SEV_INIT2 if possible * kvm: Introduce support for memory_attributes * RAMBlock: Add support of KVM private guest memfd * Consolidate use of warn_report_once() * pythondeps.toml: warn about updates needed to docs/requirements.txt * target/i386: always write 32-bits for SGDT and SIDT ---------------------------------------------------------------- Chao Peng (2): kvm: Enable KVM_SET_USER_MEMORY_REGION2 for memslot kvm: handle KVM_EXIT_MEMORY_FAULT Gerd Hoffmann (2): target/i386: add guest-phys-bits cpu property kvm: add support for guest physical bits Isaku Yamahata (4): pci-host/q35: Move PAM initialization above SMRAM initialization q35: Introduce smm_ranges property for q35-pci-host kvm/tdx: Don't complain when converting vMMIO region to shared kvm/tdx: Ignore memory conversion to shared of unassigned region Mark Cave-Ayland (1): target/i386/translate.c: always write 32-bits for SGDT and SIDT Michael Roth (4): scripts/update-linux-headers: Add setup_data.h to import list scripts/update-linux-headers: Add bits.h to file imports i386/sev: Add 'legacy-vm-type' parameter for SEV guest objects hw/i386/sev: Use legacy SEV VM types for older machine types Paolo Bonzini (28): meson: do not link pixman automatically into all targets tests: only build plugins if TCG is enabled tests/unit: match some unit tests to corresponding feature switches yank: only build if needed hw/core: Move system emulation files to system_ss stubs: remove obsolete stubs hw/usb: move stubs out of stubs/ hw/virtio: move stubs out of stubs/ semihosting: move stubs out of stubs/ ramfb: move stubs out of stubs/ memory-device: move stubs out of stubs/ colo: move stubs out of stubs/ stubs: split record/replay stubs further stubs: include stubs only if needed stubs: move monitor_fdsets_cleanup with other fdset stubs vga: optimize computation of dirty memory region vga: move dirty memory region code together kvm: use configs/ definition to conditionalize debug support hw: Add compat machines for 9.1 linux-headers: update to current kvm/next runstate: skip initial CPU reset if reset is not actually possible KVM: track whether guest state is encrypted KVM: remove kvm_arch_cpu_check_are_resettable target/i386: introduce x86-confidential-guest target/i386: Implement mc->kvm_type() to get VM type target/i386: SEV: use KVM_SEV_INIT2 if possible RAMBlock: make guest_memfd require uncoordinated discard pythondeps.toml: warn about updates needed to docs/requirements.txt Pawan Gupta (1): target/i386: Export RFDS bit to guests Philippe Mathieu-Daudé (3): ebpf: Restrict to system emulation util/qemu-config: Extract QMP commands to qemu-config-qmp.c hw: Include minimal source set in user emulation build Sean Christopherson (1): i386/kvm: Move architectural CPUID leaf generation to separate helper Tao Su (1): target/i386: Add new CPU model SierraForest Xiaoyao Li (11): hw/i386/acpi: Set PCAT_COMPAT bit only when pic is not disabled confidential guest support: Add kvm_init() and kvm_reset() in class i386/sev: Switch to use confidential_guest_kvm_init() ppc/pef: switch to use confidential_guest_kvm_init/reset() s390: Switch to use confidential_guest_kvm_init() trace/kvm: Split address space and slot id in trace_kvm_set_user_memory() kvm: Introduce support for memory_attributes RAMBlock: Add support of KVM private guest memfd kvm/memory: Make memory type private by default if it has guest memfd backend HostMem: Add mechanism to opt in kvm guest memfd via MachineState physmem: Introduce ram_block_discard_guest_memfd_range() Zhao Liu (4): target/i386/host-cpu: Consolidate the use of warn_report_once() target/i386/cpu: Consolidate the use of warn_report_once() target/i386/cpu: Merge the warning and error messages for AMD HT check accel/tcg/icount-common: Consolidate the use of warn_report_once() Zhenzhong Duan (1): target/i386: Introduce Icelake-Server-v7 to enable TSX docs/requirements.txt | 3 + configs/targets/aarch64-softmmu.mak | 1 + configs/targets/i386-softmmu.mak | 1 + configs/targets/ppc-softmmu.mak | 1 + configs/targets/ppc64-softmmu.mak | 1 + configs/targets/s390x-softmmu.mak | 1 + configs/targets/x86_64-softmmu.mak | 1 + meson.build | 8 +- qapi/qom.json | 11 +- include/exec/confidential-guest-support.h | 34 +- include/exec/cpu-common.h | 2 + include/exec/memory.h | 20 +- include/exec/ram_addr.h | 2 +- include/exec/ramblock.h | 1 + include/hw/boards.h | 5 + include/hw/i386/pc.h | 4 + include/hw/pci-host/q35.h | 1 + include/hw/ppc/pef.h | 17 - include/qemu/config-file.h | 3 + include/standard-headers/asm-x86/bootparam.h | 17 +- include/standard-headers/asm-x86/kvm_para.h | 3 +- include/standard-headers/asm-x86/setup_data.h | 83 +++ include/standard-headers/linux/ethtool.h | 48 ++ include/standard-headers/linux/fuse.h | 39 +- include/standard-headers/linux/input-event-codes.h | 1 + include/standard-headers/linux/virtio_gpu.h | 2 + include/standard-headers/linux/virtio_pci.h | 10 +- include/standard-headers/linux/virtio_snd.h | 154 +++++ include/sysemu/hostmem.h | 1 + include/sysemu/kvm.h | 22 +- include/sysemu/kvm_int.h | 5 +- include/sysemu/sysemu.h | 2 - linux-headers/asm-arm64/kvm.h | 15 +- linux-headers/asm-arm64/sve_context.h | 11 + linux-headers/asm-generic/bitsperlong.h | 4 + linux-headers/asm-loongarch/kvm.h | 2 - linux-headers/asm-mips/kvm.h | 2 - linux-headers/asm-powerpc/kvm.h | 45 +- linux-headers/asm-riscv/kvm.h | 3 +- linux-headers/asm-s390/kvm.h | 315 +++++++++- linux-headers/asm-x86/kvm.h | 328 +++++++++- linux-headers/linux/bits.h | 15 + linux-headers/linux/kvm.h | 689 +-------------------- linux-headers/linux/psp-sev.h | 59 ++ linux-headers/linux/vhost.h | 7 + target/i386/confidential-guest.h | 59 ++ target/i386/cpu.h | 8 + target/i386/kvm/kvm_i386.h | 2 + target/i386/sev.h | 2 - target/s390x/kvm/pv.h | 14 - accel/kvm/kvm-accel-ops.c | 6 +- accel/kvm/kvm-all.c | 274 +++++++- accel/stubs/kvm-stub.c | 5 + accel/tcg/icount-common.c | 6 +- backends/hostmem-file.c | 1 + backends/hostmem-memfd.c | 1 + backends/hostmem-ram.c | 1 + backends/hostmem.c | 1 + hw/arm/virt.c | 11 +- hw/core/machine.c | 8 + stubs/ramfb.c => hw/display/ramfb-stubs.c | 0 hw/display/vga.c | 32 +- hw/i386/acpi-common.c | 4 +- hw/i386/pc.c | 6 + hw/i386/pc_piix.c | 17 +- hw/i386/pc_q35.c | 16 +- hw/i386/x86.c | 19 +- hw/m68k/virt.c | 11 +- .../mem/memory-device-stubs.c | 0 hw/pci-host/q35.c | 61 +- hw/ppc/pef.c | 9 +- hw/ppc/spapr.c | 27 +- hw/s390x/s390-virtio-ccw.c | 19 +- stubs/usb-dev-stub.c => hw/usb/bus-stub.c | 5 - .../virtio-md-pci.c => hw/virtio/virtio-md-stubs.c | 0 stubs/colo.c => migration/colo-stubs.c | 0 monitor/qemu-config-qmp.c | 206 ++++++ stubs/colo-compare.c => net/colo-stubs.c | 0 stubs/semihost-all.c => semihosting/stubs-all.c | 0 stubs/semihost.c => semihosting/stubs-system.c | 0 stubs/fdset.c | 6 + {hw/core => stubs}/hotplug-stubs.c | 0 stubs/isa-bus.c | 7 - stubs/module-opts.c | 2 - stubs/monitor-core.c | 6 - stubs/{monitor.c => monitor-internal.c} | 5 - stubs/pci-bus.c | 7 - stubs/qdev.c | 6 - stubs/qtest.c | 10 - stubs/replay-mode.c | 4 + stubs/replay.c | 2 - system/memory.c | 5 + system/physmem.c | 65 +- system/runstate.c | 15 +- target/arm/kvm.c | 5 - target/i386/confidential-guest.c | 33 + target/i386/cpu.c | 175 +++++- target/i386/host-cpu.c | 11 +- target/i386/kvm/kvm-cpu.c | 50 +- target/i386/kvm/kvm.c | 510 ++++++++------- target/i386/kvm/sev-stub.c | 21 - target/i386/sev.c | 178 ++++-- target/i386/tcg/translate.c | 14 +- target/loongarch/kvm/kvm.c | 5 - target/mips/kvm.c | 5 - target/ppc/kvm.c | 5 - target/riscv/kvm/kvm-cpu.c | 5 - target/s390x/kvm/kvm.c | 5 - target/s390x/kvm/pv.c | 10 +- util/qemu-config.c | 204 +----- accel/kvm/trace-events | 4 +- ebpf/meson.build | 2 +- hw/core/meson.build | 14 +- hw/display/meson.build | 2 +- hw/mem/meson.build | 1 + hw/usb/meson.build | 2 +- hw/virtio/meson.build | 2 + migration/meson.build | 2 + monitor/meson.build | 1 + net/meson.build | 2 + pythondeps.toml | 1 + scripts/update-linux-headers.sh | 8 +- semihosting/meson.build | 3 + stubs/meson.build | 133 ++-- target/i386/kvm/meson.build | 2 - target/i386/meson.build | 2 +- tests/meson.build | 2 +- tests/unit/meson.build | 12 +- util/meson.build | 2 +- 129 files changed, 2786 insertions(+), 1617 deletions(-) delete mode 100644 include/hw/ppc/pef.h create mode 100644 include/standard-headers/asm-x86/setup_data.h create mode 100644 linux-headers/linux/bits.h create mode 100644 target/i386/confidential-guest.h rename stubs/ramfb.c => hw/display/ramfb-stubs.c (100%) rename stubs/memory_device.c => hw/mem/memory-device-stubs.c (100%) rename stubs/usb-dev-stub.c => hw/usb/bus-stub.c (83%) rename stubs/virtio-md-pci.c => hw/virtio/virtio-md-stubs.c (100%) rename stubs/colo.c => migration/colo-stubs.c (100%) create mode 100644 monitor/qemu-config-qmp.c rename stubs/colo-compare.c => net/colo-stubs.c (100%) rename stubs/semihost-all.c => semihosting/stubs-all.c (100%) rename stubs/semihost.c => semihosting/stubs-system.c (100%) rename {hw/core => stubs}/hotplug-stubs.c (100%) delete mode 100644 stubs/isa-bus.c delete mode 100644 stubs/module-opts.c rename stubs/{monitor.c => monitor-internal.c} (79%) delete mode 100644 stubs/pci-bus.c create mode 100644 stubs/replay-mode.c create mode 100644 target/i386/confidential-guest.c delete mode 100644 target/i386/kvm/sev-stub.c -- 2.44.0 . Date: Tue, 23 Apr 2024 18:37:47 -0400 From: Peter Xu To: qemu-devel@nongnu.org Cc: peterx@redhat.com, Prasad Pandit , Peter Maydell , Fabiano Rosas Subject: [PULL 00/26] Migration 20240423 patches The following changes since commit c25df57ae8f9fe1c72eee2dab37d76d904ac382e: Update version for 9.0.0 release (2024-04-23 14:19:21 +0100) are available in the Git repository at: https://gitlab.com/peterx/qemu.git tags/migration-20240423-pull-request for you to fetch changes up to 2cc637f1ea08d2a1b19fc5b1a30bc609f948de93: migration/colo: Fix bdrv_graph_rdlock_main_loop: Assertion `!qemu_in_coroutine()' failed. (2024-04-23 18:36:01 -0400) ---------------------------------------------------------------- Migration pull for 9.1 - Het's new test cases for "channels" - Het's fix for a typo for vsock parsing - Cedric's VFIO error report series - Cedric's one more patch for dirty-bitmap error reports - Zhijian's rdma deprecation patch - Yuan's zeropage optimization to fix double faults on anon mem - Zhijian's COLO fix on a crash ---------------------------------------------------------------- Cédric Le Goater (15): s390/stattrib: Add Error** argument to set_migrationmode() handler vfio: Always report an error in vfio_save_setup() migration: Always report an error in block_save_setup() migration: Always report an error in ram_save_setup() migration: Add Error** argument to vmstate_save() migration: Add Error** argument to qemu_savevm_state_setup() migration: Add Error** argument to .save_setup() handler migration: Add Error** argument to .load_setup() handler memory: Add Error** argument to .log_global_start() handler migration: Introduce ram_bitmaps_destroy() memory: Add Error** argument to the global_dirty_log routines migration: Add Error** argument to ram_state_init() migration: Add Error** argument to xbzrle_init() migration: Modify ram_init_bitmaps() to report dirty tracking errors migration: Add Error** argument to add_bitmaps_to_list() Het Gala (9): tests/qtest/migration: Add 'to' object into migrate_qmp() tests/qtest/migration: Replace connect_uri and move migrate_get_socket_address inside migrate_qmp tests/qtest/migration: Replace migrate_get_connect_uri inplace of migrate_get_socket_address tests/qtest/migration: Add channels parameter in migrate_qmp_fail tests/qtest/migration: Add migrate_set_ports into migrate_qmp to update migration port value tests/qtest/migration: Add channels parameter in migrate_qmp tests/qtest/migration: Add multifd_tcp_plain test using list of channels instead of uri tests/qtest/migration: Add negative tests to validate migration QAPIs tests/qtest/migration: Fix typo for vsock in SocketAddress_to_str Li Zhijian (1): migration/colo: Fix bdrv_graph_rdlock_main_loop: Assertion `!qemu_in_coroutine()' failed. Yuan Liu (1): migration/multifd: solve zero page causing multiple page faults include/exec/memory.h | 10 +- include/exec/ramblock.h | 2 +- include/hw/s390x/storage-attributes.h | 2 +- include/migration/register.h | 6 +- migration/ram.h | 1 + migration/savevm.h | 2 +- tests/qtest/migration-helpers.h | 10 +- hw/i386/xen/xen-hvm.c | 5 +- hw/ppc/spapr.c | 2 +- hw/s390x/s390-stattrib-kvm.c | 12 +- hw/s390x/s390-stattrib.c | 15 ++- hw/vfio/common.c | 4 +- hw/vfio/migration.c | 29 +++-- hw/virtio/vhost.c | 3 +- migration/block-dirty-bitmap.c | 34 ++--- migration/block.c | 17 ++- migration/colo.c | 18 +-- migration/dirtyrate.c | 13 +- migration/migration.c | 33 ++++- migration/multifd-zero-page.c | 4 +- migration/multifd-zlib.c | 1 + migration/multifd-zstd.c | 1 + migration/multifd.c | 1 + migration/ram.c | 110 +++++++++++----- migration/savevm.c | 57 ++++---- system/memory.c | 44 ++++++- tests/qtest/migration-helpers.c | 158 +++++++++++++++++++++- tests/qtest/migration-test.c | 180 ++++++++++++++------------ 28 files changed, 558 insertions(+), 216 deletions(-) -- 2.44.0 . Date: Wed, 24 Apr 2024 09:57:18 +0200 From: Thomas Huth To: qemu-devel@nongnu.org Cc: Richard Henderson Subject: [PULL 00/17] CI job updates, header cleanups and other misc patches The following changes since commit 13b1e9667737132440f4d500c31cb69320c6b15a: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-04-23 17:35:57 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-04-24 for you to fetch changes up to 8f29bab03ea22694a127ee33edeb4ce99eeb124e: target/s390x: Remove KVM stubs in cpu_models.h (2024-04-24 09:45:02 +0200) ---------------------------------------------------------------- * Update OpenBSD CI image to 7.5 * Update/remove Ubuntu 20.04 CI jobs * Update CentOS 8 CI jobs to CentOS 9 * Some clean-ups and improvements to travis.yml * Minor test fixes * s390x header clean-ups * Doc updates ---------------------------------------------------------------- Brad Smith (1): tests/vm: update openbsd image to 7.5 Inès Varhol (1): tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` Manos Pitsidianakis (1): docs/devel: fix minor typo in submitting-a-patch.rst Paolo Bonzini (1): ci: move external build environment setups to CentOS Stream 9 Peter Lieven (1): MAINTAINERS: update email of Peter Lieven Philippe Mathieu-Daudé (3): hw/s390x: Include missing 'cpu.h' header tests/unit: Remove debug statements in test-nested-aio-poll.c target/s390x: Remove KVM stubs in cpu_models.h Thomas Huth (8): Revert ".travis.yml: Cache Avocado cache" .travis.yml: Remove the unused UNRELIABLE environment variable .travis.yml: Update the jobs to Ubuntu 22.04 .travis.yml: Do some more testing with Clang tests: Remove Ubuntu 20.04 container tests/lcitool/libvirt-ci: Update to the latest master branch tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update tests: Update our CI to use CentOS Stream 9 instead of 8 Zhao Liu (1): docs: i386: pc: Update maximum CPU numbers for PC Q35 MAINTAINERS | 6 +- docs/devel/submitting-a-patch.rst | 2 +- docs/system/target-i386-desc.rst.inc | 2 +- hw/s390x/s390-virtio-hcall.h | 2 + target/s390x/cpu_models.h | 15 -- hw/s390x/s390-stattrib.c | 1 + tests/qtest/aspeed_fsi-test.c | 20 +-- tests/qtest/cmsdk-apb-dualtimer-test.c | 2 +- tests/qtest/cmsdk-apb-watchdog-test.c | 2 +- tests/qtest/erst-test.c | 2 +- tests/qtest/ivshmem-test.c | 10 +- tests/qtest/libqos/ahci.c | 4 +- tests/qtest/microbit-test.c | 46 +++--- tests/qtest/sse-timer-test.c | 4 +- tests/qtest/stm32l4x5_exti-test.c | 138 +++++++++--------- tests/qtest/stm32l4x5_syscfg-test.c | 74 +++++----- tests/unit/test-nested-aio-poll.c | 7 - .gitlab-ci.d/buildtest.yml | 16 +-- .gitlab-ci.d/container-core.yml | 4 +- .travis.yml | 24 +--- .../stream/{8 => 9}/build-environment.yml | 31 ++-- .../ci/org.centos/stream/{8 => 9}/x86_64/configure | 4 +- .../org.centos/stream/{8 => 9}/x86_64/test-avocado | 0 scripts/ci/setup/build-environment.yml | 44 +++--- tests/docker/dockerfiles/alpine.docker | 3 +- .../dockerfiles/{centos8.docker => centos9.docker} | 35 ++--- tests/docker/dockerfiles/debian-amd64-cross.docker | 3 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 3 +- tests/docker/dockerfiles/debian-armel-cross.docker | 3 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 3 +- tests/docker/dockerfiles/debian-i686-cross.docker | 3 +- .../dockerfiles/debian-mips64el-cross.docker | 3 +- .../docker/dockerfiles/debian-mipsel-cross.docker | 3 +- .../docker/dockerfiles/debian-ppc64el-cross.docker | 3 +- .../docker/dockerfiles/debian-riscv64-cross.docker | 3 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 3 +- tests/docker/dockerfiles/debian.docker | 1 + tests/docker/dockerfiles/fedora-win64-cross.docker | 3 +- tests/docker/dockerfiles/fedora.docker | 1 + tests/docker/dockerfiles/opensuse-leap.docker | 1 + tests/docker/dockerfiles/ubuntu2004.docker | 157 --------------------- tests/docker/dockerfiles/ubuntu2204.docker | 1 + tests/lcitool/libvirt-ci | 2 +- tests/lcitool/mappings.yml | 20 --- tests/lcitool/refresh | 3 +- tests/vm/centos | 4 +- tests/vm/openbsd | 6 +- 47 files changed, 259 insertions(+), 468 deletions(-) rename scripts/ci/org.centos/stream/{8 => 9}/build-environment.yml (75%) rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/configure (98%) rename scripts/ci/org.centos/stream/{8 => 9}/x86_64/test-avocado (100%) rename tests/docker/dockerfiles/{centos8.docker => centos9.docker} (82%) delete mode 100644 tests/docker/dockerfiles/ubuntu2004.docker . Date: Wed, 24 Apr 2024 10:03:27 +0200 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 00/10] Error reporting patches for 2024-04-24 The following changes since commit c25df57ae8f9fe1c72eee2dab37d76d904ac382e: Update version for 9.0.0 release (2024-04-23 14:19:21 +0100) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-error-2024-04-24 for you to fetch changes up to be842efbe3102c6aa1980039f6d4a8f997f1ff8c: qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definition (2024-04-24 09:50:58 +0200) ---------------------------------------------------------------- Error reporting patches for 2024-04-24 ---------------------------------------------------------------- Markus Armbruster (1): error: Drop superfluous #include "qapi/qmp/qerror.h" Philippe Mathieu-Daudé (9): qapi: Inline and remove QERR_BUS_NO_HOTPLUG definition qapi: Inline and remove QERR_DEVICE_HAS_NO_MEDIUM definition qapi: Inline and remove QERR_DEVICE_NO_HOTPLUG definition qapi: Inline and remove QERR_INVALID_PARAMETER definition qapi: Inline QERR_INVALID_PARAMETER_TYPE definition (constant value) qapi: Inline and remove QERR_INVALID_PARAMETER_TYPE definition qapi: Correct error message for 'vcpu_dirty_limit' parameter qapi: Inline and remove QERR_MIGRATION_ACTIVE definition qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definition include/qapi/qmp/qerror.h | 21 --------------------- backends/iommufd.c | 1 - block/snapshot.c | 7 ++++--- blockdev.c | 2 +- chardev/char-fe.c | 1 - hw/core/qdev-properties.c | 3 +-- hw/core/qdev.c | 4 ++-- hw/ppc/spapr_pci.c | 5 ++--- migration/migration.c | 2 +- migration/options.c | 9 ++++----- migration/savevm.c | 2 +- qapi/opts-visitor.c | 2 +- qapi/qobject-input-visitor.c | 32 ++++++++++++++++---------------- qapi/string-input-visitor.c | 8 ++++---- qom/object.c | 16 ++++++++++------ system/qdev-monitor.c | 10 ++++++---- system/rtc.c | 1 - util/qemu-option.c | 10 +++++----- scripts/qapi/visit.py | 5 ++--- 19 files changed, 60 insertions(+), 81 deletions(-) -- 2.44.0 . Date: Wed, 24 Apr 2024 10:14:42 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 00/63] First batch of i386 and build system patch for QEMU 9.1 The following changes since commit 62dbe54c24dbf77051bafe1039c31ddc8f37602d: Update version for v9.0.0-rc4 release (2024-04-16 18:06:15 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 7653b44534d3267fa63ebc9d7221eaa7b48bf5ae: target/i386/translate.c: always write 32-bits for SGDT and SIDT (2024-04-23 17:35:26 +0200) ---------------------------------------------------------------- * cleanups for stubs * do not link pixman automatically into all targets * optimize computation of VGA dirty memory region * kvm: use configs/ definition to conditionalize debug support * hw: Add compat machines for 9.1 * target/i386: add guest-phys-bits cpu property * target/i386: Introduce Icelake-Server-v7 and SierraForest models * target/i386: Export RFDS bit to guests * q35: SMM ranges cleanups * target/i386: basic support for confidential guests * linux-headers: update headers * target/i386: SEV: use KVM_SEV_INIT2 if possible * kvm: Introduce support for memory_attributes * RAMBlock: Add support of KVM private guest memfd * Consolidate use of warn_report_once() * pythondeps.toml: warn about updates needed to docs/requirements.txt * target/i386: always write 32-bits for SGDT and SIDT ---------------------------------------------------------------- Chao Peng (2): kvm: Enable KVM_SET_USER_MEMORY_REGION2 for memslot kvm: handle KVM_EXIT_MEMORY_FAULT Gerd Hoffmann (2): target/i386: add guest-phys-bits cpu property kvm: add support for guest physical bits Isaku Yamahata (4): pci-host/q35: Move PAM initialization above SMRAM initialization q35: Introduce smm_ranges property for q35-pci-host kvm/tdx: Don't complain when converting vMMIO region to shared kvm/tdx: Ignore memory conversion to shared of unassigned region Mark Cave-Ayland (1): target/i386/translate.c: always write 32-bits for SGDT and SIDT Michael Roth (4): scripts/update-linux-headers: Add setup_data.h to import list scripts/update-linux-headers: Add bits.h to file imports i386/sev: Add 'legacy-vm-type' parameter for SEV guest objects hw/i386/sev: Use legacy SEV VM types for older machine types Paolo Bonzini (28): meson: do not link pixman automatically into all targets tests: only build plugins if TCG is enabled tests/unit: match some unit tests to corresponding feature switches yank: only build if needed hw/core: Move system emulation files to system_ss stubs: remove obsolete stubs hw/usb: move stubs out of stubs/ hw/virtio: move stubs out of stubs/ semihosting: move stubs out of stubs/ ramfb: move stubs out of stubs/ memory-device: move stubs out of stubs/ colo: move stubs out of stubs/ stubs: split record/replay stubs further stubs: include stubs only if needed stubs: move monitor_fdsets_cleanup with other fdset stubs vga: optimize computation of dirty memory region vga: move dirty memory region code together kvm: use configs/ definition to conditionalize debug support hw: Add compat machines for 9.1 linux-headers: update to current kvm/next runstate: skip initial CPU reset if reset is not actually possible KVM: track whether guest state is encrypted KVM: remove kvm_arch_cpu_check_are_resettable target/i386: introduce x86-confidential-guest target/i386: Implement mc->kvm_type() to get VM type target/i386: SEV: use KVM_SEV_INIT2 if possible RAMBlock: make guest_memfd require uncoordinated discard pythondeps.toml: warn about updates needed to docs/requirements.txt Pawan Gupta (1): target/i386: Export RFDS bit to guests Philippe Mathieu-Daudé (3): ebpf: Restrict to system emulation util/qemu-config: Extract QMP commands to qemu-config-qmp.c hw: Include minimal source set in user emulation build Sean Christopherson (1): i386/kvm: Move architectural CPUID leaf generation to separate helper Tao Su (1): target/i386: Add new CPU model SierraForest Xiaoyao Li (11): hw/i386/acpi: Set PCAT_COMPAT bit only when pic is not disabled confidential guest support: Add kvm_init() and kvm_reset() in class i386/sev: Switch to use confidential_guest_kvm_init() ppc/pef: switch to use confidential_guest_kvm_init/reset() s390: Switch to use confidential_guest_kvm_init() trace/kvm: Split address space and slot id in trace_kvm_set_user_memory() kvm: Introduce support for memory_attributes RAMBlock: Add support of KVM private guest memfd kvm/memory: Make memory type private by default if it has guest memfd backend HostMem: Add mechanism to opt in kvm guest memfd via MachineState physmem: Introduce ram_block_discard_guest_memfd_range() Zhao Liu (4): target/i386/host-cpu: Consolidate the use of warn_report_once() target/i386/cpu: Consolidate the use of warn_report_once() target/i386/cpu: Merge the warning and error messages for AMD HT check accel/tcg/icount-common: Consolidate the use of warn_report_once() Zhenzhong Duan (1): target/i386: Introduce Icelake-Server-v7 to enable TSX docs/requirements.txt | 3 + configs/targets/aarch64-softmmu.mak | 1 + configs/targets/i386-softmmu.mak | 1 + configs/targets/ppc-softmmu.mak | 1 + configs/targets/ppc64-softmmu.mak | 1 + configs/targets/s390x-softmmu.mak | 1 + configs/targets/x86_64-softmmu.mak | 1 + meson.build | 8 +- qapi/qom.json | 11 +- include/exec/confidential-guest-support.h | 34 +- include/exec/cpu-common.h | 2 + include/exec/memory.h | 20 +- include/exec/ram_addr.h | 2 +- include/exec/ramblock.h | 1 + include/hw/boards.h | 5 + include/hw/i386/pc.h | 4 + include/hw/pci-host/q35.h | 1 + include/hw/ppc/pef.h | 17 - include/qemu/config-file.h | 3 + include/standard-headers/asm-x86/bootparam.h | 17 +- include/standard-headers/asm-x86/kvm_para.h | 3 +- include/standard-headers/asm-x86/setup_data.h | 83 +++ include/standard-headers/linux/ethtool.h | 48 ++ include/standard-headers/linux/fuse.h | 39 +- include/standard-headers/linux/input-event-codes.h | 1 + include/standard-headers/linux/virtio_gpu.h | 2 + include/standard-headers/linux/virtio_pci.h | 10 +- include/standard-headers/linux/virtio_snd.h | 154 +++++ include/sysemu/hostmem.h | 1 + include/sysemu/kvm.h | 22 +- include/sysemu/kvm_int.h | 5 +- include/sysemu/sysemu.h | 2 - linux-headers/asm-arm64/kvm.h | 15 +- linux-headers/asm-arm64/sve_context.h | 11 + linux-headers/asm-generic/bitsperlong.h | 4 + linux-headers/asm-loongarch/kvm.h | 2 - linux-headers/asm-mips/kvm.h | 2 - linux-headers/asm-powerpc/kvm.h | 45 +- linux-headers/asm-riscv/kvm.h | 3 +- linux-headers/asm-s390/kvm.h | 315 +++++++++- linux-headers/asm-x86/kvm.h | 328 +++++++++- linux-headers/linux/bits.h | 15 + linux-headers/linux/kvm.h | 689 +-------------------- linux-headers/linux/psp-sev.h | 59 ++ linux-headers/linux/vhost.h | 7 + target/i386/confidential-guest.h | 59 ++ target/i386/cpu.h | 8 + target/i386/kvm/kvm_i386.h | 2 + target/i386/sev.h | 2 - target/s390x/kvm/pv.h | 14 - accel/kvm/kvm-accel-ops.c | 6 +- accel/kvm/kvm-all.c | 274 +++++++- accel/stubs/kvm-stub.c | 5 + accel/tcg/icount-common.c | 6 +- backends/hostmem-file.c | 1 + backends/hostmem-memfd.c | 1 + backends/hostmem-ram.c | 1 + backends/hostmem.c | 1 + hw/arm/virt.c | 11 +- hw/core/machine.c | 8 + stubs/ramfb.c => hw/display/ramfb-stubs.c | 0 hw/display/vga.c | 32 +- hw/i386/acpi-common.c | 4 +- hw/i386/pc.c | 6 + hw/i386/pc_piix.c | 17 +- hw/i386/pc_q35.c | 16 +- hw/i386/x86.c | 19 +- hw/m68k/virt.c | 11 +- .../mem/memory-device-stubs.c | 0 hw/pci-host/q35.c | 61 +- hw/ppc/pef.c | 9 +- hw/ppc/spapr.c | 27 +- hw/s390x/s390-virtio-ccw.c | 19 +- stubs/usb-dev-stub.c => hw/usb/bus-stub.c | 5 - .../virtio-md-pci.c => hw/virtio/virtio-md-stubs.c | 0 stubs/colo.c => migration/colo-stubs.c | 0 monitor/qemu-config-qmp.c | 206 ++++++ stubs/colo-compare.c => net/colo-stubs.c | 0 stubs/semihost-all.c => semihosting/stubs-all.c | 0 stubs/semihost.c => semihosting/stubs-system.c | 0 stubs/fdset.c | 6 + {hw/core => stubs}/hotplug-stubs.c | 0 stubs/isa-bus.c | 7 - stubs/module-opts.c | 2 - stubs/monitor-core.c | 6 - stubs/{monitor.c => monitor-internal.c} | 5 - stubs/pci-bus.c | 7 - stubs/qdev.c | 6 - stubs/qtest.c | 10 - stubs/replay-mode.c | 4 + stubs/replay.c | 2 - system/memory.c | 5 + system/physmem.c | 65 +- system/runstate.c | 15 +- target/arm/kvm.c | 5 - target/i386/confidential-guest.c | 33 + target/i386/cpu.c | 175 +++++- target/i386/host-cpu.c | 11 +- target/i386/kvm/kvm-cpu.c | 50 +- target/i386/kvm/kvm.c | 510 ++++++++------- target/i386/kvm/sev-stub.c | 21 - target/i386/sev.c | 178 ++++-- target/i386/tcg/translate.c | 14 +- target/loongarch/kvm/kvm.c | 5 - target/mips/kvm.c | 5 - target/ppc/kvm.c | 5 - target/riscv/kvm/kvm-cpu.c | 5 - target/s390x/kvm/kvm.c | 5 - target/s390x/kvm/pv.c | 10 +- util/qemu-config.c | 204 +----- accel/kvm/trace-events | 4 +- ebpf/meson.build | 2 +- hw/core/meson.build | 14 +- hw/display/meson.build | 2 +- hw/mem/meson.build | 1 + hw/usb/meson.build | 2 +- hw/virtio/meson.build | 2 + migration/meson.build | 2 + monitor/meson.build | 1 + net/meson.build | 2 + pythondeps.toml | 1 + scripts/update-linux-headers.sh | 8 +- semihosting/meson.build | 3 + stubs/meson.build | 133 ++-- target/i386/kvm/meson.build | 2 - target/i386/meson.build | 2 +- tests/meson.build | 2 +- tests/unit/meson.build | 12 +- util/meson.build | 2 +- 129 files changed, 2786 insertions(+), 1617 deletions(-) delete mode 100644 include/hw/ppc/pef.h create mode 100644 include/standard-headers/asm-x86/setup_data.h create mode 100644 linux-headers/linux/bits.h create mode 100644 target/i386/confidential-guest.h rename stubs/ramfb.c => hw/display/ramfb-stubs.c (100%) rename stubs/memory_device.c => hw/mem/memory-device-stubs.c (100%) rename stubs/usb-dev-stub.c => hw/usb/bus-stub.c (83%) rename stubs/virtio-md-pci.c => hw/virtio/virtio-md-stubs.c (100%) rename stubs/colo.c => migration/colo-stubs.c (100%) create mode 100644 monitor/qemu-config-qmp.c rename stubs/colo-compare.c => net/colo-stubs.c (100%) rename stubs/semihost-all.c => semihosting/stubs-all.c (100%) rename stubs/semihost.c => semihosting/stubs-system.c (100%) rename {hw/core => stubs}/hotplug-stubs.c (100%) delete mode 100644 stubs/isa-bus.c delete mode 100644 stubs/module-opts.c rename stubs/{monitor.c => monitor-internal.c} (79%) delete mode 100644 stubs/pci-bus.c create mode 100644 stubs/replay-mode.c create mode 100644 target/i386/confidential-guest.c delete mode 100644 target/i386/kvm/sev-stub.c -- 2.44.0 . Date: Wed, 24 Apr 2024 10:16:45 +0200 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 00/25] QAPI patches patches for 2024-04-24 The following changes since commit c25df57ae8f9fe1c72eee2dab37d76d904ac382e: Update version for 9.0.0 release (2024-04-23 14:19:21 +0100) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-04-24 for you to fetch changes up to 060b5a9323e5f49c5edcb77c42e231065bbcc42e: qapi: Dumb down QAPISchema.lookup_entity() (2024-04-24 10:03:54 +0200) ---------------------------------------------------------------- QAPI patches patches for 2024-04-24 ---------------------------------------------------------------- John Snow (22): qapi/parser: fix typo - self.returns.info => self.errors.info qapi/parser: shush up pylint qapi: sort pylint suppressions qapi/schema: add pylint suppressions qapi: create QAPISchemaDefinition qapi/schema: declare type for QAPISchemaObjectTypeMember.type qapi/schema: declare type for QAPISchemaArrayType.element_type qapi/schema: make c_type() and json_type() abstract methods qapi/schema: adjust type narrowing for mypy's benefit qapi/schema: add type narrowing to lookup_type() qapi/schema: assert resolve_type has 'info' and 'what' args on error qapi/schema: fix QAPISchemaArrayType.check's call to resolve_type qapi/schema: assert info is present when necessary qapi/schema: add _check_complete flag qapi/schema: Don't initialize "members" with `None` qapi/schema: fix typing for QAPISchemaVariants.tag_member qapi/schema: assert inner type of QAPISchemaVariants in check_clash() qapi/parser: demote QAPIExpression to Dict[str, Any] qapi/parser.py: assert member.info is present in connect_member qapi/schema: add type hints qapi/schema: turn on mypy strictness qapi/schema: remove unnecessary asserts Markus Armbruster (3): qapi: Assert built-in types exist qapi: Tighten check whether implicit object type already exists qapi: Dumb down QAPISchema.lookup_entity() scripts/qapi/introspect.py | 8 +- scripts/qapi/mypy.ini | 5 - scripts/qapi/parser.py | 7 +- scripts/qapi/pylintrc | 11 +- scripts/qapi/schema.py | 794 +++++++++++++++++++++++++++++---------------- 5 files changed, 537 insertions(+), 288 deletions(-) -- 2.44.0 . Date: Wed, 24 Apr 2024 16:14:02 +0200 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: devel@lists.libvirt.org, qemu-block@nongnu.org, Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PULL 0/5] Housekeeping patches for 2024-04-24 The following changes since commit 1a6f53953df65f31e922f8a1763dac9f10adc81b: Open 9.1 development tree (2024-04-23 17:33:36 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/housekeeping-20240424 for you to fetch changes up to 2d9cbbea64e67d90c3c22d7e2d5ab530d830eb33: block/gluster: Remove deprecated RDMA protocol handling (2024-04-24 16:03:38 +0200) ---------------------------------------------------------------- Removal of deprecated code - Remove the Nios II target and hardware - Remove pvrdma device and rdmacm-mux helper - Remove GlusterFS RDMA protocol handling - Update Sriram Yagnaraman mail address ---------------------------------------------------------------- Philippe Mathieu-Daudé (4): target/nios2: Remove the deprecated Nios II target hw/timer: Remove the ALTERA_TIMER model hw/rdma: Remove deprecated pvrdma device and rdmacm-mux helper block/gluster: Remove deprecated RDMA protocol handling Sriram Yagnaraman (1): MAINTAINERS: Update Sriram Yagnaraman mail address MAINTAINERS | 25 +- docs/about/deprecated.rst | 20 - docs/about/emulation.rst | 7 - docs/about/removed-features.rst | 21 + docs/pvrdma.txt | 345 -- docs/system/device-url-syntax.rst.inc | 4 +- docs/system/loongarch/virt.rst | 2 +- docs/system/qemu-block-drivers.rst.inc | 1 - docs/system/replay.rst | 2 +- docs/user/main.rst | 4 - configure | 2 - configs/devices/nios2-softmmu/default.mak | 6 - configs/targets/nios2-linux-user.mak | 1 - configs/targets/nios2-softmmu.mak | 2 - meson.build | 38 - qapi/machine.json | 19 +- qapi/qapi-schema.json | 1 - qapi/rdma.json | 38 - contrib/rdmacm-mux/rdmacm-mux.h | 61 - hw/nios2/boot.h | 10 - hw/rdma/rdma_backend.h | 129 - hw/rdma/rdma_backend_defs.h | 76 - hw/rdma/rdma_rm.h | 97 - hw/rdma/rdma_rm_defs.h | 146 - hw/rdma/rdma_utils.h | 63 - hw/rdma/trace.h | 1 - hw/rdma/vmw/pvrdma.h | 144 - hw/rdma/vmw/pvrdma_dev_ring.h | 46 - hw/rdma/vmw/pvrdma_qp_ops.h | 28 - hw/rdma/vmw/trace.h | 1 - include/disas/dis-asm.h | 5 - include/exec/poison.h | 2 - include/exec/user/abitypes.h | 3 +- include/hw/intc/nios2_vic.h | 66 - include/hw/rdma/rdma.h | 37 - include/monitor/hmp.h | 1 - .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 685 ---- .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 348 -- .../standard-headers/rdma/vmw_pvrdma-abi.h | 310 -- include/sysemu/arch_init.h | 1 - linux-user/nios2/sockbits.h | 1 - linux-user/nios2/syscall_nr.h | 333 -- linux-user/nios2/target_cpu.h | 49 - linux-user/nios2/target_elf.h | 14 - linux-user/nios2/target_errno_defs.h | 7 - linux-user/nios2/target_fcntl.h | 11 - linux-user/nios2/target_mman.h | 11 - linux-user/nios2/target_prctl.h | 1 - linux-user/nios2/target_proc.h | 1 - linux-user/nios2/target_resource.h | 1 - linux-user/nios2/target_signal.h | 9 - linux-user/nios2/target_structs.h | 1 - linux-user/nios2/target_syscall.h | 37 - linux-user/nios2/termbits.h | 1 - linux-user/syscall_defs.h | 4 +- target/nios2/cpu-param.h | 20 - target/nios2/cpu-qom.h | 18 - target/nios2/cpu.h | 301 -- target/nios2/helper.h | 32 - target/nios2/mmu.h | 52 - tests/tcg/nios2/semicall.h | 28 - block/gluster.c | 39 - contrib/rdmacm-mux/main.c | 831 ---- disas/nios2.c | 3514 ----------------- hw/core/machine-qmp-cmds.c | 32 - hw/intc/nios2_vic.c | 313 -- hw/nios2/10m50_devboard.c | 181 - hw/nios2/boot.c | 234 -- hw/nios2/generic_nommu.c | 101 - hw/rdma/rdma.c | 30 - hw/rdma/rdma_backend.c | 1401 ------- hw/rdma/rdma_rm.c | 812 ---- hw/rdma/rdma_utils.c | 126 - hw/rdma/vmw/pvrdma_cmd.c | 815 ---- hw/rdma/vmw/pvrdma_dev_ring.c | 141 - hw/rdma/vmw/pvrdma_main.c | 735 ---- hw/rdma/vmw/pvrdma_qp_ops.c | 298 -- hw/timer/altera_timer.c | 244 -- linux-user/elfload.c | 99 - linux-user/nios2/cpu_loop.c | 157 - linux-user/nios2/signal.c | 210 - monitor/qmp-cmds.c | 1 - target/nios2/cpu.c | 410 -- target/nios2/helper.c | 371 -- target/nios2/mmu.c | 216 - target/nios2/monitor.c | 35 - target/nios2/nios2-semi.c | 230 -- target/nios2/op_helper.c | 119 - target/nios2/translate.c | 1107 ------ tests/qtest/machine-none-test.c | 1 - fpu/softfloat-specialize.c.inc | 2 +- .gitlab-ci.d/buildtest.yml | 4 +- .gitlab-ci.d/crossbuild-template.yml | 2 +- .gitlab-ci.d/crossbuilds.yml | 2 +- .mailmap | 1 + Kconfig.host | 3 - contrib/rdmacm-mux/meson.build | 7 - disas/meson.build | 1 - hmp-commands-info.hx | 13 - hw/Kconfig | 2 - hw/intc/Kconfig | 3 - hw/intc/meson.build | 1 - hw/meson.build | 2 - hw/nios2/Kconfig | 13 - hw/nios2/meson.build | 6 - hw/rdma/Kconfig | 3 - hw/rdma/meson.build | 12 - hw/rdma/trace-events | 31 - hw/rdma/vmw/trace-events | 17 - hw/timer/Kconfig | 4 - hw/timer/meson.build | 1 - meson_options.txt | 2 - qapi/meson.build | 1 - qemu-options.hx | 11 +- .../ci/org.centos/stream/8/x86_64/configure | 1 - scripts/coverity-scan/COMPONENTS.md | 3 - scripts/gensyscalls.sh | 1 - scripts/meson-buildoptions.sh | 3 - scripts/probe-gdb-support.py | 1 - scripts/update-linux-headers.sh | 27 - target/Kconfig | 1 - target/meson.build | 1 - target/nios2/Kconfig | 3 - target/nios2/meson.build | 17 - target/nios2/trace-events | 10 - tests/avocado/boot_linux_console.py | 8 - tests/avocado/replay_kernel.py | 11 - tests/docker/Makefile.include | 5 - .../debian-nios2-cross.d/build-toolchain.sh | 87 - tests/tcg/nios2/10m50-ghrd.ld | 70 - tests/tcg/nios2/Makefile.softmmu-target | 32 - tests/tcg/nios2/Makefile.target | 11 - tests/tcg/nios2/boot.S | 218 - tests/tcg/nios2/intr.S | 31 - tests/tcg/nios2/test-shadow-1.S | 40 - 135 files changed, 40 insertions(+), 17218 deletions(-) delete mode 100644 docs/pvrdma.txt delete mode 100644 configs/devices/nios2-softmmu/default.mak delete mode 100644 configs/targets/nios2-linux-user.mak delete mode 100644 configs/targets/nios2-softmmu.mak delete mode 100644 qapi/rdma.json delete mode 100644 contrib/rdmacm-mux/rdmacm-mux.h delete mode 100644 hw/nios2/boot.h delete mode 100644 hw/rdma/rdma_backend.h delete mode 100644 hw/rdma/rdma_backend_defs.h delete mode 100644 hw/rdma/rdma_rm.h delete mode 100644 hw/rdma/rdma_rm_defs.h delete mode 100644 hw/rdma/rdma_utils.h delete mode 100644 hw/rdma/trace.h delete mode 100644 hw/rdma/vmw/pvrdma.h delete mode 100644 hw/rdma/vmw/pvrdma_dev_ring.h delete mode 100644 hw/rdma/vmw/pvrdma_qp_ops.h delete mode 100644 hw/rdma/vmw/trace.h delete mode 100644 include/hw/intc/nios2_vic.h delete mode 100644 include/hw/rdma/rdma.h delete mode 100644 include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h delete mode 100644 include/standard-headers/drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h delete mode 100644 include/standard-headers/rdma/vmw_pvrdma-abi.h delete mode 100644 linux-user/nios2/sockbits.h delete mode 100644 linux-user/nios2/syscall_nr.h delete mode 100644 linux-user/nios2/target_cpu.h delete mode 100644 linux-user/nios2/target_elf.h delete mode 100644 linux-user/nios2/target_errno_defs.h delete mode 100644 linux-user/nios2/target_fcntl.h delete mode 100644 linux-user/nios2/target_mman.h delete mode 100644 linux-user/nios2/target_prctl.h delete mode 100644 linux-user/nios2/target_proc.h delete mode 100644 linux-user/nios2/target_resource.h delete mode 100644 linux-user/nios2/target_signal.h delete mode 100644 linux-user/nios2/target_structs.h delete mode 100644 linux-user/nios2/target_syscall.h delete mode 100644 linux-user/nios2/termbits.h delete mode 100644 target/nios2/cpu-param.h delete mode 100644 target/nios2/cpu-qom.h delete mode 100644 target/nios2/cpu.h delete mode 100644 target/nios2/helper.h delete mode 100644 target/nios2/mmu.h delete mode 100644 tests/tcg/nios2/semicall.h delete mode 100644 contrib/rdmacm-mux/main.c delete mode 100644 disas/nios2.c delete mode 100644 hw/intc/nios2_vic.c delete mode 100644 hw/nios2/10m50_devboard.c delete mode 100644 hw/nios2/boot.c delete mode 100644 hw/nios2/generic_nommu.c delete mode 100644 hw/rdma/rdma.c delete mode 100644 hw/rdma/rdma_backend.c delete mode 100644 hw/rdma/rdma_rm.c delete mode 100644 hw/rdma/rdma_utils.c delete mode 100644 hw/rdma/vmw/pvrdma_cmd.c delete mode 100644 hw/rdma/vmw/pvrdma_dev_ring.c delete mode 100644 hw/rdma/vmw/pvrdma_main.c delete mode 100644 hw/rdma/vmw/pvrdma_qp_ops.c delete mode 100644 hw/timer/altera_timer.c delete mode 100644 linux-user/nios2/cpu_loop.c delete mode 100644 linux-user/nios2/signal.c delete mode 100644 target/nios2/cpu.c delete mode 100644 target/nios2/helper.c delete mode 100644 target/nios2/mmu.c delete mode 100644 target/nios2/monitor.c delete mode 100644 target/nios2/nios2-semi.c delete mode 100644 target/nios2/op_helper.c delete mode 100644 target/nios2/translate.c delete mode 100644 contrib/rdmacm-mux/meson.build delete mode 100644 hw/nios2/Kconfig delete mode 100644 hw/nios2/meson.build delete mode 100644 hw/rdma/Kconfig delete mode 100644 hw/rdma/meson.build delete mode 100644 hw/rdma/trace-events delete mode 100644 hw/rdma/vmw/trace-events delete mode 100644 target/nios2/Kconfig delete mode 100644 target/nios2/meson.build delete mode 100644 target/nios2/trace-events delete mode 100755 tests/docker/dockerfiles/debian-nios2-cross.d/build-toolchain.sh delete mode 100644 tests/tcg/nios2/10m50-ghrd.ld delete mode 100644 tests/tcg/nios2/Makefile.softmmu-target delete mode 100644 tests/tcg/nios2/Makefile.target delete mode 100644 tests/tcg/nios2/boot.S delete mode 100644 tests/tcg/nios2/intr.S delete mode 100644 tests/tcg/nios2/test-shadow-1.S -- 2.41.0 . Date: Wed, 24 Apr 2024 15:51:14 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/9] tcg + linux-user patch queue A few patches that missed 9.0-rc2 and were delayed. r~ The following changes since commit 85b597413d4370cb168f711192eaef2eb70535ac: Merge tag 'housekeeping-20240424' of https://github.com/philmd/qemu into staging (2024-04-24 11:49:57 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240424 for you to fetch changes up to 0815c228bd1e0c24ac064ce299807b32f8e05d83: target/m68k: Support semihosting on non-ColdFire targets (2024-04-24 15:46:00 -0700) ---------------------------------------------------------------- meson: Make DEBUG_REMAP a meson option target/m68k: Support semihosting on non-ColdFire targets linux-user: do_setsockopt cleanups linux-user: Add FITRIM ioctl ---------------------------------------------------------------- Ilya Leoshkevich (1): meson: Make DEBUG_REMAP a meson option Keith Packard (2): target/m68k: Pass semihosting arg to exit target/m68k: Support semihosting on non-ColdFire targets Michael Tokarev (4): linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY linux-user: do_setsockopt: make ip_mreq local to the place it is used and inline target_to_host_ip_mreq() linux-user: do_setsockopt: make ip_mreq_source local to the place where it is used linux-user: do_setsockopt: eliminate goto in switch for SO_SNDTIMEO Michael Vogt (1): linux-user: Add FITRIM ioctl Richard Henderson (1): target/m68k: Perform the semihosting test during translate meson.build | 4 +++ bsd-user/qemu.h | 6 ++-- linux-user/ioctls.h | 3 ++ linux-user/qemu.h | 4 +-- linux-user/syscall_defs.h | 1 + linux-user/syscall_types.h | 5 +++ target/m68k/cpu.h | 2 +- linux-user/syscall.c | 73 +++++++++++++++++++------------------------ linux-user/uaccess.c | 4 +-- target/m68k/m68k-semi.c | 4 +-- target/m68k/op_helper.c | 14 ++------- target/m68k/translate.c | 50 ++++++++++++++++++++++++++--- meson_options.txt | 2 ++ scripts/meson-buildoptions.sh | 3 ++ 14 files changed, 107 insertions(+), 68 deletions(-) . Date: Thu, 25 Apr 2024 11:39:21 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/37] target-arm queue Hi; here's the first arm pullreq for 9.1. This includes the reset method function signature change, so it has some chance of compile failures due to merge conflicts if some other pullreq added a device reset method and that pullreq got applied before this one. If so, the changes needed to fix those up can be created by running the spatch rune described in the commit message of the "hw, target: Add ResetType argument to hold and exit phase methods" commit. thanks -- PMM The following changes since commit 5da72194df36535d773c8bdc951529ecd5e31707: Merge tag 'pull-tcg-20240424' of https://gitlab.com/rth7680/qemu into staging (2024-04-24 15:51:49 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240425 for you to fetch changes up to 214652da123e3821657a64691ee556281e9f6238: tests/qtest: Add tests for the STM32L4x5 USART (2024-04-25 10:21:59 +0100) ---------------------------------------------------------------- target-arm queue: * Implement FEAT_NMI and NMI support in the GICv3 * hw/dma: avoid apparent overflow in soc_dma_set_request * linux-user/flatload.c: Remove unused bFLT shared-library and ZFLAT code * Add ResetType argument to Resettable hold and exit phase methods * Add RESET_TYPE_SNAPSHOT_LOAD ResetType * Implement STM32L4x5 USART ---------------------------------------------------------------- Anastasia Belova (1): hw/dma: avoid apparent overflow in soc_dma_set_request Arnaud Minier (5): hw/char: Implement STM32L4x5 USART skeleton hw/char/stm32l4x5_usart: Enable serial read and write hw/char/stm32l4x5_usart: Add options for serial parameters setting hw/arm: Add the USART to the stm32l4x5 SoC tests/qtest: Add tests for the STM32L4x5 USART Jinjie Ruan (22): target/arm: Handle HCR_EL2 accesses for bits introduced with FEAT_NMI target/arm: Add PSTATE.ALLINT target/arm: Add support for FEAT_NMI, Non-maskable Interrupt target/arm: Implement ALLINT MSR (immediate) target/arm: Support MSR access to ALLINT target/arm: Add support for Non-maskable Interrupt target/arm: Add support for NMI in arm_phys_excp_target_el() target/arm: Handle IS/FS in ISR_EL1 for NMI, VINMI and VFNMI target/arm: Handle PSTATE.ALLINT on taking an exception hw/intc/arm_gicv3: Add external IRQ lines for NMI hw/arm/virt: Wire NMI and VINMI irq lines from GIC to CPU target/arm: Handle NMI in arm_cpu_do_interrupt_aarch64() hw/intc/arm_gicv3: Add has-nmi property to GICv3 device hw/intc/arm_gicv3_kvm: Not set has-nmi=true for the KVM GICv3 hw/intc/arm_gicv3: Add irq non-maskable property hw/intc/arm_gicv3_redist: Implement GICR_INMIR0 hw/intc/arm_gicv3: Implement GICD_INMIR hw/intc/arm_gicv3: Implement NMI interrupt priority hw/intc/arm_gicv3: Report the NMI interrupt in gicv3_cpuif_update() hw/intc/arm_gicv3: Report the VINMI interrupt target/arm: Add FEAT_NMI to max hw/arm/virt: Enable NMI support in the GIC if the CPU has FEAT_NMI Peter Maydell (9): hw/intc/arm_gicv3: Add NMI handling CPU interface registers hw/intc/arm_gicv3: Handle icv_nmiar1_read() for icc_nmiar1_read() linux-user/flatload.c: Remove unused bFLT shared-library and ZFLAT code hw/misc: Don't special case RESET_TYPE_COLD in npcm7xx_clk, gcr allwinner-i2c, adm1272: Use device_cold_reset() for software-triggered reset scripts/coccinelle: New script to add ResetType to hold and exit phases hw, target: Add ResetType argument to hold and exit phase methods docs/devel/reset: Update to new API for hold and exit phase methods reset: Add RESET_TYPE_SNAPSHOT_LOAD MAINTAINERS | 1 + docs/devel/reset.rst | 25 +- docs/system/arm/b-l475e-iot01a.rst | 2 +- docs/system/arm/emulation.rst | 1 + scripts/coccinelle/reset-type.cocci | 133 ++++++++ hw/intc/gicv3_internal.h | 13 + include/hw/arm/stm32l4x5_soc.h | 7 + include/hw/char/stm32l4x5_usart.h | 67 ++++ include/hw/intc/arm_gic_common.h | 2 + include/hw/intc/arm_gicv3_common.h | 14 + include/hw/resettable.h | 5 +- linux-user/flat.h | 5 +- target/arm/cpu-features.h | 5 + target/arm/cpu-qom.h | 5 +- target/arm/cpu.h | 9 + target/arm/internals.h | 21 ++ target/arm/tcg/helper-a64.h | 1 + target/arm/tcg/a64.decode | 1 + hw/adc/npcm7xx_adc.c | 2 +- hw/arm/pxa2xx_pic.c | 2 +- hw/arm/smmu-common.c | 2 +- hw/arm/smmuv3.c | 4 +- hw/arm/stellaris.c | 10 +- hw/arm/stm32l4x5_soc.c | 83 ++++- hw/arm/virt.c | 29 +- hw/audio/asc.c | 2 +- hw/char/cadence_uart.c | 2 +- hw/char/sifive_uart.c | 2 +- hw/char/stm32l4x5_usart.c | 637 ++++++++++++++++++++++++++++++++++++ hw/core/cpu-common.c | 2 +- hw/core/qdev.c | 4 +- hw/core/reset.c | 17 +- hw/core/resettable.c | 8 +- hw/display/virtio-vga.c | 4 +- hw/dma/soc_dma.c | 4 +- hw/gpio/npcm7xx_gpio.c | 2 +- hw/gpio/pl061.c | 2 +- hw/gpio/stm32l4x5_gpio.c | 2 +- hw/hyperv/vmbus.c | 2 +- hw/i2c/allwinner-i2c.c | 5 +- hw/i2c/npcm7xx_smbus.c | 2 +- hw/input/adb.c | 2 +- hw/input/ps2.c | 12 +- hw/intc/arm_gic_common.c | 2 +- hw/intc/arm_gic_kvm.c | 4 +- hw/intc/arm_gicv3.c | 67 +++- hw/intc/arm_gicv3_common.c | 50 ++- hw/intc/arm_gicv3_cpuif.c | 268 ++++++++++++++- hw/intc/arm_gicv3_dist.c | 36 ++ hw/intc/arm_gicv3_its.c | 4 +- hw/intc/arm_gicv3_its_common.c | 2 +- hw/intc/arm_gicv3_its_kvm.c | 4 +- hw/intc/arm_gicv3_kvm.c | 9 +- hw/intc/arm_gicv3_redist.c | 22 ++ hw/intc/xics.c | 2 +- hw/m68k/q800-glue.c | 2 +- hw/misc/djmemc.c | 2 +- hw/misc/iosb.c | 2 +- hw/misc/mac_via.c | 8 +- hw/misc/macio/cuda.c | 4 +- hw/misc/macio/pmu.c | 4 +- hw/misc/mos6522.c | 2 +- hw/misc/npcm7xx_clk.c | 13 +- hw/misc/npcm7xx_gcr.c | 12 +- hw/misc/npcm7xx_mft.c | 2 +- hw/misc/npcm7xx_pwm.c | 2 +- hw/misc/stm32l4x5_exti.c | 2 +- hw/misc/stm32l4x5_rcc.c | 10 +- hw/misc/stm32l4x5_syscfg.c | 2 +- hw/misc/xlnx-versal-cframe-reg.c | 2 +- hw/misc/xlnx-versal-crl.c | 2 +- hw/misc/xlnx-versal-pmc-iou-slcr.c | 2 +- hw/misc/xlnx-versal-trng.c | 2 +- hw/misc/xlnx-versal-xramc.c | 2 +- hw/misc/xlnx-zynqmp-apu-ctrl.c | 2 +- hw/misc/xlnx-zynqmp-crf.c | 2 +- hw/misc/zynq_slcr.c | 4 +- hw/net/can/xlnx-zynqmp-can.c | 2 +- hw/net/e1000.c | 2 +- hw/net/e1000e.c | 2 +- hw/net/igb.c | 2 +- hw/net/igbvf.c | 2 +- hw/nvram/xlnx-bbram.c | 2 +- hw/nvram/xlnx-versal-efuse-ctrl.c | 2 +- hw/nvram/xlnx-zynqmp-efuse.c | 2 +- hw/pci-bridge/cxl_root_port.c | 4 +- hw/pci-bridge/pcie_root_port.c | 2 +- hw/pci-host/bonito.c | 2 +- hw/pci-host/pnv_phb.c | 4 +- hw/pci-host/pnv_phb3_msi.c | 4 +- hw/pci/pci.c | 4 +- hw/rtc/mc146818rtc.c | 2 +- hw/s390x/css-bridge.c | 2 +- hw/sensor/adm1266.c | 2 +- hw/sensor/adm1272.c | 4 +- hw/sensor/isl_pmbus_vr.c | 10 +- hw/sensor/max31785.c | 2 +- hw/sensor/max34451.c | 2 +- hw/ssi/npcm7xx_fiu.c | 2 +- hw/timer/etraxfs_timer.c | 2 +- hw/timer/npcm7xx_timer.c | 2 +- hw/usb/hcd-dwc2.c | 8 +- hw/usb/xlnx-versal-usb2-ctrl-regs.c | 2 +- hw/virtio/virtio-pci.c | 2 +- linux-user/flatload.c | 293 +---------------- target/arm/cpu.c | 151 ++++++++- target/arm/helper.c | 101 +++++- target/arm/tcg/cpu64.c | 1 + target/arm/tcg/helper-a64.c | 16 +- target/arm/tcg/translate-a64.c | 19 ++ target/avr/cpu.c | 4 +- target/cris/cpu.c | 4 +- target/hexagon/cpu.c | 4 +- target/i386/cpu.c | 4 +- target/loongarch/cpu.c | 4 +- target/m68k/cpu.c | 4 +- target/microblaze/cpu.c | 4 +- target/mips/cpu.c | 4 +- target/openrisc/cpu.c | 4 +- target/ppc/cpu_init.c | 4 +- target/riscv/cpu.c | 4 +- target/rx/cpu.c | 4 +- target/sh4/cpu.c | 4 +- target/sparc/cpu.c | 4 +- target/tricore/cpu.c | 4 +- target/xtensa/cpu.c | 4 +- tests/qtest/stm32l4x5_usart-test.c | 315 ++++++++++++++++++ hw/arm/Kconfig | 1 + hw/char/Kconfig | 3 + hw/char/meson.build | 1 + hw/char/trace-events | 12 + hw/intc/trace-events | 2 + tests/qtest/meson.build | 4 +- 133 files changed, 2239 insertions(+), 537 deletions(-) create mode 100644 scripts/coccinelle/reset-type.cocci create mode 100644 include/hw/char/stm32l4x5_usart.h create mode 100644 hw/char/stm32l4x5_usart.c create mode 100644 tests/qtest/stm32l4x5_usart-test.c . Date: Thu, 25 Apr 2024 13:01:33 +0200 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-arm@nongnu.org, Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PULL 00/22] Misc HW patches for 2024-04-25 The following changes since commit 85b597413d4370cb168f711192eaef2eb70535ac: Merge tag 'housekeeping-20240424' of https://github.com/philmd/qemu into staging (2024-04-24 11:49:57 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240425 for you to fetch changes up to 098de99aad1aa911b4950b47b55d2e2bcc4f9c0c: hw/core: Support module-id in numa configuration (2024-04-25 12:48:12 +0200) 2 checkpatch issues: - one spurious: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? - one deliberately ignored in a python script: ERROR: line over 90 characters ---------------------------------------------------------------- Misc HW patch queue - Script to compare machines compat_props[] (Maksim) - Introduce 'module' CPU topology level (Zhao) - Various cleanups (Thomas, Zhao, Inès, Bernhard) ---------------------------------------------------------------- Bernhard Beschow (1): hw/i386/pc_sysfw: Remove unused parameter from pc_isa_bios_init() Inès Varhol (1): hw/misc : Correct 5 spaces indents in stm32l4x5_exti Maksim Davydov (4): qom: add default value qmp: add dump machine type compatibility properties python/qemu/machine: add method to retrieve QEMUMachine::binary field scripts: add script to compare compatibility properties Philippe Mathieu-Daudé (7): hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h target/i386: Move APIC related code to cpu-apic.c hw/misc/applesmc: Simplify DeviceReset handler hw/misc/imx: Replace sprintf() by snprintf() hw/riscv/virt: Replace sprintf by g_strdup_printf hw/elf_ops: Rename elf_ops.h -> elf_ops.h.inc hw/xtensa: Include missing 'exec/cpu-common.h' in 'bootparam.h' Thomas Huth (2): hw: Fix problem with the A*MPCORE switches in the Kconfig files hw: Add a Kconfig switch for the TYPE_CPU_CLUSTER device Zhao Liu (7): hw/cxl/cxl-cdat: Make ct3_load_cdat() return boolean hw/cxl/cxl-cdat: Make ct3_build_cdat() return boolean hw/cxl/cxl-cdat: Make cxl_doe_cdat_init() return boolean hw/core/machine: Introduce the module as a CPU topology level hw/core/machine: Support modules in -smp hw/core: Introduce module-id as the topology subindex hw/core: Support module-id in numa configuration MAINTAINERS | 5 + qapi/machine.json | 74 +++- hw/xtensa/bootparam.h | 2 + include/hw/boards.h | 4 + include/hw/core/tcg-cpu-ops.h | 3 - include/hw/cxl/cxl_component.h | 2 +- include/hw/{elf_ops.h => elf_ops.h.inc} | 0 bsd-user/elfload.c | 2 +- hw/core/loader.c | 4 +- hw/core/machine-hmp-cmds.c | 4 + hw/core/machine-qmp-cmds.c | 23 +- hw/core/machine-smp.c | 41 +- hw/core/machine.c | 18 + hw/cxl/cxl-cdat.c | 28 +- hw/i386/pc_sysfw.c | 5 +- hw/mem/cxl_type3.c | 3 +- hw/misc/applesmc.c | 36 +- hw/misc/imx25_ccm.c | 2 +- hw/misc/imx31_ccm.c | 2 +- hw/misc/imx6_ccm.c | 4 +- hw/misc/imx6_src.c | 2 +- hw/misc/imx6ul_ccm.c | 4 +- hw/misc/imx7_src.c | 2 +- hw/misc/stm32l4x5_exti.c | 8 +- hw/net/imx_fec.c | 2 +- hw/pci-bridge/cxl_upstream.c | 3 +- hw/riscv/virt.c | 17 +- hw/ssi/imx_spi.c | 2 +- linux-user/elfload.c | 2 +- qom/qom-qmp-cmds.c | 1 + system/vl.c | 3 + target/i386/cpu-apic.c | 112 ++++++ target/i386/cpu-sysemu.c | 77 ---- target/i386/monitor.c | 25 -- tests/qtest/fuzz/qos_fuzz.c | 2 +- hw/Kconfig | 1 + hw/arm/Kconfig | 18 +- hw/cpu/Kconfig | 15 +- hw/cpu/meson.build | 3 +- hw/riscv/Kconfig | 2 + python/qemu/machine/machine.py | 5 + scripts/compare-machine-types.py | 486 ++++++++++++++++++++++++ target/i386/meson.build | 1 + 43 files changed, 858 insertions(+), 197 deletions(-) rename include/hw/{elf_ops.h => elf_ops.h.inc} (100%) create mode 100644 target/i386/cpu-apic.c create mode 100755 scripts/compare-machine-types.py -- 2.41.0 . Date: Thu, 25 Apr 2024 16:57:37 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL v2 00/16] CI job updates, header cleanups and other misc patches The following changes since commit 5da72194df36535d773c8bdc951529ecd5e31707: Merge tag 'pull-tcg-20240424' of https://gitlab.com/rth7680/qemu into staging (2024-04-24 15:51:49 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-04-25 for you to fetch changes up to 17523a38194d80f2955c6a8e0702e0fc86dd083d: target/s390x: Remove KVM stubs in cpu_models.h (2024-04-25 15:15:25 +0200) ---------------------------------------------------------------- * Update OpenBSD CI image to 7.5 * Update/remove Ubuntu 20.04 CI jobs * Update (most) CentOS 8 CI jobs to CentOS 9 * Some clean-ups and improvements to travis.yml * Minor test fixes * s390x header clean-ups * Doc updates v2: Drop the problematic patch that updates the custom CentOS 8 runner ---------------------------------------------------------------- Brad Smith (1): tests/vm: update openbsd image to 7.5 Inès Varhol (1): tests/qtest : Use `g_assert_cmphex` instead of `g_assert_cmpuint` Manos Pitsidianakis (1): docs/devel: fix minor typo in submitting-a-patch.rst Peter Lieven (1): MAINTAINERS: update email of Peter Lieven Philippe Mathieu-Daudé (3): hw/s390x: Include missing 'cpu.h' header tests/unit: Remove debug statements in test-nested-aio-poll.c target/s390x: Remove KVM stubs in cpu_models.h Thomas Huth (8): Revert ".travis.yml: Cache Avocado cache" .travis.yml: Remove the unused UNRELIABLE environment variable .travis.yml: Update the jobs to Ubuntu 22.04 .travis.yml: Do some more testing with Clang tests: Remove Ubuntu 20.04 container tests/lcitool/libvirt-ci: Update to the latest master branch tests/docker/dockerfiles: Run lcitool-refresh after the lcitool update tests: Update our CI to use CentOS Stream 9 instead of 8 Zhao Liu (1): docs: i386: pc: Update maximum CPU numbers for PC Q35 MAINTAINERS | 6 +- docs/devel/submitting-a-patch.rst | 2 +- docs/system/target-i386-desc.rst.inc | 2 +- hw/s390x/s390-virtio-hcall.h | 2 + target/s390x/cpu_models.h | 15 -- hw/s390x/s390-stattrib.c | 1 + tests/qtest/aspeed_fsi-test.c | 20 +-- tests/qtest/cmsdk-apb-dualtimer-test.c | 2 +- tests/qtest/cmsdk-apb-watchdog-test.c | 2 +- tests/qtest/erst-test.c | 2 +- tests/qtest/ivshmem-test.c | 10 +- tests/qtest/libqos/ahci.c | 4 +- tests/qtest/microbit-test.c | 46 +++--- tests/qtest/sse-timer-test.c | 4 +- tests/qtest/stm32l4x5_exti-test.c | 138 +++++++++--------- tests/qtest/stm32l4x5_syscfg-test.c | 74 +++++----- tests/unit/test-nested-aio-poll.c | 7 - .gitlab-ci.d/buildtest.yml | 16 +-- .gitlab-ci.d/container-core.yml | 4 +- .travis.yml | 24 +--- tests/docker/dockerfiles/alpine.docker | 3 +- .../dockerfiles/{centos8.docker => centos9.docker} | 35 ++--- tests/docker/dockerfiles/debian-amd64-cross.docker | 3 +- tests/docker/dockerfiles/debian-arm64-cross.docker | 3 +- tests/docker/dockerfiles/debian-armel-cross.docker | 3 +- tests/docker/dockerfiles/debian-armhf-cross.docker | 3 +- tests/docker/dockerfiles/debian-i686-cross.docker | 3 +- .../dockerfiles/debian-mips64el-cross.docker | 3 +- .../docker/dockerfiles/debian-mipsel-cross.docker | 3 +- .../docker/dockerfiles/debian-ppc64el-cross.docker | 3 +- .../docker/dockerfiles/debian-riscv64-cross.docker | 3 +- tests/docker/dockerfiles/debian-s390x-cross.docker | 3 +- tests/docker/dockerfiles/debian.docker | 1 + tests/docker/dockerfiles/fedora-win64-cross.docker | 3 +- tests/docker/dockerfiles/fedora.docker | 1 + tests/docker/dockerfiles/opensuse-leap.docker | 1 + tests/docker/dockerfiles/ubuntu2004.docker | 157 --------------------- tests/docker/dockerfiles/ubuntu2204.docker | 1 + tests/lcitool/libvirt-ci | 2 +- tests/lcitool/mappings.yml | 20 --- tests/lcitool/refresh | 3 +- tests/vm/centos | 4 +- tests/vm/openbsd | 6 +- 43 files changed, 225 insertions(+), 423 deletions(-) rename tests/docker/dockerfiles/{centos8.docker => centos9.docker} (82%) delete mode 100644 tests/docker/dockerfiles/ubuntu2004.docker . Date: Thu, 25 Apr 2024 16:43:43 -0500 From: Eric Blake To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, qemu-stable@nongnu.org, Zhu Yangyang Subject: [PULL 0/2] NBD patches for 2024-04-25 The following changes since commit 5da72194df36535d773c8bdc951529ecd5e31707: Merge tag 'pull-tcg-20240424' of https://gitlab.com/rth7680/qemu into staging (2024-04-24 15:51:49 -0700) are available in the Git repository at: https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2024-04-25 for you to fetch changes up to 4fa333e08dd96395a99ea8dd9e4c73a29dd23344: nbd/server: Mark negotiation functions as coroutine_fn (2024-04-25 12:59:19 -0500) ---------------------------------------------------------------- NBD patches for 2024-04-25 - Avoid calling poll() within coroutine ---------------------------------------------------------------- Eric Blake (1): nbd/server: Mark negotiation functions as coroutine_fn Zhu Yangyang (1): nbd/server: do not poll within a coroutine context nbd/nbd-internal.h | 10 ----- nbd/client.c | 28 ++++++++++-- nbd/common.c | 11 ----- nbd/server.c | 128 +++++++++++++++++++++++++++++++++-------------------- 4 files changed, 105 insertions(+), 72 deletions(-) -- 2.44.0 . Date: Fri, 26 Apr 2024 21:41:20 +0200 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PULL 00/38] Exec / accelerators patches The following changes since commit a118c4aff4087eafb68f7132b233ad548cf16376: Merge tag 'hw-misc-20240425' of https://github.com/philmd/qemu into staging (2024-04-25 09:43:29 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/accel-20240426 for you to fetch changes up to 671558d290ffb93752d3245e7c5604b04b6dcdf2: plugins: Include missing 'qemu/bitmap.h' header (2024-04-26 21:36:19 +0200) Selfish PR, painfully tested commit by commit. ---------------------------------------------------------------- Accelerators patches A lot of trivial cleanups and simplifications (moving methods around, adding/removing #include statements). Most notable changes: - Rename NEED_CPU_H -> COMPILING_PER_TARGET - Rename few template headers using the '.h.inc' suffix - Extract some definitions / declarations into their own header: - accel/tcg/user-retaddr.h (helper_retaddr) - include/exec/abi_ptr.h (abi_ptr) - include/exec/breakpoint.h (CPUBreakpoint, CPUWatchpoint) - include/exec/mmu-access-type.h (MMUAccessType) - include/user/tswap-target.h (tswapl, bswaptls) ---------------------------------------------------------------- Philippe Mathieu-Daudé (38): exec: Rename NEED_CPU_H -> COMPILING_PER_TARGET exec: Reduce tlb_set_dirty() declaration scope exec: Include 'cpu.h' before validating CPUArchState placement exec: Expose 'target_page.h' API to user emulation accel: Include missing 'exec/cpu_ldst.h' header gdbstub: Include missing 'hw/core/cpu.h' header gdbstub: Simplify #ifdef'ry in helpers.h gdbstub: Avoid including 'cpu.h' in 'gdbstub/helpers.h' semihosting/uaccess: Avoid including 'cpu.h' semihosting/guestfd: Remove unused 'semihosting/uaccess.h' header target: Define TCG_GUEST_DEFAULT_MO in 'cpu-param.h' target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation target/sparc: Replace abi_ulong by uint32_t for TARGET_ABI32 target/i386: Include missing 'exec/exec-all.h' header accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h' accel/tcg: Include missing 'hw/core/cpu.h' header accel/tcg: Include missing headers in 'tb-jmp-cache.h' accel/tcg: Rename load-extract/store-insert headers using .h.inc suffix accel/tcg: Rename helper-head.h -> helper-head.h.inc accel/whpx: Use accel-specific per-vcpu @dirty field accel/nvmm: Use accel-specific per-vcpu @dirty field accel/hvf: Use accel-specific per-vcpu @dirty field exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion exec/cpu-all: Remove unused 'qemu/thread.h' header exec/cpu-all: Remove unused tswapls() definitions exec: Declare target_words_bigendian() in 'exec/tswap.h' exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h' exec/user: Do not include 'cpu.h' in 'abitypes.h' exec: Declare abi_ptr type in its own 'abi_ptr.h' header exec: Declare MMUAccessType type in 'mmu-access-type.h' header exec: Declare CPUBreakpoint/CPUWatchpoint type in 'breakpoint.h' header exec: Restrict TCG specific declarations of 'cputlb.h' exec: Restrict 'cpu_ldst.h' to TCG accelerator exec: Rename 'exec/user/guest-base.h' as 'user/guest-base.h' exec: Restrict inclusion of 'user/guest-base.h' exec: Move CPUTLBEntry helpers to cputlb.c hw/core: Avoid including the full 'hw/core/cpu.h' in 'tcg-cpu-ops.h' plugins: Include missing 'qemu/bitmap.h' header MAINTAINERS | 1 + meson.build | 6 +- accel/tcg/tb-jmp-cache.h | 3 + accel/tcg/user-retaddr.h | 28 +++++ bsd-user/freebsd/target_os_elf.h | 1 + bsd-user/freebsd/target_os_stack.h | 1 + bsd-user/netbsd/target_os_elf.h | 1 + bsd-user/openbsd/target_os_elf.h | 1 + include/exec/abi_ptr.h | 33 ++++++ include/exec/breakpoint.h | 30 +++++ include/exec/cpu-all.h | 16 +-- include/exec/cpu-defs.h | 2 +- include/exec/cpu_ldst.h | 105 ++---------------- include/exec/cputlb.h | 5 + include/exec/exec-all.h | 3 +- include/exec/memop.h | 4 +- include/exec/memory.h | 4 +- include/exec/mmu-access-type.h | 18 +++ include/exec/ram_addr.h | 1 + include/exec/translator.h | 5 +- include/exec/tswap.h | 16 ++- include/exec/user/abitypes.h | 8 +- include/exec/user/guest-base.h | 12 -- include/gdbstub/helpers.h | 12 +- include/hw/core/cpu.h | 42 +------ include/hw/core/tcg-cpu-ops.h | 6 +- include/qemu/osdep.h | 2 +- include/qemu/plugin.h | 1 + include/semihosting/uaccess.h | 4 +- include/sysemu/hvf.h | 8 +- include/sysemu/hvf_int.h | 1 + include/sysemu/kvm.h | 6 +- include/sysemu/nvmm.h | 4 +- include/sysemu/whpx.h | 4 +- include/sysemu/xen.h | 4 +- include/user/guest-base.h | 18 +++ include/user/tswap-target.h | 22 ++++ target/alpha/cpu-param.h | 3 + target/alpha/cpu.h | 3 - target/arm/cpu-param.h | 8 +- target/arm/cpu.h | 3 - target/arm/internals.h | 1 + target/arm/kvm-consts.h | 4 +- target/avr/cpu-param.h | 2 + target/avr/cpu.h | 2 - target/hppa/cpu-param.h | 8 ++ target/hppa/cpu.h | 6 - target/i386/cpu-param.h | 3 + target/i386/cpu.h | 3 - target/loongarch/cpu-param.h | 2 + target/loongarch/cpu.h | 2 - target/microblaze/cpu-param.h | 3 + target/microblaze/cpu.h | 3 - target/mips/cpu-param.h | 2 + target/mips/cpu.h | 2 - target/openrisc/cpu-param.h | 2 + target/openrisc/cpu.h | 2 - target/ppc/cpu-param.h | 2 + target/ppc/cpu.h | 2 - target/ppc/internal.h | 1 + target/riscv/cpu-param.h | 2 + target/riscv/cpu.h | 2 - target/riscv/debug.h | 2 + target/s390x/cpu-param.h | 6 + target/s390x/cpu.h | 3 - target/sparc/cpu-param.h | 23 ++++ target/sparc/cpu.h | 23 ---- target/xtensa/cpu-param.h | 3 + target/xtensa/cpu.h | 3 - ...al16-al8.h => load-extract-al16-al8.h.inc} | 0 ...-insert-al16.h => store-insert-al16.h.inc} | 0 ...al16-al8.h => load-extract-al16-al8.h.inc} | 0 ...-insert-al16.h => store-insert-al16.h.inc} | 0 ...al16-al8.h => load-extract-al16-al8.h.inc} | 0 ...-insert-al16.h => store-insert-al16.h.inc} | 0 ...al16-al8.h => load-extract-al16-al8.h.inc} | 0 include/exec/helper-gen.h.inc | 2 +- .../exec/{helper-head.h => helper-head.h.inc} | 4 +- include/exec/helper-proto.h.inc | 2 +- accel/hvf/hvf-accel-ops.c | 10 +- accel/stubs/tcg-stub.c | 4 - accel/tcg/cpu-exec.c | 3 + accel/tcg/cputlb.c | 53 ++++++++- accel/tcg/tcg-accel-ops.c | 2 + accel/tcg/translator.c | 1 + accel/tcg/user-exec.c | 1 + bsd-user/main.c | 1 + bsd-user/signal.c | 1 + bsd-user/strace.c | 1 + cpu-target.c | 1 + disas/disas.c | 1 + gdbstub/gdbstub.c | 1 + hw/audio/virtio-snd.c | 2 +- hw/core/cpu-sysemu.c | 2 +- hw/core/generic-loader.c | 2 +- hw/display/vga.c | 2 +- hw/virtio/virtio.c | 1 + linux-user/elfload.c | 2 + linux-user/i386/signal.c | 1 + linux-user/main.c | 1 + linux-user/ppc/signal.c | 1 + page-target.c | 44 ++++++++ semihosting/guestfd.c | 5 +- system/physmem.c | 30 ----- target/arm/hvf/hvf.c | 4 +- target/avr/gdbstub.c | 1 + target/hexagon/translate.c | 1 + target/i386/hvf/hvf.c | 4 +- target/i386/hvf/x86hvf.c | 2 +- target/i386/nvmm/nvmm-all.c | 21 ++-- target/i386/tcg/fpu_helper.c | 1 + target/i386/whpx/whpx-all.c | 23 ++-- target/microblaze/cpu.c | 1 + target/microblaze/translate.c | 1 + target/ppc/excp_helper.c | 2 +- target/sparc/gdbstub.c | 2 +- target/target-common.c | 10 -- target/tricore/gdbstub.c | 1 + tcg/tcg.c | 2 +- accel/tcg/ldst_atomicity.c.inc | 4 +- include/exec/helper-info.c.inc | 2 +- scripts/analyze-inclusions | 6 +- target/meson.build | 2 - 123 files changed, 488 insertions(+), 357 deletions(-) create mode 100644 accel/tcg/user-retaddr.h create mode 100644 include/exec/abi_ptr.h create mode 100644 include/exec/breakpoint.h create mode 100644 include/exec/mmu-access-type.h delete mode 100644 include/exec/user/guest-base.h create mode 100644 include/user/guest-base.h create mode 100644 include/user/tswap-target.h rename host/include/aarch64/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename host/include/aarch64/host/{store-insert-al16.h => store-insert-al16.h.inc} (100%) rename host/include/generic/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename host/include/generic/host/{store-insert-al16.h => store-insert-al16.h.inc} (100%) rename host/include/loongarch64/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename host/include/loongarch64/host/{store-insert-al16.h => store-insert-al16.h.inc} (100%) rename host/include/x86_64/host/{load-extract-al16-al8.h => load-extract-al16-al8.h.inc} (100%) rename include/exec/{helper-head.h => helper-head.h.inc} (98%) create mode 100644 page-target.c delete mode 100644 target/target-common.c -- 2.41.0 . Date: Sat, 27 Apr 2024 23:10:15 -0400 From: M Bazz To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, richard.henderson@linaro.org Subject: Re: [PULL 0/1] target/sparc late fix >Applied, thanks. > >Please update the changelog at https://wiki.qemu.org/ChangeLog/9.0 >for any user-visible changes. The 9.0 Changelog was never updated. Could someone with the permissions please add the following to the SPARC section: sparc32: Fixed a longstanding softmmu bug that caused kernel panics when the UserTxt ASI was accessed. Appreciated, -- Bazz > >-- PMM . Date: Sun, 28 Apr 2024 16:51:00 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 00/17] loongarch-to-apply queue The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240428 for you to fetch changes up to f3c05d222dc9ed3cd10383302ce51ab6cee06a97: hw/loongarch: Add cells missing from rtc node (2024-04-28 16:56:05 +0800) ---------------------------------------------------------------- Add boot LoongArch elf kernel with FDT ---------------------------------------------------------------- Song Gao (17): hw/loongarch: Move boot functions to boot.c hw/loongarch: Add load initrd hw/loongarch: Add slave cpu boot_code hw/loongarch: Add init_cmdline hw/loongarch: Init efi_system_table hw/loongarch: Init efi_boot_memmap table hw/loongarch: Init efi_initrd table hw/loongarch: Init efi_fdt table hw/loongarch: Fix fdt memory node wrong 'reg' hw/loongarch: fdt adds cpu interrupt controller node hw/loongarch: fdt adds Extend I/O Interrupt Controller hw/loongarch: fdt adds pch_pic Controller hw/loongarch: fdt adds pch_msi Controller hw/loongarch: fdt adds pcie irq_map node hw/loongarch: fdt remove unused irqchip node hw/loongarch: Add cells missing from uart node hw/loongarch: Add cells missing from rtc node hw/loongarch/boot.c | 337 ++++++++++++++++++++++++++++++++++ hw/loongarch/meson.build | 1 + hw/loongarch/virt.c | 365 +++++++++++++++++++++---------------- include/hw/intc/loongarch_extioi.h | 1 + include/hw/loongarch/boot.h | 109 +++++++++++ include/hw/loongarch/virt.h | 16 ++ include/hw/pci-host/ls7a.h | 2 + target/loongarch/cpu.h | 2 + 8 files changed, 671 insertions(+), 162 deletions(-) create mode 100644 hw/loongarch/boot.c create mode 100644 include/hw/loongarch/boot.h . Date: Mon, 29 Apr 2024 02:10:41 +0200 From: Samuel Thibault To: qemu-devel@nongnu.org, peter.maydell@linaro.org Cc: Samuel Thibault , stefanha@redhat.com, jan.kiszka@siemens.com, thomas.weissschuh@linutronix.de Subject: [PULL 0/1] net/slirp: Use newer slirp_*_hostxfwd API The following changes since commit 03555199b63aa1fbce24d16287e141c33f572a24: net/slirp: Use newer slirp_*_hostxfwd API (2024-04-29 02:04:58 +0200) are available in the Git repository at: https://people.debian.org/~sthibault/qemu.git tags/samuel-thibault for you to fetch changes up to 03555199b63aa1fbce24d16287e141c33f572a24: net/slirp: Use newer slirp_*_hostxfwd API (2024-04-29 02:04:58 +0200) ---------------------------------------------------------------- slirp: Use newer slirp_*_hostxfwd API Nicholas Ngai (1): net/slirp: Use newer slirp_*_hostxfwd API ---------------------------------------------------------------- . Date: Mon, 29 Apr 2024 10:30:26 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL v2 00/17] loongarch-to-apply queue The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240429 for you to fetch changes up to 841ef2c9df5317e32de590424b0c5c36fbb4de78: hw/loongarch: Add cells missing from rtc node (2024-04-29 10:25:56 +0800) ---------------------------------------------------------------- Add boot LoongArch elf kernel with FDT v2: Fix 'make check-tcg' failed. ---------------------------------------------------------------- Song Gao (17): hw/loongarch: Move boot functions to boot.c hw/loongarch: Add load initrd hw/loongarch: Add slave cpu boot_code hw/loongarch: Add init_cmdline hw/loongarch: Init efi_system_table hw/loongarch: Init efi_boot_memmap table hw/loongarch: Init efi_initrd table hw/loongarch: Init efi_fdt table hw/loongarch: Fix fdt memory node wrong 'reg' hw/loongarch: fdt adds cpu interrupt controller node hw/loongarch: fdt adds Extend I/O Interrupt Controller hw/loongarch: fdt adds pch_pic Controller hw/loongarch: fdt adds pch_msi Controller hw/loongarch: fdt adds pcie irq_map node hw/loongarch: fdt remove unused irqchip node hw/loongarch: Add cells missing from uart node hw/loongarch: Add cells missing from rtc node hw/loongarch/boot.c | 336 ++++++++++++++++++++++++++++++++++ hw/loongarch/meson.build | 1 + hw/loongarch/virt.c | 365 +++++++++++++++++++++---------------- include/hw/intc/loongarch_extioi.h | 1 + include/hw/loongarch/boot.h | 109 +++++++++++ include/hw/loongarch/virt.h | 16 ++ include/hw/pci-host/ls7a.h | 2 + target/loongarch/cpu.h | 2 + 8 files changed, 670 insertions(+), 162 deletions(-) create mode 100644 hw/loongarch/boot.c create mode 100644 include/hw/loongarch/boot.h . Date: Mon, 29 Apr 2024 12:25:37 +0900 From: Jeuk Kim To: qemu-devel@nongnu.org, stefanha@redhat.com Cc: fam@euphon.net, pbonzini@redhat.com, qemu-block@nongnu.org, jeuk20.kim@samsung.com, j-young.choi@samsung.com, zheyuma97@gmail.com Subject: [PULL 0/1] ufs queue From: Jeuk Kim The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/jeuk20.kim/qemu.git tags/pull-ufs-20240429 for you to fetch changes up to f2c8aeb1afefcda92054c448b21fc59cdd99db30: hw/ufs: Fix buffer overflow bug (2024-04-29 12:13:35 +0900) ---------------------------------------------------------------- ufs queue - Fix ufs sanitizer vulnerability ---------------------------------------------------------------- Jeuk Kim (1): hw/ufs: Fix buffer overflow bug hw/ufs/ufs.c | 8 ++++++++ 1 file changed, 8 insertions(+) . Date: Mon, 29 Apr 2024 09:45:27 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 0/9] Trivial patches for 2024-04-29 The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to d2f20c25281908a07bcb8c3dea8292abf68e5c8b: checkpatch.pl: forbid strerrorname_np() (2024-04-29 09:37:26 +0300) ---------------------------------------------------------------- trivial patches for 2024-04-29 ---------------------------------------------------------------- Daniel Henrique Barboza (2): target/riscv/kvm: remove sneaky strerrorname_np() instance checkpatch.pl: forbid strerrorname_np() Li Zhijian via (1): backends/cryptodev-builtin: Fix local_error leaks Michael Tokarev (1): target/loongarch/cpu.c: typo fix: expection Philippe Mathieu-Daudé (2): scripts/checkpatch: Avoid author email mangled by qemu-*@nongnu.org scripts/checkpatch: Do not use mailmap Thomas Huth (3): target/i386/cpu: Remove "x86" prefix from the CPU list target/s390x/cpu_models: Rework the output of "-cpu help" target/ppc/cpu_init: Remove "PowerPC" prefix from the CPU list backends/cryptodev-builtin.c | 9 +++++---- scripts/checkpatch.pl | 11 +++++++---- target/i386/cpu.c | 2 +- target/loongarch/cpu.c | 2 +- target/ppc/cpu_init.c | 9 +++++---- target/riscv/kvm/kvm-cpu.c | 4 ++-- target/s390x/cpu_models.c | 9 +++++---- 7 files changed, 26 insertions(+), 20 deletions(-) . Date: Mon, 29 Apr 2024 14:51:51 +0300 From: Vladimir Sementsov-Ogievskiy To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, vsementsov@yandex-team.ru Subject: [PULL 0/6] Block jobs patches for 2024-04-29 The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/vsementsov/qemu.git tags/pull-block-jobs-2024-04-29 for you to fetch changes up to 2ca7608c6b8d57fd6347b11af12a0f035263efef: iotests: add backup-discard-source (2024-04-29 13:35:30 +0300) ---------------------------------------------------------------- Block jobs patches for 2024-04-29 - backup: discard-source parameter - blockcommit: Reopen base image as RO after abort ---------------------------------------------------------------- Alexander Ivanov (1): blockcommit: Reopen base image as RO after abort Vladimir Sementsov-Ogievskiy (5): block/copy-before-write: fix permission block/copy-before-write: support unligned snapshot-discard block/copy-before-write: create block_copy bitmap in filter node qapi: blockdev-backup: add discard-source parameter iotests: add backup-discard-source block/backup.c | 5 +- block/block-copy.c | 12 +- block/copy-before-write.c | 39 +++++-- block/copy-before-write.h | 1 + block/mirror.c | 11 +- block/replication.c | 4 +- blockdev.c | 2 +- include/block/block-common.h | 2 + include/block/block-copy.h | 2 + include/block/block_int-global-state.h | 2 +- qapi/block-core.json | 4 + tests/qemu-iotests/257.out | 112 +++++++++--------- tests/qemu-iotests/tests/backup-discard-source | 152 +++++++++++++++++++++++++ tests/qemu-iotests/tests/backup-discard-source.out | 5 + 14 files changed, 281 insertions(+), 72 deletions(-) create mode 100755 tests/qemu-iotests/tests/backup-discard-source create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out Alexander Ivanov (1): blockcommit: Reopen base image as RO after abort Vladimir Sementsov-Ogievskiy (5): block/copy-before-write: fix permission block/copy-before-write: support unligned snapshot-discard block/copy-before-write: create block_copy bitmap in filter node qapi: blockdev-backup: add discard-source parameter iotests: add backup-discard-source block/backup.c | 5 +- block/block-copy.c | 12 +- block/copy-before-write.c | 39 ++++- block/copy-before-write.h | 1 + block/mirror.c | 11 +- block/replication.c | 4 +- blockdev.c | 2 +- include/block/block-common.h | 2 + include/block/block-copy.h | 2 + include/block/block_int-global-state.h | 2 +- qapi/block-core.json | 4 + tests/qemu-iotests/257.out | 112 ++++++------- .../qemu-iotests/tests/backup-discard-source | 152 ++++++++++++++++++ .../tests/backup-discard-source.out | 5 + 14 files changed, 281 insertions(+), 72 deletions(-) create mode 100755 tests/qemu-iotests/tests/backup-discard-source create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out -- 2.34.1 . Date: Mon, 29 Apr 2024 15:31:09 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL v2 0/9] Trivial patches for 2024-04-29 The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to ce1992d45c875c29a9018b7ac2fa9bad6587c711: checkpatch.pl: forbid strerrorname_np() (2024-04-29 15:26:56 +0300) ---------------------------------------------------------------- trivial patches for 2024-04-29 v2: fix author of "backends/cryptodev-builtin: Fix local_error leaks" (which should be catched now by checkpatch.pl additions in this series) Only patch 6 is being resent. ---------------------------------------------------------------- Daniel Henrique Barboza (2): target/riscv/kvm: remove sneaky strerrorname_np() instance checkpatch.pl: forbid strerrorname_np() Li Zhijian (1): backends/cryptodev-builtin: Fix local_error leaks Michael Tokarev (1): target/loongarch/cpu.c: typo fix: expection Philippe Mathieu-Daudé (2): scripts/checkpatch: Avoid author email mangled by qemu-*@nongnu.org scripts/checkpatch: Do not use mailmap Thomas Huth (3): target/i386/cpu: Remove "x86" prefix from the CPU list target/s390x/cpu_models: Rework the output of "-cpu help" target/ppc/cpu_init: Remove "PowerPC" prefix from the CPU list backends/cryptodev-builtin.c | 9 +++++---- scripts/checkpatch.pl | 11 +++++++---- target/i386/cpu.c | 2 +- target/loongarch/cpu.c | 2 +- target/ppc/cpu_init.c | 9 +++++---- target/riscv/kvm/kvm-cpu.c | 4 ++-- target/s390x/cpu_models.c | 9 +++++---- 7 files changed, 26 insertions(+), 20 deletions(-) . Date: Mon, 29 Apr 2024 09:43:20 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Richard Henderson , Jeuk Kim , qemu-block@nongnu.org, Stefan Hajnoczi Subject: [PULL 0/1] Block patches The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to d1c4580662bf75bf6875bb5e1ad446b300816ac7: hw/ufs: Fix buffer overflow bug (2024-04-29 09:33:06 -0400) ---------------------------------------------------------------- Pull request Buffer overflow fix for Universal Flash Storage (UFS) emulation. ---------------------------------------------------------------- Jeuk Kim (1): hw/ufs: Fix buffer overflow bug hw/ufs/ufs.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.44.0 . Date: Tue, 30 Apr 2024 09:13:21 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 00/19] Misc patches (s390x clean-ups, fixes for crashes, ...) Hi Richard! The following changes since commit 5fee33d97a7f2e95716417bd164f2f5264acd976: Merge tag 'samuel-thibault' of https://people.debian.org/~sthibault/qemu into staging (2024-04-29 14:34:25 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-04-30 for you to fetch changes up to cc6cb422e09592158586279fddeef107df05ecbb: .gitlab-ci.d/cirrus: Remove the netbsd and openbsd jobs (2024-04-30 07:09:22 +0200) ---------------------------------------------------------------- * Clean-ups for "errp" handling in s390x cpu_model code * Fix a possible abort in the "edu" device * Add missing qga stubs for stand-alone qga builds and re-enable qga-ssh-test * Fix memory corruption caused by the stm32l4x5 uart device * Update the s390x custom runner to Ubuntu 22.04 * Fix READ NATIVE MAX ADDRESS IDE commands to avoid a possible crash * Shorten the runtime of Cirrus-CI jobs ---------------------------------------------------------------- Alex Bennée (3): build-environment: make some packages optional gitlab: migrate the s390x custom machine to 22.04 gitlab: remove stale s390x-all-linux-static conf hacks Chris Friedt (3): hw: misc: edu: fix 2 off-by-one errors hw: misc: edu: rename local vars in edu_check_range hw: misc: edu: use qemu_log_mask instead of hw_error Konstantin Kostiuk (1): stubs: Add missing qga stubs Lev Kujawski (2): hw/ide/core.c (cmd_read_native_max): Avoid limited device parameters tests/qtest/ide-test: Verify READ NATIVE MAX ADDRESS is not limited Thomas Huth (4): qga: Re-enable the qga-ssh-test when running without fuzzing hw/char/stm32l4x5_usart: Fix memory corruption by adding correct class_size .gitlab-ci.d/cirrus.yml: Shorten the runtime of the macOS and FreeBSD jobs .gitlab-ci.d/cirrus: Remove the netbsd and openbsd jobs Zhao Liu (6): target/s390x/cpu_model: Make check_compatibility() return boolean target/s390x/cpu_model: Drop local @err in s390_realize_cpu_model() target/s390x/cpu_models: Make kvm_s390_get_host_cpu_model() return boolean target/s390x/cpu_models: Drop local @err in get_max_cpu_model() target/s390x/cpu_models: Make kvm_s390_apply_cpu_model() return boolean target/s390x/cpu_models_sysemu: Drop local @err in apply_cpu_model() target/s390x/cpu_models.h | 4 +- hw/char/stm32l4x5_usart.c | 1 + hw/ide/core.c | 21 ++++++++-- hw/misc/edu.c | 35 ++++++++-------- target/s390x/cpu_models.c | 25 +++++------- target/s390x/cpu_models_sysemu.c | 5 +-- target/s390x/kvm/kvm.c | 28 +++++++------ tests/qtest/ide-test.c | 47 +++++++++++++++++++++- .gitlab-ci.d/cirrus.yml | 39 +----------------- .gitlab-ci.d/cirrus/kvm-build.yml | 31 -------------- .gitlab-ci.d/custom-runners.yml | 2 +- ...untu-20.04-s390x.yml => ubuntu-22.04-s390x.yml} | 32 +++++++-------- qga/meson.build | 5 +-- scripts/ci/setup/build-environment.yml | 16 ++++++-- stubs/meson.build | 6 ++- 15 files changed, 149 insertions(+), 148 deletions(-) delete mode 100644 .gitlab-ci.d/cirrus/kvm-build.yml rename .gitlab-ci.d/custom-runners/{ubuntu-20.04-s390x.yml => ubuntu-22.04-s390x.yml} (80%) . Date: Tue, 30 Apr 2024 17:48:21 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/21] target-arm queue Here's another arm pullreq; nothing too exciting in here I think. thanks -- PMM The following changes since commit 5fee33d97a7f2e95716417bd164f2f5264acd976: Merge tag 'samuel-thibault' of https://people.debian.org/~sthibault/qemu into staging (2024-04-29 14:34:25 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240430 for you to fetch changes up to a0c325c4b05cf7815739d6a84e567b95c8c5be7e: tests/qtest : Add testcase for DM163 (2024-04-30 16:05:08 +0100) ---------------------------------------------------------------- target-arm queue: * hw/core/clock: allow clock_propagate on child clocks * hvf: arm: Remove unused PL1_WRITE_MASK define * target/arm: Restrict translation disabled alignment check to VMSA * docs/system/arm/emulation.rst: Add missing implemented features * target/arm: Enable FEAT_CSV2_3, FEAT_ETS2, FEAT_Spec_FPACC for 'max' * tests/avocado: update sunxi kernel from armbian to 6.6.16 * target/arm: Make new CPUs default to 1GHz generic timer * hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields * hw/char/stm32l4x5_usart: Fix memory corruption by adding correct class_size * hw/arm/npcm7xx: Store derivative OTP fuse key in little endian * hw/arm: Add DM163 display to B-L475E-IOT01A board ---------------------------------------------------------------- Alexandra Diupina (1): hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields Inès Varhol (5): hw/display : Add device DM163 hw/arm : Pass STM32L4x5 SYSCFG gpios to STM32L4x5 SoC hw/arm : Create Bl475eMachineState hw/arm : Connect DM163 to B-L475E-IOT01A tests/qtest : Add testcase for DM163 Peter Maydell (10): docs/system/arm/emulation.rst: Add missing implemented features target/arm: Enable FEAT_CSV2_3 for -cpu max target/arm: Enable FEAT_ETS2 for -cpu max target/arm: Implement ID_AA64MMFR3_EL1 target/arm: Enable FEAT_Spec_FPACC for -cpu max tests/avocado: update sunxi kernel from armbian to 6.6.16 target/arm: Refactor default generic timer frequency handling hw/arm/sbsa-ref: Force CPU generic timer to 62.5MHz hw/watchdog/sbsa_gwdt: Make watchdog timer frequency a QOM property target/arm: Default to 1GHz cntfrq for 'max' and new CPUs Philippe Mathieu-Daudé (1): hw/arm/npcm7xx: Store derivative OTP fuse key in little endian Raphael Poggi (1): hw/core/clock: allow clock_propagate on child clocks Richard Henderson (1): target/arm: Restrict translation disabled alignment check to VMSA Thomas Huth (1): hw/char/stm32l4x5_usart: Fix memory corruption by adding correct class_size Zenghui Yu (1): hvf: arm: Remove PL1_WRITE_MASK docs/system/arm/b-l475e-iot01a.rst | 3 +- docs/system/arm/emulation.rst | 42 ++++- include/hw/display/dm163.h | 59 ++++++ include/hw/watchdog/sbsa_gwdt.h | 3 +- target/arm/cpu.h | 28 +++ target/arm/internals.h | 15 +- hw/arm/b-l475e-iot01a.c | 105 +++++++++-- hw/arm/npcm7xx.c | 3 +- hw/arm/sbsa-ref.c | 16 ++ hw/arm/stm32l4x5_soc.c | 6 +- hw/char/stm32l4x5_usart.c | 1 + hw/core/clock.c | 1 - hw/core/machine.c | 4 +- hw/display/dm163.c | 349 ++++++++++++++++++++++++++++++++++++ hw/dma/xlnx_dpdma.c | 20 +-- hw/watchdog/sbsa_gwdt.c | 15 +- target/arm/cpu.c | 42 +++-- target/arm/cpu64.c | 2 + target/arm/helper.c | 22 +-- target/arm/hvf/hvf.c | 3 +- target/arm/kvm.c | 2 + target/arm/tcg/cpu32.c | 6 +- target/arm/tcg/cpu64.c | 28 ++- target/arm/tcg/hflags.c | 12 +- tests/qtest/dm163-test.c | 194 ++++++++++++++++++++ tests/qtest/stm32l4x5_gpio-test.c | 13 +- tests/qtest/stm32l4x5_syscfg-test.c | 17 +- hw/arm/Kconfig | 1 + hw/display/Kconfig | 3 + hw/display/meson.build | 1 + hw/display/trace-events | 14 ++ tests/avocado/boot_linux_console.py | 70 ++++---- tests/avocado/replay_kernel.py | 8 +- tests/qtest/meson.build | 2 + 34 files changed, 987 insertions(+), 123 deletions(-) create mode 100644 include/hw/display/dm163.h create mode 100644 hw/display/dm163.c create mode 100644 tests/qtest/dm163-test.c . Date: Wed, 1 May 2024 10:43:31 +0300 From: Konstantin Kostiuk To: qemu-devel@nongnu.org, Peter Maydell , Stefan Hajnoczi Subject: [PULL 0/9] QGA misc changes for 2024-05-01 The following changes since commit 9c6c079bc6723da8061ccfb44361d67b1dd785dd: Merge tag 'pull-target-arm-20240430' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-04-30 09:58:54 -0700) are available in the Git repository at: https://github.com/kostyanf14/qemu.git tags/qga-pull-2024-05-01 for you to fetch changes up to 6b9296ba7a9cf7adb157c51c124ca522d2180739: qga: Implement SSH commands for Windows (2024-05-01 10:35:45 +0300) ---------------------------------------------------------------- qga-pull-2024-05-01 ---------------------------------------------------------------- Andrey Drobyshev (7): qga: guest-get-fsinfo: add optional 'total-bytes-privileged' field qga: introduce ga_run_command() helper for guest cmd execution qga/commands-posix: qmp_guest_shutdown: use ga_run_command helper qga/commands-posix: qmp_guest_set_time: use ga_run_command helper qga/commands-posix: execute_fsfreeze_hook: use ga_run_command helper qga/commands-posix: don't do fork()/exec() when suspending via sysfs qga/commands-posix: qmp_guest_set_user_password: use ga_run_command helper aidaleuc (2): qga: Refactor common SSH functions qga: Implement SSH commands for Windows qga/commands-common-ssh.c | 50 ++++ qga/commands-common-ssh.h | 10 + qga/commands-posix-ssh.c | 47 +-- qga/commands-posix.c | 404 ++++++++++++------------- qga/commands-win32.c | 1 + qga/commands-windows-ssh.c | 712 +++++++++++++++++++++++++++++++++++++++++++++ qga/commands-windows-ssh.h | 26 ++ qga/meson.build | 8 +- qga/qapi-schema.json | 24 +- 9 files changed, 999 insertions(+), 283 deletions(-) create mode 100644 qga/commands-common-ssh.c create mode 100644 qga/commands-common-ssh.h create mode 100644 qga/commands-windows-ssh.c create mode 100644 qga/commands-windows-ssh.h -- 2.44.0 . Date: Wed, 1 May 2024 07:37:19 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/20] tcg patch queue The following changes since commit 9c6c079bc6723da8061ccfb44361d67b1dd785dd: Merge tag 'pull-target-arm-20240430' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-04-30 09:58:54 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240501 for you to fetch changes up to 917d7f8d948d706e275c9f33169b9dd0149ded1e: plugins: Update the documentation block for plugin-gen.c (2024-04-30 16:12:05 -0700) ---------------------------------------------------------------- plugins: Rewrite plugin tcg expansion ---------------------------------------------------------------- Richard Henderson (20): tcg: Make tcg/helper-info.h self-contained tcg: Pass function pointer to tcg_gen_call* plugins: Zero new qemu_plugin_dyn_cb entries plugins: Move function pointer in qemu_plugin_dyn_cb plugins: Create TCGHelperInfo for all out-of-line callbacks plugins: Use emit_before_op for PLUGIN_GEN_AFTER_INSN plugins: Use emit_before_op for PLUGIN_GEN_FROM_TB plugins: Add PLUGIN_GEN_AFTER_TB plugins: Use emit_before_op for PLUGIN_GEN_FROM_INSN plugins: Use emit_before_op for PLUGIN_GEN_FROM_MEM plugins: Remove plugin helpers tcg: Remove TCG_CALL_PLUGIN tcg: Remove INDEX_op_plugin_cb_{start,end} plugins: Simplify callback queues plugins: Introduce PLUGIN_CB_MEM_REGULAR plugins: Replace pr_ops with a proper debug dump flag plugins: Split out common cb expanders plugins: Merge qemu_plugin_tb_insn_get to plugin-gen.c plugins: Inline plugin_gen_empty_callback plugins: Update the documentation block for plugin-gen.c accel/tcg/plugin-helpers.h | 5 - include/exec/helper-gen-common.h | 4 - include/exec/helper-proto-common.h | 4 - include/exec/plugin-gen.h | 4 - include/qemu/log.h | 1 + include/qemu/plugin.h | 67 +-- include/tcg/helper-info.h | 3 + include/tcg/tcg-op-common.h | 4 +- include/tcg/tcg-opc.h | 4 +- include/tcg/tcg.h | 26 +- include/exec/helper-gen.h.inc | 24 +- accel/tcg/plugin-gen.c | 1007 +++++++++--------------------------- plugins/api.c | 26 +- plugins/core.c | 61 ++- tcg/tcg-op-ldst.c | 6 +- tcg/tcg-op.c | 8 +- tcg/tcg.c | 78 ++- tcg/tci.c | 1 + util/log.c | 4 + 19 files changed, 399 insertions(+), 938 deletions(-) delete mode 100644 accel/tcg/plugin-helpers.h . Date: Thu, 2 May 2024 17:23:03 -0300 From: Fabiano Rosas To: qemu-devel@nongnu.org Cc: Richard Henderson Subject: [PULL 00/13] Migration patches for 2024-05-02 The following changes since commit 4977ce198d2390bff8c71ad5cb1a5f6aa24b56fb: Merge tag 'pull-tcg-20240501' of https://gitlab.com/rth7680/qemu into staging (2024-05-01 15:15:33 -0700) are available in the Git repository at: https://gitlab.com/farosas/qemu.git tags/migration-20240502-pull-request for you to fetch changes up to 4f9f85a5e223fd488b4deb6d9449576e7dbe6819: hmp/migration: Fix documents for "migrate" command (2024-05-02 14:45:07 -0300) ---------------------------------------------------------------- Migration pull request - Will's WITH_QEMU_LOCK_GUARD cleanup - Vladimir's new exit-on-error parameter - Fabiano's removals and deprecations series (block migration and non-multifd compression removed) - Peter's documentation fix for HMP migrate command ---------------------------------------------------------------- Fabiano Rosas (6): migration: Remove 'skipped' field from MigrationStats migration: Remove 'inc' option from migrate command migration: Remove 'blk/-b' option from migrate commands migration: Remove block migration migration: Remove non-multifd compression migration: Deprecate fd: for file migration Peter Xu (1): hmp/migration: Fix documents for "migrate" command Vladimir Sementsov-Ogievskiy (5): migration: move trace-point from migrate_fd_error to migrate_set_error migration: process_incoming_migration_co(): complete cleanup on failure migration: process_incoming_migration_co(): fix reporting s->error migration: process_incoming_migration_co(): rework error reporting qapi: introduce exit-on-error parameter for migrate-incoming Will Gyda (1): migration/ram.c: API Conversion qemu_mutex_lock(), and qemu_mutex_unlock() to WITH_QEMU_LOCK_GUARD macro .gitlab-ci.d/buildtest.yml | 2 +- MAINTAINERS | 1 - docs/about/deprecated.rst | 51 +- docs/about/removed-features.rst | 103 ++++ docs/devel/migration/main.rst | 2 +- hmp-commands.hx | 22 +- hw/core/machine.c | 1 - include/migration/misc.h | 6 - meson.build | 2 - meson_options.txt | 2 - migration/block.c | 1019 -------------------------------------- migration/block.h | 52 -- migration/colo.c | 1 - migration/fd.c | 12 + migration/meson.build | 4 - migration/migration-hmp-cmds.c | 99 +--- migration/migration.c | 121 ++--- migration/migration.h | 14 +- migration/options.c | 229 --------- migration/options.h | 13 - migration/qemu-file.c | 78 --- migration/qemu-file.h | 4 - migration/ram-compress.c | 564 --------------------- migration/ram-compress.h | 77 --- migration/ram.c | 181 +------ migration/savevm.c | 5 - migration/trace-events | 2 +- qapi/migration.json | 212 +------- scripts/meson-buildoptions.sh | 4 - system/vl.c | 3 +- tests/qemu-iotests/183 | 147 ------ tests/qemu-iotests/183.out | 66 --- tests/qemu-iotests/common.filter | 7 - tests/qtest/migration-test.c | 139 ------ 34 files changed, 209 insertions(+), 3036 deletions(-) delete mode 100644 migration/block.c delete mode 100644 migration/block.h delete mode 100644 migration/ram-compress.c delete mode 100644 migration/ram-compress.h delete mode 100755 tests/qemu-iotests/183 delete mode 100644 tests/qemu-iotests/183.out Fabiano Rosas (6): migration: Remove 'skipped' field from MigrationStats migration: Remove 'inc' option from migrate command migration: Remove 'blk/-b' option from migrate commands migration: Remove block migration migration: Remove non-multifd compression migration: Deprecate fd: for file migration Peter Xu (1): hmp/migration: Fix documents for "migrate" command Vladimir Sementsov-Ogievskiy (5): migration: move trace-point from migrate_fd_error to migrate_set_error migration: process_incoming_migration_co(): complete cleanup on failure migration: process_incoming_migration_co(): fix reporting s->error migration: process_incoming_migration_co(): rework error reporting qapi: introduce exit-on-error parameter for migrate-incoming Will Gyda (1): migration/ram.c: API Conversion qemu_mutex_lock(), and qemu_mutex_unlock() to WITH_QEMU_LOCK_GUARD macro .gitlab-ci.d/buildtest.yml | 2 +- MAINTAINERS | 1 - docs/about/deprecated.rst | 51 +- docs/about/removed-features.rst | 103 +++ docs/devel/migration/main.rst | 2 +- hmp-commands.hx | 22 +- hw/core/machine.c | 1 - include/migration/misc.h | 6 - meson.build | 2 - meson_options.txt | 2 - migration/block.c | 1019 ------------------------------ migration/block.h | 52 -- migration/colo.c | 1 - migration/fd.c | 12 + migration/meson.build | 4 - migration/migration-hmp-cmds.c | 99 +-- migration/migration.c | 121 ++-- migration/migration.h | 14 +- migration/options.c | 229 ------- migration/options.h | 13 - migration/qemu-file.c | 78 --- migration/qemu-file.h | 4 - migration/ram-compress.c | 564 ----------------- migration/ram-compress.h | 77 --- migration/ram.c | 181 +----- migration/savevm.c | 5 - migration/trace-events | 2 +- qapi/migration.json | 212 +------ scripts/meson-buildoptions.sh | 4 - system/vl.c | 3 +- tests/qemu-iotests/183 | 147 ----- tests/qemu-iotests/183.out | 66 -- tests/qemu-iotests/common.filter | 7 - tests/qtest/migration-test.c | 139 ---- 34 files changed, 209 insertions(+), 3036 deletions(-) delete mode 100644 migration/block.c delete mode 100644 migration/block.h delete mode 100644 migration/ram-compress.c delete mode 100644 migration/ram-compress.h delete mode 100755 tests/qemu-iotests/183 delete mode 100644 tests/qemu-iotests/183.out -- 2.35.3 . Date: Fri, 3 May 2024 08:13:04 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/10] bufferiszero improvements The following changes since commit 4977ce198d2390bff8c71ad5cb1a5f6aa24b56fb: Merge tag 'pull-tcg-20240501' of https://gitlab.com/rth7680/qemu into staging (2024-05-01 15:15:33 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240503 for you to fetch changes up to a06d9eddb015a9f5895161b0a3958a2e4be21579: tests/bench: Add bufferiszero-bench (2024-05-03 08:03:35 -0700) ---------------------------------------------------------------- util/bufferiszero: - Remove sse4.1 and avx512 variants - Reorganize for early test for acceleration - Remove useless prefetches - Optimize sse2, avx2 and integer variants - Add simd acceleration for aarch64 - Add bufferiszero-bench ---------------------------------------------------------------- Alexander Monakov (5): util/bufferiszero: Remove SSE4.1 variant util/bufferiszero: Remove AVX512 variant util/bufferiszero: Reorganize for early test for acceleration util/bufferiszero: Remove useless prefetches util/bufferiszero: Optimize SSE2 and AVX2 variants Richard Henderson (5): util/bufferiszero: Improve scalar variant util/bufferiszero: Introduce biz_accel_fn typedef util/bufferiszero: Simplify test_buffer_is_zero_next_accel util/bufferiszero: Add simd acceleration for aarch64 tests/bench: Add bufferiszero-bench include/qemu/cutils.h | 32 ++- tests/bench/bufferiszero-bench.c | 47 ++++ util/bufferiszero.c | 465 +++++++++++++++++++++------------------ tests/bench/meson.build | 1 + 4 files changed, 324 insertions(+), 221 deletions(-) create mode 100644 tests/bench/bufferiszero-bench.c . Date: Fri, 3 May 2024 17:35:59 +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/14] Accel / SH4 / UI patches for 2024-05-03 The following changes since commit fd87be1dada5672f877e03c2ca8504458292c479: Merge tag 'accel-20240426' of https://github.com/philmd/qemu into staging (2024-04-26 15:28:13 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/accel-sh4-ui-20240503 for you to fetch changes up to 2d27c91e2b72ac7a65504ac207c89262d92464eb: ui/cocoa.m: Drop old macOS-10.12-and-earlier compat ifdefs (2024-05-03 17:33:26 +0200) ---------------------------------------------------------------- - Fix NULL dereference in NVMM & WHPX init_vcpu() - Move user emulation headers "exec/user" to "user" - Fix SH-4 ADDV / SUBV opcodes - Drop Cocoa compatility on macOS <= 10.12 - Update Anthony PERARD email ---------------------------------------------------------------- Anthony PERARD (1): MAINTAINERS: Update my email address Peter Maydell (1): ui/cocoa.m: Drop old macOS-10.12-and-earlier compat ifdefs Philippe Mathieu-Daudé (12): accel/nvmm: Fix NULL dereference in nvmm_init_vcpu() accel/whpx: Fix NULL dereference in whpx_init_vcpu() exec: Include missing license in 'exec/cpu-common.h' user: Move 'abitypes.h' from 'exec/user' to 'user' user: Move 'thunk.h' from 'exec/user' to 'user' coverity: Update user emulation regexp plugins/api: Only include 'exec/ram_addr.h' with system emulation plugins: Update stale comment target/sh4: Fix ADDV opcode target/sh4: Fix SUBV opcode target/sh4: Rename TCGv variables as manual for ADDV opcode target/sh4: Rename TCGv variables as manual for SUBV opcode MAINTAINERS | 3 +-- bsd-user/qemu.h | 4 ++-- include/exec/cpu-all.h | 2 +- include/exec/cpu-common.h | 9 ++++++-- include/{exec => }/user/abitypes.h | 4 ++-- include/user/syscall-trace.h | 2 +- include/{exec => }/user/thunk.h | 10 ++++++--- linux-user/qemu.h | 2 +- linux-user/user-internals.h | 2 +- linux-user/thunk.c | 2 +- plugins/api.c | 2 +- plugins/core.c | 2 +- target/i386/nvmm/nvmm-all.c | 2 +- target/i386/whpx/whpx-all.c | 2 +- target/sh4/translate.c | 32 ++++++++++++++++++----------- tests/tcg/sh4/test-addv.c | 27 ++++++++++++++++++++++++ tests/tcg/sh4/test-subv.c | 30 +++++++++++++++++++++++++++ scripts/coverity-scan/COMPONENTS.md | 2 +- tests/tcg/sh4/Makefile.target | 6 ++++++ ui/cocoa.m | 13 ------------ 20 files changed, 112 insertions(+), 46 deletions(-) rename include/{exec => }/user/abitypes.h (97%) rename include/{exec => }/user/thunk.h (97%) create mode 100644 tests/tcg/sh4/test-addv.c create mode 100644 tests/tcg/sh4/test-subv.c -- 2.41.0 . Date: Sat, 4 May 2024 08:39:17 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/9] target/alpha: Implement CF_PCREL The following changes since commit 97c872276d147c882296f5da245bd8432f1582f6: Merge tag 'accel-sh4-ui-20240503' of https://github.com/philmd/qemu into staging (2024-05-03 14:42:50 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-axp-20240504 for you to fetch changes up to 23bb086350c0de390f77dd034d775742314cabd7: target/alpha: Implement CF_PCREL (2024-05-04 08:05:51 -0700) ---------------------------------------------------------------- target/alpha: Implement CF_PCREL ---------------------------------------------------------------- Philippe Mathieu-Daudé (1): target/alpha: Simplify gen_bcond_internal() Richard Henderson (8): target/alpha: Use cpu_env in preference to ALPHA_CPU target/alpha: Hoist branch shift to initial decode target/alpha: Use DISAS_NEXT definition instead of magic '0' value target/alpha: Inline DISAS_PC_UPDATED and return DISAS_NORETURN target/alpha: Return DISAS_NORETURN once target/alpha: Split out gen_goto_tb target/alpha: Split out gen_pc_disp target/alpha: Implement CF_PCREL target/alpha/cpu.c | 32 ++++++++++--- target/alpha/helper.c | 8 ++-- target/alpha/translate.c | 117 +++++++++++++++++++++++++---------------------- 3 files changed, 91 insertions(+), 66 deletions(-) . Date: Sun, 5 May 2024 19:42:12 -0700 From: Brian Cain To: Subject: [PULL 00/15] Hexagon: simplify gen for packets w/o read-after-write VGhlIGZvbGxvd2luZyBjaGFuZ2VzIHNpbmNlIGNvbW1pdCAyNDhmNmY2MmRmMDczYTNiNDE1OGZk MDA5Mzg2M2FiODg1ZmVhYmI1OgoKICBNZXJnZSB0YWcgJ3B1bGwtYXhwLTIwMjQwNTA0JyBvZiBo dHRwczovL2dpdGxhYi5jb20vcnRoNzY4MC9xZW11IGludG8gc3RhZ2luZyAoMjAyNC0wNS0wNCAw ODozOTo0NiAtMDcwMCkKCmFyZSBhdmFpbGFibGUgaW4gdGhlIEdpdCByZXBvc2l0b3J5IGF0OgoK ICBodHRwczovL2dpdGh1Yi5jb20vcXVpYy9xZW11IHRhZ3MvcHVsbC1oZXgtMjAyNDA1MDUKCmZv ciB5b3UgdG8gZmV0Y2ggY2hhbmdlcyB1cCB0byBhNDY5NjY2MTQ5MWNhYzhjMWMwOGU3ZDQ4MmQ3 NTFmODA4Y2UzMTQzOgoKICBIZXhhZ29uICh0YXJnZXQvaGV4YWdvbikgUmVtb3ZlIGhleF9jb21t b24ucmVhZF9hdHRyaWJzX2ZpbGUgKDIwMjQtMDUtMDUgMTY6MjI6MDcgLTA3MDApCgotLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t ClNob3J0LWNpcmN1aXQgZm9yIHBhY2tldHMgdy9vIHJlYWQtYWZ0ZXItd3JpdGUKQ2xlYW51cCB1 bnVzZWQgY29kZSBpbiBnZW5fKi5weSBzY3JpcHRzCgotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tClRheWxvciBTaW1wc29uICgx NSk6CiAgICAgIEhleGFnb24gKHRhcmdldC9oZXhhZ29uKSBBbmFseXplIHJlYWRzIGJlZm9yZSB3 cml0ZXMKICAgICAgSGV4YWdvbiAodGFyZ2V0L2hleGFnb24pIEVuYWJsZSBtb3JlIHNob3J0LWNp cmN1aXQgcGFja2V0cyAoc2NhbGFyIGNvcmUpCiAgICAgIEhleGFnb24gKHRhcmdldC9oZXhhZ29u KSBFbmFibGUgbW9yZSBzaG9ydC1jaXJjdWl0IHBhY2tldHMgKEhWWCkKICAgICAgSGV4YWdvbiAo dGFyZ2V0L2hleGFnb24pIFBhc3MgUDAgZXhwbGljaXRseSB0byBoZWxwZXJzIHRoYXQgbmVlZCBp dAogICAgICBIZXhhZ29uICh0YXJnZXQvaGV4YWdvbikgUGFzcyBTUCBleHBsaWNpdGx5IHRvIGhl bHBlcnMgdGhhdCBuZWVkIGl0CiAgICAgIEhleGFnb24gKHRhcmdldC9oZXhhZ29uKSBPbmx5IHBh c3MgZW52IHRvIGdlbmVyYXRlZCBoZWxwZXIgd2hlbiBuZWVkZWQKICAgICAgSGV4YWdvbiAodGFy Z2V0L2hleGFnb24pIEFkZCBpc19vbGQvaXNfbmV3IHRvIFJlZ2lzdGVyIGNsYXNzCiAgICAgIEhl eGFnb24gKHRhcmdldC9oZXhhZ29uKSBNYXJrIG5ld19yZWFkX2lkeCBpbiB0cmFucyBmdW5jdGlv bnMKICAgICAgSGV4YWdvbiAodGFyZ2V0L2hleGFnb24pIE1hcmsgZGVzdF9pZHggaW4gdHJhbnMg ZnVuY3Rpb25zCiAgICAgIEhleGFnb24gKHRhcmdldC9oZXhhZ29uKSBNYXJrIGhhc19wcmVkX2Rl c3QgaW4gdHJhbnMgZnVuY3Rpb25zCiAgICAgIEhleGFnb24gKHRlc3RzL3RjZy9oZXhhZ29uKSBU ZXN0IEhWWCAubmV3IHJlYWQgZnJvbSBoaWdoIGhhbGYgb2YgcGFpcgogICAgICBIZXhhZ29uICh0 YXJnZXQvaGV4YWdvbikgUmVtb3ZlIHVzZXMgb2Ygb3BfcmVnc19nZW5lcmF0ZWQuaC5pbmMKICAg ICAgSGV4YWdvbiAodGFyZ2V0L2hleGFnb24pIFJlbW92ZSBnZW5fb3BfcmVncy5weQogICAgICBI ZXhhZ29uICh0YXJnZXQvaGV4YWdvbikgUmVtb3ZlIGdlbl9zaG9ydGNvZGUucHkKICAgICAgSGV4 YWdvbiAodGFyZ2V0L2hleGFnb24pIFJlbW92ZSBoZXhfY29tbW9uLnJlYWRfYXR0cmlic19maWxl CgogdGFyZ2V0L2hleGFnb24vUkVBRE1FICAgICAgICAgICAgICAgICAgIHwgIDExICstCiB0YXJn ZXQvaGV4YWdvbi9hdHRyaWJzX2RlZi5oLmluYyAgICAgICAgfCAgIDMgKy0KIHRhcmdldC9oZXhh Z29uL2RlY29kZS5jICAgICAgICAgICAgICAgICB8ICA0OCArLS0tLS0tLQogdGFyZ2V0L2hleGFn b24vZ2VuX2FuYWx5emVfZnVuY3MucHkgICAgIHwgIDcwICsrKysrKy0tLS0tLQogdGFyZ2V0L2hl eGFnb24vZ2VuX2hlbHBlcl9mdW5jcy5weSAgICAgIHwgIDIxICstLS0KIHRhcmdldC9oZXhhZ29u L2dlbl9oZWxwZXJfcHJvdG9zLnB5ICAgICB8ICAzMSArKy0tLS0KIHRhcmdldC9oZXhhZ29uL2dl bl9pZGVmX3BhcnNlcl9mdW5jcy5weSB8ICAgNSArLQogdGFyZ2V0L2hleGFnb24vZ2VuX29wX2F0 dHJpYnMucHkgICAgICAgIHwgICA1ICstCiB0YXJnZXQvaGV4YWdvbi9nZW5fb3BfcmVncy5weSAg ICAgICAgICAgfCAxMjUgLS0tLS0tLS0tLS0tLS0tLS0tLS0tCiB0YXJnZXQvaGV4YWdvbi9nZW5f b3Bjb2Rlc19kZWYucHkgICAgICAgfCAgIDQgKy0KIHRhcmdldC9oZXhhZ29uL2dlbl9wcmludGlu c24ucHkgICAgICAgICB8ICAgNSArLQogdGFyZ2V0L2hleGFnb24vZ2VuX3Nob3J0Y29kZS5weSAg ICAgICAgIHwgIDYzIC0tLS0tLS0tLS0tCiB0YXJnZXQvaGV4YWdvbi9nZW5fdGNnLmggICAgICAg ICAgICAgICAgfCAgIDUgKy0KIHRhcmdldC9oZXhhZ29uL2dlbl90Y2dfZnVuY190YWJsZS5weSAg ICB8ICAgNSArLQogdGFyZ2V0L2hleGFnb24vZ2VuX3RjZ19mdW5jcy5weSAgICAgICAgIHwgIDIx ICstLS0KIHRhcmdldC9oZXhhZ29uL2dlbl90cmFuc19mdW5jcy5weSAgICAgICB8ICAyNiArKysr LQogdGFyZ2V0L2hleGFnb24vaGV4X2NvbW1vbi5weSAgICAgICAgICAgIHwgMTg5ICsrKysrKysr KysrKysrKysrKysrKystLS0tLS0tLS0tCiB0YXJnZXQvaGV4YWdvbi9pbnNuLmggICAgICAgICAg ICAgICAgICAgfCAgIDUgKy0KIHRhcmdldC9oZXhhZ29uL21hY3Jvcy5oICAgICAgICAgICAgICAg ICB8ICAgNiArLQogdGFyZ2V0L2hleGFnb24vbWVzb24uYnVpbGQgICAgICAgICAgICAgIHwgIDU1 ICsrKy0tLS0tLS0KIHRhcmdldC9oZXhhZ29uL21tdmVjL2RlY29kZV9leHRfbW12ZWMuYyB8ICAz MCArKy0tLQogdGFyZ2V0L2hleGFnb24vb3Bjb2Rlcy5jICAgICAgICAgICAgICAgIHwgIDM1IC0t LS0tLQogdGFyZ2V0L2hleGFnb24vb3Bjb2Rlcy5oICAgICAgICAgICAgICAgIHwgICA0IC0KIHRh cmdldC9oZXhhZ29uL3RyYW5zbGF0ZS5jICAgICAgICAgICAgICB8ICA3NyArKy0tLS0tLS0tLS0t CiB0YXJnZXQvaGV4YWdvbi90cmFuc2xhdGUuaCAgICAgICAgICAgICAgfCAxMTkgKysrKysrKysr KysrKysrKy0tLS0KIHRlc3RzL3RjZy9oZXhhZ29uL2h2eF9taXNjLmMgICAgICAgICAgICB8ICAx NiArKy0KIDI2IGZpbGVzIGNoYW5nZWQsIDM3NCBpbnNlcnRpb25zKCspLCA2MTAgZGVsZXRpb25z KC0pCiBkZWxldGUgbW9kZSAxMDA3NTUgdGFyZ2V0L2hleGFnb24vZ2VuX29wX3JlZ3MucHkKIGRl bGV0ZSBtb2RlIDEwMDc1NSB0YXJnZXQvaGV4YWdvbi9nZW5fc2hvcnRjb2RlLnB5Cg== . Date: Mon, 6 May 2024 09:50:39 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/46] Mostly build system and other cleanups patches for 2024-05-06 The following changes since commit 4977ce198d2390bff8c71ad5cb1a5f6aa24b56fb: Merge tag 'pull-tcg-20240501' of https://gitlab.com/rth7680/qemu into staging (2024-05-01 15:15:33 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to deb686ef0e609ceaec0daa5dc88eb5b3dd9701b0: qga/commands-posix: fix typo in qmp_guest_set_user_password (2024-05-03 19:36:51 +0200) ---------------------------------------------------------------- * target/i386: Introduce SapphireRapids-v3 to add missing features * switch boards to "default y" * allow building emulators without any board * configs: list "implied" device groups in the default configs * remove unnecessary declarations from typedefs.h * target/i386: Give IRQs a chance when resetting HF_INHIBIT_IRQ_MASK ---------------------------------------------------------------- Lei Wang (1): target/i386: Introduce SapphireRapids-v3 to add missing features Paolo Bonzini (44): Kconfig: kvm: allow building without any board tests/qtest: skip m48t59-test if the machine is absent gitlab-ci: adjust msys2-64bit to be able to run qtest kvm: ppc: disable sPAPR code if CONFIG_PSERIES is disabled configs: list "implied" device groups in the default configs alpha: switch boards to "default y" arm: switch boards to "default y" avr: switch boards to "default y" cris: switch boards to "default y" hppa: switch boards to "default y" i386: switch boards to "default y" loongarch: switch boards to "default y" m68k: switch boards to "default y" microblaze: switch boards to "default y" meson: make target endianneess available to Kconfig mips: switch boards to "default y" openrisc: switch boards to "default y" ppc: switch boards to "default y" riscv: switch boards to "default y" rx: switch boards to "default y" s390x: switch boards to "default y" sh4: switch boards to "default y" sparc: switch boards to "default y" tricore: switch boards to "default y" xtensa: switch boards to "default y" docs: document new convention for Kconfig board symbols bitmap: Use g_try_new0/g_new0/g_renew build: do not build virtio-vga-gl if virgl/opengl not available fw_cfg: remove useless declarations from typedefs.h qdev-core: remove DeviceListener from typedefs.h numa: remove types from typedefs.h net: remove AnnounceTimer from typedefs.h qemu-option: remove QemuOpt from typedefs.h intc: remove PICCommonState from typedefs.h lockable: remove QemuLockable from typedefs.h migration: remove PostcopyDiscardState from typedefs.h monitor: remove MonitorDef from typedefs.h qapi/machine: remove types from typedefs.h display: remove GraphicHwOps from typedefs.h tcg: remove CPU* types from typedefs.h pci: remove some types from typedefs.h kvm: move target-dependent interrupt routing out of kvm-all.c migration: do not include coroutine_int.h qga/commands-posix: fix typo in qmp_guest_set_user_password Ruihan Li (1): target/i386: Give IRQs a chance when resetting HF_INHIBIT_IRQ_MASK docs/devel/kconfig.rst | 14 +++++- configs/devices/alpha-softmmu/default.mak | 5 +- configs/devices/arm-softmmu/default.mak | 5 +- configs/devices/avr-softmmu/default.mak | 5 +- configs/devices/cris-softmmu/default.mak | 5 +- configs/devices/hppa-softmmu/default.mak | 5 +- configs/devices/i386-softmmu/default.mak | 11 ++--- configs/devices/loongarch64-softmmu/default.mak | 6 ++- configs/devices/m68k-softmmu/default.mak | 13 +++--- configs/devices/microblaze-softmmu/default.mak | 9 ++-- configs/devices/mips-softmmu/common.mak | 5 +- configs/devices/mips64-softmmu/default.mak | 4 +- configs/devices/mips64el-softmmu/default.mak | 10 ++-- configs/devices/or1k-softmmu/default.mak | 9 ++-- configs/devices/ppc-softmmu/default.mak | 30 +++++++----- configs/devices/ppc64-softmmu/default.mak | 8 ++-- configs/devices/riscv32-softmmu/default.mak | 17 ++++--- configs/devices/riscv64-softmmu/default.mak | 19 ++++---- configs/devices/rx-softmmu/default.mak | 3 +- configs/devices/s390x-softmmu/default.mak | 5 +- configs/devices/sh4-softmmu/default.mak | 7 ++- configs/devices/sparc-softmmu/default.mak | 7 ++- configs/devices/sparc64-softmmu/default.mak | 7 ++- configs/devices/tricore-softmmu/default.mak | 7 ++- configs/devices/xtensa-softmmu/default.mak | 11 +++-- meson.build | 12 +++-- accel/tcg/tb-jmp-cache.h | 4 +- hw/display/vga_int.h | 1 + include/hw/core/cpu.h | 11 ++++- include/hw/intc/i8259.h | 2 + include/hw/nvram/fw_cfg.h | 2 + include/hw/pci/pcie.h | 3 ++ include/hw/pci/pcie_aer.h | 38 +++++++-------- include/hw/pci/pcie_sriov.h | 8 ++-- include/hw/qdev-core.h | 1 + include/hw/s390x/adapter.h | 4 +- include/monitor/hmp-target.h | 11 +++-- include/net/announce.h | 4 +- include/qemu/bitmap.h | 19 ++++---- include/qemu/coroutine.h | 4 +- include/qemu/lockable.h | 4 +- include/qemu/option.h | 2 + include/qemu/typedefs.h | 24 ---------- include/sysemu/kvm.h | 5 +- include/sysemu/numa.h | 8 ++-- migration/migration.h | 2 +- accel/kvm/kvm-all.c | 62 ++----------------------- hw/hyperv/hyperv.c | 25 ++++++++++ hw/intc/s390_flic_kvm.c | 28 +++++++++++ migration/postcopy-ram.c | 4 +- qga/commands-posix.c | 2 +- stubs/target-monitor-defs.c | 3 +- system/physmem.c | 4 +- target/i386/cpu.c | 11 +++++ target/i386/tcg/translate.c | 14 ++++-- target/ppc/kvm.c | 17 +++++-- tests/qtest/m48t59-test.c | 11 +++-- .gitlab-ci.d/buildtest.yml | 9 +++- .gitlab-ci.d/windows.yml | 5 +- hw/alpha/Kconfig | 2 + hw/arm/Kconfig | 2 + hw/avr/Kconfig | 3 ++ hw/cris/Kconfig | 2 + hw/display/meson.build | 14 +++--- hw/hppa/Kconfig | 2 + hw/i386/Kconfig | 10 +++- hw/loongarch/Kconfig | 2 + hw/m68k/Kconfig | 10 ++++ hw/microblaze/Kconfig | 6 +++ hw/mips/Kconfig | 12 +++++ hw/openrisc/Kconfig | 4 ++ hw/ppc/Kconfig | 26 +++++++++++ hw/riscv/Kconfig | 14 ++++++ hw/rx/Kconfig | 2 + hw/s390x/Kconfig | 2 + hw/sh4/Kconfig | 4 ++ hw/sparc/Kconfig | 4 ++ hw/sparc64/Kconfig | 4 ++ hw/tricore/Kconfig | 4 ++ hw/xtensa/Kconfig | 6 +++ target/Kconfig | 3 ++ target/arm/Kconfig | 2 + target/i386/Kconfig | 3 ++ target/ppc/Kconfig | 1 + 84 files changed, 455 insertions(+), 280 deletions(-) -- 2.44.0 . Date: Mon, 6 May 2024 13:02:40 +0200 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/7] QAPI patches patches for 2024-05-06 The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5: Merge tag 'pull-axp-20240504' of https://gitlab.com/rth7680/qemu into staging (2024-05-04 08:39:46 -0700) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-05-06 for you to fetch changes up to 285a8f209af7b4992aa91e8bea03a303fb6406ab: qapi: Simplify QAPISchemaVariants @tag_member (2024-05-06 12:38:27 +0200) ---------------------------------------------------------------- QAPI patches patches for 2024-05-06 ---------------------------------------------------------------- Markus Armbruster (7): qapi: New QAPISchemaBranches, QAPISchemaAlternatives qapi: Rename visitor parameter @variants to @branches qapi: Rename visitor parameter @variants to @alternatives qapi: Rename QAPISchemaObjectType.variants to .branches qapi: Rename QAPISchemaAlternateType.variants to .alternatives qapi: Move conditional code from QAPISchemaVariants to its subtypes qapi: Simplify QAPISchemaVariants @tag_member docs/sphinx/qapidoc.py | 21 ++-- scripts/qapi/commands.py | 2 +- scripts/qapi/events.py | 2 +- scripts/qapi/gen.py | 2 +- scripts/qapi/introspect.py | 15 +-- scripts/qapi/schema.py | 223 +++++++++++++++++++++-------------------- scripts/qapi/types.py | 12 ++- scripts/qapi/visit.py | 24 +++-- tests/qapi-schema/test-qapi.py | 9 +- 9 files changed, 163 insertions(+), 147 deletions(-) -- 2.44.0 . Date: Mon, 6 May 2024 12:44:39 +0100 From: Mark Cave-Ayland To: qemu-devel@nongnu.org, richard.henderson@linaro.org Subject: [PULL 00/12] qemu-sparc queue 20240506 The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5: Merge tag 'pull-axp-20240504' of https://gitlab.com/rth7680/qemu into staging (2024-05-04 08:39:46 -0700) are available in the Git repository at: https://github.com/mcayland/qemu.git tags/qemu-sparc-20240506 for you to fetch changes up to d6f898cf85c92389182d22f0bcc3a11d7194fc94: target/sparc: Split out do_ms16b (2024-05-05 21:02:48 +0100) ---------------------------------------------------------------- qemu-sparc queue - Default to modern virtio with iommu_platform enabled for sun4u - Fixes for various VIS instructions from Richard - CPU name updates from Thomas ---------------------------------------------------------------- Mark Cave-Ayland (1): hw/sparc64: set iommu_platform=on for virtio devices attached to the sun4u machine Richard Henderson (7): linux-user/sparc: Add more hwcap bits for sparc64 target/sparc: Fix FEXPAND target/sparc: Fix FMUL8x16 target/sparc: Fix FMUL8x16A{U,L} target/sparc: Fix FMULD8*X16 target/sparc: Fix FPMERGE target/sparc: Split out do_ms16b Thomas Huth (4): target/sparc/cpu: Rename the CPU models with a "+" in their names target/sparc/cpu: Avoid spaces by default in the CPU names docs/system/target-sparc: Improve the Sparc documentation docs/about: Deprecate the old "UltraSparc" CPU names that contain a "+" docs/about/deprecated.rst | 9 +++ docs/system/target-sparc.rst | 12 +-- hw/sparc64/sun4u.c | 7 ++ linux-user/elfload.c | 48 +++++++---- qom/object.c | 8 -- target/sparc/cpu.c | 66 ++++++++------- target/sparc/helper.h | 11 +-- target/sparc/insns.decode | 2 +- target/sparc/translate.c | 129 ++++++++++++++++++++++++++--- target/sparc/vis_helper.c | 189 +++++++++++-------------------------------- 10 files changed, 265 insertions(+), 216 deletions(-) . Date: Mon, 6 May 2024 14:37:00 +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] Accelerator patches for 2024-05-06 The following changes since commit 248f6f62df073a3b4158fd0093863ab885feabb5: Merge tag 'pull-axp-20240504' of https://gitlab.com/rth7680/qemu into staging (2024-05-04 08:39:46 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/accel-next-20240506 for you to fetch changes up to c984d1d8916df8abac71325a5a135cd851b2106a: MAINTAINERS: Update my email address (2024-05-06 14:33:49 +0200) ---------------------------------------------------------------- Accelerator patches - Extract page-protection definitions to page-protection.h - Rework in accel/tcg in preparation of extracting TCG fields from CPUState - More uses of get_task_state() in user emulation - Xen refactors in preparation for adding multiple map caches (Juergen & Edgar) - MAINTAINERS updates (Aleksandar and Bin) ---------------------------------------------------------------- Aleksandar Rikalo (1): MAINTAINERS: Update Aleksandar Rikalo email BALATON Zoltan (1): exec/cpu: Rename PAGE_BITS macro to PAGE_RWX Bin Meng (1): MAINTAINERS: Update my email address Edgar E. Iglesias (9): xen: mapcache: Refactor lock functions for multi-instance xen: mapcache: Refactor xen_map_cache for multi-instance xen: mapcache: Refactor xen_remap_bucket for multi-instance xen: mapcache: Break out xen_ram_addr_from_mapcache_single xen: mapcache: Refactor xen_replace_cache_entry_unlocked xen: mapcache: Refactor xen_invalidate_map_cache_entry_unlocked xen: mapcache: Break out xen_invalidate_map_cache_single() xen: mapcache: Break out xen_map_cache_init_single() softmmu: Pass RAM MemoryRegion and is_write in xen_map_cache() Juergen Gross (2): softmmu: let qemu_map_ram_ptr() use qemu_ram_ptr_length() xen: let xen_ram_addr_from_mapcache() return -1 in case of not found entry Philippe Mathieu-Daudé (14): exec/cpu: Indent TARGET_PAGE_foo definitions exec/cpu: Remove obsolete PAGE_RESERVED definition exec/cpu: Remove duplicated PAGE_PASSTHROUGH definition exec/cpu: Extract page-protection definitions to page-protection.h accel/tcg: Use cpu_loop_exit_requested() in cpu_loop_exec_tb() accel/tcg: Access tcg_cflags with getter / setter accel/tcg: Move user definition of cpu_interrupt() to user-exec.c accel/tcg: Update CPUNegativeOffsetState::can_do_io field documentation accel/tcg: Restrict qemu_plugin_vcpu_exit_hook() to TCG plugins accel/tcg: Restrict cpu_plugin_mem_cbs_enabled() to TCG accel/tcg: Move @plugin_mem_cbs from CPUState to CPUNegativeOffsetState user: Forward declare TaskState type definition user: Declare get_task_state() once in 'accel/tcg/vcpu-state.h' user: Use get_task_state() helper MAINTAINERS | 19 ++- accel/tcg/internal-common.h | 20 ++- accel/tcg/vcpu-state.h | 18 ++ bsd-user/bsd-mem.h | 1 + bsd-user/qemu.h | 11 +- include/exec/cpu-all.h | 36 ++-- include/exec/cpu-common.h | 38 +---- include/exec/exec-all.h | 3 - include/exec/page-protection.h | 41 +++++ include/hw/core/cpu.h | 38 ++--- include/qemu/plugin.h | 2 +- include/qemu/typedefs.h | 1 + include/semihosting/uaccess.h | 1 + include/sysemu/xen-mapcache.h | 11 +- linux-user/qemu.h | 10 +- target/arm/cpu.h | 1 + target/ppc/internal.h | 1 + target/ppc/mmu-radix64.h | 2 + accel/tcg/cpu-exec.c | 17 +- accel/tcg/cputlb.c | 1 + accel/tcg/plugin-gen.c | 6 +- accel/tcg/tb-maint.c | 1 + accel/tcg/tcg-accel-ops.c | 2 +- accel/tcg/translate-all.c | 9 - accel/tcg/user-exec.c | 11 +- bsd-user/mmap.c | 7 +- bsd-user/signal.c | 1 + cpu-target.c | 1 + gdbstub/gdbstub.c | 3 +- gdbstub/user-target.c | 4 +- hw/core/cpu-common.c | 4 + hw/ppc/ppc440_bamboo.c | 1 + hw/ppc/sam460ex.c | 1 + hw/ppc/virtex_ml507.c | 1 + hw/xen/xen-mapcache.c | 212 +++++++++++++----------- linux-user/arm/cpu_loop.c | 1 + linux-user/elfload.c | 3 +- linux-user/mmap.c | 11 +- linux-user/signal.c | 1 + linux-user/syscall.c | 9 +- plugins/core.c | 2 +- system/physmem.c | 82 ++++----- target/alpha/helper.c | 1 + target/arm/cpu.c | 2 +- target/arm/ptw.c | 1 + target/arm/tcg/m_helper.c | 1 + target/arm/tcg/mte_helper.c | 1 + target/arm/tcg/sve_helper.c | 1 + target/avr/cpu.c | 2 +- target/avr/helper.c | 1 + target/cris/mmu.c | 5 +- target/hexagon/cpu.c | 2 +- target/hppa/cpu.c | 2 +- target/hppa/mem_helper.c | 1 + target/hppa/translate.c | 1 + target/i386/cpu.c | 2 +- target/i386/helper.c | 2 +- target/i386/tcg/sysemu/excp_helper.c | 1 + target/loongarch/cpu.c | 2 +- target/loongarch/tcg/tlb_helper.c | 1 + target/m68k/helper.c | 1 + target/microblaze/cpu.c | 2 +- target/microblaze/helper.c | 3 +- target/microblaze/mmu.c | 1 + target/mips/sysemu/physaddr.c | 1 + target/mips/tcg/exception.c | 2 +- target/mips/tcg/sysemu/special_helper.c | 2 +- target/mips/tcg/sysemu/tlb_helper.c | 1 + target/openrisc/cpu.c | 2 +- target/openrisc/mmu.c | 1 + target/ppc/mmu-hash32.c | 1 + target/ppc/mmu-hash64.c | 1 + target/ppc/mmu-radix64.c | 1 + target/ppc/mmu_common.c | 1 + target/ppc/mmu_helper.c | 1 + target/riscv/cpu_helper.c | 1 + target/riscv/pmp.c | 1 + target/riscv/tcg/tcg-cpu.c | 4 +- target/riscv/vector_helper.c | 1 + target/rx/cpu.c | 3 +- target/s390x/mmu_helper.c | 1 + target/s390x/tcg/mem_helper.c | 1 + target/sh4/cpu.c | 4 +- target/sh4/helper.c | 1 + target/sparc/cpu.c | 2 +- target/sparc/ldst_helper.c | 1 + target/sparc/mmu_helper.c | 1 + target/tricore/cpu.c | 2 +- target/tricore/helper.c | 1 + target/xtensa/mmu_helper.c | 1 + target/xtensa/op_helper.c | 1 + 91 files changed, 421 insertions(+), 300 deletions(-) create mode 100644 accel/tcg/vcpu-state.h create mode 100644 include/exec/page-protection.h -- 2.41.0 . Date: Tue, 7 May 2024 12:55:12 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/26] target/i386 changes for 2024-05-07 The following changes since commit e116b92d01c2cd75957a9f8ad1d4932292867b81: Merge tag 'qemu-sparc-20240506' of https://github.com/mcayland/qemu into staging (2024-05-06 10:19:56 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to d4e6d40c36071c287199c072cd5d296091ee5968: target/i386: remove duplicate prefix decoding (2024-05-07 08:53:26 +0200) ---------------------------------------------------------------- * target/i386/tcg: conversion of one byte opcodes to table-based decoder ---------------------------------------------------------------- Babu Moger (1): target/i386: Fix CPUID encoding of Fn8000001E_ECX Paolo Bonzini (25): target/i386: use TSTEQ/TSTNE to test low bits target/i386: use TSTEQ/TSTNE to check flags target/i386: remove mask from CCPrepare target/i386: cc_op is not dynamic in gen_jcc1 target/i386: cleanup cc_op changes for REP/REPZ/REPNZ target/i386: pull cc_op update to callers of gen_jmp_rel{,_csize} target/i386: extend cc_* when using them to compute flags target/i386: do not use s->T0 and s->T1 as scratch registers for CCPrepare target/i386: clarify the "reg" argument of functions returning CCPrepare target/i386: cleanup *gen_eob* target/i386: reintroduce debugging mechanism target/i386: move 00-5F opcodes to new decoder target/i386: extract gen_far_call/jmp, reordering temporaries target/i386: allow instructions with more than one immediate target/i386: move 60-BF opcodes to new decoder target/i386: generalize gen_movl_seg_T0 target/i386: move C0-FF opcodes to new decoder (except for x87) target/i386: merge and enlarge a few ranges for call to disas_insn_new target/i386: move remaining conditional operations to new decoder target/i386: move BSWAP to new decoder target/i386: port extensions of one-byte opcodes to new decoder target/i386: remove now-converted opcodes from old decoder target/i386: decode x87 instructions in a separate function target/i386: split legacy decoder into a separate function target/i386: remove duplicate prefix decoding target/i386/cpu.h | 6 + target/i386/helper.h | 11 - target/i386/tcg/decode-new.h | 23 +- target/i386/tcg/shift_helper_template.h.inc | 108 - hw/i386/pc.c | 1 + target/i386/cpu.c | 18 +- target/i386/tcg/int_helper.c | 34 - target/i386/tcg/translate.c | 3781 ++++++--------------------- target/i386/tcg/decode-new.c.inc | 608 ++++- target/i386/tcg/emit.c.inc | 1595 ++++++++++- 10 files changed, 2989 insertions(+), 3196 deletions(-) delete mode 100644 target/i386/tcg/shift_helper_template.h.inc -- 2.45.0 . Date: Tue, 7 May 2024 07:33:00 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/9] tcg + misc patch queue The following changes since commit d4c453f64824bbeec56c7e72aa83019a7db70d9e: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-06 08:34:34 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240507 for you to fetch changes up to f578b66e8c70ddea71d44db6e2c7abbcd757d684: gitlab: Streamline ubuntu-22.04-s390x (2024-05-06 23:40:36 -0700) ---------------------------------------------------------------- tcg: Add write_aofs to GVecGen3i tcg/i386: Simplify immediate 8-bit logical vector shifts tcg/i386: Optimize setcond of TST{EQ,NE} with 0xffffffff tcg/optimize: Optimize setcond with zmask accel/tcg: Introduce CF_BP_PAGE target/sh4: Update DisasContextBase.insn_start gitlab: Drop --static from s390x linux-user build gitlab: Streamline ubuntu-22.04-s390x ---------------------------------------------------------------- Richard Henderson (9): tcg: Add write_aofs to GVecGen3i tcg/i386: Simplify immediate 8-bit logical vector shifts tcg/i386: Optimize setcond of TST{EQ,NE} with 0xffffffff tcg/optimize: Optimize setcond with zmask accel/tcg: Introduce CF_BP_PAGE target/sh4: Update DisasContextBase.insn_start gitlab: Drop --disable-libssh from ubuntu-22.04-s390x.yml gitlab: Drop --static from s390x linux-user build gitlab: Streamline ubuntu-22.04-s390x include/exec/translation-block.h | 1 + include/tcg/tcg-op-gvec-common.h | 2 + accel/tcg/cpu-exec.c | 2 +- target/sh4/translate.c | 1 + tcg/optimize.c | 110 +++++++++++++++++++++ tcg/tcg-op-gvec.c | 30 ++++-- tcg/i386/tcg-target.c.inc | 78 ++++++--------- .gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml | 16 +-- 8 files changed, 174 insertions(+), 66 deletions(-) . Date: Wed, 8 May 2024 19:44:44 +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/26] Misc HW patches for 2024-05-08 The following changes since commit 4e66a08546a2588a4667766a1edab9caccf24ce3: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-07 09:26:30 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240508 for you to fetch changes up to 15a91d34f7b08635e3919105f7ad0b5aafc49f50: misc: Use QEMU header path relative to include/ directory (2024-05-08 19:43:23 +0200) ---------------------------------------------------------------- Misc HW patches - Few more g_memdup() replaced by safer g_memdup2() wrapper (Phil) - Endianness access fixed in vfio-user config space (Mattias) - Replace qemu_mutex_lock() -> QEMU_LOCK_GUARD in system/physmem (Phil) - Per-AddressSpace bounce buffering (Mattias) - Allow to compile x86 PC machines without Floppy Controller (Thomas) - Cleanups around i386 "isa-bios" memory regions (Bernhard) - Remove unused usb rndis_config_parameter structure (David) - Migrate missing clock in STM32L4x5 GPIOs (Inès) - Deprecate PPC 'ref405ep' machine and 405 CPUs (Cédric) - Memory leak fixed in Loongarch Virt machine (Song Gao) - hw/loongarch/ code moved around (Paolo & Bibo Mao) - Emulate S3 suspend in loongson3_virt machine (Jiaxun) - Implement IOCSR address space in Loongson IPI (Jiaxun) - Use QEMU header path relative to include/ directory (Phil) ---------------------------------------------------------------- Bernhard Beschow (3): hw/i386/x86: Eliminate two if statements in x86_bios_rom_init() hw/i386: Have x86_bios_rom_init() take X86MachineState rather than MachineState hw/i386/x86: Don't leak "isa-bios" memory regions Bibo Mao (2): hw/loongarch: Rename LOONGARCH_MACHINE with LOONGARCH_VIRT_MACHINE hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState Cédric Le Goater (1): hw/ppc: Deprecate 'ref405ep' machine and 405 CPUs Dr. David Alan Gilbert (1): hw/usb/dev-network: Remove unused struct 'rndis_config_parameter' Inès Varhol (1): hw/gpio: Handle clock migration in STM32L4x5 gpios Jiaxun Yang (4): hw/mips/loongson3_virt: Emulate suspend function hw/intc/loongarch_ipi: Remove pointless MAX_CPU check hw/intc/loongarch_ipi: Rename as loongson_ipi hw/intc/loongson_ipi: Implement IOCSR address space for MIPS Mattias Nissler (3): hw/remote/vfio-user: Fix config space access byte order system/physmem: Propagate AddressSpace to MapClient helpers system/physmem: Per-AddressSpace bounce buffering Paolo Bonzini (1): hw/loongarch: move memory map to boot.c Philippe Mathieu-Daudé (6): block/qcow2-bitmap: Replace g_memdup() by g_memdup2() target/ppc: Replace g_memdup() by g_memdup2() hw/hppa/machine: Replace g_memdup() by g_memdup2() hw/ppc/spapr_pci: Replace g_memdup() by g_memdup2() system/physmem: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD misc: Use QEMU header path relative to include/ directory Song Gao (1): hw/loongarch/virt: Fix memory leak Thomas Huth (3): hw/i386/pc: Allow to compile without CONFIG_FDC_ISA hw/i386/Kconfig: Allow to compile Q35 without FDC_ISA hw/i386: Add the possibility to use i440fx and isapc without FDC MAINTAINERS | 4 + docs/about/deprecated.rst | 8 + hw/loongarch/fw_cfg.h | 2 +- include/exec/cpu-common.h | 2 - include/exec/memory.h | 45 ++- include/hw/i386/x86.h | 4 +- .../intc/{loongarch_ipi.h => loongson_ipi.h} | 12 +- include/hw/loongarch/boot.h | 10 + include/hw/loongarch/virt.h | 21 +- block/qcow2-bitmap.c | 2 +- hw/audio/virtio-snd.c | 2 +- hw/gpio/stm32l4x5_gpio.c | 6 +- hw/hppa/machine.c | 16 +- hw/i386/microvm.c | 2 +- hw/i386/pc.c | 13 +- hw/i386/pc_piix.c | 6 +- hw/i386/pc_sysfw.c | 11 +- hw/i386/x86.c | 19 +- hw/intc/loongarch_ipi.c | 19 +- hw/intc/loongson_ipi.c | 368 ++++++++++++++++++ hw/loongarch/acpi-build.c | 89 +++-- hw/loongarch/boot.c | 13 +- hw/loongarch/fw_cfg.c | 2 +- hw/loongarch/virt.c | 353 ++++++++--------- hw/mips/loongson3_bootp.c | 1 + hw/mips/loongson3_virt.c | 20 + hw/ppc/ppc405_boards.c | 1 + hw/ppc/spapr_pci.c | 7 +- hw/remote/vfio-user-obj.c | 4 +- hw/rtc/ls7a_rtc.c | 2 +- hw/usb/dev-network.c | 8 - system/dma-helpers.c | 4 +- system/memory.c | 7 + system/physmem.c | 99 ++--- target/i386/gdbstub.c | 2 +- target/ppc/mmu-hash64.c | 2 +- tests/qtest/nvme-test.c | 2 +- tests/qtest/ufs-test.c | 2 +- .gitlab-ci.d/buildtest.yml | 2 +- hw/i386/Kconfig | 2 +- hw/intc/Kconfig | 2 +- hw/intc/meson.build | 2 +- hw/intc/trace-events | 8 +- hw/loongarch/Kconfig | 2 +- 44 files changed, 807 insertions(+), 401 deletions(-) rename include/hw/intc/{loongarch_ipi.h => loongson_ipi.h} (84%) create mode 100644 hw/intc/loongson_ipi.c -- 2.41.0 . Date: Thu, 9 May 2024 00:15:15 +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 v2 00/28] Misc HW patches for 2024-05-08 v2: Updated Bernhard's patches The following changes since commit 4e66a08546a2588a4667766a1edab9caccf24ce3: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-07 09:26:30 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240508 for you to fetch changes up to 8b4d80bb53af30db5de91749216d0bb73fa93cab: misc: Use QEMU header path relative to include/ directory (2024-05-09 00:07:21 +0200) ---------------------------------------------------------------- Misc HW patches - Few more g_memdup() replaced by safer g_memdup2() wrapper (Phil) - Endianness access fixed in vfio-user config space (Mattias) - Replace qemu_mutex_lock() -> QEMU_LOCK_GUARD in system/physmem (Phil) - Per-AddressSpace bounce buffering (Mattias) - Allow to compile x86 PC machines without Floppy Controller (Thomas) - Cleanups around i386 "isa-bios" memory regions (Bernhard) - Remove unused usb rndis_config_parameter structure (David) - Migrate missing clock in STM32L4x5 GPIOs (Inès) - Deprecate PPC 'ref405ep' machine and 405 CPUs (Cédric) - Memory leak fixed in Loongarch Virt machine (Song Gao) - hw/loongarch/ code moved around (Paolo & Bibo Mao) - Emulate S3 suspend in loongson3_virt machine (Jiaxun) - Implement IOCSR address space in Loongson IPI (Jiaxun) - Use QEMU header path relative to include/ directory (Phil) ---------------------------------------------------------------- Bernhard Beschow (5): hw/i386/x86: Eliminate two if statements in x86_bios_rom_init() hw/i386: Have x86_bios_rom_init() take X86MachineState rather than MachineState hw/i386/x86: Don't leak "isa-bios" memory regions hw/i386/x86: Don't leak "pc.bios" memory region hw/i386/x86: Extract x86_isa_bios_init() from x86_bios_rom_init() Bibo Mao (2): hw/loongarch: Rename LOONGARCH_MACHINE with LOONGARCH_VIRT_MACHINE hw/loongarch: Rename LoongArchMachineState with LoongArchVirtMachineState Cédric Le Goater (1): hw/ppc: Deprecate 'ref405ep' machine and 405 CPUs Dr. David Alan Gilbert (1): hw/usb/dev-network: Remove unused struct 'rndis_config_parameter' Inès Varhol (1): hw/gpio: Handle clock migration in STM32L4x5 gpios Jiaxun Yang (4): hw/mips/loongson3_virt: Emulate suspend function hw/intc/loongarch_ipi: Remove pointless MAX_CPU check hw/intc/loongarch_ipi: Rename as loongson_ipi hw/intc/loongson_ipi: Implement IOCSR address space for MIPS Mattias Nissler (3): hw/remote/vfio-user: Fix config space access byte order system/physmem: Propagate AddressSpace to MapClient helpers system/physmem: Per-AddressSpace bounce buffering Paolo Bonzini (1): hw/loongarch: move memory map to boot.c Philippe Mathieu-Daudé (6): block/qcow2-bitmap: Replace g_memdup() by g_memdup2() target/ppc: Replace g_memdup() by g_memdup2() hw/hppa/machine: Replace g_memdup() by g_memdup2() hw/ppc/spapr_pci: Replace g_memdup() by g_memdup2() system/physmem: Replace qemu_mutex_lock() calls with QEMU_LOCK_GUARD misc: Use QEMU header path relative to include/ directory Song Gao (1): hw/loongarch/virt: Fix memory leak Thomas Huth (3): hw/i386/pc: Allow to compile without CONFIG_FDC_ISA hw/i386/Kconfig: Allow to compile Q35 without FDC_ISA hw/i386: Add the possibility to use i440fx and isapc without FDC MAINTAINERS | 4 + docs/about/deprecated.rst | 8 + hw/loongarch/fw_cfg.h | 2 +- include/exec/cpu-common.h | 2 - include/exec/memory.h | 45 ++- include/hw/i386/x86.h | 17 +- .../intc/{loongarch_ipi.h => loongson_ipi.h} | 12 +- include/hw/loongarch/boot.h | 10 + include/hw/loongarch/virt.h | 21 +- block/qcow2-bitmap.c | 2 +- hw/audio/virtio-snd.c | 2 +- hw/gpio/stm32l4x5_gpio.c | 6 +- hw/hppa/machine.c | 16 +- hw/i386/microvm.c | 2 +- hw/i386/pc.c | 13 +- hw/i386/pc_piix.c | 6 +- hw/i386/pc_sysfw.c | 11 +- hw/i386/x86.c | 45 +-- hw/intc/loongarch_ipi.c | 19 +- hw/intc/loongson_ipi.c | 368 ++++++++++++++++++ hw/loongarch/acpi-build.c | 89 +++-- hw/loongarch/boot.c | 13 +- hw/loongarch/fw_cfg.c | 2 +- hw/loongarch/virt.c | 353 ++++++++--------- hw/mips/loongson3_bootp.c | 1 + hw/mips/loongson3_virt.c | 20 + hw/ppc/ppc405_boards.c | 1 + hw/ppc/spapr_pci.c | 7 +- hw/remote/vfio-user-obj.c | 4 +- hw/rtc/ls7a_rtc.c | 2 +- hw/usb/dev-network.c | 8 - system/dma-helpers.c | 4 +- system/memory.c | 7 + system/physmem.c | 99 ++--- target/i386/gdbstub.c | 2 +- target/ppc/mmu-hash64.c | 2 +- tests/qtest/nvme-test.c | 2 +- tests/qtest/ufs-test.c | 2 +- .gitlab-ci.d/buildtest.yml | 2 +- hw/i386/Kconfig | 2 +- hw/intc/Kconfig | 2 +- hw/intc/meson.build | 2 +- hw/intc/trace-events | 8 +- hw/loongarch/Kconfig | 2 +- 44 files changed, 836 insertions(+), 411 deletions(-) rename include/hw/intc/{loongarch_ipi.h => loongson_ipi.h} (84%) create mode 100644 hw/intc/loongson_ipi.c -- 2.41.0 . Date: Wed, 8 May 2024 20:35:28 -0300 From: Fabiano Rosas To: qemu-devel@nongnu.org Cc: Peter Xu , Richard Henderson Subject: [PULL v2 00/13] Migration patches for 2024-05-08 The following changes since commit 4e66a08546a2588a4667766a1edab9caccf24ce3: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-07 09:26:30 -0700) are available in the Git repository at: https://gitlab.com/farosas/qemu.git tags/migration-20240508-pull-request for you to fetch changes up to db8cb7b6e73690233bc7c6abbb90979af3a18143: hmp/migration: Fix "migrate" command's documentation (2024-05-08 09:22:37 -0300) ---------------------------------------------------------------- Migration pull request - Will's WITH_QEMU_LOCK_GUARD cleanup - Vladimir's new exit-on-error parameter - Fabiano's removals and deprecations series (block migration and non-multifd compression removed) - Peter's documentation fix for HMP migrate command v2: - updated Peter's documentation fix. ---------------------------------------------------------------- Fabiano Rosas (6): migration: Remove 'skipped' field from MigrationStats migration: Remove 'inc' option from migrate command migration: Remove 'blk/-b' option from migrate commands migration: Remove block migration migration: Remove non-multifd compression migration: Deprecate fd: for file migration Peter Xu (1): hmp/migration: Fix "migrate" command's documentation Vladimir Sementsov-Ogievskiy (5): migration: move trace-point from migrate_fd_error to migrate_set_error migration: process_incoming_migration_co(): complete cleanup on failure migration: process_incoming_migration_co(): fix reporting s->error migration: process_incoming_migration_co(): rework error reporting qapi: introduce exit-on-error parameter for migrate-incoming Will Gyda (1): migration/ram.c: API Conversion qemu_mutex_lock(), and qemu_mutex_unlock() to WITH_QEMU_LOCK_GUARD macro .gitlab-ci.d/buildtest.yml | 2 +- MAINTAINERS | 1 - docs/about/deprecated.rst | 51 +- docs/about/removed-features.rst | 103 ++++ docs/devel/migration/main.rst | 2 +- hmp-commands.hx | 23 +- hw/core/machine.c | 1 - include/migration/misc.h | 6 - meson.build | 2 - meson_options.txt | 2 - migration/block.c | 1019 -------------------------------------- migration/block.h | 52 -- migration/colo.c | 1 - migration/fd.c | 12 + migration/meson.build | 4 - migration/migration-hmp-cmds.c | 99 +--- migration/migration.c | 121 ++--- migration/migration.h | 14 +- migration/options.c | 229 --------- migration/options.h | 13 - migration/qemu-file.c | 78 --- migration/qemu-file.h | 4 - migration/ram-compress.c | 564 --------------------- migration/ram-compress.h | 77 --- migration/ram.c | 181 +------ migration/savevm.c | 5 - migration/trace-events | 2 +- qapi/migration.json | 212 +------- scripts/meson-buildoptions.sh | 4 - system/vl.c | 3 +- tests/qemu-iotests/183 | 147 ------ tests/qemu-iotests/183.out | 66 --- tests/qemu-iotests/common.filter | 7 - tests/qtest/migration-test.c | 139 ------ 34 files changed, 210 insertions(+), 3036 deletions(-) delete mode 100644 migration/block.c delete mode 100644 migration/block.h delete mode 100644 migration/ram-compress.c delete mode 100644 migration/ram-compress.h delete mode 100755 tests/qemu-iotests/183 delete mode 100644 tests/qemu-iotests/183.out -- 2.35.3 . Date: Thu, 9 May 2024 16:06:42 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/3] loongarch-to-apply queue The following changes since commit 4e66a08546a2588a4667766a1edab9caccf24ce3: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-07 09:26:30 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240509 for you to fetch changes up to 5872966db7abaa7f8753541b7a9f242df9752b50: target/loongarch: Put cpucfg operation before CSR register (2024-05-09 15:19:22 +0800) ---------------------------------------------------------------- pull-loongarch-20240509 ---------------------------------------------------------------- Bibo Mao (3): hw/loongarch: Refine default numa id calculation target/loongarch: Add TCG macro in structure CPUArchState target/loongarch: Put cpucfg operation before CSR register hw/loongarch/virt.c | 11 +++++------ target/loongarch/cpu.c | 7 +++++-- target/loongarch/cpu.h | 16 ++++++++++------ target/loongarch/cpu_helper.c | 9 +++++++++ target/loongarch/kvm/kvm.c | 16 ++++++++-------- target/loongarch/machine.c | 30 +++++++++++++++++++++++++----- 6 files changed, 62 insertions(+), 27 deletions(-) . Date: Fri, 10 May 2024 08:39:53 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 0/8] s390x and misc patches The following changes since commit 36fa7c686e9eac490002ffc439c4affaa352c17c: gitlab: Update msys2-64bit runner tags (2024-05-09 05:46:21 +0200) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-05-10 for you to fetch changes up to 0d497106a71a3b17b0228cb87922ef794296cb24: tests/qtest: Add some test cases support on LoongArch (2024-05-10 08:34:29 +0200) ---------------------------------------------------------------- * Attach s390x sclpconsole to a proper parent in the QOM tree * SCLP related clean-ups * Report deprecated-props in cpu-model-expansion reply on s390x * Deprecate "-runas" and introduce "-run-with user=..." instead * Add some more qtest cases on LoongArch NB: I'm seeing test failures with "tsan-build" job in my CI, but they also occur on the master branch in my repository, so I assume they are not related to the patches in this PR. ---------------------------------------------------------------- Bibo Mao (1): tests/qtest: Add some test cases support on LoongArch Collin L. Walling (2): target/s390x: report deprecated-props in cpu-model-expansion reply target/s390x: flag te and cte as deprecated Cédric Le Goater (3): s390x: Introduce a SCLPDevice pointer under the machine s390x/event-facility: Simplify sclp_get_event_facility_bus() s390x/sclp: Simplify get_sclp_device() Thomas Huth (2): hw/s390x: Attach the sclpconsole to /machine/sclp/s390-sclp-event-facility qemu-options: Deprecate "-runas" and introduce "-run-with user=..." instead docs/about/deprecated.rst | 6 ++++++ qapi/machine-target.json | 7 ++++++- include/hw/s390x/event-facility.h | 2 +- include/hw/s390x/s390-virtio-ccw.h | 3 +++ include/hw/s390x/sclp.h | 2 -- target/s390x/cpu_features.h | 1 + hw/s390x/event-facility.c | 13 ++----------- hw/s390x/s390-virtio-ccw.c | 18 +++++++++++++----- hw/s390x/sclp.c | 15 +++------------ system/vl.c | 15 +++++++++++++++ target/s390x/cpu_features.c | 17 +++++++++++++++++ target/s390x/cpu_models_sysemu.c | 8 ++++++++ tests/qtest/boot-serial-test.c | 10 ++++++++++ qemu-options.hx | 15 +++++++++++---- tests/qtest/meson.build | 3 +++ 15 files changed, 99 insertions(+), 36 deletions(-) . Date: Sun, 12 May 2024 12:49:18 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/27] Build/arch cleanups, target/i386 fixes for 2024-05-10 The following changes since commit dafec285bdbfe415ac6823abdc510e0b92c3f094: Merge tag 'pull-request-2024-05-10' of https://gitlab.com/thuth/qemu into staging (2024-05-10 09:41:35 +0200) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 9b089d254a5623baef01f7d0ec37331c1155f1ce: configs: disable emulators that require it if libfdt is not found (2024-05-10 15:45:15 +0200) ---------------------------------------------------------------- * target/i386: miscellaneous changes, mostly TCG-related * fix --without-default-devices build * fix --without-default-devices qtests on s390x and arm ---------------------------------------------------------------- Paolo Bonzini (27): target/i386: remove PCOMMIT from TCG, deprecate property target/i386: fix operand size for DATA16 REX.W POPCNT target/i386: rdpkru/wrpkru are no-prefix instructions target/i386: move prefetch and multi-byte UD/NOP to new decoder target/i386: fix feature dependency for WAITPKG tests/tcg: cover lzcnt/tzcnt/popcnt configure: quote -D options that are passed through to meson sh4: select correct components for no-board build s390x: move s390_cpu_addr2state to target/s390x/sigp.c s390_flic: add migration-enabled property s390: move css_migration_enabled from machine to css.c s390x: select correct components for no-board build tests/qtest: s390x: fix operation in a build without any boards or devices xen: initialize legacy backends from xen_bus_init() xen: register legacy backends via xen_backend_init i386: correctly select code in hw/i386 that depends on other components i386: pc: remove unnecessary MachineClass overrides hw/i386: split x86.c in multiple parts hw/i386: move rtc-reset-reinjection command out of hw/rtc i386: select correct components for no-board build tests/qtest: arm: fix operation in a build without any boards or devices meson: pick libfdt from common_ss when building target-specific files meson: move libfdt together with other dependencies kconfig: allow compiling out QEMU device tree code per target kconfig: express dependency of individual boards on libfdt hw/xtensa: require libfdt configs: disable emulators that require it if libfdt is not found docs/about/deprecated.rst | 8 + configure | 2 +- configs/targets/aarch64-softmmu.mak | 1 + configs/targets/arm-softmmu.mak | 1 + configs/targets/i386-softmmu.mak | 1 - configs/targets/loongarch64-softmmu.mak | 1 + configs/targets/microblaze-softmmu.mak | 1 + configs/targets/microblazeel-softmmu.mak | 1 + configs/targets/mips64el-softmmu.mak | 1 - configs/targets/or1k-softmmu.mak | 1 + configs/targets/ppc-softmmu.mak | 1 - configs/targets/ppc64-softmmu.mak | 1 + configs/targets/riscv32-softmmu.mak | 1 + configs/targets/riscv64-softmmu.mak | 1 + configs/targets/rx-softmmu.mak | 1 + configs/targets/x86_64-softmmu.mak | 1 - meson.build | 100 +-- include/hw/i386/x86.h | 10 +- include/hw/rtc/mc146818rtc.h | 2 +- include/hw/s390x/css.h | 6 + include/hw/s390x/s390-virtio-ccw.h | 7 - include/hw/s390x/s390_flic.h | 1 + include/hw/xen/xen-legacy-backend.h | 14 +- include/hw/xen/xen_pvdev.h | 1 - include/monitor/hmp.h | 1 + include/sysemu/device_tree.h | 1 - target/i386/cpu.h | 2 - target/i386/tcg/decode-new.h | 1 + hw/9pfs/xen-9p-backend.c | 8 +- hw/display/xenfb.c | 8 +- hw/i386/fw_cfg.c | 2 + hw/i386/monitor.c | 46 ++ hw/i386/pc.c | 4 - hw/i386/x86-common.c | 1007 ++++++++++++++++++++++++++++ hw/i386/x86-cpu.c | 97 +++ hw/i386/x86.c | 1058 +----------------------------- hw/intc/ioapic-stub.c | 29 + hw/intc/s390_flic.c | 6 +- hw/rtc/mc146818rtc.c | 12 +- hw/s390x/css.c | 10 +- hw/s390x/s390-virtio-ccw.c | 32 +- hw/usb/xen-usb.c | 14 +- hw/xen/xen-bus.c | 4 + hw/xen/xen-hvm-common.c | 2 - hw/xen/xen-legacy-backend.c | 16 - hw/xenpv/xen_machine_pv.c | 5 +- hw/xtensa/xtfpga.c | 9 - monitor/hmp-cmds.c | 17 + system/device_tree-stub.c | 10 + system/device_tree.c | 14 - target/i386/cpu.c | 6 +- target/i386/tcg/translate.c | 65 +- target/s390x/sigp.c | 17 + tests/qtest/arm-cpu-features.c | 4 + tests/qtest/drive_del-test.c | 7 +- tests/qtest/migration-test.c | 6 + tests/qtest/numa-test.c | 4 + tests/tcg/i386/test-i386.c | 25 + target/i386/tcg/decode-new.c.inc | 24 +- target/i386/tcg/emit.c.inc | 5 + .gitlab-ci.d/buildtest.yml | 9 +- Kconfig.host | 3 + hw/arm/Kconfig | 5 + hw/arm/meson.build | 2 +- hw/core/Kconfig | 9 +- hw/core/meson.build | 2 +- hw/i386/Kconfig | 3 +- hw/i386/meson.build | 7 +- hw/intc/meson.build | 2 +- hw/loongarch/Kconfig | 3 +- hw/loongarch/meson.build | 2 +- hw/mips/Kconfig | 3 +- hw/mips/meson.build | 2 +- hw/openrisc/Kconfig | 2 + hw/openrisc/meson.build | 4 +- hw/ppc/Kconfig | 15 +- hw/ppc/meson.build | 4 +- hw/riscv/Kconfig | 4 + hw/riscv/meson.build | 2 +- hw/rx/Kconfig | 3 +- hw/sh4/meson.build | 2 +- hw/xtensa/Kconfig | 3 +- system/meson.build | 4 +- target/arm/Kconfig | 2 + target/i386/Kconfig | 1 + target/microblaze/Kconfig | 1 + target/openrisc/Kconfig | 1 + target/riscv/Kconfig | 2 + target/s390x/Kconfig | 2 + target/sh4/Kconfig | 2 + 90 files changed, 1515 insertions(+), 1334 deletions(-) create mode 100644 hw/i386/monitor.c create mode 100644 hw/i386/x86-common.c create mode 100644 hw/i386/x86-cpu.c create mode 100644 hw/intc/ioapic-stub.c create mode 100644 system/device_tree-stub.c -- 2.45.0 . Date: Tue, 14 May 2024 14:51:08 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 00/11] gitlab CI fix and glib update The following changes since commit 9360070196789cc8b9404b2efaf319384e64b107: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-12 13:41:26 +0200) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-05-14 for you to fetch changes up to da79537e0c8cef007d30298343d05acb0ba8b427: util/uri: Remove the old URI parsing code (2024-05-14 12:46:46 +0200) ---------------------------------------------------------------- * Fix the "tsan-build" CI job on the shared gitlab CI runners * Bump minimum glib version and use URI code from the newer glib * Fix error message from "configure" when C compiler is not working ---------------------------------------------------------------- Daniel P. Berrangé (3): dockerfiles: add 'MAKE' env variable to remaining containers gitlab: use $MAKE instead of 'make' gitlab: use 'setarch -R' to workaround tsan bug Thomas Huth (8): configure: Fix error message when C compiler is not working Bump minimum glib version to v2.66 Remove glib compatibility code that is not required anymore block/gluster: Use URI parsing code from glib block/nbd: Use URI parsing code from glib block/nfs: Use URI parsing code from glib block/ssh: Use URI parsing code from glib util/uri: Remove the old URI parsing code configure | 11 +- meson.build | 16 +- include/glib-compat.h | 27 +- include/qemu/uri.h | 99 -- block/gluster.c | 69 +- block/nbd.c | 76 +- block/nfs.c | 110 +- block/ssh.c | 75 +- qga/commands-posix-ssh.c | 12 +- util/error-report.c | 10 - util/uri.c | 1466 -------------------- .gitlab-ci.d/buildtest-template.yml | 6 +- .gitlab-ci.d/buildtest.yml | 3 + .../dockerfiles/debian-all-test-cross.docker | 1 + .../docker/dockerfiles/debian-hexagon-cross.docker | 1 + .../dockerfiles/debian-legacy-test-cross.docker | 1 + .../dockerfiles/debian-loongarch-cross.docker | 1 + .../docker/dockerfiles/debian-tricore-cross.docker | 1 + .../docker/dockerfiles/debian-xtensa-cross.docker | 1 + tests/docker/dockerfiles/fedora-cris-cross.docker | 1 + util/meson.build | 2 +- 21 files changed, 194 insertions(+), 1795 deletions(-) delete mode 100644 include/qemu/uri.h delete mode 100644 util/uri.c . Date: Tue, 14 May 2024 17:17:14 +0400 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, =?unknown-8bit?q?Marc-Andr=C3=A9?= Lureau Subject: [PULL 00/11] Ui patches From: Marc-André Lureau The following changes since commit 9360070196789cc8b9404b2efaf319384e64b107: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-05-12 13:41:26 +0200) 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 2e701e6785cd8cc048c608751c6e4f6253c67ab6: ui/sdl2: Allow host to power down screen (2024-05-14 17:14:13 +0400) ---------------------------------------------------------------- UI: small fixes and improvements ---------------------------------------------------------------- Bernhard Beschow (1): ui/sdl2: Allow host to power down screen Dongwon Kim (7): ui/gtk: Draw guest frame at refresh cycle ui/gtk: Check if fence_fd is equal to or greater than 0 ui/console: new dmabuf.h and dmabuf.c for QemuDmaBuf struct and helpers ui/console: Use qemu_dmabuf_get_..() helpers instead ui/console: Use qemu_dmabuf_set_..() helpers instead ui/console: Use qemu_dmabuf_new() and free() helpers instead ui/console: move QemuDmaBuf struct def to dmabuf.c Sergii Zasenko (1): Allow UNIX socket option for VNC websocket hikalium (2): ui/gtk: Add gd_motion_event trace event ui/gtk: Fix mouse/motion event scaling issue with GTK display backend include/hw/vfio/vfio-common.h | 2 +- include/hw/virtio/virtio-gpu.h | 4 +- include/ui/console.h | 20 +-- include/ui/dmabuf.h | 49 +++++++ hw/display/vhost-user-gpu.c | 32 +++-- hw/display/virtio-gpu-udmabuf.c | 27 ++-- hw/vfio/display.c | 32 ++--- ui/console.c | 4 +- ui/dbus-console.c | 9 +- ui/dbus-listener.c | 71 +++++----- ui/dmabuf.c | 229 ++++++++++++++++++++++++++++++++ ui/egl-headless.c | 23 +++- ui/egl-helpers.c | 59 ++++---- ui/gtk-egl.c | 53 +++++--- ui/gtk-gl-area.c | 42 ++++-- ui/gtk.c | 32 +++-- ui/sdl2.c | 1 + ui/spice-display.c | 50 ++++--- ui/vnc.c | 5 - qemu-options.hx | 4 + ui/meson.build | 1 + ui/trace-events | 1 + 22 files changed, 547 insertions(+), 203 deletions(-) create mode 100644 include/ui/dmabuf.h create mode 100644 ui/dmabuf.c -- 2.41.0.28.gd7d8841f67 . Date: Wed, 15 May 2024 09:52:13 +0200 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/34] tcg patch queue The following changes since commit 3d48b6b687c558a042d91370633b91c6e29e0e05: Merge tag 'pull-request-2024-05-14' of https://gitlab.com/thuth/qemu into staging (2024-05-14 17:24:04 +0200) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240515 for you to fetch changes up to c9290dfebfdba5c13baa5e1f10e13a1c876b0643: tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs (2024-05-15 08:57:39 +0200) ---------------------------------------------------------------- tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs accel/tcg: Improve disassembly for target and plugin ---------------------------------------------------------------- Philippe Mathieu-Daudé (1): accel/tcg: Remove cpu_ldsb_code / cpu_ldsw_code Richard Henderson (33): accel/tcg: Use vaddr in translator_ld* accel/tcg: Hide in_same_page outside of a target-specific context accel/tcg: Pass DisasContextBase to translator_fake_ldb accel/tcg: Reorg translator_ld* accel/tcg: Cap the translation block when we encounter mmio accel/tcg: Record mmio bytes during translation accel/tcg: Record when translator_fake_ldb is used accel/tcg: Record DisasContextBase in tcg_ctx for plugins plugins: Copy memory in qemu_plugin_insn_data accel/tcg: Implement translator_st plugins: Use translator_st for qemu_plugin_insn_data plugins: Read mem_only directly from TB cflags plugins: Use DisasContextBase for qemu_plugin_insn_haddr plugins: Use DisasContextBase for qemu_plugin_tb_vaddr plugins: Merge alloc_tcg_plugin_context into plugin_gen_tb_start accel/tcg: Provide default implementation of disas_log accel/tcg: Return bool from TranslatorOps.disas_log disas: Split disas.c disas: Use translator_st to get disassembly data accel/tcg: Introduce translator_fake_ld target/s390x: Fix translator_fake_ld length target/s390x: Disassemble EXECUTEd instructions target/hexagon: Use translator_ldl in pkt_crosses_page target/microblaze: Use translator_ldl target/i386: Use translator_ldub for everything target/avr: Use translator_lduw target/cris: Use translator_ld* in cris_fetch target/cris: Use cris_fetch in translate_v10.c.inc target/riscv: Use translator_ld* for everything target/rx: Use translator_ld* target/xtensa: Use translator_ldub in xtensa_insn_len target/s390x: Use translator_lduw in get_next_pc tcg/loongarch64: Fill out tcg_out_{ld,st} for vector regs disas/disas-internal.h | 4 + include/disas/disas.h | 9 +- include/exec/cpu_ldst.h | 10 -- include/exec/plugin-gen.h | 7 +- include/exec/translator.h | 74 ++++++--- include/qemu/plugin.h | 22 +-- include/qemu/qemu-plugin.h | 15 +- include/qemu/typedefs.h | 1 + include/tcg/tcg.h | 1 + accel/tcg/plugin-gen.c | 63 +++----- accel/tcg/translator.c | 331 ++++++++++++++++++++++++-------------- contrib/plugins/execlog.c | 5 +- contrib/plugins/howvec.c | 4 +- disas/disas-common.c | 104 ++++++++++++ disas/disas-host.c | 129 +++++++++++++++ disas/disas-mon.c | 15 ++ disas/disas-target.c | 99 ++++++++++++ disas/disas.c | 338 --------------------------------------- disas/objdump.c | 37 +++++ plugins/api.c | 57 +++++-- target/alpha/translate.c | 9 -- target/arm/tcg/translate-a64.c | 11 -- target/arm/tcg/translate.c | 12 -- target/avr/translate.c | 11 +- target/cris/translate.c | 37 +---- target/hexagon/translate.c | 11 +- target/hppa/translate.c | 21 ++- target/i386/tcg/translate.c | 19 +-- target/loongarch/tcg/translate.c | 8 - target/m68k/translate.c | 9 -- target/microblaze/translate.c | 11 +- target/mips/tcg/translate.c | 9 -- target/openrisc/translate.c | 11 -- target/ppc/translate.c | 9 -- target/riscv/translate.c | 24 +-- target/rx/translate.c | 35 ++-- target/s390x/tcg/translate.c | 26 ++- target/sh4/translate.c | 9 -- target/sparc/translate.c | 9 -- target/tricore/translate.c | 9 -- target/xtensa/translate.c | 12 +- tcg/tcg.c | 12 -- target/cris/translate_v10.c.inc | 30 ++-- tcg/loongarch64/tcg-target.c.inc | 103 +++++++++--- disas/meson.build | 8 +- 45 files changed, 899 insertions(+), 891 deletions(-) create mode 100644 disas/disas-common.c create mode 100644 disas/disas-host.c create mode 100644 disas/disas-target.c delete mode 100644 disas/disas.c create mode 100644 disas/objdump.c . Date: Wed, 15 May 2024 11:40:00 +0200 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/43] target/hppa: Misc improvements The following changes since commit 3d48b6b687c558a042d91370633b91c6e29e0e05: Merge tag 'pull-request-2024-05-14' of https://gitlab.com/thuth/qemu into staging (2024-05-14 17:24:04 +0200) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-hppa-20240515 for you to fetch changes up to 9e035f00788c52a6f51529c54371a611d9f8b089: target/hppa: Log cpu state on return-from-interrupt (2024-05-15 10:03:45 +0200) ---------------------------------------------------------------- target/hppa: - Use TCG_COND_TST where applicable. - Use CF_BP_PAGE instead of a local breakpoint search. - Clean up IAOQ handling during translation. - Implement CF_PCREL. - Implement PSW.B. - Implement PSW.X. - Log cpu state on interrupt and rfi. ---------------------------------------------------------------- Richard Henderson (43): target/hppa: Move cpu_get_tb_cpu_state out of line target/hppa: Use hppa_form_gva_psw in hppa_cpu_get_pc target/hppa: Move constant destination check into use_goto_tb target/hppa: Pass displacement to do_dbranch target/hppa: Allow prior nullification in do_ibranch target/hppa: Use CF_BP_PAGE instead of cpu_breakpoint_test target/hppa: Add install_iaq_entries target/hppa: Add install_link target/hppa: Delay computation of IAQ_Next target/hppa: Skip nullified insns in unconditional dbranch path target/hppa: Simplify TB end target/hppa: Add IASQ entries to DisasContext target/hppa: Add space arguments to install_iaq_entries target/hppa: Add space argument to do_ibranch target/hppa: Use umax in do_ibranch_priv target/hppa: Always make a copy in do_ibranch_priv target/hppa: Introduce and use DisasIAQE for branch management target/hppa: Use displacements in DisasIAQE target/hppa: Rename cond_make_* helpers target/hppa: Use TCG_COND_TST* in do_cond target/hppa: Use TCG_COND_TST* in do_log_cond target/hppa: Use TCG_COND_TST* in do_unit_zero_cond target/hppa: Use TCG_COND_TST* in do_unit_addsub target/hppa: Use TCG_COND_TST* in trans_bb_imm target/hppa: Use registerfields.h for FPSR target/hppa: Use TCG_COND_TST* in trans_ftest target/hppa: Remove cond_free target/hppa: Introduce DisasDelayException target/hppa: Use delay_excp for conditional traps target/hppa: Use delay_excp for conditional trap on overflow linux-user/hppa: Force all code addresses to PRIV_USER target/hppa: Store full iaoq_f and page offset of iaoq_b in TB target/hppa: Do not mask in copy_iaoq_entry target/hppa: Improve hppa_cpu_dump_state target/hppa: Split PSW X and B into their own field target/hppa: Manage PSW_X and PSW_B in translator target/hppa: Implement PSW_B target/hppa: Implement PSW_X target/hppa: Drop tlb_entry return from hppa_get_physical_address target/hppa: Adjust priv for B,GATE at runtime target/hppa: Implement CF_PCREL target/hppa: Log cpu state at interrupt target/hppa: Log cpu state on return-from-interrupt linux-user/hppa/target_cpu.h | 4 +- target/hppa/cpu.h | 80 ++- target/hppa/helper.h | 3 +- linux-user/elfload.c | 4 +- linux-user/hppa/cpu_loop.c | 14 +- linux-user/hppa/signal.c | 6 +- target/hppa/cpu.c | 92 +++- target/hppa/fpu_helper.c | 26 +- target/hppa/gdbstub.c | 6 + target/hppa/helper.c | 66 ++- target/hppa/int_helper.c | 33 +- target/hppa/mem_helper.c | 99 ++-- target/hppa/op_helper.c | 17 +- target/hppa/sys_helper.c | 12 + target/hppa/translate.c | 1158 +++++++++++++++++++++--------------------- 15 files changed, 868 insertions(+), 752 deletions(-) . Date: Wed, 15 May 2024 21:23:23 +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/11] testing and plugin updates The following changes since commit 265aad58e9cab31d0e69c374ec2efcede7fa8881: Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2024-05-15 08:52:27 +0200) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-may24-150524-1 for you to fetch changes up to 8f9df78afac40d60a0f8162aae80c90a9c58972d: plugins: remove op from qemu_plugin_inline_cb (2024-05-15 13:59:13 +0100) ---------------------------------------------------------------- plugin and testing updates - don't duplicate options for microbit test - don't spam the linux source tree when importing headers - add STORE_U64 inline op to TCG plugins - add conditional callback op to TCG plugins ---------------------------------------------------------------- Alex Bennée (2): tests/tcg: don't append QEMU_OPTS for armv6m-undef test scripts/update-linux-header.sh: be more src tree friendly Pierrick Bouvier (9): plugins: prepare introduction of new inline ops plugins: extract generate ptr for qemu_plugin_u64 plugins: add new inline op STORE_U64 tests/plugin/inline: add test for STORE_U64 inline op plugins: conditional callbacks tests/plugin/inline: add test for conditional callback plugins: distinct types for callbacks plugins: extract cpu_index generate plugins: remove op from qemu_plugin_inline_cb include/qemu/plugin.h | 42 +++++++---- include/qemu/qemu-plugin.h | 80 +++++++++++++++++++- plugins/plugin.h | 12 ++- accel/tcg/plugin-gen.c | 136 ++++++++++++++++++++++++++-------- plugins/api.c | 39 ++++++++++ plugins/core.c | 109 +++++++++++++++++++-------- tests/plugin/inline.c | 130 ++++++++++++++++++++++++++++++-- plugins/qemu-plugins.symbols | 2 + scripts/update-linux-headers.sh | 80 ++++++++++---------- tests/tcg/arm/Makefile.softmmu-target | 2 +- 10 files changed, 508 insertions(+), 124 deletions(-) -- 2.39.2 . Date: Thu, 16 May 2024 08:59:31 +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/11] testing and plugin updates The following changes since commit 922582ace2df59572a671f5c0c5c6c5c706995e5: Merge tag 'pull-hppa-20240515' of https://gitlab.com/rth7680/qemu into staging (2024-05-15 11:46:58 +0200) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-may24-160524-2 for you to fetch changes up to 09afe9677e6aeb7629eeeab5abccc17f67cb4875: plugins: remove op from qemu_plugin_inline_cb (2024-05-16 08:55:23 +0100) ---------------------------------------------------------------- plugin and testing updates - don't duplicate options for microbit test - don't spam the linux source tree when importing headers - add STORE_U64 inline op to TCG plugins - add conditional callback op to TCG plugins ---------------------------------------------------------------- Alex Bennée (2): tests/tcg: don't append QEMU_OPTS for armv6m-undef test scripts/update-linux-header.sh: be more src tree friendly Pierrick Bouvier (9): plugins: prepare introduction of new inline ops plugins: extract generate ptr for qemu_plugin_u64 plugins: add new inline op STORE_U64 tests/plugin/inline: add test for STORE_U64 inline op plugins: conditional callbacks tests/plugin/inline: add test for conditional callback plugins: distinct types for callbacks plugins: extract cpu_index generate plugins: remove op from qemu_plugin_inline_cb include/qemu/plugin.h | 42 +++++++---- include/qemu/qemu-plugin.h | 80 +++++++++++++++++++- plugins/plugin.h | 12 ++- accel/tcg/plugin-gen.c | 136 ++++++++++++++++++++++++++-------- plugins/api.c | 39 ++++++++++ plugins/core.c | 109 +++++++++++++++++++-------- tests/plugin/inline.c | 130 ++++++++++++++++++++++++++++++-- plugins/qemu-plugins.symbols | 2 + scripts/update-linux-headers.sh | 80 ++++++++++---------- tests/tcg/arm/Makefile.softmmu-target | 2 +- 10 files changed, 508 insertions(+), 124 deletions(-) -- 2.39.2 . Date: Thu, 16 May 2024 17:11:15 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/5] loongarch-to-apply queue The following changes since commit 922582ace2df59572a671f5c0c5c6c5c706995e5: Merge tag 'pull-hppa-20240515' of https://gitlab.com/rth7680/qemu into staging (2024-05-15 11:46:58 +0200) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240516 for you to fetch changes up to d55d16700a2e2b36c7e34724d4d77f4a75c5243a: target/loongarch/kvm: fpu save the vreg registers high 192bit (2024-05-16 16:32:35 +0800) ---------------------------------------------------------------- pull-loongarch-20240516 ---------------------------------------------------------------- Bibo Mao (3): hw/loongarch: Add compat machine for 9.1 hw/loongarch: Remove minimum and default memory size tests: Add migration test for loongarch64 Song Gao (2): target/loongarch/kvm: Fix VM recovery from disk failures target/loongarch/kvm: fpu save the vreg registers high 192bit hw/loongarch/virt.c | 66 +++++++++++++++++++++++--------- target/loongarch/kvm/kvm.c | 6 +++ target/loongarch/machine.c | 6 ++- tests/migration/Makefile | 2 +- tests/migration/loongarch64/Makefile | 18 +++++++++ tests/migration/loongarch64/a-b-kernel.S | 49 ++++++++++++++++++++++++ tests/migration/loongarch64/a-b-kernel.h | 16 ++++++++ tests/migration/migration-test.h | 3 ++ tests/qtest/meson.build | 2 +- tests/qtest/migration-test.c | 10 +++++ 10 files changed, 156 insertions(+), 22 deletions(-) create mode 100644 tests/migration/loongarch64/Makefile create mode 100644 tests/migration/loongarch64/a-b-kernel.S create mode 100644 tests/migration/loongarch64/a-b-kernel.h . Date: Fri, 17 May 2024 14:25:46 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 0/6] Fix s390x crash and clean up container images The following changes since commit 85ef20f1673feaa083f4acab8cf054df77b0dbed: Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into staging (2024-05-16 10:02:56 +0200) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-05-17 for you to fetch changes up to bebe9603fcb072dcdb7fb22005781b3582a4d701: hw/intc/s390_flic: Fix crash that occurs when saving the machine state (2024-05-17 11:18:32 +0200) ---------------------------------------------------------------- * Fix s390x crash when doing migration / savevm * Decrease size of CI containers by removing unnecessary packages ---------------------------------------------------------------- Philippe Mathieu-Daudé (1): tests/lcitool: Remove 'xfsprogs' from QEMU Thomas Huth (5): tests/lcitool/refresh: Treat the output of lcitool as text, not as bytes tests/lcitool: Remove g++ from the containers (except for the MinGW one) tests/lcitool/projects/qemu.yml: Sort entries alphabetically again tests/docker/dockerfiles: Update container files with "lcitool-refresh" hw/intc/s390_flic: Fix crash that occurs when saving the machine state hw/intc/s390_flic.c | 2 +- tests/docker/dockerfiles/alpine.docker | 4 ---- tests/docker/dockerfiles/centos9.docker | 4 ---- tests/docker/dockerfiles/debian-amd64-cross.docker | 4 ---- tests/docker/dockerfiles/debian-arm64-cross.docker | 4 ---- tests/docker/dockerfiles/debian-armel-cross.docker | 4 ---- tests/docker/dockerfiles/debian-armhf-cross.docker | 4 ---- tests/docker/dockerfiles/debian-i686-cross.docker | 4 ---- tests/docker/dockerfiles/debian-mips64el-cross.docker | 4 ---- tests/docker/dockerfiles/debian-mipsel-cross.docker | 4 ---- tests/docker/dockerfiles/debian-ppc64el-cross.docker | 4 ---- tests/docker/dockerfiles/debian-riscv64-cross.docker | 3 --- tests/docker/dockerfiles/debian-s390x-cross.docker | 4 ---- tests/docker/dockerfiles/debian.docker | 4 ---- tests/docker/dockerfiles/fedora-win64-cross.docker | 2 +- tests/docker/dockerfiles/fedora.docker | 4 ---- tests/docker/dockerfiles/opensuse-leap.docker | 4 ---- tests/docker/dockerfiles/ubuntu2204.docker | 4 ---- tests/lcitool/projects/qemu-minimal.yml | 1 - tests/lcitool/projects/qemu-win-installer.yml | 4 ++++ tests/lcitool/projects/qemu.yml | 18 ++++++++---------- tests/lcitool/refresh | 5 +++-- 22 files changed, 17 insertions(+), 78 deletions(-) create mode 100644 tests/lcitool/projects/qemu-win-installer.yml . Date: Fri, 17 May 2024 17:02:22 +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 0/5] Misc HW patches & fixes for 2024-05-17 WARNING & ERROR from checkpatch.pl in tests/unit/test-smp-parse.c deliberately ignored. The following changes since commit 85ef20f1673feaa083f4acab8cf054df77b0dbed: Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into staging (2024-05-16 10:02:56 +0200) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240517 for you to fetch changes up to 93a3048dcf4565c73f2aa1d751f7197e296f1f1f: tests: Gently exit from GDB when tests complete (2024-05-17 16:49:04 +0200) ---------------------------------------------------------------- Misc HW patches queue - Fix build when GBM buffer management library is detected (Cédric) - Fix PFlash block write (Gerd) - Allow 'parameter=1' for SMP topology on any machine (Daniel) - Allow guest-debug tests to run with recent GDB (Gustavo) ---------------------------------------------------------------- Cédric Le Goater (1): ui/console: Only declare variable fence_fd when CONFIG_GBM is defined Daniel P. Berrangé (2): hw/core: allow parameter=1 for SMP topology on any machine tests: add testing of parameter=1 for SMP topology Gerd Hoffmann (1): hw/pflash: fix block write start Gustavo Romero (1): tests: Gently exit from GDB when tests complete hw/block/pflash_cfi01.c | 8 ++- hw/core/machine-smp.c | 84 ++++++++++--------------------- tests/unit/test-smp-parse.c | 16 ++++-- ui/gtk-egl.c | 2 +- tests/guest-debug/test_gdbstub.py | 2 +- 5 files changed, 44 insertions(+), 68 deletions(-) -- 2.41.0 . Date: Wed, 22 May 2024 11:53:55 +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/47] vfio queue The following changes since commit 85ef20f1673feaa083f4acab8cf054df77b0dbed: Merge tag 'pull-maintainer-may24-160524-2' of https://gitlab.com/stsquad/qemu into staging (2024-05-16 10:02:56 +0200) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240522 for you to fetch changes up to b4e1670c494165d4186930d56f692857f4fec89b: vfio/igd: Use g_autofree in vfio_probe_igd_bar4_quirk() (2024-05-22 10:04:22 +0200) ---------------------------------------------------------------- vfio queue: * Improvement of error reporting during migration * Removed Vendor Specific Capability check on newer machine * Addition of a VFIO migration QAPI event * Changed prototype of routines using an error parameter to return bool * Several cleanups regarding autofree variables ---------------------------------------------------------------- Avihai Horon (4): qapi/vfio: Add VFIO migration QAPI event vfio/migration: Emit VFIO migration QAPI event vfio/migration: Don't emit STOP_COPY VFIO migration QAPI event twice vfio/migration: Enhance VFIO migration state tracing Cédric Le Goater (13): vfio: Add Error** argument to .set_dirty_page_tracking() handler vfio: Add Error** argument to vfio_devices_dma_logging_start() migration: Extend migration_file_set_error() with Error* argument vfio/migration: Add an Error** argument to vfio_migration_set_state() vfio/migration: Add Error** argument to .vfio_save_config() handler vfio: Reverse test on vfio_get_xlat_addr() memory: Add Error** argument to memory_get_xlat_addr() vfio: Add Error** argument to .get_dirty_bitmap() handler vfio: Also trace event failures in vfio_save_complete_precopy() vfio/ap: Use g_autofree variable in vfio_ap_register_irq_notifier() vfio/ap: Make vfio_ap_register_irq_notifier() return a bool vfio/ccw: Use g_autofree variable in vfio_ccw_register_irq_notifier() vfio/ccw: Make vfio_ccw_register_irq_notifier() return a bool Vinayak Kale (1): vfio/pci: migration: Skip config space check for Vendor Specific Information in VSC during restore/load Zhenzhong Duan (29): vfio/pci: Use g_autofree in vfio_realize vfio/pci: Use g_autofree in iommufd_cdev_get_info_iova_range() vfio: Make VFIOIOMMUClass::attach_device() and its wrapper return bool vfio: Make VFIOIOMMUClass::setup() return bool vfio: Make VFIOIOMMUClass::add_window() and its wrapper return bool vfio/container: Make vfio_connect_container() return bool vfio/container: Make vfio_set_iommu() return bool vfio/container: Make vfio_get_device() return bool vfio/iommufd: Make iommufd_cdev_*() return bool vfio/cpr: Make vfio_cpr_register_container() return bool backends/iommufd: Make iommufd_backend_*() return bool vfio/display: Fix error path in call site of ramfb_setup() vfio/display: Make vfio_display_*() return bool vfio/helpers: Use g_autofree in vfio_set_irq_signaling() vfio/helpers: Make vfio_set_irq_signaling() return bool vfio/helpers: Make vfio_device_get_name() return bool vfio/platform: Make vfio_populate_device() and vfio_base_device_init() return bool vfio/ccw: Make vfio_ccw_get_region() return a bool vfio/pci: Make vfio_intx_enable_kvm() return a bool vfio/pci: Make vfio_pci_relocate_msix() and vfio_msix_early_setup() return a bool vfio/pci: Make vfio_populate_device() return a bool vfio/pci: Make vfio_intx_enable() return bool vfio/pci: Make vfio_populate_vga() return bool vfio/pci: Make capability related functions return bool vfio/pci: Use g_autofree for vfio_region_info pointer vfio/pci-quirks: Make vfio_pci_igd_opregion_init() return bool vfio/pci-quirks: Make vfio_add_*_cap() return bool vfio: Use g_autofree in all call site of vfio_get_region_info() vfio/igd: Use g_autofree in vfio_probe_igd_bar4_quirk() MAINTAINERS | 1 + qapi/qapi-schema.json | 1 + qapi/vfio.json | 67 ++++++++ hw/vfio/pci.h | 13 +- include/exec/memory.h | 15 +- include/hw/vfio/vfio-common.h | 43 ++++-- include/hw/vfio/vfio-container-base.h | 55 +++++-- include/migration/misc.h | 2 +- include/sysemu/iommufd.h | 6 +- backends/iommufd.c | 29 ++-- hw/core/machine.c | 1 + hw/vfio/ap.c | 35 ++--- hw/vfio/ccw.c | 56 +++---- hw/vfio/common.c | 119 +++++++++------ hw/vfio/container-base.c | 18 +-- hw/vfio/container.c | 101 ++++++------ hw/vfio/cpr.c | 4 +- hw/vfio/display.c | 22 ++- hw/vfio/helpers.c | 36 ++--- hw/vfio/igd.c | 35 ++--- hw/vfio/iommufd.c | 109 ++++++------- hw/vfio/migration.c | 180 ++++++++++++++++------ hw/vfio/pci-quirks.c | 50 +++--- hw/vfio/pci.c | 280 +++++++++++++++++----------------- hw/vfio/platform.c | 66 ++++---- hw/vfio/spapr.c | 28 ++-- hw/virtio/vhost-vdpa.c | 5 +- migration/migration.c | 6 +- system/memory.c | 10 +- backends/trace-events | 4 +- hw/vfio/trace-events | 3 +- qapi/meson.build | 1 + 32 files changed, 806 insertions(+), 595 deletions(-) create mode 100644 qapi/vfio.json . Date: Wed, 22 May 2024 19:20:25 -0300 From: Fabiano Rosas To: qemu-devel@nongnu.org Cc: Peter Xu , Richard Henderson Subject: [PULL 0/9] Migration patches for 2024-05-22 The following changes since commit 01782d6b294f95bcde334386f0aaac593cd28c0d: Merge tag 'hw-misc-20240517' of https://github.com/philmd/qemu into staging (2024-05-18 11:49:01 +0200) are available in the Git repository at: https://gitlab.com/farosas/qemu.git tags/migration-20240522-pull-request for you to fetch changes up to 8f023a0bd946bb0c122543c64fe2b34bad0dd048: tests/qtest/migration-test: Fix the check for a successful run of analyze-migration.py (2024-05-22 17:34:41 -0300) ---------------------------------------------------------------- Migration pull request - Li Zhijian's COLO minor fixes - Marc-André's virtio-gpu fix - Fiona's virtio-net USO fix - A couple of migration-test fixes from Thomas ---------------------------------------------------------------- Fiona Ebner (1): hw/core/machine: move compatibility flags for VirtIO-net USO to machine 8.1 Li Zhijian (3): migration/colo: Minor fix for colo error message migration/colo: make colo_incoming_co() return void migration/colo: Tidy up bql_unlock() around bdrv_activate_all() Marc-André Lureau (3): migration: add "exists" info to load-state-field trace migration: fix a typo virtio-gpu: fix v2 migration Thomas Huth (2): tests/qtest/migration-test: Run some basic tests on s390x and ppc64 with TCG, too tests/qtest/migration-test: Fix the check for a successful run of analyze-migration.py hw/core/machine.c | 7 +++--- hw/display/virtio-gpu.c | 30 ++++++++++++++++++------- include/hw/virtio/virtio-gpu.h | 1 + include/migration/colo.h | 2 +- migration/colo-stubs.c | 3 +-- migration/colo.c | 12 +++------- migration/migration.c | 12 +++++----- migration/trace-events | 2 +- migration/vmstate.c | 7 +++--- tests/qtest/migration-test.c | 41 +++++++++++++++++----------------- 10 files changed, 64 insertions(+), 53 deletions(-) -- 2.35.3 . Date: Thu, 23 May 2024 09:46:27 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 00/10] loongarch-to-apply queue The following changes since commit 6af8037c42fdc3d20d5aa2686799ab356a9ee1a9: Merge tag 'pull-vfio-20240522' of https://github.com/legoater/qemu into staging (2024-05-22 06:02:06 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240523 for you to fetch changes up to 6204af704a071ea68d3af55c0502b112a7af9546: hw/loongarch/virt: Fix FDT memory node address width (2024-05-23 09:30:41 +0800) ---------------------------------------------------------------- pull-loongarch-20240523 ---------------------------------------------------------------- Bibo Mao (7): hw/loongarch: Add VM mode in IOCSR feature register in kvm mode hw/loongarch: Refine acpi srat table for numa memory hw/loongarch: Refine fadt memory table for numa memory hw/loongarch: Refine fwcfg memory map hw/loongarch: Refine system dram memory region hw/loongarch: Remove minimum and default memory size target/loongarch: Add loongarch vector property unconditionally Jiaxun Yang (1): hw/loongarch/virt: Fix FDT memory node address width Song Gao (2): target/loongarch/kvm: Fix VM recovery from disk failures target/loongarch/kvm: fpu save the vreg registers high 192bit hw/loongarch/acpi-build.c | 58 +++++++++------ hw/loongarch/virt.c | 179 ++++++++++++++++++++++++++++++++------------- target/loongarch/cpu.c | 14 +--- target/loongarch/kvm/kvm.c | 6 ++ target/loongarch/machine.c | 6 +- 5 files changed, 176 insertions(+), 87 deletions(-) . Date: Thu, 23 May 2024 17:00:13 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/23] i386 changes for 2024-05-23 The following changes since commit 01782d6b294f95bcde334386f0aaac593cd28c0d: Merge tag 'hw-misc-20240517' of https://github.com/philmd/qemu into staging (2024-05-18 11:49:01 +0200) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 84d4b72854869821eb89813c195927fdd3078c12: target-i386: hyper-v: Correct kvm_hv_handle_exit return value (2024-05-22 19:56:28 +0200) ---------------------------------------------------------------- * hw/i386/pc_sysfw: Alias rather than copy isa-bios region * target/i386: add control bits support for LAM * target/i386: tweaks to new translator * target/i386: add support for LAM in CPUID enumeration * hw/i386/pc: Support smp.modules for x86 PC machine * target-i386: hyper-v: Correct kvm_hv_handle_exit return value ---------------------------------------------------------------- Bernhard Beschow (1): hw/i386/pc_sysfw: Alias rather than copy isa-bios region Binbin Wu (1): target/i386: add control bits support for LAM Paolo Bonzini (2): target/i386: generate simpler code for ROL/ROR with immediate count target/i386: clean up AAM/AAD Robert Hoo (1): target/i386: add support for LAM in CPUID enumeration Zhao Liu (16): i386/cpu: Fix i/d-cache topology to core level for Intel CPU i386/cpu: Use APIC ID info to encode cache topo in CPUID[4] i386/cpu: Use APIC ID info get NumSharingCache for CPUID[0x8000001D].EAX[bits 25:14] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid() i386/cpu: Introduce bitmap to cache available CPU topology levels i386: Split topology types of CPUID[0x1F] from the definitions of CPUID[0xB] i386/cpu: Decouple CPUID[0x1F] subleaf with specific topology level i386: Introduce module level cpu topology to CPUX86State i386: Support modules_per_die in X86CPUTopoInfo i386: Expose module level in CPUID[0x1F] i386: Support module_id in X86CPUTopoIDs i386/cpu: Introduce module-id to X86CPU hw/i386/pc: Support smp.modules for x86 PC machine i386: Add cache topology info in CPUCacheInfo i386/cpu: Use CPUCacheInfo.share_level to encode CPUID[4] i386/cpu: Use CPUCacheInfo.share_level to encode CPUID[0x8000001D].EAX[bits 25:14] Zhuocheng Ding (1): tests: Add test case of APIC ID for module level parsing donsheng (1): target-i386: hyper-v: Correct kvm_hv_handle_exit return value include/hw/i386/pc.h | 1 + include/hw/i386/topology.h | 60 +++++++- target/i386/cpu.h | 43 +++++- target/i386/helper.h | 4 +- hw/i386/pc.c | 3 + hw/i386/pc_piix.c | 3 + hw/i386/pc_q35.c | 2 + hw/i386/pc_sysfw.c | 8 +- hw/i386/x86-common.c | 54 +++++-- hw/i386/x86.c | 13 +- target/i386/cpu.c | 310 +++++++++++++++++++++++++++++++-------- target/i386/helper.c | 4 + target/i386/kvm/hyperv.c | 2 +- target/i386/kvm/kvm.c | 3 +- target/i386/tcg/int_helper.c | 19 +-- tests/unit/test-x86-topo.c | 56 ++++--- target/i386/tcg/decode-new.c.inc | 4 +- target/i386/tcg/emit.c.inc | 34 +++-- qemu-options.hx | 18 ++- 19 files changed, 491 insertions(+), 150 deletions(-) -- 2.45.1 . Date: Thu, 23 May 2024 16:34:28 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/37] target-arm queue Hi; most of this is the first half of RTH's decodetree conversion; the rest is a mix of fixes from the last couple of weeks. thanks -- PMM The following changes since commit 7e1c0047015ffbd408e1aa4a5ec1abe4751dbf7e: Merge tag 'migration-20240522-pull-request' of https://gitlab.com/farosas/qemu into staging (2024-05-22 15:32:25 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240523 for you to fetch changes up to 051aca523db178ad4c49d5ed736ad26308d1df7b: target/arm: Convert disas_simd_3same_logic to decodetree (2024-05-23 16:06:29 +0100) ---------------------------------------------------------------- target-arm queue: * xlnx_dpdma: fix descriptor endianness bug * hvf: arm: Fix encodings for ID_AA64PFR1_EL1 and debug System registers * hw/arm/npcm7xx: remove setting of mp-affinity * hw/char: Correct STM32L4x5 usart register CR2 field ADD_0 size * hw/intc/arm_gic: Fix handling of NS view of GICC_APR * hw/input/tsc2005: Fix -Wchar-subscripts warning in tsc2005_txrx() * hw: arm: Remove use of tabs in some source files * docs/system: Remove ADC from raspi documentation * target/arm: Start of the conversion of A64 SIMD to decodetree ---------------------------------------------------------------- Alexandra Diupina (1): xlnx_dpdma: fix descriptor endianness bug Andrey Shumilin (1): hw/intc/arm_gic: Fix handling of NS view of GICC_APR Dorjoy Chowdhury (1): hw/arm/npcm7xx: remove setting of mp-affinity Inès Varhol (1): hw/char: Correct STM32L4x5 usart register CR2 field ADD_0 size Philippe Mathieu-Daudé (1): hw/input/tsc2005: Fix -Wchar-subscripts warning in tsc2005_txrx() Rayhan Faizel (1): docs/system: Remove ADC from raspi documentation Richard Henderson (29): target/arm: Split out gengvec.c target/arm: Split out gengvec64.c target/arm: Convert Cryptographic AES to decodetree target/arm: Convert Cryptographic 3-register SHA to decodetree target/arm: Convert Cryptographic 2-register SHA to decodetree target/arm: Convert Cryptographic 3-register SHA512 to decodetree target/arm: Convert Cryptographic 2-register SHA512 to decodetree target/arm: Convert Cryptographic 4-register to decodetree target/arm: Convert Cryptographic 3-register, imm2 to decodetree target/arm: Convert XAR to decodetree target/arm: Convert Advanced SIMD copy to decodetree target/arm: Convert FMULX to decodetree target/arm: Convert FADD, FSUB, FDIV, FMUL to decodetree target/arm: Convert FMAX, FMIN, FMAXNM, FMINNM to decodetree target/arm: Expand vfp neg and abs inline target/arm: Convert FNMUL to decodetree target/arm: Convert FMLA, FMLS to decodetree target/arm: Convert FCMEQ, FCMGE, FCMGT, FACGE, FACGT to decodetree target/arm: Convert FABD to decodetree target/arm: Convert FRECPS, FRSQRTS to decodetree target/arm: Convert FADDP to decodetree target/arm: Convert FMAXP, FMINP, FMAXNMP, FMINNMP to decodetree target/arm: Use gvec for neon faddp, fmaxp, fminp target/arm: Convert ADDP to decodetree target/arm: Use gvec for neon padd target/arm: Convert SMAXP, SMINP, UMAXP, UMINP to decodetree target/arm: Use gvec for neon pmax, pmin target/arm: Convert FMLAL, FMLSL to decodetree target/arm: Convert disas_simd_3same_logic to decodetree Tanmay Patil (1): hw: arm: Remove use of tabs in some source files Zenghui Yu (1): hvf: arm: Fix encodings for ID_AA64PFR1_EL1 and debug System registers docs/system/arm/raspi.rst | 1 - target/arm/helper.h | 68 +- target/arm/tcg/helper-a64.h | 12 + target/arm/tcg/translate-a64.h | 4 + target/arm/tcg/translate.h | 51 + target/arm/tcg/a64.decode | 315 +++- hw/arm/boot.c | 8 +- hw/arm/npcm7xx.c | 3 - hw/char/omap_uart.c | 49 +- hw/char/stm32l4x5_usart.c | 2 +- hw/dma/xlnx_dpdma.c | 68 +- hw/gpio/zaurus.c | 59 +- hw/input/tsc2005.c | 135 +- hw/intc/arm_gic.c | 4 +- target/arm/hvf/hvf.c | 130 +- target/arm/tcg/gengvec.c | 1672 +++++++++++++++++++++ target/arm/tcg/gengvec64.c | 190 +++ target/arm/tcg/neon_helper.c | 5 - target/arm/tcg/translate-a64.c | 3110 +++++++++++++-------------------------- target/arm/tcg/translate-neon.c | 136 +- target/arm/tcg/translate-sve.c | 145 +- target/arm/tcg/translate-vfp.c | 54 +- target/arm/tcg/translate.c | 1588 -------------------- target/arm/tcg/vec_helper.c | 221 ++- target/arm/vfp_helper.c | 30 - target/arm/tcg/meson.build | 2 + 26 files changed, 3807 insertions(+), 4255 deletions(-) create mode 100644 target/arm/tcg/gengvec.c create mode 100644 target/arm/tcg/gengvec64.c . Date: Thu, 23 May 2024 09:15:48 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/5] tcg patch queue The following changes since commit 7e1c0047015ffbd408e1aa4a5ec1abe4751dbf7e: Merge tag 'migration-20240522-pull-request' of https://gitlab.com/farosas/qemu into staging (2024-05-22 15:32:25 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240523 for you to fetch changes up to bfd43cccab9fb77b8405ca556fc2f2ed3b2920a3: accel/tcg: Init tb size and icount before plugin_gen_tb_end (2024-05-22 19:05:26 -0700) ---------------------------------------------------------------- tcg: Introduce TCG_TARGET_HAS_tst_vec accel/tcg: Init tb size and icount before plugin_gen_tb_end ---------------------------------------------------------------- Richard Henderson (5): tcg: Introduce TCG_TARGET_HAS_tst_vec tcg: Expand TCG_COND_TST* if not TCG_TARGET_HAS_tst_vec tcg/aarch64: Support TCG_TARGET_HAS_tst_vec tcg/arm: Support TCG_TARGET_HAS_tst_vec accel/tcg: Init tb size and icount before plugin_gen_tb_end include/tcg/tcg.h | 1 + tcg/aarch64/tcg-target.h | 1 + tcg/arm/tcg-target.h | 1 + tcg/i386/tcg-target.h | 1 + tcg/loongarch64/tcg-target.h | 1 + tcg/ppc/tcg-target.h | 1 + tcg/s390x/tcg-target.h | 1 + accel/tcg/translator.c | 8 ++++---- tcg/tcg-op-vec.c | 18 ++++++++++++++++++ tcg/aarch64/tcg-target.c.inc | 26 ++++++++++++++++++++++++-- tcg/arm/tcg-target.c.inc | 23 ++++++++++++++++++++--- 11 files changed, 73 insertions(+), 9 deletions(-) . Date: Fri, 24 May 2024 09:06:33 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org Subject: [PULL 00/72] ppc-for-9.1-1 queue The following changes since commit 70581940cabcc51b329652becddfbc6a261b1b83: Merge tag 'pull-tcg-20240523' of https://gitlab.com/rth7680/qemu into staging (2024-05-23 09:47:40 -0700) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.1-1-20240524 for you to fetch changes up to 4e0e22a2de927ec827e3464f7aedd47ed22268d2: target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() (2024-05-24 08:57:51 +1000) ---------------------------------------------------------------- * Fix an interesting TLB invalidate race * Implement more instructions with decodetree * Add the POWER8/9/10 BHRB facility * Add missing instructions, registers, SMT support * First round of a big MMU xlate cleanup ---------------------------------------------------------------- BALATON Zoltan (33): target/ppc: Remove unused helper target/ppc/mmu_common.c: Move calculation of a value closer to its usage target/ppc/mmu_common.c: Remove unneeded local variable target/ppc/mmu_common.c: Simplify checking for real mode target/ppc/mmu_common.c: Drop cases for unimplemented MPC8xx MMU target/ppc/mmu_common.c: Introduce mmu6xx_get_physical_address() target/ppc/mmu_common.c: Move else branch to avoid large if block target/ppc/mmu_common.c: Move some debug logging target/ppc/mmu_common.c: Eliminate ret from mmu6xx_get_physical_address() target/ppc/mmu_common.c: Split out BookE cases before checking real mode target/ppc/mmu_common.c: Split off real mode cases in get_physical_address_wtlb() target/ppc/mmu_common.c: Inline and remove check_physical() target/ppc/mmu_common.c: Fix misindented qemu_log_mask() calls target/ppc/mmu_common.c: Deindent ppc_jumbo_xlate() target/ppc/mmu_common.c: Replace hard coded constants in ppc_jumbo_xlate() target/ppc/mmu_common.c: Don't use mmu_ctx_t for mmu40x_get_physical_address() target/ppc/mmu_common.c: Don't use mmu_ctx_t in mmubooke_get_physical_address() target/ppc/mmu_common.c: Don't use mmu_ctx_t in mmubooke206_get_physical_address() target/ppc/mmu_common.c: Remove BookE from direct store handling target/ppc/mmu_common.c: Split off BookE handling from ppc_jumbo_xlate() target/ppc/mmu_common.c: Simplify ppc_booke_xlate() part 1 target/ppc/mmu_common.c: Simplify ppc_booke_xlate() part 2 target/ppc/mmu_common.c: Split off real mode handling from get_physical_address_wtlb() target/ppc/mmu_common.c: Split off 40x cases from ppc_jumbo_xlate() target/ppc/mmu_common.c: Transform ppc_jumbo_xlate() into ppc_6xx_xlate() target/ppc/mmu_common.c: Move mmu_ctx_t type to mmu_common.c target/ppc: Remove id_tlbs flag from CPU env target/ppc: Split off common embedded TLB init target/ppc/mmu-hash32.c: Drop a local variable target/ppc/mmu-radix64.c: Drop a local variable target/ppc: Add a function to check for page protection bit target/ppc: Move out BookE and related MMU functions from mmu_common.c target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() Chinmay Rath (13): target/ppc: Merge various fpu helpers target/ppc: Move floating-point arithmetic instructions to decodetree. target/ppc: Move mul{li, lw, lwo, hw, hwu} instructions to decodetree. target/ppc: Make divw[u] handler method decodetree compatible. target/ppc: Move divw[u, e, eu] instructions to decodetree. target/ppc: Move neg, darn, mod{sw, uw} to decodetree. target/ppc: Move multiply fixed-point insns (64-bit operands) to decodetree. target/ppc: Move div/mod fixed-point insns (64 bits operands) to decodetree. target/ppc: Move cmp{rb, eqb}, tw[i], td[i], isel instructions to decodetree. target/ppc: Move logical fixed-point instructions to decodetree. target/ppc: Move VMX storage access instructions to decodetree target/ppc: Move VMX integer logical instructions to decodetree. target/ppc: Move VMX integer max/min instructions to decodetree. Dr. David Alan Gilbert (1): target/ppc: Remove unused struct 'mmu_ctx_hash32' Glenn Miles (4): This commit is preparatory to the addition of Branch History Rolling Buffer (BHRB) functionality, which is being provided today starting with the P8 processor. This commit continues adding support for the Branch History Rolling Buffer (BHRB) as is provided starting with the P8 processor and continuing with its successors. This commit is limited to the recording and filtering of taken branches. Add support for the clrbhrb and mfbhrbe instructions. Adds migration support for Branch History Rolling Buffer (BHRB) internal state. Nicholas Piggin (21): spapr: avoid overhead of finding vhyp class in critical operations ppc/spapr: Add ibm,pi-features target/ppc: Fix broadcast tlbie synchronisation tcg/cputlb: Remove non-synced variants of global TLB flushes tcg/cputlb: remove other-cpu capability from TLB flushing target/ppc: Move sync instructions to decodetree target/ppc: Fix embedded memory barriers target/ppc: Add ISA v3.1 variants of sync instruction target/ppc: larx/stcx generation need only apply DEF_MEMOP() once target/ppc: Remove redundant MEMOP_GET_SIZE macro target/ppc: Make checkstop actually stop the system target/ppc: improve checkstop logging target/ppc: Implement attn instruction on BookS 64-bit processors target/ppc: BookE DECAR SPR is 32-bit target/ppc: Add PPR32 SPR target/ppc: add helper to write per-LPAR SPRs target/ppc: Add SMT support to simple SPRs target/ppc: Add SMT support to PTCR SPR target/ppc: Implement LDBAR, TTR SPRs target/ppc: Implement SPRC/SPRD SPRs target/ppc: add SMT support to msgsnd broadcast accel/tcg/cputlb.c | 145 +-- docs/devel/multi-thread-tcg.rst | 13 +- hw/ppc/pegasos2.c | 3 +- hw/ppc/spapr.c | 28 + include/exec/exec-all.h | 97 +- target/ppc/cpu.h | 64 +- target/ppc/cpu_init.c | 235 +++-- target/ppc/excp_helper.c | 134 ++- target/ppc/fpu_helper.c | 235 ++--- target/ppc/helper.h | 98 +- target/ppc/helper_regs.c | 40 +- target/ppc/insn32.decode | 204 ++++ target/ppc/int_helper.c | 24 +- target/ppc/internal.h | 40 +- target/ppc/kvm.c | 4 +- target/ppc/machine.c | 23 +- target/ppc/mem_helper.c | 12 +- target/ppc/meson.build | 1 + target/ppc/misc_helper.c | 132 ++- target/ppc/mmu-book3s-v3.h | 4 +- target/ppc/mmu-booke.c | 531 +++++++++++ target/ppc/mmu-booke.h | 17 + target/ppc/mmu-hash32.c | 60 +- target/ppc/mmu-hash32.h | 45 + target/ppc/mmu-hash64.c | 18 +- target/ppc/mmu-radix64.c | 9 +- target/ppc/mmu_common.c | 1197 ++++++------------------ target/ppc/mmu_helper.c | 39 +- target/ppc/power8-pmu-regs.c.inc | 5 + target/ppc/power8-pmu.c | 48 +- target/ppc/power8-pmu.h | 11 +- target/ppc/spr_common.h | 8 + target/ppc/translate.c | 1151 ++++------------------- target/ppc/translate/bhrb-impl.c.inc | 43 + target/ppc/translate/branch-impl.c.inc | 2 +- target/ppc/translate/fixedpoint-impl.c.inc | 727 ++++++++++++++ target/ppc/translate/fp-impl.c.inc | 285 +++--- target/ppc/translate/fp-ops.c.inc | 31 - target/ppc/translate/misc-impl.c.inc | 157 ++++ target/ppc/translate/processor-ctrl-impl.c.inc | 2 +- target/ppc/translate/storage-ctrl-impl.c.inc | 7 + target/ppc/translate/vmx-impl.c.inc | 280 +++--- target/ppc/translate/vmx-ops.c.inc | 50 - 43 files changed, 3267 insertions(+), 2992 deletions(-) create mode 100644 target/ppc/mmu-booke.c create mode 100644 target/ppc/mmu-booke.h create mode 100644 target/ppc/translate/bhrb-impl.c.inc create mode 100644 target/ppc/translate/misc-impl.c.inc . Date: Fri, 24 May 2024 09:53:18 +1000 From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org Subject: [PULL 00/72] ppc-for-9.1-1 queue This replaces the previous PR for tags/pull-ppc-for-9.1-1-20240524 note this tag is tags/pull-ppc-for-9.1-1-20240524-1 (added -1 suffix). The changelog and code are unchanged. Subject for BHRB patches are fixed and trimmed for some MMU cleanup patches. So I won't re-send individual patches to lists. Thanks, Nick The following changes since commit 70581940cabcc51b329652becddfbc6a261b1b83: Merge tag 'pull-tcg-20240523' of https://gitlab.com/rth7680/qemu into staging (2024-05-23 09:47:40 -0700) are available in the Git repository at: https://gitlab.com/npiggin/qemu.git tags/pull-ppc-for-9.1-1-20240524-1 for you to fetch changes up to e48fb4c590a23d81ee1d2f09ee9bcf5dd5f98e43: target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() (2024-05-24 09:43:14 +1000) ---------------------------------------------------------------- * Fix an interesting TLB invalidate race * Implement more instructions with decodetree * Add the POWER8/9/10 BHRB facility * Add missing instructions, registers, SMT support * First round of a big MMU xlate cleanup ---------------------------------------------------------------- BALATON Zoltan (33): target/ppc: Remove unused helper_rac() target/ppc: Move calculation of a value closer to its usage in booke tlb checks target/ppc: Remove unneeded local variable from booke tlb checks target/ppc: Simplify checking for real mode in get_physical_address_wtlb() target/ppc: Drop cases for unimplemented MPC8xx MMU target/ppc: Introduce mmu6xx_get_physical_address() target/ppc: Move else branch to avoid large if block in mmu6xx_get_physical_address() target/ppc: Move some debug logging in ppc6xx_tlb_check() target/ppc: Eliminate ret from mmu6xx_get_physical_address() target/ppc: Split out BookE xlate cases before checking real mode target/ppc: Split off real mode cases in get_physical_address_wtlb() target/ppc: Inline and remove check_physical() target/ppc: Fix misindented qemu_log_mask() calls target/ppc: Deindent ppc_jumbo_xlate() target/ppc: Replace hard coded constants in ppc_jumbo_xlate() target/ppc: Don't use mmu_ctx_t for mmu40x_get_physical_address() target/ppc: Don't use mmu_ctx_t in mmubooke_get_physical_address() target/ppc: Don't use mmu_ctx_t in mmubooke206_get_physical_address() target/ppc: Remove BookE from direct store handling target/ppc: Split off BookE handling from ppc_jumbo_xlate() target/ppc: Simplify ppc_booke_xlate() part 1 target/ppc: Simplify ppc_booke_xlate() part 2 target/ppc: Split off real mode handling from get_physical_address_wtlb() target/ppc: Split off 40x cases from ppc_jumbo_xlate() target/ppc: Transform ppc_jumbo_xlate() into ppc_6xx_xlate() target/ppc: Move mmu_ctx_t type to mmu_common.c target/ppc: Remove id_tlbs flag from CPU env target/ppc: Split off common embedded TLB init target/ppc/mmu-hash32.c: Drop a local variable target/ppc/mmu-radix64.c: Drop a local variable target/ppc: Add a function to check for page protection bit target/ppc: Move out BookE and related MMU functions from mmu_common.c target/ppc: Remove pp_check() and reuse ppc_hash32_pp_prot() Chinmay Rath (13): target/ppc: Merge various fpu helpers target/ppc: Move floating-point arithmetic instructions to decodetree. target/ppc: Move mul{li, lw, lwo, hw, hwu} instructions to decodetree. target/ppc: Make divw[u] handler method decodetree compatible. target/ppc: Move divw[u, e, eu] instructions to decodetree. target/ppc: Move neg, darn, mod{sw, uw} to decodetree. target/ppc: Move multiply fixed-point insns (64-bit operands) to decodetree. target/ppc: Move div/mod fixed-point insns (64 bits operands) to decodetree. target/ppc: Move cmp{rb, eqb}, tw[i], td[i], isel instructions to decodetree. target/ppc: Move logical fixed-point instructions to decodetree. target/ppc: Move VMX storage access instructions to decodetree target/ppc: Move VMX integer logical instructions to decodetree. target/ppc: Move VMX integer max/min instructions to decodetree. Dr. David Alan Gilbert (1): target/ppc: Remove unused struct 'mmu_ctx_hash32' Glenn Miles (4): target/ppc: Add new hflags to support BHRB target/ppc: Add recording of taken branches to BHRB target/ppc: Add clrbhrb and mfbhrbe instructions target/ppc: Add migration support for BHRB Nicholas Piggin (21): spapr: avoid overhead of finding vhyp class in critical operations ppc/spapr: Add ibm,pi-features target/ppc: Fix broadcast tlbie synchronisation tcg/cputlb: Remove non-synced variants of global TLB flushes tcg/cputlb: remove other-cpu capability from TLB flushing target/ppc: Move sync instructions to decodetree target/ppc: Fix embedded memory barriers target/ppc: Add ISA v3.1 variants of sync instruction target/ppc: larx/stcx generation need only apply DEF_MEMOP() once target/ppc: Remove redundant MEMOP_GET_SIZE macro target/ppc: Make checkstop actually stop the system target/ppc: improve checkstop logging target/ppc: Implement attn instruction on BookS 64-bit processors target/ppc: BookE DECAR SPR is 32-bit target/ppc: Add PPR32 SPR target/ppc: add helper to write per-LPAR SPRs target/ppc: Add SMT support to simple SPRs target/ppc: Add SMT support to PTCR SPR target/ppc: Implement LDBAR, TTR SPRs target/ppc: Implement SPRC/SPRD SPRs target/ppc: add SMT support to msgsnd broadcast accel/tcg/cputlb.c | 145 +-- docs/devel/multi-thread-tcg.rst | 13 +- hw/ppc/pegasos2.c | 3 +- hw/ppc/spapr.c | 28 + include/exec/exec-all.h | 97 +- target/ppc/cpu.h | 64 +- target/ppc/cpu_init.c | 235 +++-- target/ppc/excp_helper.c | 134 ++- target/ppc/fpu_helper.c | 235 ++--- target/ppc/helper.h | 98 +- target/ppc/helper_regs.c | 40 +- target/ppc/insn32.decode | 204 ++++ target/ppc/int_helper.c | 24 +- target/ppc/internal.h | 40 +- target/ppc/kvm.c | 4 +- target/ppc/machine.c | 23 +- target/ppc/mem_helper.c | 12 +- target/ppc/meson.build | 1 + target/ppc/misc_helper.c | 132 ++- target/ppc/mmu-book3s-v3.h | 4 +- target/ppc/mmu-booke.c | 531 +++++++++++ target/ppc/mmu-booke.h | 17 + target/ppc/mmu-hash32.c | 60 +- target/ppc/mmu-hash32.h | 45 + target/ppc/mmu-hash64.c | 18 +- target/ppc/mmu-radix64.c | 9 +- target/ppc/mmu_common.c | 1197 ++++++------------------ target/ppc/mmu_helper.c | 39 +- target/ppc/power8-pmu-regs.c.inc | 5 + target/ppc/power8-pmu.c | 48 +- target/ppc/power8-pmu.h | 11 +- target/ppc/spr_common.h | 8 + target/ppc/translate.c | 1151 ++++------------------- target/ppc/translate/bhrb-impl.c.inc | 43 + target/ppc/translate/branch-impl.c.inc | 2 +- target/ppc/translate/fixedpoint-impl.c.inc | 727 ++++++++++++++ target/ppc/translate/fp-impl.c.inc | 285 +++--- target/ppc/translate/fp-ops.c.inc | 31 - target/ppc/translate/misc-impl.c.inc | 157 ++++ target/ppc/translate/processor-ctrl-impl.c.inc | 2 +- target/ppc/translate/storage-ctrl-impl.c.inc | 7 + target/ppc/translate/vmx-impl.c.inc | 280 +++--- target/ppc/translate/vmx-ops.c.inc | 50 - 43 files changed, 3267 insertions(+), 2992 deletions(-) create mode 100644 target/ppc/mmu-booke.c create mode 100644 target/ppc/mmu-booke.h create mode 100644 target/ppc/translate/bhrb-impl.c.inc create mode 100644 target/ppc/translate/misc-impl.c.inc . Date: Sat, 25 May 2024 13:33:08 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/24] Build system and target/i386/translate.c cleanups for 2025-05-25 The following changes since commit 70581940cabcc51b329652becddfbc6a261b1b83: Merge tag 'pull-tcg-20240523' of https://gitlab.com/rth7680/qemu into staging (2024-05-23 09:47:40 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 70eb5fde05bdd051c087669ffcf2aee39e0c8170: migration: remove unnecessary zlib dependency (2024-05-25 13:28:02 +0200) ---------------------------------------------------------------- Build system and target/i386/translate.c cleanups ---------------------------------------------------------------- Artyom Kunakovsky (1): configure: move -mcx16 flag out of CPU_CFLAGS Paolo Bonzini (23): target/i386: disable jmp_opt if EFLAGS.RF is 1 target/i386: no single-step exception after MOV or POP SS target/i386: cleanup eob handling of RSM target/i386: remove unnecessary gen_update_cc_op before gen_eob* target/i386: cpu_load_eflags already sets cc_op target/i386: set CC_OP in helpers if they want CC_OP_EFLAGS target/i386: document and group DISAS_* constants target/i386: avoid calling gen_eob_syscall before tb_stop target/i386: avoid calling gen_eob_inhibit_irq before tb_stop target/i386: assert that gen_update_eip_cur and gen_update_eip_next are the same in tb_stop target/i386: raze the gen_eob* jungle target/i386: reg in gen_ldst_modrm is always OR_TMP0 target/i386: split gen_ldst_modrm for load and store target/i386: inline gen_add_A0_ds_seg target/i386: use mo_stacksize more target/i386: introduce gen_lea_ss_ofs target/i386: clean up repeated string operations target/i386: remove aflag argument of gen_lea_v_seg meson: remove unnecessary reference to libm meson: remove unnecessary dependency tcg: include dependencies in static_library() meson: do not query modules before they are processed migration: remove unnecessary zlib dependency configure | 7 +- meson.build | 9 +- target/i386/ops_sse.h | 8 ++ migration/dirtyrate.c | 1 - migration/qemu-file.c | 1 - target/i386/tcg/fpu_helper.c | 2 + target/i386/tcg/int_helper.c | 13 +- target/i386/tcg/seg_helper.c | 16 +-- target/i386/tcg/translate.c | 326 +++++++++++++++++++------------------------ target/i386/tcg/emit.c.inc | 58 ++++---- audio/meson.build | 4 +- block/meson.build | 4 +- migration/meson.build | 2 +- tcg/meson.build | 8 +- tests/qtest/meson.build | 2 +- ui/meson.build | 5 +- 16 files changed, 218 insertions(+), 248 deletions(-) -- 2.45.1 . Date: Sun, 26 May 2024 17:49:33 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/28] linux-user patch queue The following changes since commit 70581940cabcc51b329652becddfbc6a261b1b83: Merge tag 'pull-tcg-20240523' of https://gitlab.com/rth7680/qemu into staging (2024-05-23 09:47:40 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-lu-20240526 for you to fetch changes up to 701890bdd09b289fd9cb852e714e91373088b0f3: target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor} (2024-05-26 15:49:58 -0700) ---------------------------------------------------------------- target/i386: Introduce X86Access and use for xsave and friends linux-user/i386: Fix allocation and alignment of fp state in signal frame ---------------------------------------------------------------- Richard Henderson (28): target/i386: Add tcg/access.[ch] target/i386: Convert do_fldt, do_fstt to X86Access target/i386: Convert helper_{fbld,fbst}_ST0 to X86Access target/i386: Convert do_fldenv to X86Access target/i386: Convert do_fstenv to X86Access target/i386: Convert do_fsave, do_frstor to X86Access target/i386: Convert do_xsave_{fpu,mxcr,sse} to X86Access target/i386: Convert do_xrstor_{fpu,mxcr,sse} to X86Access tagret/i386: Convert do_fxsave, do_fxrstor to X86Access target/i386: Convert do_xsave_* to X86Access target/i386: Convert do_xrstor_* to X86Access target/i386: Split out do_xsave_chk target/i386: Add rbfm argument to cpu_x86_{xsave,xrstor} target/i386: Add {hw,sw}_reserved to X86LegacyXSaveArea linux-user/i386: Drop xfeatures_size from sigcontext arithmetic linux-user/i386: Remove xfeatures from target_fpstate_fxsave linux-user/i386: Replace target_fpstate_fxsave with X86LegacyXSaveArea linux-user/i386: Split out struct target_fregs_state linux-user/i386: Fix -mregparm=3 for signal delivery linux-user/i386: Return boolean success from restore_sigcontext linux-user/i386: Return boolean success from xrstor_sigcontext linux-user/i386: Fix allocation and alignment of fp state linux-user/i386: Honor xfeatures in xrstor_sigcontext target/i386: Convert do_xsave to X86Access target/i386: Convert do_xrstor to X86Access target/i386: Pass host pointer and size to cpu_x86_{fsave,frstor} target/i386: Pass host pointer and size to cpu_x86_{fxsave,fxrstor} target/i386: Pass host pointer and size to cpu_x86_{xsave,xrstor} target/i386/cpu.h | 57 ++-- target/i386/tcg/access.h | 40 +++ linux-user/i386/signal.c | 671 +++++++++++++++++++++++---------------- target/i386/tcg/access.c | 169 ++++++++++ target/i386/tcg/fpu_helper.c | 561 +++++++++++++++++++------------- tests/tcg/x86_64/test-1648.c | 33 ++ target/i386/tcg/meson.build | 1 + tests/tcg/x86_64/Makefile.target | 1 + 8 files changed, 1024 insertions(+), 509 deletions(-) create mode 100644 target/i386/tcg/access.h create mode 100644 target/i386/tcg/access.c create mode 100644 tests/tcg/x86_64/test-1648.c . Date: Mon, 27 May 2024 13:31:22 +0200 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/9] Error reporting patches for 2024-05-27 The following changes since commit 60b54b67c63d8f076152e0f7dccf39854dfc6a77: Merge tag 'pull-lu-20240526' of https://gitlab.com/rth7680/qemu into staging (2024-05-26 17:51:00 -0700) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-error-2024-05-27 for you to fetch changes up to 2020337239b054447d0756ea75e970b35f7a541b: qerror: QERR_QGA_COMMAND_FAILED is no longer used, drop (2024-05-27 13:00:12 +0200) ---------------------------------------------------------------- Error reporting patches for 2024-05-27 ---------------------------------------------------------------- Markus Armbruster (9): block: Improve error message when external snapshot can't flush dump/win_dump: Improve error messages on write error block/vmdk: Improve error messages on extent write error cpus: Improve error messages on memsave, pmemsave write error migration: Rephrase message on failure to save / load Xen device state qerror: QERR_IO_ERROR is no longer used, drop qga-win32: Improve guest-set-user-password, guest-file-open errors qga: Shorten several error messages qerror: QERR_QGA_COMMAND_FAILED is no longer used, drop include/qapi/qmp/qerror.h | 6 ------ block/vmdk.c | 10 +++++----- blockdev.c | 6 ++++-- dump/win_dump.c | 7 ++++--- migration/savevm.c | 5 ++--- qga/commands-win32.c | 41 +++++++++++++++++------------------------ qga/commands.c | 6 ++---- system/cpus.c | 6 ++++-- 8 files changed, 38 insertions(+), 49 deletions(-) -- 2.45.0 . Date: Tue, 28 May 2024 12:43:00 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/28] riscv-to-apply queue The following changes since commit ad10b4badc1dd5b28305f9b9f1168cf0aa3ae946: Merge tag 'pull-error-2024-05-27' of https://repo.or.cz/qemu/armbru into staging (2024-05-27 06:40:42 -0700) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240528 for you to fetch changes up to 1806da76cb81088ea026ca3441551782b850e393: target/riscv: raise an exception when CSRRS/CSRRC writes a read-only CSR (2024-05-28 12:20:27 +1000) ---------------------------------------------------------------- RISC-V PR for 9.1 * APLICs add child earlier than realize * Fix exposure of Zkr * Raise exceptions on wrs.nto * Implement SBI debug console (DBCN) calls for KVM * Support 64-bit addresses for initrd * Change RISCV_EXCP_SEMIHOST exception number to 63 * Tolerate KVM disable ext errors * Set tval in breakpoints * Add support for Zve32x extension * Add support for Zve64x extension * Relax vector register check in RISCV gdbstub * Fix the element agnostic Vector function problem * Fix Zvkb extension config * Implement dynamic establishment of custom decoder * Add th.sxstatus CSR emulation * Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions * Check single width operator for vector fp widen instructions * Check single width operator for vfncvt.rod.f.f.w * Remove redudant SEW checking for vector fp narrow/widen instructions * Prioritize pmp errors in raise_mmu_exception() * Do not set mtval2 for non guest-page faults * Remove experimental prefix from "B" extension * Fixup CBO extension register calculation * Fix the hart bit setting of AIA * Fix reg_width in ricsv_gen_dynamic_vector_feature() * Decode all of the pmpcfg and pmpaddr CSRs * Raise an exception when CSRRS/CSRRC writes a read-only CSR ---------------------------------------------------------------- Alexei Filippov (1): target/riscv: do not set mtval2 for non guest-page faults Alistair Francis (2): target/riscv: rvzicbo: Fixup CBO extension register calculation disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs Andrew Jones (2): target/riscv/kvm: Fix exposure of Zkr target/riscv: Raise exceptions on wrs.nto Cheng Yang (1): hw/riscv/boot.c: Support 64-bit address for initrd Christoph Müllner (1): riscv: thead: Add th.sxstatus CSR emulation Clément Léger (1): target/riscv: change RISCV_EXCP_SEMIHOST exception number to 63 Daniel Henrique Barboza (6): target/riscv/kvm: implement SBI debug console (DBCN) calls target/riscv/kvm: tolerate KVM disable ext errors target/riscv/debug: set tval=pc in breakpoint exceptions trans_privileged.c.inc: set (m|s)tval on ebreak breakpoint target/riscv: prioritize pmp errors in raise_mmu_exception() riscv, gdbstub.c: fix reg_width in ricsv_gen_dynamic_vector_feature() Huang Tao (2): target/riscv: Fix the element agnostic function problem target/riscv: Implement dynamic establishment of custom decoder Jason Chien (3): target/riscv: Add support for Zve32x extension target/riscv: Add support for Zve64x extension target/riscv: Relax vector register check in RISCV gdbstub Max Chou (4): target/riscv: rvv: Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions target/riscv: rvv: Check single width operator for vector fp widen instructions target/riscv: rvv: Check single width operator for vfncvt.rod.f.f.w target/riscv: rvv: Remove redudant SEW checking for vector fp narrow/widen instructions Rob Bradford (1): target/riscv: Remove experimental prefix from "B" extension Yangyu Chen (1): target/riscv/cpu.c: fix Zvkb extension config Yong-Xuan Wang (1): target/riscv/kvm.c: Fix the hart bit setting of AIA Yu-Ming Chang (1): target/riscv: raise an exception when CSRRS/CSRRC writes a read-only CSR yang.zhang (1): hw/intc/riscv_aplic: APLICs should add child earlier than realize MAINTAINERS | 1 + target/riscv/cpu.h | 11 ++ target/riscv/cpu_bits.h | 2 +- target/riscv/cpu_cfg.h | 2 + target/riscv/helper.h | 1 + target/riscv/sbi_ecall_interface.h | 17 +++ target/riscv/tcg/tcg-cpu.h | 15 +++ disas/riscv.c | 65 +++++++++- hw/intc/riscv_aplic.c | 8 +- hw/riscv/boot.c | 4 +- target/riscv/cpu.c | 10 +- target/riscv/cpu_helper.c | 37 +++--- target/riscv/csr.c | 71 +++++++++-- target/riscv/debug.c | 3 + target/riscv/gdbstub.c | 8 +- target/riscv/kvm/kvm-cpu.c | 157 ++++++++++++++++++++++++- target/riscv/op_helper.c | 17 ++- target/riscv/tcg/tcg-cpu.c | 50 +++++--- target/riscv/th_csr.c | 79 +++++++++++++ target/riscv/translate.c | 31 +++-- target/riscv/vector_internals.c | 22 ++++ target/riscv/insn_trans/trans_privileged.c.inc | 2 + target/riscv/insn_trans/trans_rvv.c.inc | 46 +++++--- target/riscv/insn_trans/trans_rvzawrs.c.inc | 29 +++-- target/riscv/insn_trans/trans_rvzicbo.c.inc | 16 ++- target/riscv/meson.build | 1 + 26 files changed, 596 insertions(+), 109 deletions(-) create mode 100644 target/riscv/th_csr.c . Date: Tue, 28 May 2024 15:12:30 +0900 From: Jeuk Kim To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: fam@euphon.net, pbonzini@redhat.com, qemu-block@nongnu.org, jeuk20.kim@samsung.com, j-young.choi@samsung.com, minwoo.im@samsung.com Subject: [PULL 0/2] ufs queue From: Jeuk Kim The following changes since commit ad10b4badc1dd5b28305f9b9f1168cf0aa3ae946: Merge tag 'pull-error-2024-05-27' of https://repo.or.cz/qemu/armbru into staging (2024-05-27 06:40:42 -0700) are available in the Git repository at: https://gitlab.com/jeuk20.kim/qemu.git tags/pull-ufs-20240528 for you to fetch changes up to 71a82d3f0555e65c98df129ce0e38b2aa5681ec0: hw/ufs: Add support MCQ of UFSHCI 4.0 (2024-05-28 14:42:32 +0900) ---------------------------------------------------------------- Add support MCQ of UFSHCI 4.0 ---------------------------------------------------------------- Minwoo Im (2): hw/ufs: Update MCQ-related fields to block/ufs.h hw/ufs: Add support MCQ of UFSHCI 4.0 hw/ufs/trace-events | 17 ++ hw/ufs/ufs.c | 475 ++++++++++++++++++++++++++++++++++++++++++++++++++-- hw/ufs/ufs.h | 98 ++++++++++- include/block/ufs.h | 131 ++++++++++++++- 4 files changed, 699 insertions(+), 22 deletions(-) . Date: Tue, 28 May 2024 16:57:46 +0300 From: Vladimir Sementsov-Ogievskiy To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: qemu-block@nongnu.org, vsementsov@yandex-team.ru Subject: [PULL v2 0/7] Block jobs patches for 2024-04-29 The following changes since commit ad10b4badc1dd5b28305f9b9f1168cf0aa3ae946: Merge tag 'pull-error-2024-05-27' of https://repo.or.cz/qemu/armbru into staging (2024-05-27 06:40:42 -0700) are available in the Git repository at: https://gitlab.com/vsementsov/qemu.git tags/pull-block-jobs-2024-04-29-v2 for you to fetch changes up to a149401048481247bcbaf6035a7a1308974fb464: iotests/pylintrc: allow up to 10 similar lines (2024-05-28 15:52:15 +0300) ---------------------------------------------------------------- Block jobs patches for 2024-04-29 v2: add "iotests/pylintrc: allow up to 10 similar lines" to fix check-python-minreqs - backup: discard-source parameter - blockcommit: Reopen base image as RO after abort ---------------------------------------------------------------- Alexander Ivanov (1): blockcommit: Reopen base image as RO after abort Vladimir Sementsov-Ogievskiy (6): block/copy-before-write: fix permission block/copy-before-write: support unligned snapshot-discard block/copy-before-write: create block_copy bitmap in filter node qapi: blockdev-backup: add discard-source parameter iotests: add backup-discard-source iotests/pylintrc: allow up to 10 similar lines block/backup.c | 5 +- block/block-copy.c | 12 ++- block/copy-before-write.c | 39 +++++++-- block/copy-before-write.h | 1 + block/mirror.c | 11 ++- block/replication.c | 4 +- blockdev.c | 2 +- include/block/block-common.h | 2 + include/block/block-copy.h | 2 + include/block/block_int-global-state.h | 2 +- qapi/block-core.json | 4 + tests/qemu-iotests/257.out | 112 +++++++++++++------------- tests/qemu-iotests/pylintrc | 2 +- tests/qemu-iotests/tests/backup-discard-source | 152 ++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/tests/backup-discard-source.out | 5 ++ 15 files changed, 282 insertions(+), 73 deletions(-) create mode 100755 tests/qemu-iotests/tests/backup-discard-source create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out Alexander Ivanov (1): blockcommit: Reopen base image as RO after abort Vladimir Sementsov-Ogievskiy (6): block/copy-before-write: fix permission block/copy-before-write: support unligned snapshot-discard block/copy-before-write: create block_copy bitmap in filter node qapi: blockdev-backup: add discard-source parameter iotests: add backup-discard-source iotests/pylintrc: allow up to 10 similar lines block/backup.c | 5 +- block/block-copy.c | 12 +- block/copy-before-write.c | 39 ++++- block/copy-before-write.h | 1 + block/mirror.c | 11 +- block/replication.c | 4 +- blockdev.c | 2 +- include/block/block-common.h | 2 + include/block/block-copy.h | 2 + include/block/block_int-global-state.h | 2 +- qapi/block-core.json | 4 + tests/qemu-iotests/257.out | 112 ++++++------- tests/qemu-iotests/pylintrc | 2 +- .../qemu-iotests/tests/backup-discard-source | 152 ++++++++++++++++++ .../tests/backup-discard-source.out | 5 + 15 files changed, 282 insertions(+), 73 deletions(-) create mode 100755 tests/qemu-iotests/tests/backup-discard-source create mode 100644 tests/qemu-iotests/tests/backup-discard-source.out -- 2.34.1 . Date: Tue, 28 May 2024 15:07:11 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL v2 00/42] target-arm queue Hi; most of this is the first half of the A64 simd decodetree conversion; the rest is a mix of fixes from the last couple of weeks. v2 uses patches from the v2 decodetree series to avoid a few regressions in some A32 insns. (Richard: I'm still planning to review the second half of the v2 decodetree series; I just wanted to get the respin of this pullreq out today...) thanks -- PMM The following changes since commit ad10b4badc1dd5b28305f9b9f1168cf0aa3ae946: Merge tag 'pull-error-2024-05-27' of https://repo.or.cz/qemu/armbru into staging (2024-05-27 06:40:42 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240528 for you to fetch changes up to f240df3c31b40e4cf1af1f156a88efc1a1df406c: target/arm: Convert disas_simd_3same_logic to decodetree (2024-05-28 14:29:01 +0100) ---------------------------------------------------------------- target-arm queue: * xlnx_dpdma: fix descriptor endianness bug * hvf: arm: Fix encodings for ID_AA64PFR1_EL1 and debug System registers * hw/arm/npcm7xx: remove setting of mp-affinity * hw/char: Correct STM32L4x5 usart register CR2 field ADD_0 size * hw/intc/arm_gic: Fix handling of NS view of GICC_APR * hw/input/tsc2005: Fix -Wchar-subscripts warning in tsc2005_txrx() * hw: arm: Remove use of tabs in some source files * docs/system: Remove ADC from raspi documentation * target/arm: Start of the conversion of A64 SIMD to decodetree ---------------------------------------------------------------- Alexandra Diupina (1): xlnx_dpdma: fix descriptor endianness bug Andrey Shumilin (1): hw/intc/arm_gic: Fix handling of NS view of GICC_APR Dorjoy Chowdhury (1): hw/arm/npcm7xx: remove setting of mp-affinity Inès Varhol (1): hw/char: Correct STM32L4x5 usart register CR2 field ADD_0 size Philippe Mathieu-Daudé (1): hw/input/tsc2005: Fix -Wchar-subscripts warning in tsc2005_txrx() Rayhan Faizel (1): docs/system: Remove ADC from raspi documentation Richard Henderson (34): target/arm: Use PLD, PLDW, PLI not NOP for t32 target/arm: Zero-extend writeback for fp16 FCVTZS (scalar, integer) target/arm: Fix decode of FMOV (hp) vs MOVI target/arm: Verify sz=0 for Advanced SIMD scalar pairwise (fp16) target/arm: Split out gengvec.c target/arm: Split out gengvec64.c target/arm: Convert Cryptographic AES to decodetree target/arm: Convert Cryptographic 3-register SHA to decodetree target/arm: Convert Cryptographic 2-register SHA to decodetree target/arm: Convert Cryptographic 3-register SHA512 to decodetree target/arm: Convert Cryptographic 2-register SHA512 to decodetree target/arm: Convert Cryptographic 4-register to decodetree target/arm: Convert Cryptographic 3-register, imm2 to decodetree target/arm: Convert XAR to decodetree target/arm: Convert Advanced SIMD copy to decodetree target/arm: Convert FMULX to decodetree target/arm: Convert FADD, FSUB, FDIV, FMUL to decodetree target/arm: Convert FMAX, FMIN, FMAXNM, FMINNM to decodetree target/arm: Introduce vfp_load_reg16 target/arm: Expand vfp neg and abs inline target/arm: Convert FNMUL to decodetree target/arm: Convert FMLA, FMLS to decodetree target/arm: Convert FCMEQ, FCMGE, FCMGT, FACGE, FACGT to decodetree target/arm: Convert FABD to decodetree target/arm: Convert FRECPS, FRSQRTS to decodetree target/arm: Convert FADDP to decodetree target/arm: Convert FMAXP, FMINP, FMAXNMP, FMINNMP to decodetree target/arm: Use gvec for neon faddp, fmaxp, fminp target/arm: Convert ADDP to decodetree target/arm: Use gvec for neon padd target/arm: Convert SMAXP, SMINP, UMAXP, UMINP to decodetree target/arm: Use gvec for neon pmax, pmin target/arm: Convert FMLAL, FMLSL to decodetree target/arm: Convert disas_simd_3same_logic to decodetree Tanmay Patil (1): hw: arm: Remove use of tabs in some source files Zenghui Yu (1): hvf: arm: Fix encodings for ID_AA64PFR1_EL1 and debug System registers docs/system/arm/raspi.rst | 1 - target/arm/helper.h | 68 +- target/arm/tcg/helper-a64.h | 12 + target/arm/tcg/translate-a64.h | 4 + target/arm/tcg/translate.h | 51 + target/arm/tcg/a64.decode | 315 +++- target/arm/tcg/t32.decode | 25 +- hw/arm/boot.c | 8 +- hw/arm/npcm7xx.c | 3 - hw/char/omap_uart.c | 49 +- hw/char/stm32l4x5_usart.c | 2 +- hw/dma/xlnx_dpdma.c | 68 +- hw/gpio/zaurus.c | 59 +- hw/input/tsc2005.c | 135 +- hw/intc/arm_gic.c | 4 +- target/arm/hvf/hvf.c | 130 +- target/arm/tcg/gengvec.c | 1672 +++++++++++++++++++++ target/arm/tcg/gengvec64.c | 190 +++ target/arm/tcg/neon_helper.c | 5 - target/arm/tcg/translate-a64.c | 3137 +++++++++++++-------------------------- target/arm/tcg/translate-neon.c | 136 +- target/arm/tcg/translate-sve.c | 145 +- target/arm/tcg/translate-vfp.c | 93 +- target/arm/tcg/translate.c | 1592 +------------------- target/arm/tcg/vec_helper.c | 221 ++- target/arm/vfp_helper.c | 30 - target/arm/tcg/meson.build | 2 + 27 files changed, 3860 insertions(+), 4297 deletions(-) create mode 100644 target/arm/tcg/gengvec.c create mode 100644 target/arm/tcg/gengvec64.c . Date: Wed, 29 May 2024 12:54:32 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Cc: qemu-s390x@nongnu.org Subject: [PULL 00/22] s390x, build-oss-fuzz and Clang -fsanitize=undefined fixes Hi Richard! The following changes since commit 79d7475f39f1b0f05fcb159f5cdcbf162340dc7e: Merge tag 'pull-block-jobs-2024-04-29-v2' of https://gitlab.com/vsementsov/qemu into staging (2024-05-28 11:28:34 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-05-29 for you to fetch changes up to b04091393e6a71065aee6c91b2566f2dec95a4c9: qapi: Do not cast function pointers (2024-05-29 12:41:56 +0200) ---------------------------------------------------------------- * Fix and improve PER emulation on s390x * Fix problems of the build-oss-fuzz CI job * Fix broken update-linux-headers.sh script * Fixes for compiling with -fsanitize=undefined on latest Clang versions ---------------------------------------------------------------- Akihiko Odaki (3): qemu-keymap: Make references to allocations static lockable: Do not cast function pointers qapi: Do not cast function pointers Alexander Bulekov (2): fuzz: specify audiodev for usb-audio fuzz: disable leak-detection for oss-fuzz builds Richard Henderson (14): target/s390x: Do not use unwind for per_check_exception target/s390x: Move cpu_get_tb_cpu_state out of line target/s390x: Update CR9 bits target/s390x: Record separate PER bits in TB flags target/s390x: Disable conditional branch-to-next for PER target/s390x: Introduce help_goto_indirect target/s390x: Simplify help_branch target/s390x: Split per_breaking_event from per_branch_* target/s390x: Raise exception from helper_per_branch target/s390x: Raise exception from per_store_real target/s390x: Fix helper_per_ifetch flags target/s390x: Simplify per_ifetch, per_check_exception target/s390x: Adjust check of noreturn in translate_one tests/tcg/s390x: Add per.S Thomas Huth (3): hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES scripts/update-linux-headers.sh: Remove temporary directory inbetween scripts/update-linux-headers.sh: Fix the path of setup_data.h include/hw/s390x/s390_flic.h | 3 - include/qapi/clone-visitor.h | 37 +++-- include/qemu/lockable.h | 23 ++- target/s390x/cpu.h | 85 +++++------ target/s390x/helper.h | 8 +- tests/qtest/fuzz/generic_fuzz_configs.h | 3 +- qapi/qapi-clone-visitor.c | 30 +--- qemu-keymap.c | 8 +- target/s390x/cpu.c | 36 +++++ target/s390x/tcg/excp_helper.c | 2 +- target/s390x/tcg/misc_helper.c | 68 +++++---- target/s390x/tcg/translate.c | 242 ++++++++++++-------------------- scripts/oss-fuzz/build.sh | 1 + scripts/update-linux-headers.sh | 3 +- tests/tcg/s390x/Makefile.softmmu-target | 1 + tests/tcg/s390x/per.S | 82 +++++++++++ 16 files changed, 355 insertions(+), 277 deletions(-) create mode 100644 tests/tcg/s390x/per.S . Date: Thu, 30 May 2024 07:22:16 -0500 From: Eric Blake To: qemu-devel@nongnu.org Subject: [PULL 0/2] NBD patches for 2024-05-30 The following changes since commit 3b2fe44bb7f605f179e5e7feb2c13c2eb3abbb80: Merge tag 'pull-request-2024-05-29' of https://gitlab.com/thuth/qemu into staging (2024-05-29 08:38:20 -0700) are available in the Git repository at: https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2024-05-30 for you to fetch changes up to 109c59fa3a1cf6be88c2a39b4699a0041c64821f: iotests: test NBD+TLS+iothread (2024-05-30 07:18:42 -0500) ---------------------------------------------------------------- NBD patches for 2024-05-30 - Fix AioContext assertion with NBD+TLS ---------------------------------------------------------------- Eric Blake (2): qio: Inherit follow_coroutine_ctx across TLS iotests: test NBD+TLS+iothread io/channel-tls.c | 26 ++-- io/channel-websock.c | 1 + tests/qemu-iotests/tests/nbd-tls-iothread | 168 ++++++++++++++++++++++++++ tests/qemu-iotests/tests/nbd-tls-iothread.out | 54 +++++++++ 4 files changed, 238 insertions(+), 11 deletions(-) create mode 100755 tests/qemu-iotests/tests/nbd-tls-iothread create mode 100644 tests/qemu-iotests/tests/nbd-tls-iothread.out -- 2.45.1 . Date: Fri, 31 May 2024 13:03:18 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/43] target-arm queue The following changes since commit 3b2fe44bb7f605f179e5e7feb2c13c2eb3abbb80: Merge tag 'pull-request-2024-05-29' of https://gitlab.com/thuth/qemu into staging (2024-05-29 08:38:20 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240531 for you to fetch changes up to 3c3c233677d4f2fe5f35c5d6d6e9b53df48054f4: hw/usb/hcd-ohci: Fix #1510, #303: pid not IN or OUT (2024-05-31 11:26:00 +0100) ---------------------------------------------------------------- target-arm: * hw/intc/arm_gic: Fix set pending of PPIs * hw/intc/arm_gic: Fix writes to GICD_ITARGETSRn * xilinx_zynq: Add cache controller * xilinx_zynq: Support up to two CPU cores * tests/avocado: update sbsa-ref firmware * sbsa-ref: move to Neoverse-N2 as default * More decodetree conversion of A64 ASIMD insns * docs/system/target-arm: Re-alphabetize board list * Implement FEAT WFxT and enable for '-cpu max' * hw/usb/hcd-ohci: Fix #1510, #303: pid not IN or OUT ---------------------------------------------------------------- David Hubbard (1): hw/usb/hcd-ohci: Fix #1510, #303: pid not IN or OUT Marcin Juszkiewicz (3): tests/avocado: update sbsa-ref firmware arm/sbsa-ref: move to Neoverse-N2 as default target/arm: Disable SVE extensions when SVE is disabled Peter Maydell (3): docs/system/target-arm: Re-alphabetize board list accel/tcg: Make TCGCPUOps::cpu_exec_halt return bool for whether to halt target/arm: Implement FEAT WFxT and enable for '-cpu max' Richard Henderson (32): target/arm: Improve vector UQADD, UQSUB, SQADD, SQSUB target/arm: Assert oprsz in range when using vfp.qc target/arm: Convert SUQADD and USQADD to gvec target/arm: Inline scalar SUQADD and USQADD target/arm: Inline scalar SQADD, UQADD, SQSUB, UQSUB target/arm: Convert SQADD, SQSUB, UQADD, UQSUB to decodetree target/arm: Convert SUQADD, USQADD to decodetree target/arm: Convert SSHL, USHL to decodetree target/arm: Convert SRSHL and URSHL (register) to gvec target/arm: Convert SRSHL, URSHL to decodetree target/arm: Convert SQSHL and UQSHL (register) to gvec target/arm: Convert SQSHL, UQSHL to decodetree target/arm: Convert SQRSHL and UQRSHL (register) to gvec target/arm: Convert SQRSHL, UQRSHL to decodetree target/arm: Convert ADD, SUB (vector) to decodetree target/arm: Convert CMGT, CMHI, CMGE, CMHS, CMTST, CMEQ to decodetree target/arm: Use TCG_COND_TSTNE in gen_cmtst_{i32, i64} target/arm: Use TCG_COND_TSTNE in gen_cmtst_vec target/arm: Convert SHADD, UHADD to gvec target/arm: Convert SHADD, UHADD to decodetree target/arm: Convert SHSUB, UHSUB to gvec target/arm: Convert SHSUB, UHSUB to decodetree target/arm: Convert SRHADD, URHADD to gvec target/arm: Convert SRHADD, URHADD to decodetree target/arm: Convert SMAX, SMIN, UMAX, UMIN to decodetree target/arm: Convert SABA, SABD, UABA, UABD to decodetree target/arm: Convert MUL, PMUL to decodetree target/arm: Convert MLA, MLS to decodetree target/arm: Tidy SQDMULH, SQRDMULH (vector) target/arm: Convert SQDMULH, SQRDMULH to decodetree target/arm: Convert FMADD, FMSUB, FNMADD, FNMSUB to decodetree target/arm: Convert FCSEL to decodetree Sebastian Huber (4): hw/intc/arm_gic: Fix set pending of PPIs hw/intc/arm_gic: Fix writes to GICD_ITARGETSRn hw/arm/xilinx_zynq: Add cache controller hw/arm/xilinx_zynq: Support up to two CPU cores docs/system/arm/emulation.rst | 1 + docs/system/target-arm.rst | 6 +- include/hw/core/tcg-cpu-ops.h | 15 +- target/arm/cpu-features.h | 5 + target/arm/cpu.h | 3 + target/arm/helper.h | 97 ++- target/arm/internals.h | 8 + target/arm/tcg/translate-a64.h | 14 + target/arm/tcg/translate.h | 44 + target/i386/tcg/helper-tcg.h | 2 +- target/arm/tcg/a64.decode | 119 +++ target/arm/tcg/neon-dp.decode | 37 +- accel/tcg/cpu-exec.c | 7 +- hw/arm/sbsa-ref.c | 2 +- hw/arm/xilinx_zynq.c | 55 +- hw/intc/arm_gic.c | 12 +- hw/usb/hcd-ohci.c | 5 + target/arm/cpu.c | 40 + target/arm/cpu64.c | 6 +- target/arm/helper.c | 4 +- target/arm/machine.c | 20 + target/arm/tcg/cpu64.c | 1 + target/arm/tcg/gengvec.c | 689 ++++++++++++++- target/arm/tcg/gengvec64.c | 181 ++++ target/arm/tcg/neon_helper.c | 506 +++-------- target/arm/tcg/op_helper.c | 54 ++ target/arm/tcg/translate-a64.c | 1362 +++++++++++------------------- target/arm/tcg/translate-neon.c | 118 +-- target/arm/tcg/vec_helper.c | 128 +++ target/i386/tcg/sysemu/seg_helper.c | 3 +- hw/arm/Kconfig | 1 + hw/usb/trace-events | 1 + tests/avocado/machine_aarch64_sbsaref.py | 20 +- 33 files changed, 2034 insertions(+), 1532 deletions(-) . Date: Mon, 3 Jun 2024 17:37:23 +0900 From: Jeuk Kim To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: fam@euphon.net, pbonzini@redhat.com, qemu-block@nongnu.org, jeuk20.kim@samsung.com, j-young.choi@samsung.com, minwoo.im@samsung.com Subject: [PULL v2 0/2] ufs queue From: Jeuk Kim The following changes since commit 74abb45dac6979e7ff76172b7f0a24e869405184: Merge tag 'pull-target-arm-20240531' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-05-31 11:10:10 -0700) are available in the Git repository at: https://gitlab.com/jeuk20.kim/qemu.git tags/pull-ufs-20240603 for you to fetch changes up to 5c079578d2e46df626d13eeb629c7d761a5c4e44: hw/ufs: Add support MCQ of UFSHCI 4.0 (2024-06-03 16:20:42 +0900) ---------------------------------------------------------------- hw/ufs patches - Add support MCQ of UFSHCI 4.0 ---------------------------------------------------------------- Minwoo Im (2): hw/ufs: Update MCQ-related fields to block/ufs.h hw/ufs: Add support MCQ of UFSHCI 4.0 hw/ufs/trace-events | 17 ++ hw/ufs/ufs.c | 475 ++++++++++++++++++++++++++++++++++++++++++++++++++-- hw/ufs/ufs.h | 98 ++++++++++- include/block/ufs.h | 131 ++++++++++++++- 4 files changed, 699 insertions(+), 22 deletions(-) . Date: Mon, 3 Jun 2024 21:16:16 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL v2 00/27] riscv-to-apply queue The following changes since commit 74abb45dac6979e7ff76172b7f0a24e869405184: Merge tag 'pull-target-arm-20240531' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-05-31 11:10:10 -0700) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240603 for you to fetch changes up to 915758c537b5fe09575291f4acd87e2d377a93de: disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs (2024-06-03 11:12:12 +1000) ---------------------------------------------------------------- RISC-V PR for 9.1 * APLICs add child earlier than realize * Fix exposure of Zkr * Raise exceptions on wrs.nto * Implement SBI debug console (DBCN) calls for KVM * Support 64-bit addresses for initrd * Change RISCV_EXCP_SEMIHOST exception number to 63 * Tolerate KVM disable ext errors * Set tval in breakpoints * Add support for Zve32x extension * Add support for Zve64x extension * Relax vector register check in RISCV gdbstub * Fix the element agnostic Vector function problem * Fix Zvkb extension config * Implement dynamic establishment of custom decoder * Add th.sxstatus CSR emulation * Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions * Check single width operator for vector fp widen instructions * Check single width operator for vfncvt.rod.f.f.w * Remove redudant SEW checking for vector fp narrow/widen instructions * Prioritize pmp errors in raise_mmu_exception() * Do not set mtval2 for non guest-page faults * Remove experimental prefix from "B" extension * Fixup CBO extension register calculation * Fix the hart bit setting of AIA * Fix reg_width in ricsv_gen_dynamic_vector_feature() * Decode all of the pmpcfg and pmpaddr CSRs ---------------------------------------------------------------- Alexei Filippov (1): target/riscv: do not set mtval2 for non guest-page faults Alistair Francis (2): target/riscv: rvzicbo: Fixup CBO extension register calculation disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs Andrew Jones (2): target/riscv/kvm: Fix exposure of Zkr target/riscv: Raise exceptions on wrs.nto Cheng Yang (1): hw/riscv/boot.c: Support 64-bit address for initrd Christoph Müllner (1): riscv: thead: Add th.sxstatus CSR emulation Clément Léger (1): target/riscv: change RISCV_EXCP_SEMIHOST exception number to 63 Daniel Henrique Barboza (6): target/riscv/kvm: implement SBI debug console (DBCN) calls target/riscv/kvm: tolerate KVM disable ext errors target/riscv/debug: set tval=pc in breakpoint exceptions trans_privileged.c.inc: set (m|s)tval on ebreak breakpoint target/riscv: prioritize pmp errors in raise_mmu_exception() riscv, gdbstub.c: fix reg_width in ricsv_gen_dynamic_vector_feature() Huang Tao (2): target/riscv: Fix the element agnostic function problem target/riscv: Implement dynamic establishment of custom decoder Jason Chien (3): target/riscv: Add support for Zve32x extension target/riscv: Add support for Zve64x extension target/riscv: Relax vector register check in RISCV gdbstub Max Chou (4): target/riscv: rvv: Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions target/riscv: rvv: Check single width operator for vector fp widen instructions target/riscv: rvv: Check single width operator for vfncvt.rod.f.f.w target/riscv: rvv: Remove redudant SEW checking for vector fp narrow/widen instructions Rob Bradford (1): target/riscv: Remove experimental prefix from "B" extension Yangyu Chen (1): target/riscv/cpu.c: fix Zvkb extension config Yong-Xuan Wang (1): target/riscv/kvm.c: Fix the hart bit setting of AIA yang.zhang (1): hw/intc/riscv_aplic: APLICs should add child earlier than realize MAINTAINERS | 1 + target/riscv/cpu.h | 7 ++ target/riscv/cpu_bits.h | 2 +- target/riscv/cpu_cfg.h | 2 + target/riscv/helper.h | 1 + target/riscv/sbi_ecall_interface.h | 17 +++ target/riscv/tcg/tcg-cpu.h | 15 +++ disas/riscv.c | 65 +++++++++- hw/intc/riscv_aplic.c | 8 +- hw/riscv/boot.c | 4 +- target/riscv/cpu.c | 10 +- target/riscv/cpu_helper.c | 37 +++--- target/riscv/csr.c | 20 +++- target/riscv/debug.c | 3 + target/riscv/gdbstub.c | 8 +- target/riscv/kvm/kvm-cpu.c | 157 ++++++++++++++++++++++++- target/riscv/op_helper.c | 11 ++ target/riscv/tcg/tcg-cpu.c | 50 +++++--- target/riscv/th_csr.c | 79 +++++++++++++ target/riscv/translate.c | 31 +++-- target/riscv/vector_internals.c | 22 ++++ target/riscv/insn_trans/trans_privileged.c.inc | 2 + target/riscv/insn_trans/trans_rvv.c.inc | 46 +++++--- target/riscv/insn_trans/trans_rvzawrs.c.inc | 29 +++-- target/riscv/insn_trans/trans_rvzicbo.c.inc | 16 ++- target/riscv/meson.build | 1 + 26 files changed, 543 insertions(+), 101 deletions(-) create mode 100644 target/riscv/th_csr.c . Date: Mon, 3 Jun 2024 09:21:41 -0500 From: Eric Blake To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org Subject: [PULL v2 0/2] NBD patches for 2024-05-30 The following changes since commit 3b2fe44bb7f605f179e5e7feb2c13c2eb3abbb80: Merge tag 'pull-request-2024-05-29' of https://gitlab.com/thuth/qemu into staging (2024-05-29 08:38:20 -0700) are available in the Git repository at: https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2024-05-30-v2 for you to fetch changes up to a73c99378022ebb785481e84cfe1e81097546268: iotests: test NBD+TLS+iothread (2024-06-03 09:17:11 -0500) ---------------------------------------------------------------- NBD patches for 2024-05-30 - Fix AioContext assertion with NBD+TLS ---------------------------------------------------------------- Eric Blake (2): qio: Inherit follow_coroutine_ctx across TLS iotests: test NBD+TLS+iothread io/channel-tls.c | 26 ++-- io/channel-websock.c | 1 + tests/qemu-iotests/tests/nbd-tls-iothread | 168 ++++++++++++++++++++++++++ tests/qemu-iotests/tests/nbd-tls-iothread.out | 54 +++++++++ 4 files changed, 238 insertions(+), 11 deletions(-) create mode 100755 tests/qemu-iotests/tests/nbd-tls-iothread create mode 100644 tests/qemu-iotests/tests/nbd-tls-iothread.out -- 2.45.1 . Date: Tue, 4 Jun 2024 08:43:24 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/45] mostly i386 patches for 2024-06-04 The following changes since commit 3b2fe44bb7f605f179e5e7feb2c13c2eb3abbb80: Merge tag 'pull-request-2024-05-29' of https://gitlab.com/thuth/qemu into staging (2024-05-29 08:38:20 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to ba849076b6fc2290275ce7491547f6ae831cd2aa: hw/i386: Add support for loading BIOS using guest_memfd (2024-06-04 08:40:46 +0200) ---------------------------------------------------------------- * virtio-blk: remove SCSI passthrough functionality * require x86-64-v2 baseline ISA * SEV-SNP host support * fix xsave.flat with TCG * fixes for CPUID checks done by TCG ---------------------------------------------------------------- Brijesh Singh (6): i386/sev: Introduce 'sev-snp-guest' object i386/sev: Add the SNP launch start context i386/sev: Add handling to encrypt/finalize guest launch data hw/i386/sev: Add function to get SEV metadata from OVMF header i386/sev: Add support for populating OVMF metadata pages hw/i386/sev: Add support to encrypt BIOS when SEV-SNP is enabled Dov Murik (3): i386/sev: Extract build_kernel_loader_hashes i386/sev: Reorder struct declarations i386/sev: Allow measured direct kernel boot on SNP Michael Roth (11): i386/sev: Introduce "sev-common" type to encapsulate common SEV state i386/sev: Add a sev_snp_enabled() helper i386/cpu: Set SEV-SNP CPUID bit when SNP enabled i386/sev: Don't return launch measurements for SEV-SNP guests i386/sev: Update query-sev QAPI format to handle SEV-SNP i386/sev: Set CPU state to protected once SNP guest payload is finalized i386/sev: Add support for SNP CPUID validation i386/kvm: Add KVM_EXIT_HYPERCALL handling for KVM_HC_MAP_GPA_RANGE i386/sev: Enable KVM_HC_MAP_GPA_RANGE hcall for SNP guests hw/i386/sev: Use guest_memfd for legacy ROMs hw/i386: Add support for loading BIOS using guest_memfd Pankaj Gupta (7): linux-headers: Update to current kvm/next i386/sev: Replace error_report with error_setg i386/sev: Move sev_launch_update to separate class method i386/sev: Move sev_launch_finish to separate class method i386/sev: Add sev_kvm_init() override for SEV class i386/sev: Add snp_kvm_init() override for SNP class i386/sev: Invoke launch_updata_data() for SNP class Paolo Bonzini (14): virtio-blk: remove SCSI passthrough functionality host/i386: nothing looks at CPUINFO_SSE4 meson: assume x86-64-v2 baseline ISA host/i386: assume presence of CMOV host/i386: assume presence of SSE2 host/i386: assume presence of SSSE3 host/i386: assume presence of POPCNT target/i386: fix xsave.flat from kvm-unit-tests update-linux-headers: fix forwarding to asm-generic headers update-linux-headers: move pvpanic.h to correct directory update-linux-headers: import linux/kvm_para.h header machine: allow early use of machine_require_guest_memfd i386/sev: Add a class method to determine KVM VM type for SNP guests i386/sev: Invoke launch_updata_data() for SEV class Xiaoyao Li (1): memory: Introduce memory_region_init_ram_guest_memfd() Xinyu Li (2): target/i386: fix SSE and SSE2 feature check target/i386: fix memory opsize for Mov to/from Seg Zhao Liu (1): target/i386/tcg: Fix RDPID feature check docs/about/deprecated.rst | 10 - docs/about/removed-features.rst | 8 + docs/system/i386/amd-memory-encryption.rst | 70 +- meson.build | 10 +- qapi/misc-target.json | 72 +- qapi/qom.json | 98 +- host/include/i386/host/cpuinfo.h | 4 - include/exec/confidential-guest-support.h | 5 + include/exec/memory.h | 6 + include/hw/boards.h | 1 - include/hw/i386/pc.h | 28 + include/hw/i386/x86.h | 2 +- include/standard-headers/linux/kvm_para.h | 38 + include/standard-headers/{linux => misc}/pvpanic.h | 0 linux-headers/asm-loongarch/kvm.h | 4 + linux-headers/asm-riscv/kvm.h | 1 + linux-headers/asm-x86/kvm.h | 52 +- linux-headers/asm-x86/kvm_para.h | 1 + linux-headers/linux/kvm_para.h | 2 + linux-headers/linux/vhost.h | 15 +- target/i386/kvm/kvm_i386.h | 1 + target/i386/sev.h | 13 +- target/i386/tcg/decode-new.h | 3 + tcg/i386/tcg-target.h | 5 +- hw/block/virtio-blk.c | 166 +- hw/core/machine.c | 4 +- hw/i386/pc.c | 14 +- hw/i386/pc_sysfw.c | 35 +- hw/i386/x86-common.c | 19 +- hw/misc/pvpanic-isa.c | 2 +- hw/misc/pvpanic-pci.c | 2 +- hw/misc/pvpanic.c | 2 +- system/memory.c | 24 + target/i386/cpu.c | 1 + target/i386/kvm/kvm.c | 56 + target/i386/sev-sysemu-stub.c | 6 +- target/i386/sev.c | 1581 +++++++++++++++----- target/i386/tcg/fpu_helper.c | 5 + target/i386/tcg/translate.c | 2 +- util/bufferiszero.c | 4 +- util/cpuinfo-i386.c | 8 +- target/i386/tcg/decode-new.c.inc | 17 +- tcg/i386/tcg-target.c.inc | 15 +- scripts/update-linux-headers.sh | 37 +- target/i386/kvm/trace-events | 1 + target/i386/trace-events | 3 + 46 files changed, 1844 insertions(+), 609 deletions(-) create mode 100644 include/standard-headers/linux/kvm_para.h rename include/standard-headers/{linux => misc}/pvpanic.h (100%) create mode 100644 linux-headers/asm-x86/kvm_para.h create mode 100644 linux-headers/linux/kvm_para.h -- 2.45.1 . Date: Tue, 4 Jun 2024 15:37:35 +0800 From: Jason Wang To: peter.maydell@linaro.org, qemu-devel@nongnu.org Cc: Jason Wang Subject: [PULL 00/20] Net patches The following changes since commit 3ab42e46acf867c45bc929fcc37693e327a35a24: Merge tag 'pull-ufs-20240603' of https://gitlab.com/jeuk20.kim/qemu into staging (2024-06-03 08:18:14 -0500) are available in the Git repository at: https://github.com/jasowang/qemu.git tags/net-pull-request for you to fetch changes up to dcab53611191f50cf4feabc1d8794d04afe53407: ebpf: Added traces back. Changed source set for eBPF to 'system'. (2024-06-04 15:14:26 +0800) ---------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEIV1G9IJGaJ7HfzVi7wSWWzmNYhEFAmZewo4ACgkQ7wSWWzmN YhHhxgf/ZaECxru4fP8wi34XdSG/PR+BF+W5M9gZIRGrHg3vIf3/LRTpZTDccbRN Qpwtypr9O6/AWG9Os80rn7alsmMDxN8PDDNLa9T3wf5pJUQSyQ87Yy0MiuTNPSKD HKYUIfIlbFCM5WUW4huMmg98gKTgnzZMqOoRyMFZitbkR59qCm+Exws4HtXvCH68 3k4lgvnFccmzO9iIzaOUIPs+Yf04Kw/FrY0Q/6nypvqbF2W80Md6w02JMQuTLwdF Guxeg/n6g0NLvCBbkjiM2VWfTaWJYbwFSwRTAMxM/geqh7qAgGsmD0N5lPlgqRDy uAy2GvFyrwzcD0lYqf0/fRK0Go0HPA== =J70K -----END PGP SIGNATURE----- ---------------------------------------------------------------- Akihiko Odaki (18): tap: Remove tap_probe_vnet_hdr_len() tap: Remove qemu_using_vnet_hdr() net: Move virtio-net header length assertion net: Remove receive_raw() tap: Call tap_receive_iov() from tap_receive() tap: Shrink zeroed virtio-net header virtio-net: Do not propagate ebpf-rss-fds errors virtio-net: Add only one queue pair when realizing virtio-net: Copy header only when necessary virtio-net: Shrink header byte swapping buffer virtio-net: Disable RSS on reset virtio-net: Unify the logic to update NIC state for RSS virtio-net: Always set populate_hash virtio-net: Do not write hashes to peer buffer ebpf: Fix RSS error handling ebpf: Return 0 when configuration fails ebpf: Refactor tun_rss_steering_prog() ebpf: Add a separate target for skeleton Alexey Dobriyan (1): virtio-net: drop too short packets early Andrew Melnychenko (1): ebpf: Added traces back. Changed source set for eBPF to 'system'. ebpf/ebpf_rss.c | 7 + ebpf/rss.bpf.skeleton.h | 1558 +++++++++++++++++++++++----------------------- ebpf/trace.h | 1 + hw/net/e1000e.c | 1 - hw/net/igb.c | 1 - hw/net/net_tx_pkt.c | 4 +- hw/net/virtio-net.c | 282 ++++----- hw/net/vmxnet3.c | 2 - include/net/net.h | 8 - net/dump.c | 4 +- net/net.c | 47 +- net/netmap.c | 5 - net/tap-bsd.c | 5 - net/tap-linux.c | 20 - net/tap-solaris.c | 5 - net/tap-stub.c | 5 - net/tap.c | 77 +-- net/tap_int.h | 1 - tools/ebpf/Makefile.ebpf | 15 +- tools/ebpf/rss.bpf.c | 44 +- 20 files changed, 968 insertions(+), 1124 deletions(-) create mode 100644 ebpf/trace.h . Date: Tue, 4 Jun 2024 11:55:36 +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/32] Misc HW / accel patches The following changes since commit 3ab42e46acf867c45bc929fcc37693e327a35a24: Merge tag 'pull-ufs-20240603' of https://gitlab.com/jeuk20.kim/qemu into staging (2024-06-03 08:18:14 -0500) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-accel-20240604 for you to fetch changes up to 7c2397643c1e025c157bab95088b3b480f0d98ae: usb: add config options for the hub and hid devices (2024-06-04 11:53:43 +0200) Following checkpatch.pl error ignored: ERROR: suspect code indent for conditional statements (7, 10) #95: FILE: disas/microblaze.c:718: if ( ((((instr & IMM_MASK) >> IMM_LOW) ^ op->immval_mask) & 0xE000) == REG_PVR_MASK) { + snprintf(tmpstr, sizeof(tmpstr), "%s%u", pvr_register_prefix, total: 1 errors, 0 warnings, 79 lines checked ---------------------------------------------------------------- Misc HW & accelerators patch queue - Use async exit in debugexit model (Thomas) - Fixed bug reading xlnx_dpdma descriptor (Peter) - Initialise plugin state before vCPU/thread creation (Alex) - Few sprintf() calls removed (Richard & Philippe) - Few deprecated QMP events removed (Philippe) - Housekeeping in Xen (Edgar & Philippe) - Split USB HID/HUB & update MAINTAINERS (Gerd) ---------------------------------------------------------------- Alex Bennée (5): hw/core: expand on the alignment of CPUState cpu: move Qemu[Thread|Cond] setup into common code cpu-target: don't set cpu->thread_id to bogus value plugins: remove special casing for cpu->realized core/cpu-common: initialise plugin state before thread creation Edgar E. Iglesias (3): xen: Add xen_mr_is_memory() physmem: Always pass offset + addr to xen_map_cache physmem: Replace check for RAMBlock offset 0 with xen_mr_is_memory Gerd Hoffmann (2): MAINTAINERS: drop usb maintainership usb: add config options for the hub and hid devices Peter Maydell (2): accel/kvm: Fix two lines with hard-coded tabs hw/dma/xlnx_dpdma: Read descriptor into buffer, not into pointer-to-buffer Philippe Mathieu-Daudé (16): target/riscv: Remove unused 'instmap.h' header in translate.c target/riscv: Restrict 'rv128' machine to TCG accelerator target/riscv: Restrict riscv_cpu_do_interrupt() to sysemu target/mips: Remove unused 'hw/misc/mips_itu.h' header target/arm: Replace sprintf() by snprintf() disas/m68k: Replace sprintf() by snprintf() disas/microblaze: Replace sprintf() by snprintf() system/runstate: Remove unused 'qemu/plugin.h' header accel/tcg: Move common declarations to 'internal-common.h' hw/xen: Constify XenLegacyDevice::XenDevOps hw/xen: Constify xenstore_be::XenDevOps hw/xen: Make XenDevOps structures const hw/xen: Register framebuffer backend via xen_backend_init() hw/acpi: Remove the deprecated QAPI MEM_UNPLUG_ERROR event trace: Remove deprecated 'vcpu' field from QMP trace events qga: Remove deprecated 'blacklist' argument / config key Richard Henderson (3): target/i386/kvm: Improve KVM_EXIT_NOTIFY warnings util/hexdump: Remove b parameter from qemu_hexdump_line util/hexdump: Remove ascii parameter from qemu_hexdump_line Thomas Weißschuh (1): hw/misc/debugexit: use runstate API instead of plain exit() MAINTAINERS | 4 +- docs/about/deprecated.rst | 34 ----------------- docs/about/removed-features.rst | 33 ++++++++++++++++ qapi/machine.json | 28 -------------- qapi/trace.json | 27 ++----------- accel/tcg/internal-common.h | 15 ++++++++ accel/tcg/internal-target.h | 14 ------- include/hw/core/cpu.h | 18 +++++++-- include/hw/xen/xen-legacy-backend.h | 5 +-- include/hw/xen/xen_pvdev.h | 2 +- include/qemu/cutils.h | 3 +- include/sysemu/xen.h | 1 + target/riscv/cpu.h | 5 ++- accel/dummy-cpus.c | 3 -- accel/hvf/hvf-accel-ops.c | 4 -- accel/kvm/kvm-accel-ops.c | 3 -- accel/kvm/kvm-all.c | 4 +- accel/tcg/tcg-accel-ops-mttcg.c | 4 -- accel/tcg/tcg-accel-ops-rr.c | 14 +++---- accel/tcg/tcg-all.c | 2 +- cpu-target.c | 1 - disas/m68k.c | 2 +- disas/microblaze.c | 25 +++++++----- hw/9pfs/xen-9p-backend.c | 2 +- hw/acpi/memory_hotplug.c | 8 ---- hw/core/cpu-common.c | 25 ++++++++---- hw/display/xenfb.c | 13 +++++-- hw/dma/xlnx_dpdma.c | 2 +- hw/misc/debugexit.c | 4 +- hw/ppc/spapr.c | 11 +----- hw/usb/xen-usb.c | 2 +- hw/virtio/vhost-vdpa.c | 4 +- hw/xen/xen-hvm-common.c | 10 ++++- hw/xen/xen-legacy-backend.c | 8 ++-- hw/xenpv/xen_machine_pv.c | 2 - plugins/core.c | 6 +-- qga/main.c | 6 --- system/physmem.c | 5 ++- system/runstate.c | 1 - target/arm/cpu64.c | 4 +- target/i386/kvm/kvm.c | 11 +++--- target/i386/nvmm/nvmm-accel-ops.c | 3 -- target/i386/whpx/whpx-accel-ops.c | 3 -- target/mips/tcg/sysemu/cp0_helper.c | 1 - target/riscv/cpu.c | 10 ++++- target/riscv/cpu_helper.c | 7 +--- target/riscv/translate.c | 1 - trace/qmp.c | 2 - trace/trace-hmp-cmds.c | 4 +- util/hexdump.c | 59 ++++++++++++++++------------- hw/usb/Kconfig | 10 +++++ hw/usb/meson.build | 4 +- hw/virtio/trace-events | 2 +- 53 files changed, 216 insertions(+), 265 deletions(-) -- 2.41.0 . Date: Tue, 4 Jun 2024 15:05:58 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/46] virtio: features,fixes The following changes since commit 60b54b67c63d8f076152e0f7dccf39854dfc6a77: Merge tag 'pull-lu-20240526' of https://gitlab.com/rth7680/qemu into staging (2024-05-26 17:51:00 -0700) 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 bfcacf81d63a3d95f128bce3faf3564e7f98ea8b: hw/cxl: Fix read from bogus memory (2024-06-04 15:05:03 -0400) ---------------------------------------------------------------- virtio: features,fixes A bunch of improvements: - vhost dirty log is now only scanned once, not once per device - virtio and vhost now support VIRTIO_F_NOTIFICATION_DATA - cxl gained DCD emulation support - pvpanic gained shutdown support - acpi now supports Generic Port Affinity Structure - new tests - bugfixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Alejandro Jimenez (1): pvpanic: Emit GUEST_PVSHUTDOWN QMP event on pvpanic shutdown signal Christian Pötzsch (1): Fix vhost user assertion when sending more than one fd Cindy Lu (2): virtio-pci: Fix the use of an uninitialized irqfd. virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one() Fan Ni (12): hw/cxl/cxl-mailbox-utils: Add dc_event_log_size field to output payload of identify memory device command hw/cxl/cxl-mailbox-utils: Add dynamic capacity region representative and mailbox command support include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices hw/mem/cxl_type3: Add support to create DC regions to type3 memory devices hw/mem/cxl-type3: Refactor ct3_build_cdat_entries_for_mr to take mr size instead of mr as argument hw/mem/cxl_type3: Add host backend and address space handling for DC regions hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support hw/cxl/cxl-mailbox-utils: Add mailbox commands to support add/release dynamic capacity response hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support hw/mem/cxl_type3: Allow to release extent superset in QMP interface Gregory Price (2): hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference hw/cxl/mailbox: interface to add CCI commands to an existing CCI Halil Pasic (1): vhost-vsock: add VIRTIO_F_RING_PACKED to feature_bits Ira Weiny (1): hw/cxl: Fix read from bogus memory Jiqian Chen (1): virtio-pci: only reset pm state during resetting Jonah Palmer (5): virtio/virtio-pci: Handle extra notification data virtio: Prevent creation of device using notification-data with ioeventfd virtio-mmio: Handle extra notification data virtio-ccw: Handle extra notification data vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits Jonathan Cameron (6): hw/acpi/GI: Fix trivial parameter alignment issue. hw/acpi: Insert an acpi-generic-node base under acpi-generic-initiator hw/acpi: Generic Port Affinity Structure support bios-tables-test: Allow for new acpihmat-generic-x test data. bios-tables-test: Add complex SRAT / HMAT test for GI GP bios-tables-test: Add data for complex numa test (GI, GP etc) Li Feng (2): Revert "vhost-user: fix lost reconnect" vhost-user: fix lost reconnect again Marc-André Lureau (1): vhost-user-gpu: fix import of DMABUF Si-Wei Liu (2): vhost: dirty log should be per backend type vhost: Perform memory section dirty scans once per iteration Stefano Garzarella (1): vhost-vdpa: check vhost_vdpa_set_vring_ready() return value Thomas Weißschuh (7): scripts/update-linux-headers: Copy setup_data.h to correct directory linux-headers: update to 6.10-rc1 hw/misc/pvpanic: centralize definition of supported events tests/qtest/pvpanic: use centralized definition of supported events hw/misc/pvpanic: add support for normal shutdowns tests/qtest/pvpanic: add tests for pvshutdown event Revert "docs/specs/pvpanic: mark shutdown event as not implemented" Wafer (1): hw/virtio: Fix obtain the buffer id from the last descriptor qapi/cxl.json | 143 ++++++ qapi/qom.json | 35 ++ qapi/run-state.json | 14 + include/hw/acpi/acpi_generic_initiator.h | 33 +- include/hw/cxl/cxl_device.h | 85 +++- include/hw/cxl/cxl_events.h | 18 + include/hw/misc/pvpanic.h | 6 + include/hw/pci/pci_bridge.h | 1 + include/hw/virtio/vhost-user.h | 3 +- include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio.h | 2 + include/standard-headers/linux/ethtool.h | 55 +++ include/standard-headers/linux/pci_regs.h | 6 + include/standard-headers/linux/pvpanic.h | 7 +- include/standard-headers/linux/virtio_bt.h | 1 - include/standard-headers/linux/virtio_mem.h | 2 + include/standard-headers/linux/virtio_net.h | 143 ++++++ include/sysemu/runstate.h | 1 + linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-loongarch/kvm.h | 4 + linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-riscv/kvm.h | 1 + linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/kvm.h | 4 +- linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 2 + linux-headers/linux/kvm.h | 4 +- linux-headers/linux/stddef.h | 8 + linux-headers/linux/vhost.h | 15 +- hw/acpi/acpi_generic_initiator.c | 209 ++++++--- hw/block/vhost-user-blk.c | 6 +- hw/cxl/cxl-mailbox-utils.c | 658 +++++++++++++++++++++++++++- hw/display/vhost-user-gpu.c | 5 +- hw/mem/cxl_type3.c | 637 +++++++++++++++++++++++++-- hw/mem/cxl_type3_stubs.c | 25 ++ hw/misc/pvpanic-isa.c | 3 +- hw/misc/pvpanic-pci.c | 3 +- hw/misc/pvpanic.c | 8 +- hw/net/vhost_net.c | 2 + hw/pci-bridge/pci_expander_bridge.c | 1 - hw/s390x/s390-virtio-ccw.c | 17 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 7 +- hw/virtio/vhost-user-base.c | 5 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/vhost-user.c | 18 +- hw/virtio/vhost-vsock-common.c | 1 + hw/virtio/vhost.c | 112 ++++- hw/virtio/virtio-mmio.c | 11 +- hw/virtio/virtio-pci.c | 45 +- hw/virtio/virtio.c | 45 ++ net/vhost-vdpa.c | 16 +- subprojects/libvhost-user/libvhost-user.c | 2 +- system/runstate.c | 6 + tests/qtest/bios-tables-test.c | 92 ++++ tests/qtest/pvpanic-pci-test.c | 44 +- tests/qtest/pvpanic-test.c | 34 +- docs/specs/pvpanic.rst | 2 +- scripts/update-linux-headers.sh | 2 +- tests/data/acpi/q35/APIC.acpihmat-generic-x | Bin 0 -> 136 bytes tests/data/acpi/q35/CEDT.acpihmat-generic-x | Bin 0 -> 68 bytes tests/data/acpi/q35/DSDT.acpihmat-generic-x | Bin 0 -> 10400 bytes tests/data/acpi/q35/HMAT.acpihmat-generic-x | Bin 0 -> 360 bytes tests/data/acpi/q35/SRAT.acpihmat-generic-x | Bin 0 -> 520 bytes 71 files changed, 2407 insertions(+), 221 deletions(-) create mode 100644 tests/data/acpi/q35/APIC.acpihmat-generic-x create mode 100644 tests/data/acpi/q35/CEDT.acpihmat-generic-x create mode 100644 tests/data/acpi/q35/DSDT.acpihmat-generic-x create mode 100644 tests/data/acpi/q35/HMAT.acpihmat-generic-x create mode 100644 tests/data/acpi/q35/SRAT.acpihmat-generic-x . Date: Wed, 5 Jun 2024 11:02:27 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/46] mostly i386 patches for 2024-06-04 The following changes since commit 3ab42e46acf867c45bc929fcc37693e327a35a24: Merge tag 'pull-ufs-20240603' of https://gitlab.com/jeuk20.kim/qemu into staging (2024-06-03 08:18:14 -0500) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to fc7a69e177e4ba26d11fcf47b853f85115b35a11: hw/i386: Add support for loading BIOS using guest_memfd (2024-06-04 16:44:23 +0200) ---------------------------------------------------------------- * virtio-blk: remove SCSI passthrough functionality * require x86-64-v2 baseline ISA * SEV-SNP host support * fix xsave.flat with TCG * fixes for CPUID checks done by TCG ---------------------------------------------------------------- Brijesh Singh (6): i386/sev: Introduce 'sev-snp-guest' object i386/sev: Add the SNP launch start context i386/sev: Add handling to encrypt/finalize guest launch data hw/i386/sev: Add function to get SEV metadata from OVMF header i386/sev: Add support for populating OVMF metadata pages hw/i386/sev: Add support to encrypt BIOS when SEV-SNP is enabled Dov Murik (3): i386/sev: Extract build_kernel_loader_hashes i386/sev: Reorder struct declarations i386/sev: Allow measured direct kernel boot on SNP Michael Roth (11): i386/sev: Introduce "sev-common" type to encapsulate common SEV state i386/sev: Add a sev_snp_enabled() helper i386/cpu: Set SEV-SNP CPUID bit when SNP enabled i386/sev: Don't return launch measurements for SEV-SNP guests i386/sev: Update query-sev QAPI format to handle SEV-SNP i386/sev: Set CPU state to protected once SNP guest payload is finalized i386/sev: Add support for SNP CPUID validation i386/kvm: Add KVM_EXIT_HYPERCALL handling for KVM_HC_MAP_GPA_RANGE i386/sev: Enable KVM_HC_MAP_GPA_RANGE hcall for SNP guests hw/i386/sev: Use guest_memfd for legacy ROMs hw/i386: Add support for loading BIOS using guest_memfd Pankaj Gupta (7): linux-headers: Update to current kvm/next i386/sev: Replace error_report with error_setg i386/sev: Move sev_launch_update to separate class method i386/sev: Move sev_launch_finish to separate class method i386/sev: Add sev_kvm_init() override for SEV class i386/sev: Add snp_kvm_init() override for SNP class i386/sev: Invoke launch_updata_data() for SNP class Paolo Bonzini (15): docs, tests: do not specify scsi=off virtio-blk: remove SCSI passthrough functionality host/i386: nothing looks at CPUINFO_SSE4 meson: assume x86-64-v2 baseline ISA host/i386: assume presence of CMOV host/i386: assume presence of SSE2 host/i386: assume presence of SSSE3 host/i386: assume presence of POPCNT target/i386: fix xsave.flat from kvm-unit-tests update-linux-headers: fix forwarding to asm-generic headers update-linux-headers: move pvpanic.h to correct directory update-linux-headers: import linux/kvm_para.h header machine: allow early use of machine_require_guest_memfd i386/sev: Add a class method to determine KVM VM type for SNP guests i386/sev: Invoke launch_updata_data() for SEV class Xiaoyao Li (1): memory: Introduce memory_region_init_ram_guest_memfd() Xinyu Li (2): target/i386: fix SSE and SSE2 feature check target/i386: fix memory opsize for Mov to/from Seg Zhao Liu (1): target/i386/tcg: Fix RDPID feature check docs/about/deprecated.rst | 10 - docs/about/removed-features.rst | 8 + docs/pci_expander_bridge.txt | 2 +- docs/specs/tpm.rst | 2 +- docs/system/i386/amd-memory-encryption.rst | 70 +- meson.build | 10 +- qapi/misc-target.json | 72 +- qapi/qom.json | 98 +- host/include/i386/host/cpuinfo.h | 4 - include/exec/confidential-guest-support.h | 5 + include/exec/memory.h | 6 + include/hw/boards.h | 1 - include/hw/i386/pc.h | 28 + include/hw/i386/x86.h | 2 +- include/standard-headers/linux/kvm_para.h | 38 + include/standard-headers/{linux => misc}/pvpanic.h | 0 linux-headers/asm-loongarch/kvm.h | 4 + linux-headers/asm-riscv/kvm.h | 1 + linux-headers/asm-x86/kvm.h | 52 +- linux-headers/asm-x86/kvm_para.h | 1 + linux-headers/linux/kvm_para.h | 2 + linux-headers/linux/vhost.h | 15 +- target/i386/kvm/kvm_i386.h | 1 + target/i386/sev.h | 13 +- target/i386/tcg/decode-new.h | 3 + tcg/i386/tcg-target.h | 5 +- hw/block/virtio-blk.c | 166 +- hw/core/machine.c | 4 +- hw/i386/pc.c | 14 +- hw/i386/pc_sysfw.c | 35 +- hw/i386/x86-common.c | 19 +- hw/misc/pvpanic-isa.c | 2 +- hw/misc/pvpanic-pci.c | 2 +- hw/misc/pvpanic.c | 2 +- system/memory.c | 24 + target/i386/cpu.c | 1 + target/i386/kvm/kvm.c | 56 + target/i386/sev-sysemu-stub.c | 6 +- target/i386/sev.c | 1581 +++++++++++++++----- target/i386/tcg/fpu_helper.c | 5 + target/i386/tcg/translate.c | 2 +- util/bufferiszero.c | 4 +- util/cpuinfo-i386.c | 8 +- target/i386/tcg/decode-new.c.inc | 17 +- tcg/i386/tcg-target.c.inc | 15 +- scripts/update-linux-headers.sh | 37 +- target/i386/kvm/trace-events | 1 + target/i386/trace-events | 3 + tests/avocado/intel_iommu.py | 2 +- tests/avocado/smmu.py | 2 +- tests/avocado/tuxrun_baselines.py | 2 +- 51 files changed, 1849 insertions(+), 614 deletions(-) create mode 100644 include/standard-headers/linux/kvm_para.h rename include/standard-headers/{linux => misc}/pvpanic.h (100%) create mode 100644 linux-headers/asm-x86/kvm_para.h create mode 100644 linux-headers/linux/kvm_para.h -- 2.45.1 . Date: Wed, 5 Jun 2024 10:22:15 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/38] sparc + linux-user patch queue The following changes since commit d16cab541ab9217977e2a39abf3d79f914146741: Merge tag 'hw-misc-accel-20240604' of https://github.com/philmd/qemu into staging (2024-06-04 14:53:05 -0500) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-sp-20240605 for you to fetch changes up to b12b72274320ce3ee516d963efd48766163cb240: target/sparc: Enable VIS4 feature bit (2024-06-05 09:11:17 -0700) ---------------------------------------------------------------- target/sparc: Implement FMAF, IMA, VIS3 and VIS4 extensions linux-user: Add ioctl for BLKBSZSET ---------------------------------------------------------------- Michael Vogt (1): linux-user: Add ioctl for BLKBSZSET Richard Henderson (37): target/sparc: Fix ARRAY8 target/sparc: Rewrite gen_edge target/sparc: Fix do_dc target/sparc: Fix helper_fmul8ulx16 target/sparc: Perform DFPREG/QFPREG in decodetree target/sparc: Remove gen_dest_fpr_D target/sparc: Remove cpu_fpr[] target/sparc: Use gvec for VIS1 parallel add/sub target/sparc: Implement FMAf extension target/sparc: Add feature bits for VIS 3 target/sparc: Implement ADDXC, ADDXCcc target/sparc: Implement CMASK instructions target/sparc: Implement FCHKSM16 target/sparc: Implement FHADD, FHSUB, FNHADD, FNADD, FNMUL target/sparc: Implement FLCMP target/sparc: Implement FMEAN16 target/sparc: Implement FPADD64, FPSUB64 target/sparc: Implement FPADDS, FPSUBS target/sparc: Implement FPCMPEQ8, FPCMPNE8, FPCMPULE8, FPCMPUGT8 target/sparc: Implement FSLL, FSRL, FSRA, FSLAS target/sparc: Implement LDXEFSR target/sparc: Implement LZCNT target/sparc: Implement MOVsTOw, MOVdTOx, MOVwTOs, MOVxTOd target/sparc: Implement PDISTN target/sparc: Implement UMULXHI target/sparc: Implement XMULX target/sparc: Enable VIS3 feature bit target/sparc: Implement IMA extension target/sparc: Add feature bit for VIS4 target/sparc: Implement FALIGNDATAi target/sparc: Implement 8-bit FPADD, FPADDS, and FPADDUS target/sparc: Implement VIS4 comparisons target/sparc: Implement FPMIN, FPMAX target/sparc: Implement SUBXC, SUBXCcc target/sparc: Implement MWAIT target/sparc: Implement monitor ASIs target/sparc: Enable VIS4 feature bit linux-user/ioctls.h | 1 + target/sparc/asi.h | 4 + target/sparc/helper.h | 27 +- target/sparc/cpu-feature.h.inc | 4 + target/sparc/insns.decode | 338 +++++++++++---- linux-user/elfload.c | 3 + target/sparc/cpu.c | 12 + target/sparc/fop_helper.c | 136 ++++++ target/sparc/ldst_helper.c | 4 + target/sparc/translate.c | 942 +++++++++++++++++++++++++++++++++-------- target/sparc/vis_helper.c | 392 ++++++++++++++--- fpu/softfloat-specialize.c.inc | 31 ++ 12 files changed, 1563 insertions(+), 331 deletions(-) . Date: Wed, 5 Jun 2024 14:15:05 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/16] sprintf fixes The following changes since commit f1572ab94738bd5787b7badcd4bd93a3657f0680: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-05 07:45:23 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-misc-20240605 for you to fetch changes up to b89fb575fd467ed5dfde4608d51c47c2aa427f30: disas/riscv: Use GString in format_inst (2024-06-05 12:29:54 -0700) ---------------------------------------------------------------- util/hexdump: Use a GString for qemu_hexdump_line. system/qtest: Replace sprintf by qemu_hexdump_line hw/scsi/scsi-disk: Use qemu_hexdump_line to avoid sprintf hw/ide/atapi: Use qemu_hexdump_line to avoid sprintf hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf disas/microblaze: Reorg to avoid intermediate sprintf disas/riscv: Use GString in format_inst ---------------------------------------------------------------- Philippe Mathieu-Daudé (5): hw/mips/malta: Add re-usable rng_seed_hex_new() method system/qtest: Replace sprintf by qemu_hexdump_line hw/scsi/scsi-disk: Use qemu_hexdump_line to avoid sprintf hw/ide/atapi: Use qemu_hexdump_line to avoid sprintf hw/dma/pl330: Use qemu_hexdump_line to avoid sprintf Richard Henderson (11): util/hexdump: Use a GString for qemu_hexdump_line util/hexdump: Add unit_len and block_len to qemu_hexdump_line util/hexdump: Inline g_string_append_printf "%02x" disas/microblaze: Split out print_immval_addr disas/microblaze: Re-indent print_insn_microblaze disas/microblaze: Merge op->name output into each fprintf disas/microblaze: Print registers directly with PRIreg disas/microblaze: Print immediates directly with PRIimm disas/microblaze: Print registers directly with PRIrfsl disas/microblaze: Split get_field_special disas/riscv: Use GString in format_inst include/qemu/cutils.h | 19 +- disas/microblaze.c | 551 +++++++++++++++++++++---------------------------- disas/riscv.c | 209 +++++++++---------- hw/dma/pl330.c | 23 +-- hw/ide/atapi.c | 12 +- hw/mips/malta.c | 25 +-- hw/scsi/scsi-disk.c | 13 +- hw/virtio/vhost-vdpa.c | 14 +- system/qtest.c | 12 +- util/hexdump.c | 57 +++-- 10 files changed, 418 insertions(+), 517 deletions(-) . Date: Wed, 5 Jun 2024 19:34:38 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v3 00/41] virtio: features,fixes Dropped acpi patches that had endian-ness issues. The following changes since commit 60b54b67c63d8f076152e0f7dccf39854dfc6a77: Merge tag 'pull-lu-20240526' of https://gitlab.com/rth7680/qemu into staging (2024-05-26 17:51:00 -0700) 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 d23bc95d390a1800198c92a0177240d9e1a1eb66: hw/cxl: Fix read from bogus memory (2024-06-05 19:33:01 -0400) ---------------------------------------------------------------- virtio: features,fixes A bunch of improvements: - vhost dirty log is now only scanned once, not once per device - virtio and vhost now support VIRTIO_F_NOTIFICATION_DATA - cxl gained DCD emulation support - pvpanic gained shutdown support - beginning of patchset for Generic Port Affinity Structure - new tests - bugfixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Alejandro Jimenez (1): pvpanic: Emit GUEST_PVSHUTDOWN QMP event on pvpanic shutdown signal Christian Pötzsch (1): Fix vhost user assertion when sending more than one fd Cindy Lu (1): virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one() Fan Ni (12): hw/cxl/cxl-mailbox-utils: Add dc_event_log_size field to output payload of identify memory device command hw/cxl/cxl-mailbox-utils: Add dynamic capacity region representative and mailbox command support include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices hw/mem/cxl_type3: Add support to create DC regions to type3 memory devices hw/mem/cxl-type3: Refactor ct3_build_cdat_entries_for_mr to take mr size instead of mr as argument hw/mem/cxl_type3: Add host backend and address space handling for DC regions hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support hw/cxl/cxl-mailbox-utils: Add mailbox commands to support add/release dynamic capacity response hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support hw/mem/cxl_type3: Allow to release extent superset in QMP interface Gregory Price (2): hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference hw/cxl/mailbox: interface to add CCI commands to an existing CCI Halil Pasic (1): vhost-vsock: add VIRTIO_F_RING_PACKED to feature_bits Ira Weiny (1): hw/cxl: Fix read from bogus memory Jiqian Chen (1): virtio-pci: only reset pm state during resetting Jonah Palmer (5): virtio/virtio-pci: Handle extra notification data virtio: Prevent creation of device using notification-data with ioeventfd virtio-mmio: Handle extra notification data virtio-ccw: Handle extra notification data vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits Jonathan Cameron (2): hw/acpi/GI: Fix trivial parameter alignment issue. hw/acpi: Insert an acpi-generic-node base under acpi-generic-initiator Li Feng (2): Revert "vhost-user: fix lost reconnect" vhost-user: fix lost reconnect again Marc-André Lureau (1): vhost-user-gpu: fix import of DMABUF Si-Wei Liu (2): vhost: dirty log should be per backend type vhost: Perform memory section dirty scans once per iteration Stefano Garzarella (1): vhost-vdpa: check vhost_vdpa_set_vring_ready() return value Thomas Weißschuh (7): scripts/update-linux-headers: Copy setup_data.h to correct directory linux-headers: update to 6.10-rc1 hw/misc/pvpanic: centralize definition of supported events tests/qtest/pvpanic: use centralized definition of supported events hw/misc/pvpanic: add support for normal shutdowns tests/qtest/pvpanic: add tests for pvshutdown event Revert "docs/specs/pvpanic: mark shutdown event as not implemented" Wafer (1): hw/virtio: Fix obtain the buffer id from the last descriptor qapi/cxl.json | 143 ++++++ qapi/run-state.json | 14 + include/hw/acpi/acpi_generic_initiator.h | 15 +- include/hw/cxl/cxl_device.h | 85 +++- include/hw/cxl/cxl_events.h | 18 + include/hw/misc/pvpanic.h | 6 + include/hw/virtio/vhost-user.h | 3 +- include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio.h | 2 + include/standard-headers/linux/ethtool.h | 55 +++ include/standard-headers/linux/pci_regs.h | 6 + include/standard-headers/linux/pvpanic.h | 7 +- include/standard-headers/linux/virtio_bt.h | 1 - include/standard-headers/linux/virtio_mem.h | 2 + include/standard-headers/linux/virtio_net.h | 143 ++++++ include/sysemu/runstate.h | 1 + linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-loongarch/kvm.h | 4 + linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-riscv/kvm.h | 1 + linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/kvm.h | 4 +- linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 2 + linux-headers/linux/kvm.h | 4 +- linux-headers/linux/stddef.h | 8 + linux-headers/linux/vhost.h | 15 +- hw/acpi/acpi_generic_initiator.c | 82 ++-- hw/block/vhost-user-blk.c | 6 +- hw/cxl/cxl-mailbox-utils.c | 658 +++++++++++++++++++++++++++- hw/display/vhost-user-gpu.c | 5 +- hw/mem/cxl_type3.c | 637 +++++++++++++++++++++++++-- hw/mem/cxl_type3_stubs.c | 25 ++ hw/misc/pvpanic-isa.c | 3 +- hw/misc/pvpanic-pci.c | 3 +- hw/misc/pvpanic.c | 8 +- hw/net/vhost_net.c | 2 + hw/s390x/s390-virtio-ccw.c | 17 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 7 +- hw/virtio/vhost-user-base.c | 5 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/vhost-user.c | 18 +- hw/virtio/vhost-vsock-common.c | 1 + hw/virtio/vhost.c | 112 ++++- hw/virtio/virtio-mmio.c | 11 +- hw/virtio/virtio-pci.c | 38 +- hw/virtio/virtio.c | 45 ++ net/vhost-vdpa.c | 16 +- subprojects/libvhost-user/libvhost-user.c | 2 +- system/runstate.c | 6 + tests/qtest/pvpanic-pci-test.c | 44 +- tests/qtest/pvpanic-test.c | 34 +- docs/specs/pvpanic.rst | 2 +- scripts/update-linux-headers.sh | 2 +- 62 files changed, 2159 insertions(+), 188 deletions(-) . Date: Thu, 6 Jun 2024 12:01:49 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/6] loongarch-to-apply queue The following changes since commit db2feb2df8d19592c9859efb3f682404e0052957: Merge tag 'pull-misc-20240605' of https://gitlab.com/rth7680/qemu into staging (2024-06-05 14:17:01 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240606 for you to fetch changes up to 78f932ea1f7b3b9b0ac628dc2a91281318fe51fa: target/loongarch: fix a wrong print in cpu dump (2024-06-06 11:58:06 +0800) ---------------------------------------------------------------- pull-loongarch-20240606 ---------------------------------------------------------------- Bibo Mao (2): tests/libqos: Add loongarch virt machine node tests/qtest: Add numa test for loongarch system Song Gao (3): hw/intc/loongarch_extioi: Add extioi virt extension definition hw/loongarch/virt: Use MemTxAttrs interface for misc ops hw/loongarch/virt: Enable extioi virt extension lanyanzhi (1): target/loongarch: fix a wrong print in cpu dump hw/intc/loongarch_extioi.c | 88 ++++++++++++- hw/loongarch/virt.c | 184 +++++++++++++++++++++++----- include/hw/intc/loongarch_extioi.h | 21 ++++ include/hw/loongarch/virt.h | 1 + target/loongarch/cpu.c | 2 +- target/loongarch/cpu.h | 1 + tests/qtest/libqos/loongarch-virt-machine.c | 114 +++++++++++++++++ tests/qtest/libqos/meson.build | 1 + tests/qtest/meson.build | 2 +- tests/qtest/numa-test.c | 53 ++++++++ 10 files changed, 428 insertions(+), 39 deletions(-) create mode 100644 tests/qtest/libqos/loongarch-virt-machine.c . Date: Thu, 6 Jun 2024 12:50:35 +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/12] testing cleanups (ci, vm, lcitool, ansible) The following changes since commit db2feb2df8d19592c9859efb3f682404e0052957: Merge tag 'pull-misc-20240605' of https://gitlab.com/rth7680/qemu into staging (2024-06-05 14:17:01 -0700) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-june24-060624-1 for you to fetch changes up to c99064d03fc574254ab098562798c937a4761161: scripts/ci: drive ubuntu/build-environment.yml from lcitool (2024-06-06 10:26:22 +0100) ---------------------------------------------------------------- testing cleanups (ci, vm, lcitool, ansible): - clean up left over Centos 8 references - use -fno-sanitize=function to avoid non-useful errors - bump lcitool and update images (alpine, fedora) - make sure we have mingw-w64-tools for windows builds - drive ansible scripts with lcitool package lists ---------------------------------------------------------------- Alex Bennée (8): ci: remove centos-steam-8 customer runner docs/devel: update references to centos to non-versioned container tests/vm: update centos.aarch64 image to 9 tests/vm: remove plain centos image scripts/ci: remove CentOS bits from common build-environment docs/ci: clean-up references for consistency tests/lcitool: generate package lists for ansible scripts/ci: drive ubuntu/build-environment.yml from lcitool Thomas Huth (4): tests/lcitool: Delete obsolete centos-stream-8.yml file .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job tests/lcitool: Bump to latest libvirt-ci and update Fedora and Alpine version tests/lcitool: Install mingw-w64-tools for the Windows cross-builds docs/devel/ci-jobs.rst.inc | 7 - docs/devel/ci-runners.rst.inc | 13 +- docs/devel/testing.rst | 8 +- .gitlab-ci.d/buildtest.yml | 1 + .gitlab-ci.d/custom-runners.yml | 1 - .../custom-runners/centos-stream-8-x86_64.yml | 24 -- .../custom-runners/ubuntu-22.04-aarch32.yml | 2 +- .../custom-runners/ubuntu-22.04-aarch64.yml | 2 +- .gitlab-ci.d/custom-runners/ubuntu-22.04-s390x.yml | 2 +- .../ci/org.centos/stream/8/build-environment.yml | 82 ------ scripts/ci/org.centos/stream/8/x86_64/configure | 198 -------------- scripts/ci/org.centos/stream/8/x86_64/test-avocado | 65 ----- scripts/ci/org.centos/stream/README | 17 -- scripts/ci/setup/build-environment.yml | 284 --------------------- scripts/ci/setup/ubuntu/build-environment.yml | 69 +++++ scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 127 +++++++++ .../ci/setup/ubuntu/ubuntu-2204-armhf-cross.yml | 127 +++++++++ scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 125 +++++++++ tests/docker/dockerfiles/alpine.docker | 4 +- tests/docker/dockerfiles/fedora-win64-cross.docker | 6 +- tests/docker/dockerfiles/fedora.docker | 5 +- tests/lcitool/libvirt-ci | 2 +- tests/lcitool/projects/qemu-win-installer.yml | 1 + tests/lcitool/projects/qemu.yml | 1 + tests/lcitool/refresh | 22 +- tests/lcitool/targets/centos-stream-8.yml | 3 - tests/vm/Makefile.include | 1 - tests/vm/centos | 51 ---- tests/vm/centos.aarch64 | 10 +- 29 files changed, 497 insertions(+), 763 deletions(-) delete mode 100644 .gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml delete mode 100644 scripts/ci/org.centos/stream/8/build-environment.yml delete mode 100755 scripts/ci/org.centos/stream/8/x86_64/configure delete mode 100755 scripts/ci/org.centos/stream/8/x86_64/test-avocado delete mode 100644 scripts/ci/org.centos/stream/README delete mode 100644 scripts/ci/setup/build-environment.yml create mode 100644 scripts/ci/setup/ubuntu/build-environment.yml create mode 100644 scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml create mode 100644 scripts/ci/setup/ubuntu/ubuntu-2204-armhf-cross.yml create mode 100644 scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml delete mode 100644 tests/lcitool/targets/centos-stream-8.yml delete mode 100755 tests/vm/centos -- 2.39.2 . Date: Sat, 8 Jun 2024 10:33:33 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/42] i386, scsi. hostmem fixes for 2024-06-08 The following changes since commit f1572ab94738bd5787b7badcd4bd93a3657f0680: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-05 07:45:23 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to fc00123f3abeb027cd51eb58ea8845377794b3bc: python: mkvenv: remove ensure command (2024-06-08 10:33:39 +0200) ---------------------------------------------------------------- * scsi-disk: Don't silently truncate serial number * backends/hostmem: Report error on unavailable qemu_madvise() features or unaligned memory sizes * target/i386: fixes and documentation for INHIBIT_IRQ/TF/RF and debugging * i386/hvf: Adds support for INVTSC cpuid bit * i386/hvf: Fixes for dirty memory tracking * i386/hvf: Use hv_vcpu_interrupt() and hv_vcpu_run_until() * hvf: Cleanups * stubs: fixes for --disable-system build * i386/kvm: support for FRED * i386/kvm: fix MCE handling on AMD hosts ---------------------------------------------------------------- John Allen (3): i386: Fix MCE support for AMD hosts i386: Add support for SUCCOR feature i386: Add support for overflow recovery Kevin Wolf (1): scsi-disk: Don't silently truncate serial number Mark Cave-Ayland (4): target/i386: use local X86DecodedOp in gen_POP() target/i386: use gen_writeback() within gen_POP() target/i386: fix SP when taking a memory fault during POP target/i386: fix size of EBP writeback in gen_enter() Michal Privoznik (4): meson: Don't even detect posix_madvise() on Darwin osdep: Make qemu_madvise() to set errno in all cases osdep: Make qemu_madvise() return ENOSYS on unsupported OSes backends/hostmem: Report error when memory size is unaligned Paolo Bonzini (16): target/i386: fix pushed value of EFLAGS.RF target/i386: fix implementation of ICEBP target/i386: cleanup HLT helpers target/i386: cleanup PAUSE helpers target/i386: implement DR7.GD target/i386: disable/enable breakpoints on vmentry/vmexit target/i386: fix INHIBIT_IRQ/TF/RF handling for VMRUN target/i386: fix INHIBIT_IRQ/TF/RF handling for PAUSE target/i386: fix TF/RF handling for HLT target/i386: document incorrect semantics of watchpoint following MOV/POP SS target/i386: document use of DISAS_NORETURN machine: default -M mem-merge to off is QEMU_MADV_MERGEABLE is not available machine, hostmem: improve error messages for unsupported features hostmem: simplify the code for merge and dump properties Revert "python: use vendored tomli" python: mkvenv: remove ensure command Phil Dennis-Jordan (7): i386/hvf: Adds support for INVTSC cpuid bit i386/hvf: Fixes some compilation warnings hvf: Consistent types for vCPU handles i386/hvf: Fixes dirty memory tracking by page granularity RX->RWX change i386/hvf: In kick_vcpu use hv_vcpu_interrupt to force exit i386/hvf: Updates API usage to use modern vCPU run function hvf: Makes assert_hvf_ok report failed expression Xin Li (5): target/i386: add support for FRED in CPUID enumeration target/i386: mark CR4.FRED not reserved vmxcap: add support for VMX FRED controls target/i386: enumerate VMX nested-exception support target/i386: Add get/set/migrate support for FRED MSRs Zhao Liu (2): stubs/meson: Fix qemuutil build when --disable-system docs: i386: pc: Avoid mentioning limit of maximum vCPUs docs/devel/build-system.rst | 13 ++-- docs/system/target-i386-desc.rst.inc | 3 +- configure | 4 -- meson.build | 14 ++-- include/sysemu/hostmem.h | 2 +- include/sysemu/hvf_int.h | 9 ++- target/i386/cpu.h | 53 ++++++++++++++- target/i386/helper.h | 5 +- target/i386/hvf/vmx.h | 3 +- target/i386/tcg/helper-tcg.h | 13 +++- accel/hvf/hvf-accel-ops.c | 2 +- accel/hvf/hvf-all.c | 51 ++++++-------- backends/hostmem-epc.c | 1 + backends/hostmem-file.c | 1 + backends/hostmem-memfd.c | 1 + backends/hostmem.c | 36 +++++++--- hw/core/machine.c | 11 ++- hw/scsi/scsi-disk.c | 20 +++++- target/i386/cpu.c | 33 ++++++++- target/i386/helper.c | 4 ++ target/i386/hvf/hvf.c | 47 ++++++++++++- target/i386/hvf/x86_cpuid.c | 4 ++ target/i386/hvf/x86_decode.c | 2 +- target/i386/hvf/x86_emu.c | 4 +- target/i386/kvm/kvm.c | 90 ++++++++++++++++++++++--- target/i386/machine.c | 28 ++++++++ target/i386/tcg/excp_helper.c | 20 ++++++ target/i386/tcg/misc_helper.c | 14 ++-- target/i386/tcg/seg_helper.c | 49 ++++++++++++-- target/i386/tcg/sysemu/bpt_helper.c | 18 +++++ target/i386/tcg/sysemu/misc_helper.c | 17 ++--- target/i386/tcg/sysemu/seg_helper.c | 17 ++++- target/i386/tcg/sysemu/svm_helper.c | 71 ++++++++++++------- target/i386/tcg/translate.c | 39 ++++++++++- util/osdep.c | 9 ++- target/i386/tcg/decode-new.c.inc | 19 +++++- target/i386/tcg/emit.c.inc | 37 +++++----- python/scripts/mkvenv.py | 105 ----------------------------- python/scripts/vendor.py | 3 - python/wheels/tomli-2.0.1-py3-none-any.whl | Bin 12757 -> 0 bytes scripts/kvm/vmxcap | 13 ++++ stubs/meson.build | 8 +-- 42 files changed, 617 insertions(+), 276 deletions(-) delete mode 100644 python/wheels/tomli-2.0.1-py3-none-any.whl -- 2.45.1 . Date: Sat, 8 Jun 2024 17:56:59 -0700 From: Brian Cain To: Subject: [PULL 0/6] hex queue VGhlIGZvbGxvd2luZyBjaGFuZ2VzIHNpbmNlIGNvbW1pdCAzZTI0NmRhMmMzZjg1Mjk4YjUyZjhh MTE1NGI4MzJhY2YzNmFhNjU2OgoKICBNZXJnZSB0YWcgJ2Zvci11cHN0cmVhbScgb2YgaHR0cHM6 Ly9naXRsYWIuY29tL2JvbnppbmkvcWVtdSBpbnRvIHN0YWdpbmcgKDIwMjQtMDYtMDggMDc6NDA6 MDggLTA3MDApCgphcmUgYXZhaWxhYmxlIGluIHRoZSBHaXQgcmVwb3NpdG9yeSBhdDoKCiAgaHR0 cHM6Ly9naXRodWIuY29tL3F1aWMvcWVtdSB0YWdzL3B1bGwtaGV4LTIwMjQwNjA4Cgpmb3IgeW91 IHRvIGZldGNoIGNoYW5nZXMgdXAgdG8gMTk2N2ExZWE5ODUyOTljMDkwZGZkM2VmYzFlNTMyM2Nl NjBkNzVkZjoKCiAgdGFyZ2V0L2hleGFnb246IGlkZWYtcGFyc2VyIHNpbXBsaWZ5IHByZWRpY2F0 ZSBpbml0ICgyMDI0LTA2LTA4IDE3OjQ5OjM2IC0wNzAwKQoKLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQoqIGhleGFnb246IGlk ZWYtcGFyc2VyIGNsZWFudXAKKiBoZXhhZ29uOiBpbXBsZW1lbnQgUEMgYWxpZ25tZW50IGV4Y2Vw dGlvbiwgdGVzdHMKKiBoZXhhZ29uOiBmaXggZm9yIEhWWCBuZXctdmFsdWUgc3RvcmUKCi0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0KQW50b24gSm9oYW5zc29uICg0KToKICAgICAgdGFyZ2V0L2hleGFnb246IGlkZWYtcGFyc2Vy IHJlbW92ZSB1bnVzZWQgZGVmaW5lcwogICAgICB0YXJnZXQvaGV4YWdvbjogaWRlZi1wYXJzZXIg cmVtb3ZlIHVuZGVmaW5lZCBmdW5jdGlvbnMKICAgICAgdGFyZ2V0L2hleGFnb246IGlkZWYtcGFy c2VyIGZpeCBsZWFrIG9mIGluaXRfbGlzdAogICAgICB0YXJnZXQvaGV4YWdvbjogaWRlZi1wYXJz ZXIgc2ltcGxpZnkgcHJlZGljYXRlIGluaXQKCk1hdGhldXMgVGF2YXJlcyBCZXJuYXJkaW5vICgy KToKICAgICAgSGV4YWdvbjogZml4IEhWWCBzdG9yZSBuZXcKICAgICAgSGV4YWdvbjogYWRkIFBD IGFsaWdubWVudCBjaGVjayBhbmQgZXhjZXB0aW9uCgogbGludXgtdXNlci9oZXhhZ29uL2NwdV9s b29wLmMgICAgICAgICAgICAgICB8ICAgNCArKwogdGFyZ2V0L2hleGFnb24vY3B1LmggICAgICAg ICAgICAgICAgICAgICAgICB8ICAgNyArKwogdGFyZ2V0L2hleGFnb24vY3B1X2JpdHMuaCAgICAg ICAgICAgICAgICAgICB8ICAgNCArKwogdGFyZ2V0L2hleGFnb24vZ2VuX3RyYW5zX2Z1bmNzLnB5 ICAgICAgICAgICB8ICAgOSArKy0KIHRhcmdldC9oZXhhZ29uL2lkZWYtcGFyc2VyL2lkZWYtcGFy c2VyLmggICAgfCAgMTAgLS0tCiB0YXJnZXQvaGV4YWdvbi9pZGVmLXBhcnNlci9pZGVmLXBhcnNl ci55ICAgIHwgICAyIC0KIHRhcmdldC9oZXhhZ29uL2lkZWYtcGFyc2VyL3BhcnNlci1oZWxwZXJz LmMgfCAgMzUgKysrKystLS0tCiB0YXJnZXQvaGV4YWdvbi9pZGVmLXBhcnNlci9wYXJzZXItaGVs cGVycy5oIHwgIDEzIC0tLS0KIHRhcmdldC9oZXhhZ29uL21hY3Jvcy5oICAgICAgICAgICAgICAg ICAgICAgfCAgIDMgLQogdGFyZ2V0L2hleGFnb24vb3BfaGVscGVyLmMgICAgICAgICAgICAgICAg ICB8ICAgOSArKy0KIHRlc3RzL3RjZy9oZXhhZ29uL01ha2VmaWxlLnRhcmdldCAgICAgICAgICAg fCAgIDIgKwogdGVzdHMvdGNnL2hleGFnb24vaHZ4X21pc2MuYyAgICAgICAgICAgICAgICB8ICAy MyArKysrKysKIHRlc3RzL3RjZy9oZXhhZ29uL3VuYWxpZ25lZF9wYy5jICAgICAgICAgICAgfCAx MDcgKysrKysrKysrKysrKysrKysrKysrKysrKysrKwogMTMgZmlsZXMgY2hhbmdlZCwgMTc5IGlu c2VydGlvbnMoKyksIDQ5IGRlbGV0aW9ucygtKQogY3JlYXRlIG1vZGUgMTAwNjQ0IHRlc3RzL3Rj Zy9oZXhhZ29uL3VuYWxpZ25lZF9wYy5jCg== . Date: Sun, 9 Jun 2024 10:55:54 -0600 From: Warner Losh To: qemu-devel@nongnu.org Cc: Richard Henderson , Laurent Vivier , Warner Losh , Kyle Evans Subject: [PULL 0/3] Bsd user misc 2024q2 patches The following changes since commit 3e246da2c3f85298b52f8a1154b832acf36aa656: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-08 07:40:08 -0700) are available in the Git repository at: git@gitlab.com:bsdimp/qemu.git tags/bsd-user-misc-2024q2-pull-request for you to fetch changes up to cb4c259052cbc5dd04c17d963c789360cb8fe340: bsd-user: Catch up to run-time reserved_va math (2024-06-09 10:30:25 -0600) ---------------------------------------------------------------- bsd-user: Baby Steps towards eliminating qemu_host_page_size, et al First baby-steps towards eliminating qemu_host_page_size: tackle the reserve_va calculation (which is easier to copy from linux-user than to fix). -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIzBAABCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmZl3pgACgkQbBzRKH2w EQBfpg//U4YdJAA0H4okwPtowP1wIK1gpWvVd5FIN17pCXLKT4FR4efhWeEnQh8U +dXvkCpX/MnhBkStYoGZBmYe1rNKkEAn8BPCsQqX4y3af5RzKyKWo0gZXOjN3L9e ixmeFcg/7BTwnSbcO02xd9BOPPaRiFBDSidh28gr/1sxpXRxlbQHzIUpTBncDaN6 4w5DnF+b1RFHCz05ytrP517cj7E32Ig9S/cVMmBd1pGJiLnHiOp/peMprCL6tnI+ YNBzttCbRPNH2z0zVd9En/hDnVirGPYX+LXg0Djkw3I+stJj4jwbJTuDG+5Lzghp YrYfiU6x7OG9ywjFJgY1/pExVT1cwkNjuGCXL+F4R49R5LfIEHq5/MlQp+tjpYYO g5WmpiLnFpFosmXIPJmxr16zqm2sLD+P0Jr/kdIz58fTWmIQeKwi/Vu/73h4kxST vjBbhC3eg56lQDaospc4h8+RehmI6LdSWYx0kxv2JKpXH3lQPqsDSrOcm9hEbWYS DeV++vkyQcXrbCnwomfxG1U+dVYBlJ1L1wClxc/1WD9KxXXJIwlvGmIu3o3c2+xj BM6eRe3evWioqdqhc2lY+XxATwbIUxiect6ml+F6E0KJxlm3Ajqy6qw49G+uhZxa XWUEIYGDd6/xHMlBeo6FKUpe/Ez/i3eCFXr4AD4iO7AtTuukrO4= =3EaH -----END PGP SIGNATURE----- ---------------------------------------------------------------- Warner Losh (3): linux-user: Adjust comment to reflect the code. bsd-user: port linux-user:ff8a8bbc2ad1 for variable page sizes bsd-user: Catch up to run-time reserved_va math bsd-user/main.c | 51 ++++++++++++++++++++++++++++++++++++----------- linux-user/main.c | 8 ++++---- 2 files changed, 43 insertions(+), 16 deletions(-) -- 2.43.0 . Date: Mon, 10 Jun 2024 13:13:09 -0400 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Thomas Huth , Stefan Hajnoczi , Richard Henderson , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Mads Ynddal , Alex Williamson , Yoshinori Sato , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefan Berger Subject: [PULL 0/6] Tracing patches The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/tracing-pull-request for you to fetch changes up to 4c2b6f328742084a5bd770af7c3a2ef07828c41c: tracetool: Forbid newline character in event format (2024-06-10 13:05:27 -0400) ---------------------------------------------------------------- Pull request Cleanups from Philippe Mathieu-Daudé. ---------------------------------------------------------------- Philippe Mathieu-Daudé (6): tracetool: Remove unused vcpu.py script backends/tpm: Remove newline character in trace event hw/sh4: Remove newline character in trace events hw/usb: Remove newline character in trace events hw/vfio: Remove newline character in trace events tracetool: Forbid newline character in event format meson.build | 1 - backends/tpm/tpm_util.c | 5 +-- backends/tpm/trace-events | 3 +- hw/sh4/trace-events | 4 +-- hw/usb/trace-events | 6 ++-- hw/vfio/trace-events | 4 +-- scripts/tracetool/__init__.py | 10 ++---- scripts/tracetool/vcpu.py | 59 ----------------------------------- 8 files changed, 15 insertions(+), 77 deletions(-) delete mode 100644 scripts/tracetool/vcpu.py -- 2.45.1 . Date: Tue, 11 Jun 2024 16:24:58 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/25] target/i386, SCSI changes for 2024-06-11 The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 58ab5e809ad66a02b6fa273ba11ed35b8b2fea60: target/i386: SEV: do not assume machine->cgs is SEV (2024-06-11 14:29:23 +0200) ---------------------------------------------------------------- * i386: fix issue with cache topology passthrough * scsi-disk: migrate emulated requests * i386/sev: fix Coverity issues * i386/tcg: more conversions to new decoder ---------------------------------------------------------------- Chuang Xu (1): i386/cpu: fixup number of addressable IDs for processor cores in the physical package Hyman Huang (1): scsi-disk: Fix crash for VM configured with USB CDROM after live migration Pankaj Gupta (3): i386/sev: fix unreachable code coverity issue i386/sev: Move SEV_COMMON null check before dereferencing i386/sev: Return when sev_common is null Paolo Bonzini (20): target/i386: remove CPUX86State argument from generator functions target/i386: rewrite flags writeback for ADCX/ADOX target/i386: put BLS* input in T1, use generic flag writeback target/i386: change X86_ENTRYr to use T0 target/i386: change X86_ENTRYwr to use T0, use it for moves target/i386: replace NoSeg special with NoLoadEA target/i386: fix processing of intercept 0 (read CR0) target/i386: convert MOV from/to CR and DR to new decoder target/i386: fix bad sorting of entries in the 0F table target/i386: finish converting 0F AE to the new decoder target/i386: replace read_crN helper with read_cr8 target/i386: split X86_CHECK_prot into PE and VM86 checks target/i386: convert non-grouped, helper-based 2-byte opcodes target/i386: pull load/writeback out of gen_shiftd_rm_T1 target/i386: adapt gen_shift_count for SHLD/SHRD target/i386: convert SHLD/SHRD to new decoder target/i386: convert LZCNT/TZCNT/BSF/BSR/POPCNT to new decoder target/i386: convert XADD to new decoder target/i386: convert CMPXCHG to new decoder target/i386: SEV: do not assume machine->cgs is SEV target/i386/cpu.h | 9 +- target/i386/helper.h | 2 +- target/i386/tcg/decode-new.h | 31 +- hw/core/machine.c | 1 + hw/scsi/scsi-disk.c | 24 +- target/i386/cpu.c | 6 +- target/i386/sev.c | 11 +- target/i386/tcg/seg_helper.c | 16 +- target/i386/tcg/sysemu/misc_helper.c | 20 +- target/i386/tcg/translate.c | 716 +-------------------- target/i386/tcg/decode-new.c.inc | 381 +++++++---- target/i386/tcg/emit.c.inc | 1162 +++++++++++++++++++++++----------- 12 files changed, 1160 insertions(+), 1219 deletions(-) -- 2.45.1 . Date: Tue, 11 Jun 2024 19:36:50 +0200 From: Kevin Wolf To: qemu-block@nongnu.org Cc: kwolf@redhat.com, qemu-devel@nongnu.org Subject: [PULL 0/8] Block layer patches The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 3ab0f063e58ed9224237d69c4211ca83335164c4: crypto/block: drop qcrypto_block_open() n_threads argument (2024-06-10 11:05:43 +0200) ---------------------------------------------------------------- Block layer patches - crypto: Fix crash when used with multiqueue devices - linux-aio: add IO_CMD_FDSYNC command support - copy-before-write: Avoid integer overflows for timeout > 4s - Fix crash with QMP block_resize and iothreads - qemu-io: add cvtnum() error handling for zone commands - Code cleanup ---------------------------------------------------------------- Denis V. Lunev via (1): block: drop force_dup parameter of raw_reconfigure_getfd() Fiona Ebner (1): block/copy-before-write: use uint64_t for timeout in nanoseconds Prasad J Pandit (1): linux-aio: add IO_CMD_FDSYNC command support Stefan Hajnoczi (5): Revert "monitor: use aio_co_reschedule_self()" aio: warn about iohandler_ctx special casing qemu-io: add cvtnum() error handling for zone commands block/crypto: create ciphers on demand crypto/block: drop qcrypto_block_open() n_threads argument crypto/blockpriv.h | 13 +++-- include/block/aio.h | 6 +++ include/block/raw-aio.h | 1 + include/crypto/block.h | 2 - block/copy-before-write.c | 2 +- block/crypto.c | 1 - block/file-posix.c | 17 ++++-- block/linux-aio.c | 21 +++++++- block/qcow.c | 2 +- block/qcow2.c | 5 +- crypto/block-luks.c | 4 +- crypto/block-qcow.c | 8 ++- crypto/block.c | 114 ++++++++++++++++++++++++----------------- qapi/qmp-dispatch.c | 7 ++- qemu-io-cmds.c | 48 ++++++++++++++++- tests/unit/test-crypto-block.c | 4 -- 16 files changed, 176 insertions(+), 79 deletions(-) . Date: Wed, 12 Jun 2024 15:20:40 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 00/15] CPU-related test updates The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-06-12 for you to fetch changes up to 26a09ead7351f117ae780781b347f014da03c20b: tests/tcg/s390x: Allow specifying extra QEMU options on the command line (2024-06-12 12:12:28 +0200) ---------------------------------------------------------------- * Fix loongarch64 avocado test * Make qtests more flexible with regards to non-available CPU models * Improvements for the test-smp-parse unit test ---------------------------------------------------------------- Ani Sinha (3): qtest/x86/numa-test: do not use the obsolete 'pentium' cpu tests/qtest/libqtest: add qtest_has_cpu_model() api tests/qtest/x86: check for availability of older cpu models before running tests Ilya Leoshkevich (1): tests/tcg/s390x: Allow specifying extra QEMU options on the command line Song Gao (1): tests/avocado: Update LoongArch bios file Zhao Liu (8): tests/unit/test-smp-parse: Fix comments of drawers and books case tests/unit/test-smp-parse: Fix comment of parameters=1 case tests/unit/test-smp-parse: Fix an invalid topology case tests/unit/test-smp-parse: Use default parameters=0 when not set in -smp tests/unit/test-smp-parse: Make test cases aware of module level tests/unit/test-smp-parse: Test "modules" parameter in -smp tests/unit/test-smp-parse: Test "modules" and "dies" combination case tests/unit/test-smp-parse: Test the full 8-levels topology hierarchy Zhenwei Pi (2): meson: Remove libibumad dependence test: Remove libibumad dependence meson.build | 4 +- tests/qtest/libqtest.h | 8 + tests/qtest/libqtest.c | 83 +++++ tests/qtest/numa-test.c | 3 +- tests/qtest/test-x86-cpuid-compat.c | 170 ++++++---- tests/unit/test-smp-parse.c | 373 +++++++++++++++++---- scripts/ci/setup/ubuntu/ubuntu-2204-aarch64.yaml | 1 - scripts/ci/setup/ubuntu/ubuntu-2204-s390x.yaml | 1 - tests/avocado/machine_loongarch.py | 8 +- tests/docker/dockerfiles/debian-amd64-cross.docker | 1 - tests/docker/dockerfiles/debian-arm64-cross.docker | 1 - tests/docker/dockerfiles/debian-armel-cross.docker | 1 - tests/docker/dockerfiles/debian-armhf-cross.docker | 1 - tests/docker/dockerfiles/debian-i686-cross.docker | 1 - .../dockerfiles/debian-mips64el-cross.docker | 1 - .../docker/dockerfiles/debian-mipsel-cross.docker | 1 - .../docker/dockerfiles/debian-ppc64el-cross.docker | 1 - tests/docker/dockerfiles/debian-s390x-cross.docker | 1 - tests/docker/dockerfiles/debian.docker | 1 - tests/docker/dockerfiles/ubuntu2204.docker | 1 - tests/lcitool/projects/qemu.yml | 1 - tests/tcg/s390x/Makefile.softmmu-target | 2 +- 22 files changed, 518 insertions(+), 147 deletions(-) . Date: Wed, 12 Jun 2024 16:29:22 -0500 (CDT) From: Stefano Stabellini To: qemu-devel@nongnu.org, stefanha@redhat.com Subject: [PULL 0/5] virtio-grants-v8-tag The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'virtio-grants-v8-tag' into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://gitlab.com/sstabellini/qemu.git for you to fetch changes up to 6d87a2a311fe4a8363143e6914d000697ea0cd83: hw/arm: xen: Enable use of grant mappings (2024-06-09 20:16:14 +0200) ---------------------------------------------------------------- Edgar E. Iglesias (5): xen: mapcache: Make MCACHE_BUCKET_SHIFT runtime configurable xen: mapcache: Unmap first entries in buckets xen: mapcache: Pass the ram_addr offset to xen_map_cache() xen: mapcache: Add support for grant mappings hw/arm: xen: Enable use of grant mappings hw/arm/xen_arm.c | 5 + hw/xen/xen-hvm-common.c | 12 ++- hw/xen/xen-mapcache.c | 234 ++++++++++++++++++++++++++++++---------- include/hw/xen/xen-hvm-common.h | 3 + include/sysemu/xen-mapcache.h | 2 + include/sysemu/xen.h | 1 + system/physmem.c | 9 +- 7 files changed, 202 insertions(+), 64 deletions(-) . Date: Fri, 14 Jun 2024 09:26:01 +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/19] aspeed queue The following changes since commit 046a64b9801343e2e89eef10c7a48eec8d8c0d4f: Merge tag 'pull-request-2024-06-12' of https://gitlab.com/thuth/qemu into staging (2024-06-13 07:51:58 -0700) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240614 for you to fetch changes up to d9f6311f5393da897e73be8a29c261125d0c1ac2: MAINTAINERS: Add reviewers for ASPEED BMCs (2024-06-14 07:36:09 +0200) ---------------------------------------------------------------- aspeed queue: * Add AST2700 support ---------------------------------------------------------------- Cédric Le Goater (1): aspeed/smc: Reintroduce "dram-base" property for AST2700 Jamin Lin (18): aspeed/wdt: Add AST2700 support aspeed/sli: Add AST2700 support aspeed/sdmc: remove redundant macros aspeed/sdmc: fix coding style aspeed/sdmc: Add AST2700 support aspeed/smc: correct device description aspeed/smc: support dma start length and 1 byte length unit aspeed/smc: support 64 bits dma dram address aspeed/smc: support different memory region ops for SMC flash region aspeed/smc: Add AST2700 support aspeed/scu: Add AST2700 support aspeed/intc: Add AST2700 support aspeed/soc: Add AST2700 support aspeed: Add an AST2700 eval board aspeed/soc: fix incorrect dram size for AST2700 test/avocado/machine_aspeed.py: Add AST2700 test case docs:aspeed: Add AST2700 Evaluation board MAINTAINERS: Add reviewers for ASPEED BMCs MAINTAINERS | 3 + docs/system/arm/aspeed.rst | 39 ++- include/hw/arm/aspeed_soc.h | 30 +- include/hw/intc/aspeed_intc.h | 44 +++ include/hw/misc/aspeed_scu.h | 47 ++- include/hw/misc/aspeed_sdmc.h | 5 +- include/hw/misc/aspeed_sli.h | 27 ++ include/hw/ssi/aspeed_smc.h | 3 + include/hw/watchdog/wdt_aspeed.h | 3 +- hw/arm/aspeed.c | 32 ++ hw/arm/aspeed_ast27x0.c | 648 +++++++++++++++++++++++++++++++++++++++ hw/intc/aspeed_intc.c | 360 ++++++++++++++++++++++ hw/misc/aspeed_scu.c | 306 +++++++++++++++++- hw/misc/aspeed_sdmc.c | 220 +++++++++++-- hw/misc/aspeed_sli.c | 177 +++++++++++ hw/ssi/aspeed_smc.c | 347 +++++++++++++++++++-- hw/watchdog/wdt_aspeed.c | 24 ++ hw/arm/meson.build | 1 + hw/intc/meson.build | 1 + hw/intc/trace-events | 13 + hw/misc/meson.build | 3 +- hw/misc/trace-events | 11 + hw/ssi/trace-events | 2 +- tests/avocado/machine_aspeed.py | 62 ++++ 24 files changed, 2350 insertions(+), 58 deletions(-) create mode 100644 include/hw/intc/aspeed_intc.h create mode 100644 include/hw/misc/aspeed_sli.h create mode 100644 hw/arm/aspeed_ast27x0.c create mode 100644 hw/intc/aspeed_intc.c create mode 100644 hw/misc/aspeed_sli.c . Date: Fri, 14 Jun 2024 14:17:44 -0300 From: Fabiano Rosas To: qemu-devel@nongnu.org Cc: Peter Xu , Richard Henderson Subject: [PULL 00/18] Migration patches for 2024-06-14 The following changes since commit 046a64b9801343e2e89eef10c7a48eec8d8c0d4f: Merge tag 'pull-request-2024-06-12' of https://gitlab.com/thuth/qemu into staging (2024-06-13 07:51:58 -0700) are available in the Git repository at: https://gitlab.com/farosas/qemu.git tags/migration-20240614-pull-request for you to fetch changes up to c519caa825f5eba6e204bed5a464df167a5421d0: tests/migration-test: add uadk compression test (2024-06-14 14:01:30 -0300) ---------------------------------------------------------------- Migration pull request - Nick's reenabling of ppc64 tests + speed improvements - Yuan's IAA/QPL compression support for multifd - Shameer's UADK compression support for multifd ---------------------------------------------------------------- Nicholas Piggin (4): tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h tests/qtest/migration-test: Quieten ppc64 QEMU warnings tests/qtest/migration-test: Enable on ppc64 TCG tests/qtest/migration-test: Use custom asm bios for ppc64 Shameer Kolothum (7): docs/migration: add uadk compression feature configure: Add uadk option migration/multifd: add uadk compression framework migration/multifd: Add UADK initialization migration/multifd: Add UADK based compression and decompression migration/multifd: Switch to no compression when no hardware support tests/migration-test: add uadk compression test Yuan Liu (7): docs/migration: add qpl compression feature migration/multifd: put IOV initialization into compression method configure: add --enable-qpl build option migration/multifd: add qpl compression method migration/multifd: implement initialization of qpl compression migration/multifd: implement qpl compression and decompression tests/migration-test: add qpl compression test docs/devel/migration/features.rst | 2 + docs/devel/migration/qpl-compression.rst | 260 ++++++++ docs/devel/migration/uadk-compression.rst | 144 ++++ hw/core/qdev-properties-system.c | 2 +- meson.build | 22 + meson_options.txt | 4 + migration/meson.build | 2 + migration/multifd-qpl.c | 762 ++++++++++++++++++++++ migration/multifd-uadk.c | 369 +++++++++++ migration/multifd-zlib.c | 7 + migration/multifd-zstd.c | 8 +- migration/multifd.c | 22 +- migration/multifd.h | 6 +- qapi/migration.json | 11 +- scripts/meson-buildoptions.sh | 6 + tests/migration/Makefile | 2 +- tests/migration/migration-test.h | 1 + tests/migration/ppc64/Makefile | 15 + tests/migration/ppc64/a-b-kernel.S | 66 ++ tests/migration/ppc64/a-b-kernel.h | 42 ++ tests/qtest/boot-serial-test.c | 2 +- tests/qtest/libqos/libqos-spapr.h | 7 - tests/qtest/migration-test.c | 100 +-- tests/qtest/ppc-util.h | 19 + tests/qtest/prom-env-test.c | 2 +- tests/qtest/pxe-test.c | 2 +- 26 files changed, 1816 insertions(+), 69 deletions(-) create mode 100644 docs/devel/migration/qpl-compression.rst create mode 100644 docs/devel/migration/uadk-compression.rst create mode 100644 migration/multifd-qpl.c create mode 100644 migration/multifd-uadk.c create mode 100644 tests/migration/ppc64/Makefile create mode 100644 tests/migration/ppc64/a-b-kernel.S create mode 100644 tests/migration/ppc64/a-b-kernel.h create mode 100644 tests/qtest/ppc-util.h -- 2.35.3 . Date: Mon, 17 Jun 2024 06:02:28 +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 v2 00/19] aspeed queue The following changes since commit 05ad1440b8428b0ade9b8e5c01469adb8fbf83e3: Merge tag 'virtio-grants-v8-tag' of https://gitlab.com/sstabellini/qemu into staging (2024-06-15 20:13:06 -0700) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240617 for you to fetch changes up to 5f44521242d2fdfa190206a6be40577a58a71ef9: MAINTAINERS: Add reviewers for ASPEED BMCs (2024-06-16 21:08:54 +0200) ---------------------------------------------------------------- aspeed queue: * Add AST2700 support Changes in v2: - Fixed class_size in TYPE_ASPEED_INTC definition - Fixed spelling : Unhandeled -> Unhandled ---------------------------------------------------------------- Cédric Le Goater (1): aspeed/smc: Reintroduce "dram-base" property for AST2700 Jamin Lin (18): aspeed/wdt: Add AST2700 support aspeed/sli: Add AST2700 support aspeed/sdmc: remove redundant macros aspeed/sdmc: fix coding style aspeed/sdmc: Add AST2700 support aspeed/smc: correct device description aspeed/smc: support dma start length and 1 byte length unit aspeed/smc: support 64 bits dma dram address aspeed/smc: support different memory region ops for SMC flash region aspeed/smc: Add AST2700 support aspeed/scu: Add AST2700 support aspeed/intc: Add AST2700 support aspeed/soc: Add AST2700 support aspeed: Add an AST2700 eval board aspeed/soc: fix incorrect dram size for AST2700 test/avocado/machine_aspeed.py: Add AST2700 test case docs:aspeed: Add AST2700 Evaluation board MAINTAINERS: Add reviewers for ASPEED BMCs MAINTAINERS | 3 + docs/system/arm/aspeed.rst | 39 ++- include/hw/arm/aspeed_soc.h | 30 +- include/hw/intc/aspeed_intc.h | 44 +++ include/hw/misc/aspeed_scu.h | 47 ++- include/hw/misc/aspeed_sdmc.h | 5 +- include/hw/misc/aspeed_sli.h | 27 ++ include/hw/ssi/aspeed_smc.h | 3 + include/hw/watchdog/wdt_aspeed.h | 3 +- hw/arm/aspeed.c | 32 ++ hw/arm/aspeed_ast27x0.c | 648 +++++++++++++++++++++++++++++++++++++++ hw/intc/aspeed_intc.c | 361 ++++++++++++++++++++++ hw/misc/aspeed_scu.c | 306 +++++++++++++++++- hw/misc/aspeed_sdmc.c | 220 +++++++++++-- hw/misc/aspeed_sli.c | 177 +++++++++++ hw/ssi/aspeed_smc.c | 347 +++++++++++++++++++-- hw/watchdog/wdt_aspeed.c | 24 ++ hw/arm/meson.build | 1 + hw/intc/meson.build | 1 + hw/intc/trace-events | 13 + hw/misc/meson.build | 3 +- hw/misc/trace-events | 11 + hw/ssi/trace-events | 2 +- tests/avocado/machine_aspeed.py | 62 ++++ 24 files changed, 2351 insertions(+), 58 deletions(-) create mode 100644 include/hw/intc/aspeed_intc.h create mode 100644 include/hw/misc/aspeed_sli.h create mode 100644 hw/arm/aspeed_ast27x0.c create mode 100644 hw/intc/aspeed_intc.c create mode 100644 hw/misc/aspeed_sli.c . Date: Mon, 17 Jun 2024 10:13:18 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 00/25] target/i386, SCSI changes for 2024-06-11 The following changes since commit 80e8f0602168f451a93e71cbb1d59e93d745e62e: Merge tag 'bsd-user-misc-2024q2-pull-request' of gitlab.com:bsdimp/qemu into staging (2024-06-09 11:21:55 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 109238a8d97cd8e85ca614109724a0b1222b21f5: target/i386: SEV: do not assume machine->cgs is SEV (2024-06-17 09:47:39 +0200) ---------------------------------------------------------------- * i386: fix issue with cache topology passthrough * scsi-disk: migrate emulated requests * i386/sev: fix Coverity issues * i386/tcg: more conversions to new decoder ---------------------------------------------------------------- v1->v2: fixed MOV from/to CR and DR in 64-bit modes (does not need REX.W) Chuang Xu (1): i386/cpu: fixup number of addressable IDs for processor cores in the physical package Hyman Huang (1): scsi-disk: Fix crash for VM configured with USB CDROM after live migration Pankaj Gupta (3): i386/sev: fix unreachable code coverity issue i386/sev: Move SEV_COMMON null check before dereferencing i386/sev: Return when sev_common is null Paolo Bonzini (20): target/i386: remove CPUX86State argument from generator functions target/i386: rewrite flags writeback for ADCX/ADOX target/i386: put BLS* input in T1, use generic flag writeback target/i386: change X86_ENTRYr to use T0 target/i386: change X86_ENTRYwr to use T0, use it for moves target/i386: replace NoSeg special with NoLoadEA target/i386: fix processing of intercept 0 (read CR0) target/i386: convert MOV from/to CR and DR to new decoder target/i386: replace read_crN helper with read_cr8 target/i386: fix bad sorting of entries in the 0F table target/i386: finish converting 0F AE to the new decoder target/i386: split X86_CHECK_prot into PE and VM86 checks target/i386: convert non-grouped, helper-based 2-byte opcodes target/i386: pull load/writeback out of gen_shiftd_rm_T1 target/i386: adapt gen_shift_count for SHLD/SHRD target/i386: convert SHLD/SHRD to new decoder target/i386: convert LZCNT/TZCNT/BSF/BSR/POPCNT to new decoder target/i386: convert XADD to new decoder target/i386: convert CMPXCHG to new decoder target/i386: SEV: do not assume machine->cgs is SEV target/i386/cpu.h | 9 +- target/i386/helper.h | 2 +- target/i386/tcg/decode-new.h | 32 +- hw/core/machine.c | 1 + hw/scsi/scsi-disk.c | 24 +- target/i386/cpu.c | 6 +- target/i386/sev.c | 11 +- target/i386/tcg/seg_helper.c | 16 +- target/i386/tcg/sysemu/misc_helper.c | 20 +- target/i386/tcg/translate.c | 716 +-------------------- target/i386/tcg/decode-new.c.inc | 389 ++++++++---- target/i386/tcg/emit.c.inc | 1166 +++++++++++++++++++++++----------- 12 files changed, 1173 insertions(+), 1219 deletions(-) -- 2.45.2 . Date: Mon, 17 Jun 2024 23:49:50 +0800 From: Hyman Huang To: qemu-devel@nongnu.org Cc: Hyman Huang Subject: [PULL 0/1] Dirty page rate and dirty page limit 20240617 patches The following changes since commit 05ad1440b8428b0ade9b8e5c01469adb8fbf83e3: Merge tag 'virtio-grants-v8-tag' of https://gitlab.com/sstabellini/qemu into staging (2024-06-15 20:13:06 -0700) are available in the Git repository at: https://github.com/newfriday/qemu.git tags/dirtylimit-dirtyrate-pull-request-20240617 for you to fetch changes up to e65152d5483b2c847ec7a947ed52650152cfdcc0: migration/dirtyrate: Fix segmentation fault (2024-06-17 23:29:21 +0800) ---------------------------------------------------------------- dirtylimit-dirtyrate-pull-request-20240617: Fix a segmentation fault Please apply, thanks, Yong. ---------------------------------------------------------------- Masato Imai (1): migration/dirtyrate: Fix segmentation fault accel/kvm/kvm-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.39.1 . Date: Tue, 18 Jun 2024 17:49:32 +0200 From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, edgar.iglesias@amd.com Subject: [PULL v1 0/3] Xilinx DMA/Ethernet updates From: "Edgar E. Iglesias" The following changes since commit 900536d3e97aed7fdd9cb4dadd3bf7023360e819: Merge tag 'dirtylimit-dirtyrate-pull-request-20240617' of https://github.com/newfriday/qemu into staging (2024-06-17 11:40:24 -0700) are available in the Git repository at: https://gitlab.com/edgar.iglesias/qemu.git tags/edgar/xilinx-queue-2024-06-17.for-upstream for you to fetch changes up to 3a6d374b754b4b345195ff6846eeaffedc96a7c5: hw/net: Fix the transmission return size (2024-06-18 14:52:05 +0200) ---------------------------------------------------------------- Xilinx queue: hw/dma: Add error handling for loading descriptions failing (Fea Wang) ---------------------------------------------------------------- Fea.Wang (3): hw/dma: Enhance error handling in loading description hw/dma: Add a trace log for a description loading failure hw/net: Fix the transmission return size hw/dma/trace-events | 3 +++ hw/dma/xilinx_axidma.c | 33 +++++++++++++++++++++++++++++---- hw/net/xilinx_axienet.c | 2 +- 3 files changed, 33 insertions(+), 5 deletions(-) -- 2.43.0 . Date: Tue, 18 Jun 2024 17:59:22 +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/76] Misc patches for 2024-06-18 The following changes since commit 900536d3e97aed7fdd9cb4dadd3bf7023360e819: Merge tag 'dirtylimit-dirtyrate-pull-request-20240617' of https://github.com/newfriday/qemu into staging (2024-06-17 11:40:24 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/misc-20240618 for you to fetch changes up to 02ad1f5b04bf2941852f405c87535307365f7041: ui+display: rename is_buffer_shared() -> surface_is_allocated() (2024-06-18 17:54:40 +0200) Spurious warning (3 times): WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? Deliberately ignored in ui/ (also 3 times): WARNING: line over 80 characters ---------------------------------------------------------------- Misc patches queue . Remove deprecated pc-i440fx-2.0 -> 2.3 machines (Phil) . Always use little endian audio format in virtio-snd (Phil) . Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info (Phil) . Introduce x-query-interrupt-controllers QMP command (Phil) . Introduce pnv_chip_foreach_cpu() to remove one CPU_FOREACH use (Cédric) . Set arm_v7m_tcg_ops::cpu_exec_halt & mandate TCGCPUOps::cpu_exec_halt (Peter) . Constify few uses of IOMMUTLBEvent (Phil) . Wire loongson_ipi device to loongson3_virt/TCG (Jiaxun) . Fix inclusion of tracing headers on s390x/TCG (Phil) . Add few shortcuts missing to readline (Manos) . Update ui/display entries in MAINTAINERS (Gerd) . Use qemu_add_mouse_change_notifier on Cocoa (Akihiko) . Fix Standard VGA screen blanking and cleanups (Gerd) . Fix USB/MTP reported "free space" value (Fabio) ---------------------------------------------------------------- Akihiko Odaki (1): ui/cocoa: Use qemu_add_mouse_change_notifier Cédric Le Goater (1): ppc/pnv: Introduce pnv_chip_foreach_cpu() Fabio D'Urso (1): hw/usb/dev-mtp: Correctly report free space Gerd Hoffmann (5): MAINTAINERS: drop virtio-gpu maintainership MAINTAINERS: drop spice+ui maintainership stdvga: fix screen blanking ui+display: rename is_placeholder() -> surface_is_placeholder() ui+display: rename is_buffer_shared() -> surface_is_allocated() Jiaxun Yang (4): hw/intc: Remove loongarch_ipi.c hw/intc/loongson_ipi: Provide per core MMIO address spaces hw/intc/loongson_ipi: Replace ipi_getcpu with cpu_by_arch_id hw/mips/loongson3_virt: Wire up loongson_ipi device Manos Pitsidianakis (3): util/readline: Fix lints for readline_handle_byte util/readline: Add C-n, C-p shortcuts util/readline: Add C-u shortcut Peter Maydell (3): target/arm: Set arm_v7m_tcg_ops cpu_exec_halt to arm_cpu_exec_halt() target: Set TCGCPUOps::cpu_exec_halt to target's has_work implementation accel/tcg: Make TCGCPUOps::cpu_exec_halt mandatory Philippe Mathieu-Daudé (58): hw/i386/pc: Deprecate 2.4 to 2.12 pc-i440fx machines hw/i386/pc: Remove deprecated pc-i440fx-2.0 machine hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flag hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flag hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size hw/acpi/ich9: Remove 'memory-hotplug-support' property hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug' hw/i386/pc: Remove deprecated pc-i440fx-2.1 machine target/i386/kvm: Remove x86_cpu_change_kvm_default() and 'kvm-cpu.h' hw/i386/pc: Remove PCMachineClass::smbios_uuid_encoded hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults() hw/smbios: Remove 'smbios_uuid_encoded', simplify smbios_encode_uuid() hw/i386/pc: Remove PCMachineClass::enforce_aligned_dimm hw/mem/pc-dimm: Remove legacy_align argument from pc_dimm_pre_plug() hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug() hw/i386/pc: Remove deprecated pc-i440fx-2.2 machine hw/i386/pc: Remove PCMachineClass::resizable_acpi_blob hw/i386/pc: Remove PCMachineClass::rsdp_in_ram hw/i386/acpi: Remove AcpiBuildState::rsdp field hw/i386/pc: Remove deprecated pc-i440fx-2.3 machine hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macro target/i386: Remove X86CPU::kvm_no_smi_migration field hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE hw/audio/virtio-snd: Always use little endian audio format hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info() hw/ppc: Avoid using Monitor in icp_pic_print_info() hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info() hw/ppc: Avoid using Monitor in ics_pic_print_info() hw/ppc: Avoid using Monitor in PnvChipClass::intc_print_info() hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_end_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_pic_print_info() hw/ppc: Avoid using Monitor in xive_source_pic_print_info() hw/ppc: Avoid using Monitor in pnv_phb4_pic_print_info() hw/ppc: Avoid using Monitor in xive_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_nvt_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive_pic_print_info() hw/ppc: Avoid using Monitor in pnv_psi_pic_print_info() hw/ppc: Avoid using Monitor in xive2_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_pic_print_info() hw/ppc: Avoid using Monitor in xive2_nvp_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive2_pic_print_info() hw/ppc: Avoid using Monitor in SpaprInterruptControllerClass::print_info() hw/ppc: Avoid using Monitor in spapr_irq_print_info() hw/ppc: Avoid using Monitor in pnv_chip_power9_pic_print_info_child() hw/ppc: Avoid using Monitor in pic_print_info() hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() hw/intc: Introduce x-query-interrupt-controllers QMP command memory: Constify IOMMUTLBEvent in memory_region_notify_iommu_one() memory: Constify IOMMUTLBEvent in memory_region_notify_iommu() hw/i386/iommu: Constify IOMMUTLBEvent in vtd_page_walk_hook prototype hw/usb: Remove unused 'host.h' header hw/s390x: Introduce s390_skeys_get|set() helpers target/s390x: Use s390_skeys_get|set() helper MAINTAINERS | 8 +- docs/about/deprecated.rst | 4 +- docs/about/removed-features.rst | 2 +- qapi/machine.json | 17 ++ hw/mips/loongson3_bootp.h | 3 + hw/usb/hcd-xhci.h | 4 +- hw/usb/host.h | 44 ---- include/exec/memory.h | 4 +- include/hw/core/tcg-cpu-ops.h | 9 +- include/hw/firmware/smbios.h | 3 +- include/hw/i386/pc.h | 22 -- include/hw/intc/intc.h | 2 +- include/hw/intc/loongson_ipi.h | 2 + include/hw/mem/memory-device.h | 2 +- include/hw/mem/pc-dimm.h | 3 +- include/hw/pci-host/pnv_phb3.h | 2 +- include/hw/pci-host/pnv_phb4.h | 2 +- include/hw/ppc/pnv_chip.h | 4 +- include/hw/ppc/pnv_psi.h | 2 +- include/hw/ppc/pnv_xive.h | 4 +- include/hw/ppc/spapr_irq.h | 4 +- include/hw/ppc/xics.h | 4 +- include/hw/ppc/xive.h | 4 +- include/hw/ppc/xive2_regs.h | 8 +- include/hw/ppc/xive_regs.h | 8 +- include/hw/s390x/storage-keys.h | 10 + include/ui/surface.h | 6 +- target/arm/internals.h | 3 + target/i386/cpu.h | 3 - target/i386/kvm/kvm-cpu.h | 41 --- target/riscv/internals.h | 3 + accel/tcg/cpu-exec.c | 12 +- hw/acpi/ich9.c | 46 +--- hw/arm/virt.c | 5 +- hw/audio/virtio-snd.c | 2 +- hw/core/machine-qmp-cmds.c | 29 +++ hw/display/qxl-render.c | 2 +- hw/display/vga.c | 25 +- hw/display/xenfb.c | 5 +- hw/i386/acpi-build.c | 96 +------ hw/i386/fw_cfg.c | 3 +- hw/i386/intel_iommu.c | 8 +- hw/i386/pc.c | 107 ++------ hw/i386/pc_piix.c | 171 +++---------- hw/intc/goldfish_pic.c | 8 +- hw/intc/i8259_common.c | 14 +- hw/intc/ioapic_common.c | 57 ++--- hw/intc/loongarch_ipi.c | 347 -------------------------- hw/intc/loongson_ipi.c | 125 +++++----- hw/intc/m68k_irqc.c | 5 +- hw/intc/pnv_xive.c | 38 +-- hw/intc/pnv_xive2.c | 48 ++-- hw/intc/slavio_intctl.c | 11 +- hw/intc/spapr_xive.c | 41 ++- hw/intc/xics.c | 25 +- hw/intc/xics_spapr.c | 7 +- hw/intc/xive.c | 108 ++++---- hw/intc/xive2.c | 87 ++++--- hw/loongarch/virt.c | 4 +- hw/mem/memory-device.c | 12 +- hw/mem/pc-dimm.c | 6 +- hw/mips/loongson3_bootp.c | 2 - hw/mips/loongson3_virt.c | 39 ++- hw/pci-host/pnv_phb3_msi.c | 21 +- hw/pci-host/pnv_phb4.c | 17 +- hw/ppc/pnv.c | 96 ++++--- hw/ppc/pnv_psi.c | 9 +- hw/ppc/spapr.c | 13 +- hw/ppc/spapr_irq.c | 4 +- hw/riscv/virt.c | 2 +- hw/s390x/s390-skeys.c | 27 ++ hw/smbios/smbios.c | 13 +- hw/usb/dev-mtp.c | 2 +- hw/usb/hcd-xhci-nec.c | 4 - hw/usb/hcd-xhci-pci.c | 4 +- hw/usb/hcd-xhci.c | 42 +--- hw/virtio/virtio-md-pci.c | 2 +- monitor/hmp-cmds.c | 27 -- system/memory.c | 6 +- target/alpha/cpu.c | 1 + target/arm/cpu.c | 2 +- target/arm/tcg/cpu-v7m.c | 1 + target/avr/cpu.c | 1 + target/cris/cpu.c | 2 + target/hppa/cpu.c | 1 + target/i386/cpu.c | 2 - target/i386/kvm/kvm-cpu.c | 3 +- target/i386/kvm/kvm.c | 7 +- target/loongarch/cpu.c | 1 + target/m68k/cpu.c | 1 + target/microblaze/cpu.c | 1 + target/mips/cpu.c | 1 + target/openrisc/cpu.c | 1 + target/ppc/cpu_init.c | 2 + target/riscv/cpu.c | 2 +- target/riscv/tcg/tcg-cpu.c | 2 + target/rx/cpu.c | 1 + target/s390x/cpu.c | 1 + target/s390x/mmu_helper.c | 11 +- target/s390x/tcg/mem_helper.c | 16 +- target/sh4/cpu.c | 1 + target/sparc/cpu.c | 1 + target/xtensa/cpu.c | 1 + ui/console.c | 3 +- ui/sdl2-2d.c | 2 +- ui/sdl2-gl.c | 2 +- util/readline.c | 35 ++- hmp-commands-info.hx | 2 +- hw/mips/Kconfig | 1 + hw/s390x/trace-events | 4 + target/s390x/trace-events | 4 - tests/avocado/mem-addr-space-check.py | 9 +- ui/cocoa.m | 62 +++-- 113 files changed, 782 insertions(+), 1426 deletions(-) delete mode 100644 hw/usb/host.h delete mode 100644 target/i386/kvm/kvm-cpu.h delete mode 100644 hw/intc/loongarch_ipi.c -- 2.41.0 . Date: Tue, 18 Jun 2024 22:20:31 +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 v2 00/76] Misc patches for 2024-06-18 The following changes since commit 900536d3e97aed7fdd9cb4dadd3bf7023360e819: Merge tag 'dirtylimit-dirtyrate-pull-request-20240617' of https://github.com/newfriday/qemu into staging (2024-06-17 11:40:24 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/misc-20240618 for you to fetch changes up to 9bf66ef9c7bacd410084f285fbcac6ee4189bab2: ui+display: rename is_buffer_shared() -> surface_is_allocated() (2024-06-18 22:17:15 +0200) Spurious warning (3 times): WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? Deliberately ignored in ui/ (also 3 times): WARNING: line over 80 characters ---------------------------------------------------------------- Misc patches queue . Remove deprecated pc-i440fx-2.0 -> 2.3 machines (Phil) . Always use little endian audio format in virtio-snd (Phil) . Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info (Phil) . Introduce x-query-interrupt-controllers QMP command (Phil) . Introduce pnv_chip_foreach_cpu() to remove one CPU_FOREACH use (Cédric) . Set arm_v7m_tcg_ops::cpu_exec_halt & mandate TCGCPUOps::cpu_exec_halt (Peter) . Constify few uses of IOMMUTLBEvent (Phil) . Wire loongson_ipi device to loongson3_virt/TCG (Jiaxun) . Fix inclusion of tracing headers on s390x/TCG (Phil) . Add few shortcuts missing to readline (Manos) . Update ui/display entries in MAINTAINERS (Gerd) . Use qemu_add_mouse_change_notifier on Cocoa (Akihiko) . Fix Standard VGA screen blanking and cleanups (Gerd) . Fix USB/MTP reported "free space" value (Fabio) ---------------------------------------------------------------- Akihiko Odaki (1): ui/cocoa: Use qemu_add_mouse_change_notifier Cédric Le Goater (1): ppc/pnv: Introduce pnv_chip_foreach_cpu() Fabio D'Urso (1): hw/usb/dev-mtp: Correctly report free space Gerd Hoffmann (5): MAINTAINERS: drop virtio-gpu maintainership MAINTAINERS: drop spice+ui maintainership stdvga: fix screen blanking ui+display: rename is_placeholder() -> surface_is_placeholder() ui+display: rename is_buffer_shared() -> surface_is_allocated() Jiaxun Yang (4): hw/intc: Remove loongarch_ipi.c hw/intc/loongson_ipi: Provide per core MMIO address spaces hw/intc/loongson_ipi: Replace ipi_getcpu with cpu_by_arch_id hw/mips/loongson3_virt: Wire up loongson_ipi device Manos Pitsidianakis (3): util/readline: Fix lints for readline_handle_byte util/readline: Add C-n, C-p shortcuts util/readline: Add C-u shortcut Peter Maydell (3): target/arm: Set arm_v7m_tcg_ops cpu_exec_halt to arm_cpu_exec_halt() target: Set TCGCPUOps::cpu_exec_halt to target's has_work implementation accel/tcg: Make TCGCPUOps::cpu_exec_halt mandatory Philippe Mathieu-Daudé (58): hw/i386/pc: Deprecate 2.4 to 2.12 pc-i440fx machines hw/i386/pc: Remove deprecated pc-i440fx-2.0 machine hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flag hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flag hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size hw/acpi/ich9: Remove 'memory-hotplug-support' property hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug' hw/i386/pc: Remove deprecated pc-i440fx-2.1 machine target/i386/kvm: Remove x86_cpu_change_kvm_default() and 'kvm-cpu.h' hw/i386/pc: Remove PCMachineClass::smbios_uuid_encoded hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults() hw/smbios: Remove 'smbios_uuid_encoded', simplify smbios_encode_uuid() hw/i386/pc: Remove PCMachineClass::enforce_aligned_dimm hw/mem/pc-dimm: Remove legacy_align argument from pc_dimm_pre_plug() hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug() hw/i386/pc: Remove deprecated pc-i440fx-2.2 machine hw/i386/pc: Remove PCMachineClass::resizable_acpi_blob hw/i386/pc: Remove PCMachineClass::rsdp_in_ram hw/i386/acpi: Remove AcpiBuildState::rsdp field hw/i386/pc: Remove deprecated pc-i440fx-2.3 machine hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macro target/i386: Remove X86CPU::kvm_no_smi_migration field hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE hw/audio/virtio-snd: Always use little endian audio format hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info() hw/ppc: Avoid using Monitor in icp_pic_print_info() hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info() hw/ppc: Avoid using Monitor in ics_pic_print_info() hw/ppc: Avoid using Monitor in PnvChipClass::intc_print_info() hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_end_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_pic_print_info() hw/ppc: Avoid using Monitor in xive_source_pic_print_info() hw/ppc: Avoid using Monitor in pnv_phb4_pic_print_info() hw/ppc: Avoid using Monitor in xive_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_nvt_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive_pic_print_info() hw/ppc: Avoid using Monitor in pnv_psi_pic_print_info() hw/ppc: Avoid using Monitor in xive2_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_pic_print_info() hw/ppc: Avoid using Monitor in xive2_nvp_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive2_pic_print_info() hw/ppc: Avoid using Monitor in SpaprInterruptControllerClass::print_info() hw/ppc: Avoid using Monitor in spapr_irq_print_info() hw/ppc: Avoid using Monitor in pnv_chip_power9_pic_print_info_child() hw/ppc: Avoid using Monitor in pic_print_info() hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() hw/intc: Introduce x-query-interrupt-controllers QMP command memory: Constify IOMMUTLBEvent in memory_region_notify_iommu_one() memory: Constify IOMMUTLBEvent in memory_region_notify_iommu() hw/i386/iommu: Constify IOMMUTLBEvent in vtd_page_walk_hook prototype hw/usb: Remove unused 'host.h' header hw/s390x: Introduce s390_skeys_get|set() helpers target/s390x: Use s390_skeys_get|set() helper MAINTAINERS | 8 +- docs/about/deprecated.rst | 4 +- docs/about/removed-features.rst | 2 +- qapi/machine.json | 17 ++ hw/mips/loongson3_bootp.h | 3 + hw/usb/hcd-xhci.h | 4 +- hw/usb/host.h | 44 ---- include/exec/memory.h | 4 +- include/hw/core/tcg-cpu-ops.h | 9 +- include/hw/firmware/smbios.h | 3 +- include/hw/i386/pc.h | 22 -- include/hw/intc/intc.h | 2 +- include/hw/intc/loongson_ipi.h | 2 + include/hw/mem/memory-device.h | 2 +- include/hw/mem/pc-dimm.h | 3 +- include/hw/pci-host/pnv_phb3.h | 2 +- include/hw/pci-host/pnv_phb4.h | 2 +- include/hw/ppc/pnv_chip.h | 4 +- include/hw/ppc/pnv_psi.h | 2 +- include/hw/ppc/pnv_xive.h | 4 +- include/hw/ppc/spapr_irq.h | 4 +- include/hw/ppc/xics.h | 4 +- include/hw/ppc/xive.h | 4 +- include/hw/ppc/xive2_regs.h | 8 +- include/hw/ppc/xive_regs.h | 8 +- include/hw/s390x/storage-keys.h | 10 + include/ui/surface.h | 6 +- target/arm/internals.h | 3 + target/i386/cpu.h | 3 - target/i386/kvm/kvm-cpu.h | 41 --- target/riscv/internals.h | 3 + accel/tcg/cpu-exec.c | 7 +- hw/acpi/ich9.c | 46 +--- hw/arm/virt.c | 5 +- hw/audio/virtio-snd.c | 2 +- hw/core/machine-qmp-cmds.c | 29 +++ hw/display/qxl-render.c | 2 +- hw/display/vga.c | 25 +- hw/display/xenfb.c | 5 +- hw/i386/acpi-build.c | 96 +------ hw/i386/fw_cfg.c | 3 +- hw/i386/intel_iommu.c | 8 +- hw/i386/pc.c | 107 ++------ hw/i386/pc_piix.c | 171 +++---------- hw/intc/goldfish_pic.c | 8 +- hw/intc/i8259_common.c | 14 +- hw/intc/ioapic_common.c | 57 ++--- hw/intc/loongarch_ipi.c | 347 -------------------------- hw/intc/loongson_ipi.c | 125 +++++----- hw/intc/m68k_irqc.c | 5 +- hw/intc/pnv_xive.c | 38 +-- hw/intc/pnv_xive2.c | 48 ++-- hw/intc/slavio_intctl.c | 11 +- hw/intc/spapr_xive.c | 41 ++- hw/intc/xics.c | 25 +- hw/intc/xics_spapr.c | 7 +- hw/intc/xive.c | 108 ++++---- hw/intc/xive2.c | 87 ++++--- hw/loongarch/virt.c | 4 +- hw/mem/memory-device.c | 12 +- hw/mem/pc-dimm.c | 6 +- hw/mips/loongson3_bootp.c | 2 - hw/mips/loongson3_virt.c | 39 ++- hw/pci-host/pnv_phb3_msi.c | 21 +- hw/pci-host/pnv_phb4.c | 17 +- hw/ppc/pnv.c | 96 ++++--- hw/ppc/pnv_psi.c | 9 +- hw/ppc/spapr.c | 13 +- hw/ppc/spapr_irq.c | 4 +- hw/riscv/virt.c | 2 +- hw/s390x/s390-skeys.c | 27 ++ hw/smbios/smbios.c | 13 +- hw/usb/dev-mtp.c | 2 +- hw/usb/hcd-xhci-nec.c | 4 - hw/usb/hcd-xhci-pci.c | 4 +- hw/usb/hcd-xhci.c | 42 +--- hw/virtio/virtio-md-pci.c | 2 +- monitor/hmp-cmds.c | 27 -- system/memory.c | 6 +- target/alpha/cpu.c | 1 + target/arm/cpu.c | 2 +- target/arm/tcg/cpu-v7m.c | 1 + target/avr/cpu.c | 1 + target/cris/cpu.c | 2 + target/hppa/cpu.c | 1 + target/i386/cpu.c | 2 - target/i386/kvm/kvm-cpu.c | 3 +- target/i386/kvm/kvm.c | 7 +- target/loongarch/cpu.c | 1 + target/m68k/cpu.c | 1 + target/microblaze/cpu.c | 1 + target/mips/cpu.c | 1 + target/openrisc/cpu.c | 1 + target/ppc/cpu_init.c | 2 + target/riscv/cpu.c | 2 +- target/riscv/tcg/tcg-cpu.c | 2 + target/rx/cpu.c | 1 + target/s390x/cpu.c | 1 + target/s390x/mmu_helper.c | 11 +- target/s390x/tcg/mem_helper.c | 16 +- target/sh4/cpu.c | 1 + target/sparc/cpu.c | 1 + target/xtensa/cpu.c | 1 + ui/console.c | 3 +- ui/sdl2-2d.c | 2 +- ui/sdl2-gl.c | 2 +- util/readline.c | 35 ++- hmp-commands-info.hx | 2 +- hw/mips/Kconfig | 1 + hw/s390x/trace-events | 4 + target/s390x/trace-events | 4 - tests/avocado/mem-addr-space-check.py | 9 +- ui/cocoa.m | 62 +++-- 113 files changed, 777 insertions(+), 1426 deletions(-) delete mode 100644 hw/usb/host.h delete mode 100644 target/i386/kvm/kvm-cpu.h delete mode 100644 hw/intc/loongarch_ipi.c -- 2.41.0 . Date: Wed, 19 Jun 2024 12:54:18 +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 v3 00/74] Misc patches for 2024-06-19 The following changes since commit 223696363bb117241ad9c2facbff0c474afa4104: Merge tag 'edgar/xilinx-queue-2024-06-17.for-upstream' of https://gitlab.com/edgar.iglesias/qemu into staging (2024-06-18 13:08:01 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/misc-20240619 for you to fetch changes up to fc0870c180872d0f40e63507cc6bf8565ffd8d98: exec: Make the MemOp enum cast explicit (2024-06-19 12:52:21 +0200) Spurious warning (3 times): WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? Deliberately ignored in ui/ (also 3 times): WARNING: line over 80 characters ---------------------------------------------------------------- Misc patches queue . Remove deprecated pc-i440fx-2.0 -> 2.3 machines (Phil) . Always use little endian audio format in virtio-snd (Phil) . Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info (Phil) . Introduce x-query-interrupt-controllers QMP command (Phil) . Introduce pnv_chip_foreach_cpu() to remove one CPU_FOREACH use (Cédric) . Constify few uses of IOMMUTLBEvent (Phil) . Wire loongson_ipi device to loongson3_virt/TCG (Jiaxun) . Fix inclusion of tracing headers on s390x/TCG (Phil) . Add few shortcuts missing to readline (Manos) . Update ui/display entries in MAINTAINERS (Gerd) . Use qemu_add_mouse_change_notifier on Cocoa (Akihiko) . Fix Standard VGA screen blanking and cleanups (Gerd) . Fix USB/MTP reported "free space" value (Fabio) . Cast size_memop() returned value (Roman) ---------------------------------------------------------------- Akihiko Odaki (1): ui/cocoa: Use qemu_add_mouse_change_notifier Cédric Le Goater (1): ppc/pnv: Introduce pnv_chip_foreach_cpu() Fabio D'Urso (1): hw/usb/dev-mtp: Correctly report free space Gerd Hoffmann (5): MAINTAINERS: drop virtio-gpu maintainership MAINTAINERS: drop spice+ui maintainership stdvga: fix screen blanking ui+display: rename is_placeholder() -> surface_is_placeholder() ui+display: rename is_buffer_shared() -> surface_is_allocated() Jiaxun Yang (4): hw/intc: Remove loongarch_ipi.c hw/intc/loongson_ipi: Provide per core MMIO address spaces hw/intc/loongson_ipi: Replace ipi_getcpu with cpu_by_arch_id hw/mips/loongson3_virt: Wire up loongson_ipi device Manos Pitsidianakis (3): util/readline: Fix lints for readline_handle_byte util/readline: Add C-n, C-p shortcuts util/readline: Add C-u shortcut Philippe Mathieu-Daudé (58): hw/i386/pc: Deprecate 2.4 to 2.12 pc-i440fx machines hw/i386/pc: Remove deprecated pc-i440fx-2.0 machine hw/usb/hcd-xhci: Remove XHCI_FLAG_FORCE_PCIE_ENDCAP flag hw/usb/hcd-xhci: Remove XHCI_FLAG_SS_FIRST flag hw/i386/acpi: Remove PCMachineClass::legacy_acpi_table_size hw/acpi/ich9: Remove 'memory-hotplug-support' property hw/acpi/ich9: Remove dead code related to 'acpi_memory_hotplug' hw/i386/pc: Remove deprecated pc-i440fx-2.1 machine target/i386/kvm: Remove x86_cpu_change_kvm_default() and 'kvm-cpu.h' hw/i386/pc: Remove PCMachineClass::smbios_uuid_encoded hw/smbios: Remove 'uuid_encoded' argument from smbios_set_defaults() hw/smbios: Remove 'smbios_uuid_encoded', simplify smbios_encode_uuid() hw/i386/pc: Remove PCMachineClass::enforce_aligned_dimm hw/mem/pc-dimm: Remove legacy_align argument from pc_dimm_pre_plug() hw/mem/memory-device: Remove legacy_align from memory_device_pre_plug() hw/i386/pc: Remove deprecated pc-i440fx-2.2 machine hw/i386/pc: Remove PCMachineClass::resizable_acpi_blob hw/i386/pc: Remove PCMachineClass::rsdp_in_ram hw/i386/acpi: Remove AcpiBuildState::rsdp field hw/i386/pc: Remove deprecated pc-i440fx-2.3 machine hw/i386/pc: Simplify DEFINE_I440FX_MACHINE() macro target/i386: Remove X86CPU::kvm_no_smi_migration field hw/i386/pc: Replace PCMachineClass::acpi_data_size by PC_ACPI_DATA_SIZE hw/audio/virtio-snd: Always use little endian audio format hw/ppc: Avoid using Monitor in pnv_phb3_msi_pic_print_info() hw/ppc: Avoid using Monitor in icp_pic_print_info() hw/ppc: Avoid using Monitor in xive_tctx_pic_print_info() hw/ppc: Avoid using Monitor in ics_pic_print_info() hw/ppc: Avoid using Monitor in PnvChipClass::intc_print_info() hw/ppc: Avoid using Monitor in xive_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_end_pic_print_info() hw/ppc: Avoid using Monitor in spapr_xive_pic_print_info() hw/ppc: Avoid using Monitor in xive_source_pic_print_info() hw/ppc: Avoid using Monitor in pnv_phb4_pic_print_info() hw/ppc: Avoid using Monitor in xive_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_pic_print_info() hw/ppc: Avoid using Monitor in xive_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive_nvt_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive_pic_print_info() hw/ppc: Avoid using Monitor in pnv_psi_pic_print_info() hw/ppc: Avoid using Monitor in xive2_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_eas_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_queue_pic_print_info() hw/ppc: Avoid using Monitor in xive2_end_pic_print_info() hw/ppc: Avoid using Monitor in xive2_nvp_pic_print_info() hw/ppc: Avoid using Monitor in pnv_xive2_pic_print_info() hw/ppc: Avoid using Monitor in SpaprInterruptControllerClass::print_info() hw/ppc: Avoid using Monitor in spapr_irq_print_info() hw/ppc: Avoid using Monitor in pnv_chip_power9_pic_print_info_child() hw/ppc: Avoid using Monitor in pic_print_info() hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() hw/intc: Introduce x-query-interrupt-controllers QMP command memory: Constify IOMMUTLBEvent in memory_region_notify_iommu_one() memory: Constify IOMMUTLBEvent in memory_region_notify_iommu() hw/i386/iommu: Constify IOMMUTLBEvent in vtd_page_walk_hook prototype hw/usb: Remove unused 'host.h' header hw/s390x: Introduce s390_skeys_get|set() helpers target/s390x: Use s390_skeys_get|set() helper Roman Kiryanov (1): exec: Make the MemOp enum cast explicit MAINTAINERS | 8 +- docs/about/deprecated.rst | 4 +- docs/about/removed-features.rst | 2 +- qapi/machine.json | 17 ++ hw/mips/loongson3_bootp.h | 3 + hw/usb/hcd-xhci.h | 4 +- hw/usb/host.h | 44 ---- include/exec/memop.h | 2 +- include/exec/memory.h | 4 +- include/hw/firmware/smbios.h | 3 +- include/hw/i386/pc.h | 22 -- include/hw/intc/intc.h | 2 +- include/hw/intc/loongson_ipi.h | 2 + include/hw/mem/memory-device.h | 2 +- include/hw/mem/pc-dimm.h | 3 +- include/hw/pci-host/pnv_phb3.h | 2 +- include/hw/pci-host/pnv_phb4.h | 2 +- include/hw/ppc/pnv_chip.h | 4 +- include/hw/ppc/pnv_psi.h | 2 +- include/hw/ppc/pnv_xive.h | 4 +- include/hw/ppc/spapr_irq.h | 4 +- include/hw/ppc/xics.h | 4 +- include/hw/ppc/xive.h | 4 +- include/hw/ppc/xive2_regs.h | 8 +- include/hw/ppc/xive_regs.h | 8 +- include/hw/s390x/storage-keys.h | 10 + include/ui/surface.h | 6 +- target/i386/cpu.h | 3 - target/i386/kvm/kvm-cpu.h | 41 --- hw/acpi/ich9.c | 46 +--- hw/arm/virt.c | 5 +- hw/audio/virtio-snd.c | 2 +- hw/core/machine-qmp-cmds.c | 29 +++ hw/display/qxl-render.c | 2 +- hw/display/vga.c | 25 +- hw/display/xenfb.c | 5 +- hw/i386/acpi-build.c | 96 +------ hw/i386/fw_cfg.c | 3 +- hw/i386/intel_iommu.c | 8 +- hw/i386/pc.c | 107 ++------ hw/i386/pc_piix.c | 171 +++---------- hw/intc/goldfish_pic.c | 8 +- hw/intc/i8259_common.c | 14 +- hw/intc/ioapic_common.c | 57 ++--- hw/intc/loongarch_ipi.c | 347 -------------------------- hw/intc/loongson_ipi.c | 125 +++++----- hw/intc/m68k_irqc.c | 5 +- hw/intc/pnv_xive.c | 38 +-- hw/intc/pnv_xive2.c | 48 ++-- hw/intc/slavio_intctl.c | 11 +- hw/intc/spapr_xive.c | 41 ++- hw/intc/xics.c | 25 +- hw/intc/xics_spapr.c | 7 +- hw/intc/xive.c | 108 ++++---- hw/intc/xive2.c | 87 ++++--- hw/loongarch/virt.c | 4 +- hw/mem/memory-device.c | 12 +- hw/mem/pc-dimm.c | 6 +- hw/mips/loongson3_bootp.c | 2 - hw/mips/loongson3_virt.c | 39 ++- hw/pci-host/pnv_phb3_msi.c | 21 +- hw/pci-host/pnv_phb4.c | 17 +- hw/ppc/pnv.c | 96 ++++--- hw/ppc/pnv_psi.c | 9 +- hw/ppc/spapr.c | 13 +- hw/ppc/spapr_irq.c | 4 +- hw/riscv/virt.c | 2 +- hw/s390x/s390-skeys.c | 27 ++ hw/smbios/smbios.c | 13 +- hw/usb/dev-mtp.c | 2 +- hw/usb/hcd-xhci-nec.c | 4 - hw/usb/hcd-xhci-pci.c | 4 +- hw/usb/hcd-xhci.c | 42 +--- hw/virtio/virtio-md-pci.c | 2 +- monitor/hmp-cmds.c | 27 -- system/memory.c | 6 +- target/i386/cpu.c | 2 - target/i386/kvm/kvm-cpu.c | 3 +- target/i386/kvm/kvm.c | 7 +- target/s390x/mmu_helper.c | 11 +- target/s390x/tcg/mem_helper.c | 16 +- ui/console.c | 3 +- ui/sdl2-2d.c | 2 +- ui/sdl2-gl.c | 2 +- util/readline.c | 35 ++- hmp-commands-info.hx | 2 +- hw/mips/Kconfig | 1 + hw/s390x/trace-events | 4 + target/s390x/trace-events | 4 - tests/avocado/mem-addr-space-check.py | 9 +- ui/cocoa.m | 62 +++-- 91 files changed, 743 insertions(+), 1416 deletions(-) delete mode 100644 hw/usb/host.h delete mode 100644 target/i386/kvm/kvm-cpu.h delete mode 100644 hw/intc/loongarch_ipi.c -- 2.41.0 . Date: Wed, 19 Jun 2024 13:59:28 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/24] tcg patch queue The following changes since commit 223696363bb117241ad9c2facbff0c474afa4104: Merge tag 'edgar/xilinx-queue-2024-06-17.for-upstream' of https://gitlab.com/edgar.iglesias/qemu into staging (2024-06-18 13:08:01 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu.git tags/pull-tcg-20240619 for you to fetch changes up to 521d7fb3ebdf88112ed13556a93e3037742b9eb8: tcg/loongarch64: Fix tcg_out_movi vs some pcrel pointers (2024-06-19 13:50:22 -0700) ---------------------------------------------------------------- tcg/loongarch64: Support 64- and 256-bit vectors tcg/loongarch64: Fix tcg_out_movi vs some pcrel pointers util/bufferiszero: Split out host include files util/bufferiszero: Add loongarch64 vector acceleration accel/tcg: Fix typo causing tb->page_addr[1] to not be recorded target/sparc: use signed denominator in sdiv helper linux-user: Make TARGET_NR_setgroups affect only the current thread ---------------------------------------------------------------- Anton Johansson (1): accel/tcg: Fix typo causing tb->page_addr[1] to not be recorded Clément Chigot (1): target/sparc: use signed denominator in sdiv helper Ilya Leoshkevich (1): linux-user: Make TARGET_NR_setgroups affect only the current thread Richard Henderson (21): tcg/loongarch64: Import LASX, FP insns tcg/loongarch64: Use fp load/store for I32 and I64 into vector regs tcg/loongarch64: Handle i32 and i64 moves between gr and fr tcg/loongarch64: Support TCG_TYPE_V64 util/loongarch64: Detect LASX vector support tcg/loongarch64: Simplify tcg_out_dup_vec tcg/loongarch64: Support LASX in tcg_out_dup_vec tcg/loongarch64: Support LASX in tcg_out_dupm_vec tcg/loongarch64: Use tcg_out_dup_vec in tcg_out_dupi_vec tcg/loongarch64: Support LASX in tcg_out_dupi_vec tcg/loongarch64: Simplify tcg_out_addsub_vec tcg/loongarch64: Support LASX in tcg_out_addsub_vec tcg/loongarch64: Split out vdvjvk in tcg_out_vec_op tcg/loongarch64: Support LASX in tcg_out_{mov,ld,st} tcg/loongarch64: Remove temp_vec from tcg_out_vec_op tcg/loongarch64: Split out vdvjukN in tcg_out_vec_op tcg/loongarch64: Support LASX in tcg_out_vec_op tcg/loongarch64: Enable v256 with LASX util/bufferiszero: Split out host include files util/bufferiszero: Add loongarch64 vector acceleration tcg/loongarch64: Fix tcg_out_movi vs some pcrel pointers host/include/loongarch64/host/cpuinfo.h | 1 + tcg/loongarch64/tcg-target.h | 4 +- accel/tcg/tb-maint.c | 4 +- linux-user/syscall.c | 10 +- target/sparc/helper.c | 2 +- util/bufferiszero.c | 191 +- util/cpuinfo-loongarch.c | 1 + host/include/aarch64/host/bufferiszero.c.inc | 76 + host/include/generic/host/bufferiszero.c.inc | 10 + host/include/i386/host/bufferiszero.c.inc | 124 + host/include/loongarch64/host/bufferiszero.c.inc | 143 + host/include/x86_64/host/bufferiszero.c.inc | 1 + tcg/loongarch64/tcg-insn-defs.c.inc | 6181 ++++++++-------------- tcg/loongarch64/tcg-target.c.inc | 601 ++- 14 files changed, 2838 insertions(+), 4511 deletions(-) create mode 100644 host/include/aarch64/host/bufferiszero.c.inc create mode 100644 host/include/generic/host/bufferiszero.c.inc create mode 100644 host/include/i386/host/bufferiszero.c.inc create mode 100644 host/include/loongarch64/host/bufferiszero.c.inc create mode 100644 host/include/x86_64/host/bufferiszero.c.inc . Date: Fri, 21 Jun 2024 14:54:06 -0300 From: Fabiano Rosas To: qemu-devel@nongnu.org Cc: Peter Xu , Richard Henderson Subject: [PULL 00/28] Migration patches for 2024-06-21 The following changes since commit 02d9c38236cf8c9826e5c5be61780c4444cb4ae0: Merge tag 'pull-tcg-20240619' of https://gitlab.com/rth7680/qemu into staging (2024-06-19 14:00:39 -0700) are available in the Git repository at: https://gitlab.com/farosas/qemu.git tags/migration-20240621-pull-request for you to fetch changes up to 04b09de16d78cf2d163ca65d7c6d161bf2baceb6: migration: Remove unused VMSTATE_ARRAY_TEST() macro (2024-06-21 14:37:58 -0300) ---------------------------------------------------------------- Migration pull request - Fabiano's fix for fdset + file migration truncating the migration file - Fabiano's fdset + direct-io support for mapped-ram - Peter's various cleanups (multifd sync, thread names, migration states, tests) - Peter's new migration state postcopy-recover-setup - Philippe's unused vmstate macro cleanup ---------------------------------------------------------------- Fabiano Rosas (15): migration: Drop reference to QIOChannel if file seeking fails migration: Fix file migration with fdset tests/qtest/migration: Fix file migration offset check tests/qtest/migration: Add a precopy file test with fdset monitor: Introduce monitor_fdset_*free monitor: Stop removing non-duplicated fds monitor: Simplify fdset and fd removal monitor: Report errors from monitor_fdset_dup_fd_add io: Stop using qemu_open_old in channel-file migration: Add direct-io parameter migration/multifd: Add direct-io support tests/qtest/migration: Add tests for file migration with direct-io monitor: fdset: Match against O_DIRECT migration: Add documentation for fdset with multifd + file tests/qtest/migration: Add a test for mapped-ram with passing of fds Peter Xu (12): monitor: Drop monitor_fdset_dup_fd_find/_remove() migration/multifd: Avoid the final FLUSH in complete() migration: Rename thread debug names migration: Use MigrationStatus instead of int migration: Cleanup incoming migration setup state change migration/postcopy: Add postcopy-recover-setup phase migration/docs: Update postcopy recover session for SETUP phase tests/migration-tests: Drop most WIN32 ifdefs for postcopy failure tests tests/migration-tests: Always enable migration events tests/migration-tests: migration_event_wait() tests/migration-tests: Verify postcopy-recover-setup status tests/migration-tests: Cover postcopy failure on reconnect Philippe Mathieu-Daudé (1): migration: Remove unused VMSTATE_ARRAY_TEST() macro docs/devel/migration/main.rst | 24 +- docs/devel/migration/mapped-ram.rst | 6 +- docs/devel/migration/postcopy.rst | 29 +- include/migration/vmstate.h | 10 - include/monitor/monitor.h | 3 +- include/qemu/osdep.h | 2 + io/channel-file.c | 8 +- migration/colo.c | 2 +- migration/file.c | 45 ++- migration/file.h | 1 - migration/migration-hmp-cmds.c | 11 + migration/migration.c | 121 +++++-- migration/migration.h | 9 +- migration/multifd.c | 6 +- migration/options.c | 35 +++ migration/options.h | 1 + migration/postcopy-ram.c | 10 +- migration/postcopy-ram.h | 3 + migration/ram.c | 4 - migration/savevm.c | 6 +- monitor/fds.c | 96 +++--- monitor/hmp.c | 2 - monitor/monitor-internal.h | 1 - monitor/monitor.c | 1 - monitor/qmp.c | 2 - qapi/migration.json | 25 +- stubs/fdset.c | 7 +- tests/qtest/libqtest.c | 15 +- tests/qtest/libqtest.h | 2 + tests/qtest/migration-helpers.c | 76 ++++- tests/qtest/migration-helpers.h | 10 + tests/qtest/migration-test.c | 470 +++++++++++++++++++++++++--- util/osdep.c | 34 +- 33 files changed, 838 insertions(+), 239 deletions(-) -- 2.35.3 . Date: Sat, 22 Jun 2024 08:15:34 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/23] Misc changes for 2024-06-22 The following changes since commit 223696363bb117241ad9c2facbff0c474afa4104: Merge tag 'edgar/xilinx-queue-2024-06-17.for-upstream' of https://gitlab.com/edgar.iglesias/qemu into staging (2024-06-18 13:08:01 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to b9b51004033983589e00fb4697f620b903cfcf0e: exec: don't use void* in pointer arithmetic in headers (2024-06-21 18:32:18 +0200) ---------------------------------------------------------------- * configure: detect --cpu=mipsisa64r6 * target/i386: decode address before going back to translate.c * meson: allow configuring the x86-64 baseline * meson: remove dead optimization option * exec: small changes to allow compilation with C++ in Android emulator ---------------------------------------------------------------- Paolo Bonzini (21): configure: detect --cpu=mipsisa64r6 target/i386: fix CC_OP dump target/i386: use cpu_cc_dst for CC_OP_POPCNT target/i386: give CC_OP_POPCNT low bits corresponding to MO_TL target/i386: convert bit test instructions to new decoder target/i386: try not to force EFLAGS computation for CC_OP_ADOX/ADCX target/i386: decode address before going back to translate.c target/i386: convert CMPXCHG8B/CMPXCHG16B to new decoder target/i386: do not check PREFIX_LOCK in old-style decoder target/i386: list instructions still in translate.c target/i386: assert that cc_op* and pc_save are preserved target/i386: remove gen_ext_tl Revert "host/i386: assume presence of POPCNT" Revert "host/i386: assume presence of SSSE3" Revert "host/i386: assume presence of SSE2" meson: allow configuring the x86-64 baseline meson: remove dead optimization option block: make assertion more generic block: do not check bdrv_file_open block: remove separate bdrv_file_open callback block: rename former bdrv_file_open callbacks Roman Kiryanov (2): exec: avoid using C++ keywords in function parameters exec: don't use void* in pointer arithmetic in headers configure | 2 +- meson.build | 54 +++-- host/include/i386/host/cpuinfo.h | 2 + include/block/block_int-common.h | 3 - include/exec/memory.h | 6 +- target/i386/cpu.h | 13 +- target/i386/tcg/decode-new.h | 19 +- tcg/i386/tcg-target.h | 5 +- block.c | 17 +- block/blkdebug.c | 2 +- block/blkio.c | 8 +- block/blkverify.c | 2 +- block/curl.c | 8 +- block/file-posix.c | 8 +- block/file-win32.c | 4 +- block/gluster.c | 6 +- block/iscsi.c | 4 +- block/nbd.c | 6 +- block/nfs.c | 2 +- block/null.c | 8 +- block/nvme.c | 8 +- block/rbd.c | 3 +- block/ssh.c | 6 +- block/vvfat.c | 2 +- target/i386/cpu-dump.c | 101 ++++---- target/i386/tcg/cc_helper.c | 2 +- target/i386/tcg/translate.c | 492 ++++++++------------------------------- util/bufferiszero.c | 4 +- util/cpuinfo-i386.c | 6 +- target/i386/tcg/decode-new.c.inc | 136 ++++++++--- target/i386/tcg/emit.c.inc | 249 +++++++++++++++++++- meson_options.txt | 5 +- scripts/meson-buildoptions.sh | 6 +- 33 files changed, 618 insertions(+), 581 deletions(-) -- 2.45.2 . Date: Sat, 22 Jun 2024 13:06:25 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/18] target-arm queue Hi; here's the latest target-arm pullreq; this is pretty much just various bugfixes. -- PMM The following changes since commit 02d9c38236cf8c9826e5c5be61780c4444cb4ae0: Merge tag 'pull-tcg-20240619' of https://gitlab.com/rth7680/qemu into staging (2024-06-19 14:00:39 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240622 for you to fetch changes up to 3b36cead6ecc0e40edb8b2f3e253baa01ebc1e9a: hw/arm/sbsa-ref: Enable CPU cluster on ARM sbsa machine (2024-06-21 16:24:46 +0100) ---------------------------------------------------------------- target-arm queue: * hw/net/can/xlnx-versal-canfd: Fix sorting of the tx queue * hw/arm/xilinx_zynq: Fix IRQ/FIQ routing * hw/intc/arm_gic: Fix deactivation of SPI lines * hw/timer/a9gtimer: Handle QTest mode in a9_gtimer_get_current_cpu * hw/misc: Set valid access size for Exynos4210 RNG * hw/arm/sbsa-ref: switch to 1GHz timer frequency * hw/arm/sbsa-ref: Enable CPU cluster on ARM sbsa machine * hw/arm/virt: allow creation of a second NonSecure UART * hw/arm/virt: Avoid unexpected warning from Linux guest on host with Fujitsu CPUs * scripts/coverity-scan/COMPONENTS.md: update component regexes * hw/usb/hcd-dwc2: Handle invalid address access in read and write functions * hw/usb/hcd-ohci: Fix ohci_service_td: accept zero-length TDs where CBP=BE+1 ---------------------------------------------------------------- David Hubbard (1): hw/usb/hcd-ohci: Fix ohci_service_td: accept zero-length TDs where CBP=BE+1 Edgar E. Iglesias (1): hw/intc/arm_gic: Fix deactivation of SPI lines Marcin Juszkiewicz (1): hw/arm/sbsa-ref: switch to 1GHz timer frequency Peter Maydell (8): scripts/coverity-scan/COMPONENTS.md: Update paths to match gitlab CI scripts/coverity-scan/COMPONENTS.md: Fix 'char' component scripts/coverity-scan/COMPONENTS.md: Add crypto headers in host/include to the crypto component scripts/coverity-scan/COMPONENTS.md: Fix monitor component scripts/coverity-scan/COMPONENTS.md: Include libqmp in testlibs hw/arm/virt: Add serial aliases in DTB hw/arm/virt: Rename VIRT_UART and VIRT_SECURE_UART to VIRT_UART[01] hw/arm/virt: allow creation of a second NonSecure UART Sebastian Huber (1): hw/arm/xilinx_zynq: Fix IRQ/FIQ routing Shiva sagar Myana (1): hw/net/can/xlnx-versal-canfd: Fix sorting of the tx queue Xiong Yining (1): hw/arm/sbsa-ref: Enable CPU cluster on ARM sbsa machine Zhenyu Zhang (1): hw/arm/virt: Avoid unexpected warning from Linux guest on host with Fujitsu CPUs Zheyu Ma (3): hw/timer/a9gtimer: Handle QTest mode in a9_gtimer_get_current_cpu hw/usb/hcd-dwc2: Handle invalid address access in read and write functions hw/misc: Set valid access size for Exynos4210 RNG docs/system/arm/sbsa.rst | 4 ++ docs/system/arm/virt.rst | 6 +- hw/intc/gic_internal.h | 8 ++- include/hw/arm/virt.h | 5 +- hw/arm/sbsa-ref.c | 23 +++++--- hw/arm/virt-acpi-build.c | 22 +++++--- hw/arm/virt.c | 63 ++++++++++++++++++--- hw/arm/xilinx_zynq.c | 5 +- hw/misc/exynos4210_rng.c | 2 + hw/net/can/xlnx-versal-canfd.c | 5 +- hw/timer/a9gtimer.c | 5 ++ hw/usb/hcd-dwc2.c | 9 ++- hw/usb/hcd-ohci.c | 4 +- hw/usb/trace-events | 1 + scripts/coverity-scan/COMPONENTS.md | 107 ++++++++++++++++++------------------ 15 files changed, 179 insertions(+), 90 deletions(-) . Date: Mon, 24 Jun 2024 11:10:32 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 00/11] s390x and qtest patches 2024-06-24 The following changes since commit c9ba79baca7c673098361e3a687f72d458e0d18a: Merge tag 'pull-target-arm-20240622' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-06-22 09:56:49 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-06-24 for you to fetch changes up to d6a7c3f44cf3f60c066dbf087ef79d4b12acc642: target/s390x: Add a CONFIG switch to disable legacy CPUs (2024-06-24 08:22:30 +0200) ---------------------------------------------------------------- * s390x error reporting clean ups * fix memleak in qos_fuzz.c * use correct byte order for pid field in s390x dumps * Add a CONFIG switch to disable legacy s390x CPUs ---------------------------------------------------------------- Cédric Le Goater (6): hw/s390x/ccw: Make s390_ccw_get_dev_info() return a bool s390x/css: Make CCWDeviceClass::realize return bool hw/s390x/ccw: Remove local Error variable from s390_ccw_realize() s390x/css: Make S390CCWDeviceClass::realize return bool vfio/ccw: Use the 'Error **errp' argument of vfio_ccw_realize() vfio/{ap, ccw}: Use warn_report_err() for IRQ notifier registration errors Dmitry Frolov (1): tests/qtest/fuzz: fix memleak in qos_fuzz.c Omar Sandoval (1): target/s390x/arch_dump: use correct byte order for pid Thomas Huth (2): MAINTAINERS: Cover all tests/qtest/migration-* files target/s390x: Add a CONFIG switch to disable legacy CPUs Zhenzhong Duan (1): vfio/ccw: Fix the missed unrealize() call in error path MAINTAINERS | 3 ++- hw/s390x/ccw-device.h | 2 +- include/hw/s390x/s390-ccw.h | 2 +- hw/s390x/ccw-device.c | 3 ++- hw/s390x/s390-ccw.c | 29 +++++++++++++---------------- hw/s390x/s390-virtio-ccw.c | 5 +++++ hw/vfio/ap.c | 2 +- hw/vfio/ccw.c | 18 ++++++++---------- target/s390x/arch_dump.c | 2 +- target/s390x/cpu_models.c | 9 +++++++++ tests/qtest/fuzz/qos_fuzz.c | 1 + target/s390x/Kconfig | 5 +++++ 12 files changed, 49 insertions(+), 32 deletions(-) . Date: Mon, 24 Jun 2024 11:18:24 +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/12] maintainer updates (plugins, gdbstub) The following changes since commit c9ba79baca7c673098361e3a687f72d458e0d18a: Merge tag 'pull-target-arm-20240622' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-06-22 09:56:49 -0700) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-june24-240624-1 for you to fetch changes up to fce3d48038e9f38e3e342a59f76c7f9f9b043ed2: accel/tcg: Avoid unnecessary call overhead from qemu_plugin_vcpu_mem_cb (2024-06-24 10:15:23 +0100) ---------------------------------------------------------------- maintainer updates (plugins, gdbstub): - add missing include guard comment to gdbstub.h - move gdbstub enums into separate header - move qtest_[get|set]_virtual_clock functions - allow plugins to manipulate the virtual clock - introduce an Instructions Per Second plugin - fix inject_mem_cb rw mask tests - allow qemu_plugin_vcpu_mem_cb to shortcut when no memory cbs ---------------------------------------------------------------- Akihiko Odaki (1): plugins: Ensure register handles are not NULL Alex Bennée (7): include/exec: add missing include guard comment gdbstub: move enums into separate header sysemu: add set_virtual_time to accel ops qtest: use cpu interface in qtest_clock_warp sysemu: generalise qtest_warp_clock as qemu_clock_advance_virtual_time plugins: add time control API plugins: add migration blocker Max Chou (1): accel/tcg: Avoid unnecessary call overhead from qemu_plugin_vcpu_mem_cb Pierrick Bouvier (3): qtest: move qtest_{get, set}_virtual_clock to accel/qtest/qtest.c contrib/plugins: add Instructions Per Second (IPS) example for cost modeling plugins: fix inject_mem_cb rw masking include/exec/gdbstub.h | 11 +- include/gdbstub/enums.h | 21 +++ include/qemu/qemu-plugin.h | 27 ++++ include/qemu/timer.h | 15 ++ include/sysemu/accel-ops.h | 18 ++- include/sysemu/cpu-timers.h | 3 +- include/sysemu/qtest.h | 2 - accel/hvf/hvf-accel-ops.c | 2 +- accel/kvm/kvm-all.c | 2 +- accel/qtest/qtest.c | 13 ++ accel/tcg/plugin-gen.c | 4 +- accel/tcg/tcg-accel-ops.c | 2 +- contrib/plugins/ips.c | 164 +++++++++++++++++++++ gdbstub/user.c | 1 + monitor/hmp-cmds.c | 3 +- plugins/api.c | 49 +++++- plugins/core.c | 4 +- ...us-get-virtual-clock.c => cpus-virtual-clock.c} | 5 + system/cpus.c | 11 ++ system/qtest.c | 37 +---- system/vl.c | 1 + target/arm/hvf/hvf.c | 2 +- target/arm/hyp_gdbstub.c | 2 +- target/arm/kvm.c | 2 +- target/i386/kvm/kvm.c | 2 +- target/ppc/kvm.c | 2 +- target/s390x/kvm/kvm.c | 2 +- util/qemu-timer.c | 26 ++++ accel/tcg/ldst_common.c.inc | 8 +- contrib/plugins/Makefile | 1 + plugins/qemu-plugins.symbols | 2 + stubs/meson.build | 2 +- 32 files changed, 379 insertions(+), 67 deletions(-) create mode 100644 include/gdbstub/enums.h create mode 100644 contrib/plugins/ips.c rename stubs/{cpus-get-virtual-clock.c => cpus-virtual-clock.c} (68%) -- 2.39.2 . Date: Mon, 24 Jun 2024 15:14:21 +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/19] SD/MMC patches for 2024-06-24 The following changes since commit c9ba79baca7c673098361e3a687f72d458e0d18a: Merge tag 'pull-target-arm-20240622' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-06-22 09:56:49 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/sdmmc-20240624 for you to fetch changes up to 76ae9a231487a2b127c90bcb657fd42a1f6c06f8: hw/sd/sdcard: Add comments around registers and commands (2024-06-24 15:08:40 +0200) ---------------------------------------------------------------- SD/MMC patches queue One fix and various cleanups for the SD card model. ---------------------------------------------------------------- Philippe Mathieu-Daudé (19): bswap: Add st24_be_p() to store 24 bits in big-endian order hw/sd/sdcard: Avoid OOB in sd_read_byte() during unexpected CMD switch hw/sd/sdcard: Correct code indentation hw/sd/sdcard: Rewrite sd_cmd_ALL_SEND_CID using switch case (CMD2) hw/sd/sdcard: Fix typo in SEND_OP_COND command name hw/sd/sdcard: Use HWBLOCK_SHIFT definition instead of magic values hw/sd/sdcard: Use registerfield CSR::CURRENT_STATE definition hw/sd/sdcard: Use Load/Store API to fill some CID/CSD registers hw/sd/sdcard: Remove ACMD6 handler for SPI mode hw/sd/sdcard: Remove explicit entries for illegal commands hw/sd/sdcard: Trace update of block count (CMD23) hw/sd/sdcard: Have cmd_valid_while_locked() return a boolean value hw/sd/sdcard: Factor sd_req_get_rca() method out hw/sd/sdcard: Only call sd_req_get_rca() where RCA is used hw/sd/sdcard: Factor sd_req_get_address() method out hw/sd/sdcard: Only call sd_req_get_address() where address is used hw/sd/sdcard: Add sd_invalid_mode_for_cmd to report invalid mode switch hw/sd/sdcard: Inline BLK_READ_BLOCK / BLK_WRITE_BLOCK macros hw/sd/sdcard: Add comments around registers and commands include/qemu/bswap.h | 7 ++ hw/sd/sd.c | 245 ++++++++++++++++++++++++----------------- hw/sd/sdmmc-internal.c | 2 +- hw/sd/trace-events | 3 +- 4 files changed, 151 insertions(+), 106 deletions(-) -- 2.41.0 . Date: Mon, 24 Jun 2024 15:59:38 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 00/23] Misc changes for 2024-06-22 The following changes since commit c9ba79baca7c673098361e3a687f72d458e0d18a: Merge tag 'pull-target-arm-20240622' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-06-22 09:56:49 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 0753fbb4750ad6709c43b4263c3d29b00f7cd0bb: exec: don't use void* in pointer arithmetic in headers (2024-06-24 09:17:16 +0200) ---------------------------------------------------------------- * configure: detect --cpu=mipsisa64r6 * target/i386: decode address before going back to translate.c * meson: allow configuring the x86-64 baseline * meson: remove dead optimization option * exec: small changes to allow compilation with C++ in Android emulator ---------------------------------------------------------------- Paolo Bonzini (21): configure: detect --cpu=mipsisa64r6 target/i386: fix CC_OP dump target/i386: use cpu_cc_dst for CC_OP_POPCNT target/i386: give CC_OP_POPCNT low bits corresponding to MO_TL target/i386: convert bit test instructions to new decoder target/i386: try not to force EFLAGS computation for CC_OP_ADOX/ADCX target/i386: decode address before going back to translate.c target/i386: convert CMPXCHG8B/CMPXCHG16B to new decoder target/i386: do not check PREFIX_LOCK in old-style decoder target/i386: list instructions still in translate.c target/i386: assert that cc_op* and pc_save are preserved target/i386: remove gen_ext_tl Revert "host/i386: assume presence of POPCNT" Revert "host/i386: assume presence of SSSE3" Revert "host/i386: assume presence of SSE2" meson: allow configuring the x86-64 baseline meson: remove dead optimization option block: make assertion more generic block: do not check bdrv_file_open block: remove separate bdrv_file_open callback block: rename former bdrv_file_open callbacks Roman Kiryanov (2): exec: avoid using C++ keywords in function parameters exec: don't use void* in pointer arithmetic in headers configure | 2 +- meson.build | 54 ++-- host/include/i386/host/cpuinfo.h | 2 + include/block/block_int-common.h | 3 - include/exec/memory.h | 6 +- target/i386/cpu.h | 13 +- target/i386/tcg/decode-new.h | 19 +- tcg/i386/tcg-target.h | 5 +- block.c | 17 +- block/blkdebug.c | 2 +- block/blkio.c | 8 +- block/blkverify.c | 2 +- block/curl.c | 8 +- block/file-posix.c | 8 +- block/file-win32.c | 4 +- block/gluster.c | 6 +- block/iscsi.c | 4 +- block/nbd.c | 6 +- block/nfs.c | 2 +- block/null.c | 8 +- block/nvme.c | 8 +- block/rbd.c | 3 +- block/ssh.c | 6 +- block/vvfat.c | 2 +- target/i386/cpu-dump.c | 101 +++--- target/i386/tcg/cc_helper.c | 2 +- target/i386/tcg/translate.c | 492 ++++++------------------------ util/cpuinfo-i386.c | 6 +- host/include/i386/host/bufferiszero.c.inc | 5 +- target/i386/tcg/decode-new.c.inc | 136 ++++++--- target/i386/tcg/emit.c.inc | 249 ++++++++++++++- meson_options.txt | 5 +- scripts/meson-buildoptions.sh | 6 +- 33 files changed, 619 insertions(+), 581 deletions(-) -- 2.45.2 . Date: Mon, 24 Jun 2024 23:24:14 +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/42] vfio queue The following changes since commit d89b64beea65f77c21a553cb54cb97b75c53dc21: Merge tag 'pull-request-2024-06-24' of https://gitlab.com/thuth/qemu into staging (2024-06-24 11:57:11 -0700) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240624 for you to fetch changes up to 96b7af4388b38bc1f66467a9c7c8ee9d3bff500f: vfio/container: Move vfio_container_destroy() to an instance_finalize() handler (2024-06-24 23:15:31 +0200) ---------------------------------------------------------------- vfio queue: * Add a host IOMMU device abstraction * VIRTIO-IOMMU/VFIO: Fix host iommu geometry handling * QOMify VFIOContainer ---------------------------------------------------------------- Avihai Horon (1): vfio/common: Extract vIOMMU code from vfio_sync_dirty_bitmap() Cédric Le Goater (15): vfio: Make vfio_devices_dma_logging_start() return bool vfio: Remove unused declarations from vfio-common.h vfio/container: Introduce vfio_address_space_insert() vfio/container: Simplify vfio_container_init() vfio/container: Modify vfio_get_iommu_type() to use a container fd vfio/container: Introduce vfio_get_iommu_class_name() vfio/container: Introduce vfio_create_container() vfio/container: Discover IOMMU type before creating the container vfio/container: Change VFIOContainerBase to use QOM vfio/container: Switch to QOM vfio/container: Introduce an instance_init() handler vfio/container: Remove VFIOContainerBase::ops vfio/container: Remove vfio_container_init() vfio/container: Introduce vfio_iommu_legacy_instance_init() vfio/container: Move vfio_container_destroy() to an instance_finalize() handler Eric Auger (8): HostIOMMUDevice: Store the VFIO/VDPA agent virtio-iommu: Implement set|unset]_iommu_device() callbacks HostIOMMUDevice: Introduce get_iova_ranges callback HostIOMMUDevice: Store the aliased bus and devfn virtio-iommu: Compute host reserved regions virtio-iommu: Remove the implementation of iommu_set_iova_range hw/vfio: Remove memory_region_iommu_set_iova_ranges() call memory: Remove IOMMU MR iommu_set_iova_range API Joao Martins (1): vfio/common: Move dirty tracking ranges update to helper Yi Liu (2): hw/pci: Introduce pci_device_[set|unset]_iommu_device() intel_iommu: Implement [set|unset]_iommu_device() callbacks Zhenzhong Duan (15): backends: Introduce HostIOMMUDevice abstract backends/host_iommu_device: Introduce HostIOMMUDeviceCaps vfio/container: Introduce TYPE_HOST_IOMMU_DEVICE_LEGACY_VFIO device backends/iommufd: Introduce TYPE_HOST_IOMMU_DEVICE_IOMMUFD[_VFIO] devices range: Introduce range_get_last_bit() vfio/container: Implement HostIOMMUDeviceClass::realize() handler backends/iommufd: Introduce helper function iommufd_backend_get_device_info() vfio/iommufd: Implement HostIOMMUDeviceClass::realize() handler vfio/container: Implement HostIOMMUDeviceClass::get_cap() handler backends/iommufd: Implement HostIOMMUDeviceClass::get_cap() handler vfio: Create host IOMMU device instance hw/pci: Introduce helper function pci_device_get_iommu_bus_devfn() vfio/pci: Pass HostIOMMUDevice to vIOMMU intel_iommu: Extract out vtd_cap_init() to initialize cap/ecap intel_iommu: Check compatibility with host IOMMU capabilities MAINTAINERS | 2 + include/exec/memory.h | 32 ---- include/hw/i386/intel_iommu.h | 2 + include/hw/pci/pci.h | 38 ++++- include/hw/vfio/vfio-common.h | 18 ++- include/hw/vfio/vfio-container-base.h | 22 +-- include/hw/virtio/virtio-iommu.h | 2 + include/qemu/range.h | 11 ++ include/sysemu/host_iommu_device.h | 102 ++++++++++++ include/sysemu/iommufd.h | 19 +++ backends/host_iommu_device.c | 33 ++++ backends/iommufd.c | 76 +++++++-- hw/i386/intel_iommu.c | 203 ++++++++++++++++++----- hw/pci/pci.c | 79 ++++++++- hw/vfio/common.c | 150 ++++++++++------- hw/vfio/container-base.c | 70 ++++---- hw/vfio/container.c | 164 +++++++++++++------ hw/vfio/helpers.c | 17 ++ hw/vfio/iommufd.c | 68 +++++++- hw/vfio/pci.c | 23 ++- hw/vfio/spapr.c | 3 + hw/virtio/virtio-iommu.c | 296 ++++++++++++++++++++++------------ system/memory.c | 13 -- backends/meson.build | 1 + 24 files changed, 1066 insertions(+), 378 deletions(-) create mode 100644 include/sysemu/host_iommu_device.h create mode 100644 backends/host_iommu_device.c . Date: Thu, 27 Jun 2024 20:00:21 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/32] riscv-to-apply queue The following changes since commit 3f044554b94fc0756d5b3cdbf84501e0eea0e629: Merge tag 'pull-vfio-20240624' of https://github.com/legoater/qemu into staging (2024-06-24 21:30:34 -0700) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240627-1 for you to fetch changes up to 2f5a2315b84a9b1f089ecfc3f31b29813609a7b7: target/riscv: Apply modularized matching conditions for icount trigger (2024-06-27 13:09:16 +1000) ---------------------------------------------------------------- RISC-V PR for 9.1 * Extend virtual irq csrs masks to be 64 bit wide * Move Guest irqs out of the core local irqs range * zvbb implies zvkb * virt: add address-cells in create_fdt_one_aplic() * virt: add aplic nodename helper * virt: rename aplic nodename to 'interrupt-controller' * virt: aplic DT: add 'qemu, aplic' to 'compatible' * virt: aplic DT: rename prop to 'riscv, delegation' * virt: change imsic nodename to 'interrupt-controller' * virt: imsics DT: add 'qemu, imsics' to 'compatible' * virt: imsics DT: add '#msi-cells' * QEMU support for KVM Guest Debug on RISC-V * Support RISC-V privilege 1.13 spec * Add support for RISC-V ACPI tests * Modularize common match conditions for trigger ---------------------------------------------------------------- Alvin Chang (3): target/riscv: Add functions for common matching conditions of trigger target/riscv: Apply modularized matching conditions for watchpoint target/riscv: Apply modularized matching conditions for icount trigger Branislav Brzak (1): target/riscv: Fix froundnx.h nanbox check Chao Du (3): target/riscv/kvm: add software breakpoints support target/riscv/kvm: handle the exit with debug reason target/riscv/kvm: define TARGET_KVM_HAVE_GUEST_DEBUG Clément Léger (1): target/riscv: fix instructions count handling in icount mode Daniel Henrique Barboza (8): hw/riscv/virt.c: add address-cells in create_fdt_one_aplic() hw/riscv/virt.c: add aplic nodename helper hw/riscv/virt.c: rename aplic nodename to 'interrupt-controller' hw/riscv/virt.c: aplic DT: add 'qemu, aplic' to 'compatible' hw/riscv/virt.c: aplic DT: rename prop to 'riscv, delegation' hw/riscv/virt.c: change imsic nodename to 'interrupt-controller' hw/riscv/virt.c: imsics DT: add 'qemu, imsics' to 'compatible' hw/riscv/virt.c: imsics DT: add '#msi-cells' Fea.Wang (5): target/riscv: Define macros and variables for ss1p13 target/riscv: Add 'P1P13' bit in SMSTATEEN0 target/riscv: Add MEDELEGH, HEDELEGH csrs for RV32 target/riscv: Reserve exception codes for sw-check and hw-err target/riscv: Support the version for ss1p13 Frank Chang (6): target/riscv: Introduce extension implied rules definition target/riscv: Introduce extension implied rule helpers target/riscv: Add MISA extension implied rules target/riscv: Add multi extension implied rules target/riscv: Add Zc extension implied rule target/riscv: Remove extension auto-update check statements Jerry Zhang Jian (1): target/riscv: zvbb implies zvkb Jim Shu (1): target/riscv: Reuse the conversion function of priv_spec Rajnesh Kanwal (2): target/riscv: Extend virtual irq csrs masks to be 64 bit wide. target/riscv: Move Guest irqs out of the core local irqs range. Sunil V L (1): hw/riscv/virt.c: Make block devices default to virtio configs/targets/riscv64-softmmu.mak | 1 + include/hw/riscv/virt.h | 1 + target/riscv/cpu.h | 28 ++- target/riscv/cpu_bits.h | 8 +- target/riscv/cpu_cfg.h | 1 + hw/riscv/virt.c | 38 +++- target/riscv/cpu.c | 404 +++++++++++++++++++++++++++++++++++- target/riscv/csr.c | 92 ++++++-- target/riscv/debug.c | 129 ++++++++---- target/riscv/fpu_helper.c | 2 +- target/riscv/kvm/kvm-cpu.c | 89 ++++++++ target/riscv/tcg/tcg-cpu.c | 287 ++++++++++++++----------- 12 files changed, 877 insertions(+), 203 deletions(-) . Date: Fri, 28 Jun 2024 19:28:32 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v3 00/23] Misc changes for 2024-06-28 The following changes since commit 28b8a57ad63670aa0ce90334523dc552b13b4336: Merge tag 'pull-riscv-to-apply-20240627-1' of https://github.com/alistair23/qemu into staging (2024-06-27 07:36:16 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to b31d386781cf85c193f3b1355dd0604cd6a59943: target/i386/sev: Fix printf formats (2024-06-28 19:26:54 +0200) I dropped the bit test instructions and the rest of the decoder updates, because they were buggy and I didn't like any of the fixes I could come up with. Supersedes: <20240624135939.632257-1-pbonzini@redhat.com> ---------------------------------------------------------------- * configure: detect --cpu=mipsisa64r6 * target/i386: decode address before going back to translate.c * meson: allow configuring the x86-64 baseline * meson: remove dead optimization option * exec: small changes to allow compilation with C++ in Android emulator * fix SEV compilation on 32-bit systems ---------------------------------------------------------------- Paolo Bonzini (19): configure: detect --cpu=mipsisa64r6 Revert "host/i386: assume presence of POPCNT" Revert "host/i386: assume presence of SSSE3" Revert "host/i386: assume presence of SSE2" meson: allow configuring the x86-64 baseline meson: remove dead optimization option block: make assertion more generic block: do not check bdrv_file_open block: remove separate bdrv_file_open callback block: rename former bdrv_file_open callbacks include: move typeof_strip_qual to compiler.h, use it in QAPI_LIST_LENGTH() target/i386: fix CC_OP dump target/i386: use cpu_cc_dst for CC_OP_POPCNT target/i386: give CC_OP_POPCNT low bits corresponding to MO_TL target/i386: remove unused enum target/i386: SEV: rename sev_snp_guest->id_block target/i386: SEV: store pointer to decoded id_block in SevSnpGuest target/i386: SEV: rename sev_snp_guest->id_auth target/i386: SEV: store pointer to decoded id_auth in SevSnpGuest Richard Henderson (2): target/i386/sev: Use size_t for object sizes target/i386/sev: Fix printf formats Roman Kiryanov (2): exec: avoid using C++ keywords in function parameters exec: don't use void* in pointer arithmetic in headers configure | 2 +- meson.build | 54 +++++++++------- host/include/i386/host/cpuinfo.h | 2 + include/block/block_int-common.h | 3 - include/exec/memory.h | 6 +- include/qapi/util.h | 2 +- include/qemu/atomic.h | 42 ------------- include/qemu/compiler.h | 46 ++++++++++++++ target/i386/cpu.h | 13 +++- tcg/i386/tcg-target.h | 5 +- block.c | 17 +++-- block/blkdebug.c | 2 +- block/blkio.c | 8 +-- block/blkverify.c | 2 +- block/curl.c | 8 +-- block/file-posix.c | 8 +-- block/file-win32.c | 4 +- block/gluster.c | 6 +- block/iscsi.c | 4 +- block/nbd.c | 6 +- block/nfs.c | 2 +- block/null.c | 8 +-- block/nvme.c | 8 +-- block/rbd.c | 3 +- block/ssh.c | 6 +- block/vvfat.c | 2 +- target/i386/cpu-dump.c | 101 +++++++++++++++--------------- target/i386/sev.c | 71 ++++++++++++--------- target/i386/tcg/cc_helper.c | 2 +- target/i386/tcg/translate.c | 21 +------ util/cpuinfo-i386.c | 6 +- host/include/i386/host/bufferiszero.c.inc | 5 +- target/i386/tcg/emit.c.inc | 4 +- meson_options.txt | 5 +- scripts/meson-buildoptions.sh | 6 +- target/i386/trace-events | 2 +- 36 files changed, 256 insertions(+), 236 deletions(-) -- 2.45.2 . Date: Sun, 30 Jun 2024 12:52:20 +0900 From: Jeuk Kim To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: fam@euphon.net, pbonzini@redhat.com, qemu-block@nongnu.org, jeuk20.kim@samsung.com, j-young.choi@samsung.com Subject: [PULL 0/1] ufs queue From: Jeuk Kim The following changes since commit 3665dd6bb9043bef181c91e2dce9e1efff47ed51: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-28 16:09:38 -0700) are available in the Git repository at: https://gitlab.com/jeuk20.kim/qemu.git tags/pull-ufs-20240630 for you to fetch changes up to e12b11f6f29272ee31ccde6b0db1a10139e87083: hw/ufs: Fix potential bugs in MMIO read|write (2024-06-30 12:44:32 +0900) ---------------------------------------------------------------- hw/ufs: fix coverity issue ---------------------------------------------------------------- Minwoo Im (1): hw/ufs: Fix potential bugs in MMIO read|write hw/ufs/ufs.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) . Date: Sun, 30 Jun 2024 19:53:10 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 00/16] Trivial patches for 2024-06-30 The following changes since commit 3665dd6bb9043bef181c91e2dce9e1efff47ed51: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-06-28 16:09:38 -0700) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to f22855dffdbc2906f744b5bcfea869cbb66b8fb2: hw/core/loader: gunzip(): fix memory leak on error path (2024-06-30 19:51:44 +0300) ---------------------------------------------------------------- trivial patches for 2024-06-30 It's been some time since the previous trivial-patches pullreq, and the queue grew a bit ---------------------------------------------------------------- Dr. David Alan Gilbert (4): linux-user: cris: Remove unused struct 'rt_signal_frame' linux-user: sparc: Remove unused struct 'target_mc_fq' hw/arm/bcm2836: Remove unusued struct 'BCM283XClass' net/can: Remove unused struct 'CanBusState' Hyeongtak Ji (1): docs/cxl: fix some typos Martin Joerg (1): hmp-commands-info.hx: Add missing info command for stats subcommand Matheus Tavares Bernardino (1): cpu: fix memleak of 'halt_cond' and 'thread' Philippe Mathieu-Daudé (1): monitor: Remove obsolete stubs Thomas Huth (1): docs/system/devices/usb: Replace the non-existing "qemu" binary Trent Huber (1): os-posix: Expand setrlimit() syscall compatibility Vladimir Sementsov-Ogievskiy (4): vl.c: select_machine(): use ERRP_GUARD instead of error propagation vl.c: select_machine(): use g_autoptr vl.c: select_machine(): add selected machine type to error message hw/core/loader: gunzip(): fix memory leak on error path Zide Chen (2): vl: Allow multiple -overcommit commands target/i386: Advertise MWAIT iff host supports accel/tcg/tcg-accel-ops-rr.c | 1 + docs/system/devices/cxl.rst | 6 +++--- docs/system/devices/usb.rst | 2 +- hmp-commands-info.hx | 2 +- hw/arm/bcm2836.c | 12 ------------ hw/core/cpu-common.c | 3 +++ hw/core/loader.c | 1 + include/hw/loader.h | 1 - include/monitor/hmp.h | 3 --- linux-user/cris/signal.c | 8 -------- linux-user/sparc/signal.c | 5 ----- net/can/can_host.c | 6 ------ os-posix.c | 4 ++++ system/vl.c | 21 ++++++++++----------- target/i386/host-cpu.c | 12 ------------ target/i386/kvm/kvm-cpu.c | 11 +++++++++-- 16 files changed, 33 insertions(+), 65 deletions(-) . Date: Mon, 1 Jul 2024 15:18:30 +0200 From: anthony@xenproject.org To: qemu-devel@nongnu.org Cc: Anthony PERARD Subject: [PULL 0/3] xen queue 2024-07-01 From: Anthony PERARD The following changes since commit b6d32a06fc0984e537091cba08f2e1ed9f775d74: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-06-30 16:12:24 -0700) are available in the Git repository at: https://xenbits.xen.org/git-http/people/aperard/qemu-dm.git tags/pull-xen-20240701 for you to fetch changes up to 410b4d560dfa3b38a11ad19cf00180238651d9b7: xen-hvm: Avoid livelock while handling buffered ioreqs (2024-07-01 14:57:18 +0200) ---------------------------------------------------------------- Xen queue: * Improvement for running QEMU in a stubdomain. * Improve handling of buffered ioreqs. ---------------------------------------------------------------- Marek Marczykowski-Górecki (2): hw/xen: detect when running inside stubdomain xen: fix stubdom PCI addr Ross Lagerwall (1): xen-hvm: Avoid livelock while handling buffered ioreqs hw/i386/xen/xen-hvm.c | 22 +++++++++++++ hw/xen/xen-host-pci-device.c | 76 +++++++++++++++++++++++++++++++++++++++++++- hw/xen/xen-host-pci-device.h | 6 ++++ hw/xen/xen-hvm-common.c | 26 +++++++++------ include/hw/xen/xen.h | 1 + system/globals.c | 1 + 6 files changed, 122 insertions(+), 10 deletions(-) . Date: Mon, 1 Jul 2024 17:07:00 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/29] target-arm queue The following changes since commit b6d32a06fc0984e537091cba08f2e1ed9f775d74: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-06-30 16:12:24 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240701 for you to fetch changes up to 58c782de557beb496bfb4c5ade721bbbd2480c72: tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests (2024-07-01 15:40:54 +0100) ---------------------------------------------------------------- target-arm queue: * tests/avocado: update firmware for sbsa-ref and use all cores * hw/arm/smmu-common: Replace smmu_iommu_mr with smmu_find_sdev * arm: Fix VCMLA Dd, Dn, Dm[idx] * arm: Fix SQDMULH (by element) with Q=0 * arm: Fix FJCVTZS vs flush-to-zero * arm: More conversion of A64 AdvSIMD to decodetree * arm: Enable FEAT_Debugv8p8 for -cpu max * MAINTAINERS: Update family name for Patrick Leis * hw/arm/xilinx_zynq: Add boot-mode property * docs/system/arm: Add a doc for zynq board * hw/misc: In STM32L4x5 EXTI, correct configurable interrupts * tests/qtest: fix minor issues in STM32L4x5 tests ---------------------------------------------------------------- Gustavo Romero (3): target/arm: Fix indentation target/arm: Move initialization of debug ID registers target/arm: Enable FEAT_Debugv8p8 for -cpu max Inès Varhol (3): tests/qtest: Fix STM32L4x5 SYSCFG irq line 15 state assumption hw/misc: In STM32L4x5 EXTI, correct configurable interrupts tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests Marcin Juszkiewicz (2): tests/avocado: update firmware for sbsa-ref tests/avocado: use default amount of cores on sbsa-ref Nicolin Chen (1): hw/arm/smmu-common: Replace smmu_iommu_mr with smmu_find_sdev Patrick Leis (1): MAINTAINERS: Update my family name Rayhan Faizel (3): hw/nvram: Add BCM2835 OTP device hw/arm: Connect OTP device to BCM2835 hw/misc: Implement mailbox properties for customer OTP and device specific private keys Richard Henderson (13): target/arm: Fix VCMLA Dd, Dn, Dm[idx] target/arm: Fix SQDMULH (by element) with Q=0 target/arm: Fix FJCVTZS vs flush-to-zero target/arm: Convert SQRDMLAH, SQRDMLSH to decodetree target/arm: Convert SDOT, UDOT to decodetree target/arm: Convert SUDOT, USDOT to decodetree target/arm: Convert BFDOT to decodetree target/arm: Convert BFMLALB, BFMLALT to decodetree target/arm: Convert BFMMLA, SMMLA, UMMLA, USMMLA to decodetree target/arm: Add data argument to do_fp3_vector target/arm: Convert FCADD to decodetree target/arm: Convert FCMLA to decodetree target/arm: Delete dead code from disas_simd_indexed Sai Pavan Boddu (3): hw/misc/zynq_slcr: Add boot-mode property hw/arm/xilinx_zynq: Add boot-mode property docs/system/arm: Add a doc for zynq board MAINTAINERS | 3 +- docs/system/arm/emulation.rst | 1 + docs/system/arm/xlnx-zynq.rst | 47 ++ docs/system/target-arm.rst | 1 + include/hw/arm/bcm2835_peripherals.h | 3 +- include/hw/arm/raspberrypi-fw-defs.h | 2 + include/hw/arm/smmu-common.h | 4 +- include/hw/misc/bcm2835_property.h | 2 + include/hw/misc/stm32l4x5_exti.h | 2 + include/hw/nvram/bcm2835_otp.h | 68 +++ target/arm/cpu.h | 2 + target/arm/helper.h | 10 + target/arm/tcg/a64.decode | 43 ++ hw/arm/bcm2835_peripherals.c | 15 +- hw/arm/smmu-common.c | 8 +- hw/arm/smmuv3.c | 12 +- hw/arm/xilinx_zynq.c | 31 ++ hw/misc/bcm2835_property.c | 87 ++++ hw/misc/stm32l4x5_exti.c | 28 +- hw/misc/zynq_slcr.c | 22 +- hw/nvram/bcm2835_otp.c | 187 +++++++ target/arm/tcg/cpu32.c | 35 +- target/arm/tcg/cpu64.c | 4 +- target/arm/tcg/translate-a64.c | 808 ++++++++++--------------------- target/arm/tcg/vec_helper.c | 100 +++- target/arm/vfp_helper.c | 18 +- tests/qtest/stm32l4x5_exti-test.c | 8 + tests/qtest/stm32l4x5_syscfg-test.c | 16 +- tests/tcg/aarch64/test-2375.c | 21 + hw/nvram/meson.build | 1 + tests/avocado/machine_aarch64_sbsaref.py | 16 +- tests/tcg/aarch64/Makefile.target | 3 +- 32 files changed, 967 insertions(+), 641 deletions(-) create mode 100644 docs/system/arm/xlnx-zynq.rst create mode 100644 include/hw/nvram/bcm2835_otp.h create mode 100644 hw/nvram/bcm2835_otp.c create mode 100644 tests/tcg/aarch64/test-2375.c . Date: Tue, 2 Jul 2024 07:00:50 +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/22] Misc HW patches for 2024-07-02 The following changes since commit b6d32a06fc0984e537091cba08f2e1ed9f775d74: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-06-30 16:12:24 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240702 for you to fetch changes up to f0936cbc1d42410ccd58c042bc26fa33a23a77d6: Remove inclusion of hw/hw.h from files that don't need it (2024-07-02 06:58:48 +0200) Ignored checkpatch warnings: WARNING: line over 80 characters #45: FILE: include/hw/boards.h:431: + * mc->desc = "QEMU " MACHINE_VER_STR(__VA_ARGS__) " Virtual Machine"; \ #205: FILE: include/hw/boards.h:591: + prefix ## _machine_ ## major ## _ ## minor ## _ ## micro ## _ ## tag ## _ ## sym #40: FILE: hw/arm/virt.c:112: + mc->desc = "QEMU " MACHINE_VER_STR(__VA_ARGS__) " ARM Virtual Machine"; \ #55: FILE: hw/s390x/s390-virtio-ccw.c:828: + mc->desc = "Virtual s390x machine (version " MACHINE_VER_STR(__VA_ARGS__) ")"; \ #43: FILE: hw/m68k/virt.c:345: + mc->desc = "QEMU " MACHINE_VER_STR(__VA_ARGS__) " M68K Virtual Machine"; \ ---------------------------------------------------------------- Misc HW patches queue - Prevent NULL deref in sPAPR network model (Oleg) - Automatic deprecation of versioned machine types (Daniel) - Correct 'dump-guest-core' property name in hint (Akihiko) - Prevent IRQ leak in MacIO IDE model (Mark) - Remove dead #ifdef'ry related to unsupported macOS 12.0 (Akihiko) - Remove "hw/hw.h" where unnecessary (Thomas) ---------------------------------------------------------------- Akihiko Odaki (5): system/physmem: Fix reference to dump-guest-core hvf: Drop ifdef for macOS versions older than 12.0 audio: Drop ifdef for macOS versions older than 12.0 block/file-posix: Drop ifdef for macOS versions older than 12.0 net/vmnet: Drop ifdef for macOS versions older than 12.0 Daniel P. Berrangé (14): include/hw: add helpers for defining versioned machine types hw/arm: convert 'virt' machine definitions to use new macros hw/s390x: convert 'ccw' machine definitions to use new macros hw/ppc: convert 'spapr' machine definitions to use new macros hw/m68k: convert 'virt' machine definitions to use new macros hw/i386: convert 'i440fx' machine definitions to use new macros hw/i386: convert 'q35' machine definitions to use new macros include/hw: add macros for deprecation & removal of versioned machines include/hw: temporarily disable deletion of versioned machine types hw: set deprecation info for all versioned machine types hw: skip registration of outdated versioned machine types hw/ppc: remove obsolete manual deprecation reason string of spapr machines hw/i386: remove obsolete manual deprecation reason string of i440fx machines docs: document special exception for machine type deprecation & removal Mark Cave-Ayland (1): hw/ide/macio: switch from using qemu_allocate_irq() to qdev input GPIOs Oleg Sviridov (1): hw/net/spapr: prevent potential NULL dereference Thomas Huth (1): Remove inclusion of hw/hw.h from files that don't need it docs/about/deprecated.rst | 13 ++ include/hw/boards.h | 298 ++++++++++++++++++++++++++++++++++ include/hw/i386/pc.h | 28 ++++ include/hw/misc/macio/macio.h | 7 +- include/hw/misc/xlnx-cfi-if.h | 1 - accel/hvf/hvf-all.c | 3 - block/file-posix.c | 5 - hw/arm/virt.c | 34 ++-- hw/i386/pc_piix.c | 220 +++++++++++-------------- hw/i386/pc_q35.c | 215 ++++++++++-------------- hw/ide/macio.c | 10 +- hw/m68k/virt.c | 57 ++++--- hw/misc/edu.c | 1 - hw/net/spapr_llan.c | 6 + hw/ppc/spapr.c | 100 +++++++----- hw/s390x/s390-virtio-ccw.c | 102 +++++++----- hw/vfio/container.c | 1 - net/vmnet-host.c | 24 +-- net/vmnet-shared.c | 13 -- system/physmem.c | 2 +- target/i386/hvf/hvf.c | 23 +-- audio/coreaudio.m | 5 - net/vmnet-bridged.m | 13 +- net/vmnet-common.m | 3 - 24 files changed, 710 insertions(+), 474 deletions(-) -- 2.41.0 . Date: Tue, 2 Jul 2024 10:00:36 +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 0/6] aspeed queue The following changes since commit c80a339587fe4148292c260716482dd2f86d4476: Merge tag 'pull-target-arm-20240701' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-01 10:41:45 -0700) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240702 for you to fetch changes up to 5b0961f7ad6790f473623703834351b6e43fbaa6: hw/net:ftgmac100: fix coding style (2024-07-02 07:53:53 +0200) ---------------------------------------------------------------- aspeed queue: * Coverity fixes * Deprecation of tacoma-bmc machine * Buffer overflow fix in GPIO model * Minor cleanup ---------------------------------------------------------------- Cédric Le Goater (2): aspeed: Deprecate the tacoma-bmc machine aspeed/sdmc: Check RAM size value at realize time Jamin Lin (3): aspeed/soc: Fix possible divide by zero aspeed/sdmc: Remove extra R_MAIN_STATUS case hw/net:ftgmac100: fix coding style Zheyu Ma (1): hw/gpio/aspeed: Add reg_table_count to AspeedGPIOClass docs/about/deprecated.rst | 8 ++++++++ include/hw/gpio/aspeed_gpio.h | 1 + hw/arm/aspeed.c | 2 ++ hw/arm/aspeed_ast27x0.c | 2 ++ hw/gpio/aspeed_gpio.c | 17 +++++++++++++++++ hw/misc/aspeed_sdmc.c | 7 ++++++- hw/net/ftgmac100.c | 12 ++++++++---- 7 files changed, 44 insertions(+), 5 deletions(-) . Date: Tue, 2 Jul 2024 11:19:43 +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/67] SD/MMC patches for 2024-07-02 The following changes since commit c80a339587fe4148292c260716482dd2f86d4476: Merge tag 'pull-target-arm-20240701' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-01 10:41:45 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/sdmmc-20240702 for you to fetch changes up to 8442e1625ba6723bee2c6d0fdb7207a3e27a2b05: hw/sd/sdcard: Add sd_acmd_SEND_SCR handler (ACMD51) (2024-07-02 10:08:32 +0200) Checkpatch warnings ignored: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? WARNING: line over 80 characters #64: FILE: hw/sd/sd.c:2327: + [23] = {8, sd_spi, "SET_WR_BLK_ERASE_COUNT", sd_acmd_SET_WR_BLK_ERASE_COUNT}, #72: FILE: hw/sd/sd.c:2386: + [23] = {8, sd_ac, "SET_WR_BLK_ERASE_COUNT", sd_acmd_SET_WR_BLK_ERASE_COUNT}, #75: FILE: hw/sd/sd.c:2395: + [42] = {8, sd_ac, "SET_CLR_CARD_DETECT", sd_acmd_SET_CLR_CARD_DETECT}, ---------------------------------------------------------------- SD/MMC patches queue - Deprecate SD spec v1.10 - Improve tracing - Fix endianness on DAT lines - Introduce helpers for commands transmitting data on the DAT lines - Convert most commands to new helpers - Register various optional commands - Add command {name, type, class} fields to SDProto structure ---------------------------------------------------------------- Cédric Le Goater (1): hw/sd/sdcard: Introduce definitions for EXT_CSD register Philippe Mathieu-Daudé (66): hw/sd/sdcard: Deprecate support for spec v1.10 hw/sd/sdcard: Track last command used to help logging hw/sd/sdcard: Trace block offset in READ/WRITE data accesses hw/sd/sdcard: Trace requested address computed by sd_req_get_address() hw/sd/sdcard: Restrict SWITCH_FUNCTION to sd_transfer_state (CMD6) hw/sd/sdcard: Send WRITE_PROT bits MSB first (CMD30) hw/sd/sdcard: Send NUM_WR_BLOCKS bits MSB first (ACMD22) hw/sd/sdcard: Use READY_FOR_DATA definition instead of magic value hw/sd/sdcard: Assign SDCardStates enum values hw/sd/sdcard: Simplify sd_inactive_state handling hw/sd/sdcard: Add direct reference to SDProto in SDState hw/sd/sdcard: Extract sd_blk_len() helper hw/sd/sdcard: Introduce sd_cmd_to_sendingdata and sd_generic_read_byte hw/sd/sdcard: Convert SWITCH_FUNCTION to generic_read_byte (CMD6) hw/sd/sdcard: Convert SEND_CSD/SEND_CID to generic_read_byte (CMD9 & 10) hw/sd/sdcard: Duplicate READ_SINGLE_BLOCK / READ_MULTIPLE_BLOCK cases hw/sd/sdcard: Convert READ_SINGLE_BLOCK to generic_read_byte (CMD17) hw/sd/sdcard: Convert SEND_TUNING_BLOCK to generic_read_byte (CMD19) hw/sd/sdcard: Convert SEND_WRITE_PROT to generic_read_byte (CMD30) hw/sd/sdcard: Convert SD_STATUS to generic_read_byte (ACMD13) hw/sd/sdcard: Convert SEND_NUM_WR_BLOCKS to generic_read_byte (ACMD22) hw/sd/sdcard: Convert SEND_SCR to generic_read_byte (ACMD51) hw/sd/sdcard: Introduce sd_cmd_to_receivingdata / sd_generic_write_byte hw/sd/sdcard: Duplicate WRITE_SINGLE_BLOCK / WRITE_MULTIPLE_BLOCK cases hw/sd/sdcard: Convert WRITE_SINGLE_BLOCK to generic_write_byte (CMD24) hw/sd/sdcard: Convert PROGRAM_CID to generic_write_byte (CMD26) hw/sd/sdcard: Convert PROGRAM_CSD to generic_write_byte (CMD27) hw/sd/sdcard: Convert LOCK_UNLOCK to generic_write_byte (CMD42) hw/sd/sdcard: Move sd_[a]cmd_name() methods to sd.c hw/sd/sdcard: Pass SDState as argument to sd_[a]cmd_name() hw/sd/sdcard: Prepare SDProto to contain more fields hw/sd/sdcard: Store command name in SDProto hw/sd/sdcard: Store command type in SDProto hw/sd/sdcard: Store command class in SDProto hw/sd/sdcard: Remove SEND_DSR dead case (CMD4) hw/sd/sdcard: Register generic optional handlers (CMD11 and CMD20) hw/sd/sdcard: Register optional handlers from spec v6.00 hw/sd/sdcard: Register SDIO optional handlers hw/sd/sdcard: Register Security Extension optional handlers hw/sd/sdcard: Add sd_cmd_SWITCH_FUNCTION handler (CMD6) hw/sd/sdcard: Add sd_cmd_DE/SELECT_CARD handler (CMD7) hw/sd/sdcard: Add sd_cmd_SEND_IF_COND handler (CMD8) hw/sd/sdcard: Add sd_cmd_SEND_CSD/CID handlers (CMD9 & CMD10) hw/sd/sdcard: Add spi_cmd_SEND_CSD/CID handlers (CMD9 & CMD10) hw/sd/sdcard: Add sd_cmd_STOP_TRANSMISSION handler (CMD12) hw/sd/sdcard: Add sd_cmd_SEND_STATUS handler (CMD13) hw/sd/sdcard: Add sd_cmd_GO_INACTIVE_STATE handler (CMD15) hw/sd/sdcard: Add sd_cmd_SET_BLOCKLEN handler (CMD16) hw/sd/sdcard: Add sd_cmd_READ_SINGLE_BLOCK handler (CMD17) hw/sd/sdcard: Add sd_cmd_WRITE_SINGLE_BLOCK handler (CMD24) hw/sd/sdcard: Add sd_cmd_PROGRAM_CSD handler (CMD27) hw/sd/sdcard: Add sd_cmd_SET/CLR_WRITE_PROT handler (CMD28 & CMD29) hw/sd/sdcard: Add sd_cmd_SEND_WRITE_PROT handler (CMD30) hw/sd/sdcard: Add sd_cmd_ERASE_WR_BLK_START/END handlers (CMD32 & CMD33) hw/sd/sdcard: Add sd_cmd_ERASE handler (CMD38) hw/sd/sdcard: Add sd_cmd_LOCK_UNLOCK handler (CMD42) hw/sd/sdcard: Add sd_cmd_APP_CMD handler (CMD55) hw/sd/sdcard: Add spi_cmd_READ_OCR handler (CMD58) hw/sd/sdcard: Add spi_cmd_CRC_ON_OFF handler (CMD59) hw/sd/sdcard: Add sd_acmd_SET_BUS_WIDTH handler (ACMD6) hw/sd/sdcard: Add sd_acmd_SD_STATUS handler (ACMD13) hw/sd/sdcard: Add sd_acmd_SEND_NUM_WR_BLOCKS handler (ACMD22) hw/sd/sdcard: Add sd_acmd_SET_WR_BLK_ERASE_COUNT handler (ACMD23) hw/sd/sdcard: Add sd_acmd_SD_APP_OP_COND handler (ACMD41) hw/sd/sdcard: Add sd_acmd_SET_CLR_CARD_DETECT handler (ACMD42) hw/sd/sdcard: Add sd_acmd_SEND_SCR handler (ACMD51) docs/about/deprecated.rst | 6 + hw/sd/sdmmc-internal.h | 124 +++- include/hw/sd/sd.h | 5 +- hw/sd/sd.c | 1462 +++++++++++++++++++++---------------- hw/sd/sdmmc-internal.c | 72 -- hw/sd/meson.build | 2 +- hw/sd/trace-events | 5 +- 7 files changed, 940 insertions(+), 736 deletions(-) delete mode 100644 hw/sd/sdmmc-internal.c -- 2.41.0 . Date: Tue, 2 Jul 2024 12:32:58 +0200 From: Thomas Huth To: qemu-devel@nongnu.org, Richard Henderson Subject: [PULL 00/12] qtest, s390x, avocado and doc patches Hi Richard! The following changes since commit c80a339587fe4148292c260716482dd2f86d4476: Merge tag 'pull-target-arm-20240701' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-01 10:41:45 -0700) are available in the Git repository at: https://gitlab.com/thuth/qemu.git tags/pull-request-2024-07-02 for you to fetch changes up to e3e2708fee10e6df413c36a71b100c59710e727e: pc-bios/s390-ccw: Remove duplicated LDFLAGS (2024-07-02 09:52:38 +0200) ---------------------------------------------------------------- * Fix interrupt controller migration on s390x with TCG and enable qtest * Fix memory leaks in qtests * Use a proper qom-tree parent for s390x virtio-net devices * Add hotplug avocado test for virtio-blk * Fix Travis jobs (need python3-tomli now) ---------------------------------------------------------------- Akihiko Odaki (5): tests/qtest: Use qtest_add_data_func_full() tests/qtest: Free unused QMP response tests/qtest: Free old machine variable name tests/qtest: Free paths tests/qtest: Free GThread Alexandre Iooss (1): docs: add precision about capstone for execlog plugin Nicholas Piggin (1): tests/qtest/migration-test: enable on s390x with TCG Thomas Huth (4): hw/intc/s390_flic: Fix interrupt controller migration on s390x with TCG hw/s390x: Attach default virtio-net devices to the /machine/virtual-css-bridge .travis.yml: Install python3-tomli in all build jobs pc-bios/s390-ccw: Remove duplicated LDFLAGS Vladimir Sementsov-Ogievskiy (1): tests/avocado: add hotplug_blk test docs/devel/tcg-plugins.rst | 4 +- include/hw/s390x/s390_flic.h | 1 + hw/intc/s390_flic.c | 75 ++++++++++++++++++++++++++++++++++-- hw/s390x/s390-virtio-ccw.c | 8 ++++ tests/qtest/device-introspect-test.c | 7 ++-- tests/qtest/libqtest.c | 3 ++ tests/qtest/migration-test.c | 12 ------ tests/qtest/qos-test.c | 16 ++++++-- tests/qtest/vhost-user-test.c | 6 +-- .travis.yml | 6 +++ pc-bios/s390-ccw/Makefile | 4 +- tests/avocado/hotplug_blk.py | 69 +++++++++++++++++++++++++++++++++ 12 files changed, 181 insertions(+), 30 deletions(-) create mode 100644 tests/avocado/hotplug_blk.py . Date: Tue, 2 Jul 2024 10:06:56 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/91] virtio: features,fixes The following changes since commit 1152a0414944f03231f3177207d379d58125890e: Merge tag 'pull-xen-20240701' of https://xenbits.xen.org/git-http/people/aperard/qemu-dm into staging (2024-07-01 09:06:25 -0700) 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 a323ad3c8a8f12ee180d0582d7fffa8098b1a962: hw/pci: Replace -1 with UINT32_MAX for romsize (2024-07-02 10:04:21 -0400) ---------------------------------------------------------------- virtio: features,fixes A bunch of improvements: - vhost dirty log is now only scanned once, not once per device - virtio and vhost now support VIRTIO_F_NOTIFICATION_DATA - cxl gained DCD emulation support - pvpanic gained shutdown support - beginning of patchset for Generic Port Affinity Structure - s3 support - friendlier error messages when boot fails on some illegal configs - for vhost-user, VHOST_USER_SET_LOG_BASE is now only sent once - vhost-user now works on any POSIX system - sr-iov VF setup code has been reworked significantly - new tests, particularly for risc-v ACPI - bugfixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (11): hw/virtio: Free vqs after vhost_dev_cleanup() hw/pci: Rename has_power to enabled hw/ppc/spapr_pci: Do not create DT for disabled PCI device hw/ppc/spapr_pci: Do not reject VFs created after a PF pcie_sriov: Do not manually unrealize pcie_sriov: Ensure VF function number does not overflow pcie_sriov: Reuse SR-IOV VF device instances pcie_sriov: Release VFs failed to realize pcie_sriov: Remove num_vfs from PCIESriovPF pcie_sriov: Register VFs after migration hw/pci: Replace -1 with UINT32_MAX for romsize Alejandro Jimenez (1): pvpanic: Emit GUEST_PVSHUTDOWN QMP event on pvpanic shutdown signal BillXiang (1): vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests Christian Pötzsch (1): Fix vhost user assertion when sending more than one fd Cindy Lu (1): virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one() Cédric Le Goater (1): virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged David Woodhouse (1): hw/i386/fw_cfg: Add etc/e820 to fw_cfg late Dmitry Frolov (1): hw/net/virtio-net.c: fix crash in iov_copy() Fan Ni (12): hw/cxl/cxl-mailbox-utils: Add dc_event_log_size field to output payload of identify memory device command hw/cxl/cxl-mailbox-utils: Add dynamic capacity region representative and mailbox command support include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices hw/mem/cxl_type3: Add support to create DC regions to type3 memory devices hw/mem/cxl-type3: Refactor ct3_build_cdat_entries_for_mr to take mr size instead of mr as argument hw/mem/cxl_type3: Add host backend and address space handling for DC regions hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support hw/cxl/cxl-mailbox-utils: Add mailbox commands to support add/release dynamic capacity response hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support hw/mem/cxl_type3: Allow to release extent superset in QMP interface Gregory Price (2): hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference hw/cxl/mailbox: interface to add CCI commands to an existing CCI Halil Pasic (1): vhost-vsock: add VIRTIO_F_RING_PACKED to feature_bits Ira Weiny (1): hw/cxl: Fix read from bogus memory Jiqian Chen (2): virtio-pci: only reset pm state during resetting virtio-pci: implement No_Soft_Reset bit Jonah Palmer (5): virtio/virtio-pci: Handle extra notification data virtio: Prevent creation of device using notification-data with ioeventfd virtio-mmio: Handle extra notification data virtio-ccw: Handle extra notification data vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits Jonathan Cameron (2): hw/cxl/events: Improve QMP interfaces and documentation for add/release dynamic capacity. hw/cxl/events: Mark cxl-add-dynamic-capacity and cxl-release-dynamic-capcity unstable Li Feng (2): Revert "vhost-user: fix lost reconnect" vhost-user: fix lost reconnect again Manos Pitsidianakis (1): virtio-iommu: add error check before assert Marc-André Lureau (1): vhost-user-gpu: fix import of DMABUF Nicolin Chen (2): hw/arm/virt-acpi-build: Drop local iort_node_offset hw/arm/virt-acpi-build: Fix id_count in build_iort_id_mapping Si-Wei Liu (2): vhost: dirty log should be per backend type vhost: Perform memory section dirty scans once per iteration Stefano Garzarella (15): vhost-vdpa: check vhost_vdpa_set_vring_ready() return value qapi: clarify that the default is backend dependent libvhost-user: set msg.msg_control to NULL when it is empty libvhost-user: fail vu_message_write() if sendmsg() is failing libvhost-user: mask F_INFLIGHT_SHMFD if memfd is not supported vhost-user-server: do not set memory fd non-blocking contrib/vhost-user-blk: fix bind() using the right size of the address contrib/vhost-user-*: use QEMU bswap helper functions vhost-user: enable frontends on any POSIX system libvhost-user: enable it on any POSIX system contrib/vhost-user-blk: enable it on any POSIX system hostmem: add a new memory backend based on POSIX shm_open() tests/qtest/vhost-user-blk-test: use memory-backend-shm tests/qtest/vhost-user-test: add a test case for memory-backend-shm virtio: remove virtio_tswap16s() call in vring_packed_event_read() Sunil V L (15): uefi-test-tools/UefiTestToolsPkg: Add RISC-V support uefi-test-tools: Add support for python based build script tests/data/uefi-boot-images: Add RISC-V ISO image qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them tests/qtest/bios-tables-test.c: Add support for arch in path tests/qtest/bios-tables-test.c: Set "arch" for aarch64 tests tests/qtest/bios-tables-test.c: Set "arch" for x86 tests tests/data/acpi: Move x86 ACPI tables under x86/${machine} path tests/data/acpi/virt: Move ARM64 ACPI tables under aarch64/${machine} path meson.build: Add RISC-V to the edk2-target list pc-bios/meson.build: Add support for RISC-V in unpack_edk2_blobs tests/data/acpi/rebuild-expected-aml.sh: Add RISC-V tests/qtest/bios-tables-test: Add empty ACPI data files for RISC-V tests/qtest/bios-tables-test.c: Enable basic testing for RISC-V tests/qtest/bios-tables-test: Add expected ACPI data files for RISC-V Thomas Huth (1): hw/virtio: Fix the de-initialization of vhost-user devices Thomas Weißschuh (6): linux-headers: update to 6.10-rc1 hw/misc/pvpanic: centralize definition of supported events tests/qtest/pvpanic: use centralized definition of supported events hw/misc/pvpanic: add support for normal shutdowns tests/qtest/pvpanic: add tests for pvshutdown event Revert "docs/specs/pvpanic: mark shutdown event as not implemented" Wafer (1): hw/virtio: Fix obtain the buffer id from the last descriptor Yuxue Liu (1): vhost-user-test: don't set call fd -1 non-blocking Zhao Liu (1): i386/apic: Add hint on boot failure because of disabling x2APIC docs/pcie_sriov.txt | 8 +- qapi/cxl.json | 189 ++++++ qapi/qom.json | 27 +- qapi/run-state.json | 14 + hw/i386/e820_memory_layout.h | 8 +- hw/i386/fw_cfg.h | 1 + include/hw/cxl/cxl_device.h | 85 ++- include/hw/cxl/cxl_events.h | 18 + include/hw/misc/pvpanic.h | 6 + include/hw/pci/pci.h | 2 +- include/hw/pci/pci_device.h | 17 +- include/hw/pci/pcie_sriov.h | 9 +- include/hw/virtio/vhost-user.h | 3 +- include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio-pci.h | 5 + include/hw/virtio/virtio.h | 10 +- include/standard-headers/linux/ethtool.h | 55 ++ include/standard-headers/linux/pci_regs.h | 6 + include/standard-headers/linux/virtio_bt.h | 1 - include/standard-headers/linux/virtio_mem.h | 2 + include/standard-headers/linux/virtio_net.h | 143 +++++ include/standard-headers/misc/pvpanic.h | 7 +- include/sysemu/runstate.h | 1 + linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 2 + linux-headers/linux/kvm.h | 4 +- linux-headers/linux/stddef.h | 8 + subprojects/libvhost-user/libvhost-user.h | 2 +- backends/hostmem-shm.c | 123 ++++ contrib/vhost-user-blk/vhost-user-blk.c | 27 +- contrib/vhost-user-input/main.c | 16 +- hw/arm/virt-acpi-build.c | 22 +- hw/block/vhost-user-blk.c | 6 +- hw/core/machine.c | 1 + hw/cxl/cxl-mailbox-utils.c | 658 ++++++++++++++++++++- hw/display/vhost-user-gpu.c | 5 +- hw/i386/e820_memory_layout.c | 16 +- hw/i386/fw_cfg.c | 18 +- hw/i386/microvm.c | 4 +- hw/i386/pc.c | 1 + hw/intc/apic_common.c | 7 +- hw/mem/cxl_type3.c | 637 ++++++++++++++++++-- hw/mem/cxl_type3_stubs.c | 25 + hw/misc/pvpanic-isa.c | 3 +- hw/misc/pvpanic-pci.c | 2 +- hw/misc/pvpanic.c | 7 +- hw/net/igb.c | 13 +- hw/net/vhost_net.c | 7 + hw/net/virtio-net.c | 4 + hw/nvme/ctrl.c | 24 +- hw/pci/pci.c | 29 +- hw/pci/pci_host.c | 4 +- hw/pci/pcie_sriov.c | 149 ++--- hw/ppc/spapr_pci.c | 8 +- hw/s390x/s390-virtio-ccw.c | 17 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 7 +- hw/virtio/vhost-user-base.c | 7 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/vhost-user.c | 19 +- hw/virtio/vhost-vsock-common.c | 1 + hw/virtio/vhost.c | 112 +++- hw/virtio/virtio-iommu.c | 43 ++ hw/virtio/virtio-mmio.c | 11 +- hw/virtio/virtio-pci.c | 67 ++- hw/virtio/virtio.c | 46 +- hw/xen/xen_pt_load_rom.c | 2 +- net/vhost-vdpa.c | 16 +- subprojects/libvhost-user/libvhost-user.c | 79 ++- system/runstate.c | 6 + target/i386/kvm/kvm.c | 6 +- target/i386/kvm/xen-emu.c | 7 +- tests/qtest/bios-tables-test.c | 169 +++++- tests/qtest/pvpanic-pci-test.c | 44 +- tests/qtest/pvpanic-test.c | 34 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/vhost-user-test.c | 28 +- util/vhost-user-server.c | 12 + backends/meson.build | 1 + docs/specs/pvpanic.rst | 2 +- docs/system/devices/vhost-user.rst | 5 +- hw/block/Kconfig | 2 +- hw/pci/trace-events | 2 +- meson.build | 7 +- pc-bios/meson.build | 2 + qemu-options.hx | 16 + tests/data/acpi/{ => aarch64}/virt/APIC | Bin .../data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/APIC.topology | Bin tests/data/acpi/{ => aarch64}/virt/DBG2 | Bin tests/data/acpi/{ => aarch64}/virt/DSDT | Bin .../data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.pxb | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.topology | Bin tests/data/acpi/{ => aarch64}/virt/FACP | Bin tests/data/acpi/{ => aarch64}/virt/GTDT | Bin .../data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/IORT | Bin tests/data/acpi/{ => aarch64}/virt/MCFG | Bin tests/data/acpi/{ => aarch64}/virt/NFIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/PPTT | Bin .../data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/PPTT.topology | Bin tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SPCR | Bin .../data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.numamem | Bin tests/data/acpi/{ => aarch64}/virt/SSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/VIOT | Bin tests/data/acpi/rebuild-expected-aml.sh | 5 +- tests/data/acpi/riscv64/virt/APIC | Bin 0 -> 116 bytes tests/data/acpi/riscv64/virt/DSDT | Bin 0 -> 3518 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 -> 314 bytes tests/data/acpi/riscv64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/{ => x86}/microvm/APIC | Bin tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/APIC.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT | Bin tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/DSDT.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT.rtc | Bin tests/data/acpi/{ => x86}/microvm/DSDT.usb | Bin tests/data/acpi/{ => x86}/microvm/ERST.pcie | Bin tests/data/acpi/{ => x86}/microvm/FACP | Bin tests/data/acpi/{ => x86}/pc/APIC | Bin tests/data/acpi/{ => x86}/pc/APIC.acpihmat | Bin tests/data/acpi/{ => x86}/pc/APIC.cphp | Bin tests/data/acpi/{ => x86}/pc/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/DSDT.bridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.cphp | Bin tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot | Bin tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs | Bin tests/data/acpi/{ => x86}/pc/DSDT.memhp | Bin tests/data/acpi/{ => x86}/pc/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/pc/DSDT.numamem | Bin tests/data/acpi/{ => x86}/pc/DSDT.roothp | Bin tests/data/acpi/{ => x86}/pc/ERST.acpierst | Bin tests/data/acpi/{ => x86}/pc/FACP | Bin tests/data/acpi/{ => x86}/pc/FACP.nosmm | Bin tests/data/acpi/{ => x86}/pc/FACS | Bin tests/data/acpi/{ => x86}/pc/HMAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/HPET | Bin tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SLIT.cphp | Bin tests/data/acpi/{q35 => x86/pc}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/SRAT.cphp | Bin tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SRAT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.numamem | Bin tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/WAET | Bin tests/data/acpi/{ => x86}/q35/APIC | Bin tests/data/acpi/{ => x86}/q35/APIC.acpihmat | Bin .../acpi/{ => x86}/q35/APIC.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.cphp | Bin tests/data/acpi/{ => x86}/q35/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.type4-count | Bin tests/data/acpi/{ => x86}/q35/APIC.xapic | Bin tests/data/acpi/{ => x86}/q35/CEDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DMAR.dmar | Bin tests/data/acpi/{ => x86}/q35/DSDT | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpihmat | Bin .../acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/DSDT.applesmc | Bin tests/data/acpi/{ => x86}/q35/DSDT.bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.cphp | Bin tests/data/acpi/{ => x86}/q35/DSDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmibt | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus | Bin tests/data/acpi/{ => x86}/q35/DSDT.ivrs | Bin tests/data/acpi/{ => x86}/q35/DSDT.memhp | Bin tests/data/acpi/{ => x86}/q35/DSDT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.noacpihp | Bin tests/data/acpi/{ => x86}/q35/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/q35/DSDT.numamem | Bin tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.type4-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.viot | Bin tests/data/acpi/{ => x86}/q35/DSDT.xapic | Bin tests/data/acpi/{ => x86}/q35/ERST.acpierst | Bin tests/data/acpi/{ => x86}/q35/FACP | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.nosmm | Bin tests/data/acpi/{ => x86}/q35/FACP.slic | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.type4-count | Bin tests/data/acpi/{ => x86}/q35/FACP.xapic | Bin tests/data/acpi/{ => x86}/q35/FACS | Bin tests/data/acpi/{ => x86}/q35/HMAT.acpihmat | Bin .../acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/HPET | Bin tests/data/acpi/{ => x86}/q35/IVRS.ivrs | Bin tests/data/acpi/{ => x86}/q35/MCFG | Bin tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SLIC.slic | Bin tests/data/acpi/{ => x86}/q35/SLIT.cphp | Bin tests/data/acpi/{virt => x86/q35}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.acpihmat | Bin .../acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/SRAT.cphp | Bin tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SRAT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/SRAT.numamem | Bin tests/data/acpi/{ => x86}/q35/SRAT.xapic | Bin tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/VIOT.viot | Bin tests/data/acpi/{ => x86}/q35/WAET | Bin .../bios-tables-test.riscv64.iso.qcow2 | Bin 0 -> 16896 bytes tests/qtest/meson.build | 3 + tests/uefi-test-tools/Makefile | 19 +- .../UefiTestToolsPkg/UefiTestToolsPkg.dsc | 6 +- tests/uefi-test-tools/uefi-test-build.config | 52 ++ util/meson.build | 4 +- 251 files changed, 2958 insertions(+), 371 deletions(-) create mode 100644 backends/hostmem-shm.c rename tests/data/acpi/{ => aarch64}/virt/APIC (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/DBG2 (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.pxb (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/FACP (100%) rename tests/data/acpi/{ => aarch64}/virt/GTDT (100%) rename tests/data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/IORT (100%) rename tests/data/acpi/{ => aarch64}/virt/MCFG (100%) rename tests/data/acpi/{ => aarch64}/virt/NFIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.topology (100%) rename tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SPCR (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.numamem (100%) rename tests/data/acpi/{ => aarch64}/virt/SSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/VIOT (100%) 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 rename tests/data/acpi/{ => x86}/microvm/APIC (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.rtc (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.usb (100%) rename tests/data/acpi/{ => x86}/microvm/ERST.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/FACP (100%) rename tests/data/acpi/{ => x86}/pc/APIC (100%) rename tests/data/acpi/{ => x86}/pc/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/pc/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.roothp (100%) rename tests/data/acpi/{ => x86}/pc/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/FACP (100%) rename tests/data/acpi/{ => x86}/pc/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/pc/FACS (100%) rename tests/data/acpi/{ => x86}/pc/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/HPET (100%) rename tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SLIT.cphp (100%) rename tests/data/acpi/{q35 => x86/pc}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/WAET (100%) rename tests/data/acpi/{ => x86}/q35/APIC (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/q35/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.xapic (100%) rename tests/data/acpi/{ => x86}/q35/CEDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DMAR.dmar (100%) rename tests/data/acpi/{ => x86}/q35/DSDT (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.applesmc (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmibt (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.noacpihp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.viot (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/FACP (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/q35/FACP.slic (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.xapic (100%) rename tests/data/acpi/{ => x86}/q35/FACS (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/HPET (100%) rename tests/data/acpi/{ => x86}/q35/IVRS.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/MCFG (100%) rename tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SLIC.slic (100%) rename tests/data/acpi/{ => x86}/q35/SLIT.cphp (100%) rename tests/data/acpi/{virt => x86/q35}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/VIOT.viot (100%) rename tests/data/acpi/{ => x86}/q35/WAET (100%) create mode 100644 tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2 create mode 100644 tests/uefi-test-tools/uefi-test-build.config . Date: Tue, 2 Jul 2024 18:39:39 +0200 From: Kevin Wolf To: qemu-block@nongnu.org Cc: kwolf@redhat.com, richard.henderson@linaro.org, hreitz@redhat.com, eblake@redhat.com, stefanha@redhat.com, qemu-devel@nongnu.org, qemu-stable@nongnu.org Subject: [PULL 0/4] Block layer patches (CVE-2024-4467) The following changes since commit c80a339587fe4148292c260716482dd2f86d4476: Merge tag 'pull-target-arm-20240701' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-01 10:41:45 -0700) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to fetch changes up to 7ead946998610657d38d1a505d5f25300d4ca613: block: Parse filenames only when explicitly requested (2024-07-02 18:12:30 +0200) ---------------------------------------------------------------- Block layer patches (CVE-2024-4467) - Don't open qcow2 data files in 'qemu-img info' - Disallow protocol prefixes for qcow2 data files, VMDK extent files and other child nodes that are neither 'file' nor 'backing' ---------------------------------------------------------------- Kevin Wolf (4): qcow2: Don't open data_file with BDRV_O_NO_IO iotests/244: Don't store data-file with protocol in image iotests/270: Don't store data-file with json: prefix in image block: Parse filenames only when explicitly requested block.c | 90 +++++++++++++++++++++++++++++----------------- block/qcow2.c | 17 ++++++++- tests/qemu-iotests/061 | 6 ++-- tests/qemu-iotests/061.out | 8 +++-- tests/qemu-iotests/244 | 19 ++++++++-- tests/qemu-iotests/270 | 14 ++++++-- 6 files changed, 110 insertions(+), 44 deletions(-) . Date: Tue, 2 Jul 2024 16:13:32 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v2 00/91] virtio: features,fixes The following changes since commit 1152a0414944f03231f3177207d379d58125890e: Merge tag 'pull-xen-20240701' of https://xenbits.xen.org/git-http/people/aperard/qemu-dm into staging (2024-07-01 09:06:25 -0700) 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 ec21270229dfef883383402f7f300864295874a5: hw/pci: Replace -1 with UINT32_MAX for romsize (2024-07-02 10:33:35 -0400) ---------------------------------------------------------------- virtio: features,fixes A bunch of improvements: - vhost dirty log is now only scanned once, not once per device - virtio and vhost now support VIRTIO_F_NOTIFICATION_DATA - cxl gained DCD emulation support - pvpanic gained shutdown support - beginning of patchset for Generic Port Affinity Structure - s3 support - friendlier error messages when boot fails on some illegal configs - for vhost-user, VHOST_USER_SET_LOG_BASE is now only sent once - vhost-user now works on any POSIX system - sr-iov VF setup code has been reworked significantly - new tests, particularly for risc-v ACPI - bugfixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (11): hw/virtio: Free vqs after vhost_dev_cleanup() hw/pci: Rename has_power to enabled hw/ppc/spapr_pci: Do not create DT for disabled PCI device hw/ppc/spapr_pci: Do not reject VFs created after a PF pcie_sriov: Do not manually unrealize pcie_sriov: Ensure VF function number does not overflow pcie_sriov: Reuse SR-IOV VF device instances pcie_sriov: Release VFs failed to realize pcie_sriov: Remove num_vfs from PCIESriovPF pcie_sriov: Register VFs after migration hw/pci: Replace -1 with UINT32_MAX for romsize Alejandro Jimenez (1): pvpanic: Emit GUEST_PVSHUTDOWN QMP event on pvpanic shutdown signal BillXiang (1): vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests Christian Pötzsch (1): Fix vhost user assertion when sending more than one fd Cindy Lu (1): virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one() Cédric Le Goater (1): virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged David Woodhouse (1): hw/i386/fw_cfg: Add etc/e820 to fw_cfg late Dmitry Frolov (1): hw/net/virtio-net.c: fix crash in iov_copy() Fan Ni (12): hw/cxl/cxl-mailbox-utils: Add dc_event_log_size field to output payload of identify memory device command hw/cxl/cxl-mailbox-utils: Add dynamic capacity region representative and mailbox command support include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices hw/mem/cxl_type3: Add support to create DC regions to type3 memory devices hw/mem/cxl-type3: Refactor ct3_build_cdat_entries_for_mr to take mr size instead of mr as argument hw/mem/cxl_type3: Add host backend and address space handling for DC regions hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support hw/cxl/cxl-mailbox-utils: Add mailbox commands to support add/release dynamic capacity response hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support hw/mem/cxl_type3: Allow to release extent superset in QMP interface Gregory Price (2): hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference hw/cxl/mailbox: interface to add CCI commands to an existing CCI Halil Pasic (1): vhost-vsock: add VIRTIO_F_RING_PACKED to feature_bits Ira Weiny (1): hw/cxl: Fix read from bogus memory Jiqian Chen (2): virtio-pci: only reset pm state during resetting virtio-pci: implement No_Soft_Reset bit Jonah Palmer (5): virtio/virtio-pci: Handle extra notification data virtio: Prevent creation of device using notification-data with ioeventfd virtio-mmio: Handle extra notification data virtio-ccw: Handle extra notification data vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits Jonathan Cameron (2): hw/cxl/events: Improve QMP interfaces and documentation for add/release dynamic capacity. hw/cxl/events: Mark cxl-add-dynamic-capacity and cxl-release-dynamic-capcity unstable Li Feng (2): Revert "vhost-user: fix lost reconnect" vhost-user: fix lost reconnect again Manos Pitsidianakis (1): virtio-iommu: add error check before assert Marc-André Lureau (1): vhost-user-gpu: fix import of DMABUF Nicolin Chen (2): hw/arm/virt-acpi-build: Drop local iort_node_offset hw/arm/virt-acpi-build: Fix id_count in build_iort_id_mapping Si-Wei Liu (2): vhost: dirty log should be per backend type vhost: Perform memory section dirty scans once per iteration Stefano Garzarella (15): vhost-vdpa: check vhost_vdpa_set_vring_ready() return value qapi: clarify that the default is backend dependent libvhost-user: set msg.msg_control to NULL when it is empty libvhost-user: fail vu_message_write() if sendmsg() is failing libvhost-user: mask F_INFLIGHT_SHMFD if memfd is not supported vhost-user-server: do not set memory fd non-blocking contrib/vhost-user-blk: fix bind() using the right size of the address contrib/vhost-user-*: use QEMU bswap helper functions vhost-user: enable frontends on any POSIX system libvhost-user: enable it on any POSIX system contrib/vhost-user-blk: enable it on any POSIX system hostmem: add a new memory backend based on POSIX shm_open() tests/qtest/vhost-user-blk-test: use memory-backend-shm tests/qtest/vhost-user-test: add a test case for memory-backend-shm virtio: remove virtio_tswap16s() call in vring_packed_event_read() Sunil V L (15): uefi-test-tools/UefiTestToolsPkg: Add RISC-V support uefi-test-tools: Add support for python based build script tests/data/uefi-boot-images: Add RISC-V ISO image qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them tests/qtest/bios-tables-test.c: Add support for arch in path tests/qtest/bios-tables-test.c: Set "arch" for aarch64 tests tests/qtest/bios-tables-test.c: Set "arch" for x86 tests tests/data/acpi: Move x86 ACPI tables under x86/${machine} path tests/data/acpi/virt: Move ARM64 ACPI tables under aarch64/${machine} path meson.build: Add RISC-V to the edk2-target list pc-bios/meson.build: Add support for RISC-V in unpack_edk2_blobs tests/data/acpi/rebuild-expected-aml.sh: Add RISC-V tests/qtest/bios-tables-test: Add empty ACPI data files for RISC-V tests/qtest/bios-tables-test.c: Enable basic testing for RISC-V tests/qtest/bios-tables-test: Add expected ACPI data files for RISC-V Thomas Huth (1): hw/virtio: Fix the de-initialization of vhost-user devices Thomas Weißschuh (6): linux-headers: update to 6.10-rc1 hw/misc/pvpanic: centralize definition of supported events tests/qtest/pvpanic: use centralized definition of supported events hw/misc/pvpanic: add support for normal shutdowns tests/qtest/pvpanic: add tests for pvshutdown event Revert "docs/specs/pvpanic: mark shutdown event as not implemented" Wafer (1): hw/virtio: Fix obtain the buffer id from the last descriptor Yuxue Liu (1): vhost-user-test: no set non-blocking for cal fd less than 0. Zhao Liu (1): i386/apic: Add hint on boot failure because of disabling x2APIC docs/pcie_sriov.txt | 8 +- qapi/cxl.json | 189 ++++++ qapi/qom.json | 27 +- qapi/run-state.json | 14 + hw/i386/e820_memory_layout.h | 8 +- hw/i386/fw_cfg.h | 1 + include/hw/cxl/cxl_device.h | 85 ++- include/hw/cxl/cxl_events.h | 18 + include/hw/misc/pvpanic.h | 6 + include/hw/pci/pci.h | 2 +- include/hw/pci/pci_device.h | 17 +- include/hw/pci/pcie_sriov.h | 9 +- include/hw/virtio/vhost-user.h | 3 +- include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio-pci.h | 5 + include/hw/virtio/virtio.h | 10 +- include/standard-headers/linux/ethtool.h | 55 ++ include/standard-headers/linux/pci_regs.h | 6 + include/standard-headers/linux/virtio_bt.h | 1 - include/standard-headers/linux/virtio_mem.h | 2 + include/standard-headers/linux/virtio_net.h | 143 +++++ include/standard-headers/misc/pvpanic.h | 7 +- include/sysemu/runstate.h | 1 + linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 2 + linux-headers/linux/kvm.h | 4 +- linux-headers/linux/stddef.h | 8 + subprojects/libvhost-user/libvhost-user.h | 2 +- backends/hostmem-shm.c | 123 ++++ contrib/vhost-user-blk/vhost-user-blk.c | 27 +- contrib/vhost-user-input/main.c | 16 +- hw/arm/virt-acpi-build.c | 22 +- hw/block/vhost-user-blk.c | 6 +- hw/core/machine.c | 1 + hw/cxl/cxl-mailbox-utils.c | 658 ++++++++++++++++++++- hw/display/vhost-user-gpu.c | 5 +- hw/i386/e820_memory_layout.c | 17 +- hw/i386/fw_cfg.c | 18 +- hw/i386/microvm.c | 4 +- hw/i386/pc.c | 1 + hw/intc/apic_common.c | 7 +- hw/mem/cxl_type3.c | 637 ++++++++++++++++++-- hw/mem/cxl_type3_stubs.c | 25 + hw/misc/pvpanic-isa.c | 3 +- hw/misc/pvpanic-pci.c | 2 +- hw/misc/pvpanic.c | 7 +- hw/net/igb.c | 13 +- hw/net/vhost_net.c | 7 + hw/net/virtio-net.c | 4 + hw/nvme/ctrl.c | 24 +- hw/pci/pci.c | 29 +- hw/pci/pci_host.c | 4 +- hw/pci/pcie_sriov.c | 149 ++--- hw/ppc/spapr_pci.c | 8 +- hw/s390x/s390-virtio-ccw.c | 17 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 7 +- hw/virtio/vhost-user-base.c | 7 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/vhost-user.c | 19 +- hw/virtio/vhost-vsock-common.c | 1 + hw/virtio/vhost.c | 112 +++- hw/virtio/virtio-iommu.c | 43 ++ hw/virtio/virtio-mmio.c | 11 +- hw/virtio/virtio-pci.c | 67 ++- hw/virtio/virtio.c | 46 +- hw/xen/xen_pt_load_rom.c | 2 +- net/vhost-vdpa.c | 16 +- subprojects/libvhost-user/libvhost-user.c | 79 ++- system/runstate.c | 6 + target/i386/kvm/kvm.c | 6 +- target/i386/kvm/xen-emu.c | 7 +- tests/qtest/bios-tables-test.c | 169 +++++- tests/qtest/pvpanic-pci-test.c | 44 +- tests/qtest/pvpanic-test.c | 34 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/vhost-user-test.c | 28 +- util/vhost-user-server.c | 12 + backends/meson.build | 1 + docs/specs/pvpanic.rst | 2 +- docs/system/devices/vhost-user.rst | 5 +- hw/block/Kconfig | 2 +- hw/pci/trace-events | 2 +- meson.build | 7 +- pc-bios/meson.build | 2 + qemu-options.hx | 16 + tests/data/acpi/{ => aarch64}/virt/APIC | Bin .../data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/APIC.topology | Bin tests/data/acpi/{ => aarch64}/virt/DBG2 | Bin tests/data/acpi/{ => aarch64}/virt/DSDT | Bin .../data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.pxb | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.topology | Bin tests/data/acpi/{ => aarch64}/virt/FACP | Bin tests/data/acpi/{ => aarch64}/virt/GTDT | Bin .../data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/IORT | Bin tests/data/acpi/{ => aarch64}/virt/MCFG | Bin tests/data/acpi/{ => aarch64}/virt/NFIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/PPTT | Bin .../data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/PPTT.topology | Bin tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SPCR | Bin .../data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.numamem | Bin tests/data/acpi/{ => aarch64}/virt/SSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/VIOT | Bin tests/data/acpi/rebuild-expected-aml.sh | 5 +- tests/data/acpi/riscv64/virt/APIC | Bin 0 -> 116 bytes tests/data/acpi/riscv64/virt/DSDT | Bin 0 -> 3518 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 -> 314 bytes tests/data/acpi/riscv64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/{ => x86}/microvm/APIC | Bin tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/APIC.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT | Bin tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/DSDT.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT.rtc | Bin tests/data/acpi/{ => x86}/microvm/DSDT.usb | Bin tests/data/acpi/{ => x86}/microvm/ERST.pcie | Bin tests/data/acpi/{ => x86}/microvm/FACP | Bin tests/data/acpi/{ => x86}/pc/APIC | Bin tests/data/acpi/{ => x86}/pc/APIC.acpihmat | Bin tests/data/acpi/{ => x86}/pc/APIC.cphp | Bin tests/data/acpi/{ => x86}/pc/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/DSDT.bridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.cphp | Bin tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot | Bin tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs | Bin tests/data/acpi/{ => x86}/pc/DSDT.memhp | Bin tests/data/acpi/{ => x86}/pc/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/pc/DSDT.numamem | Bin tests/data/acpi/{ => x86}/pc/DSDT.roothp | Bin tests/data/acpi/{ => x86}/pc/ERST.acpierst | Bin tests/data/acpi/{ => x86}/pc/FACP | Bin tests/data/acpi/{ => x86}/pc/FACP.nosmm | Bin tests/data/acpi/{ => x86}/pc/FACS | Bin tests/data/acpi/{ => x86}/pc/HMAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/HPET | Bin tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SLIT.cphp | Bin tests/data/acpi/{q35 => x86/pc}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/SRAT.cphp | Bin tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SRAT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.numamem | Bin tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/WAET | Bin tests/data/acpi/{ => x86}/q35/APIC | Bin tests/data/acpi/{ => x86}/q35/APIC.acpihmat | Bin .../acpi/{ => x86}/q35/APIC.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.cphp | Bin tests/data/acpi/{ => x86}/q35/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.type4-count | Bin tests/data/acpi/{ => x86}/q35/APIC.xapic | Bin tests/data/acpi/{ => x86}/q35/CEDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DMAR.dmar | Bin tests/data/acpi/{ => x86}/q35/DSDT | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpihmat | Bin .../acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/DSDT.applesmc | Bin tests/data/acpi/{ => x86}/q35/DSDT.bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.cphp | Bin tests/data/acpi/{ => x86}/q35/DSDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmibt | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus | Bin tests/data/acpi/{ => x86}/q35/DSDT.ivrs | Bin tests/data/acpi/{ => x86}/q35/DSDT.memhp | Bin tests/data/acpi/{ => x86}/q35/DSDT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.noacpihp | Bin tests/data/acpi/{ => x86}/q35/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/q35/DSDT.numamem | Bin tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.type4-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.viot | Bin tests/data/acpi/{ => x86}/q35/DSDT.xapic | Bin tests/data/acpi/{ => x86}/q35/ERST.acpierst | Bin tests/data/acpi/{ => x86}/q35/FACP | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.nosmm | Bin tests/data/acpi/{ => x86}/q35/FACP.slic | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.type4-count | Bin tests/data/acpi/{ => x86}/q35/FACP.xapic | Bin tests/data/acpi/{ => x86}/q35/FACS | Bin tests/data/acpi/{ => x86}/q35/HMAT.acpihmat | Bin .../acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/HPET | Bin tests/data/acpi/{ => x86}/q35/IVRS.ivrs | Bin tests/data/acpi/{ => x86}/q35/MCFG | Bin tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SLIC.slic | Bin tests/data/acpi/{ => x86}/q35/SLIT.cphp | Bin tests/data/acpi/{virt => x86/q35}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.acpihmat | Bin .../acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/SRAT.cphp | Bin tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SRAT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/SRAT.numamem | Bin tests/data/acpi/{ => x86}/q35/SRAT.xapic | Bin tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/VIOT.viot | Bin tests/data/acpi/{ => x86}/q35/WAET | Bin .../bios-tables-test.riscv64.iso.qcow2 | Bin 0 -> 16896 bytes tests/qtest/meson.build | 3 + tests/uefi-test-tools/Makefile | 19 +- .../UefiTestToolsPkg/UefiTestToolsPkg.dsc | 6 +- tests/uefi-test-tools/uefi-test-build.config | 52 ++ util/meson.build | 4 +- 251 files changed, 2959 insertions(+), 371 deletions(-) create mode 100644 backends/hostmem-shm.c rename tests/data/acpi/{ => aarch64}/virt/APIC (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/DBG2 (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.pxb (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/FACP (100%) rename tests/data/acpi/{ => aarch64}/virt/GTDT (100%) rename tests/data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/IORT (100%) rename tests/data/acpi/{ => aarch64}/virt/MCFG (100%) rename tests/data/acpi/{ => aarch64}/virt/NFIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.topology (100%) rename tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SPCR (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.numamem (100%) rename tests/data/acpi/{ => aarch64}/virt/SSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/VIOT (100%) 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 rename tests/data/acpi/{ => x86}/microvm/APIC (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.rtc (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.usb (100%) rename tests/data/acpi/{ => x86}/microvm/ERST.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/FACP (100%) rename tests/data/acpi/{ => x86}/pc/APIC (100%) rename tests/data/acpi/{ => x86}/pc/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/pc/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.roothp (100%) rename tests/data/acpi/{ => x86}/pc/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/FACP (100%) rename tests/data/acpi/{ => x86}/pc/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/pc/FACS (100%) rename tests/data/acpi/{ => x86}/pc/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/HPET (100%) rename tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SLIT.cphp (100%) rename tests/data/acpi/{q35 => x86/pc}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/WAET (100%) rename tests/data/acpi/{ => x86}/q35/APIC (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/q35/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.xapic (100%) rename tests/data/acpi/{ => x86}/q35/CEDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DMAR.dmar (100%) rename tests/data/acpi/{ => x86}/q35/DSDT (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.applesmc (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmibt (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.noacpihp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.viot (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/FACP (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/q35/FACP.slic (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.xapic (100%) rename tests/data/acpi/{ => x86}/q35/FACS (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/HPET (100%) rename tests/data/acpi/{ => x86}/q35/IVRS.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/MCFG (100%) rename tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SLIC.slic (100%) rename tests/data/acpi/{ => x86}/q35/SLIT.cphp (100%) rename tests/data/acpi/{virt => x86/q35}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/VIOT.viot (100%) rename tests/data/acpi/{ => x86}/q35/WAET (100%) create mode 100644 tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2 create mode 100644 tests/uefi-test-tools/uefi-test-build.config . Date: Tue, 2 Jul 2024 16:15:02 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v2 00/88] virtio: features,fixes The following changes since commit 1152a0414944f03231f3177207d379d58125890e: Merge tag 'pull-xen-20240701' of https://xenbits.xen.org/git-http/people/aperard/qemu-dm into staging (2024-07-01 09:06:25 -0700) 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 29e45afd8d6abf7a67dab5db0ab1cfbc388daefe: hw/pci: Replace -1 with UINT32_MAX for romsize (2024-07-02 11:27:19 -0400) ---------------------------------------------------------------- virtio: features,fixes A bunch of improvements: - vhost dirty log is now only scanned once, not once per device - virtio and vhost now support VIRTIO_F_NOTIFICATION_DATA - cxl gained DCD emulation support - pvpanic gained shutdown support - beginning of patchset for Generic Port Affinity Structure - s3 support - friendlier error messages when boot fails on some illegal configs - for vhost-user, VHOST_USER_SET_LOG_BASE is now only sent once - vhost-user now works on any POSIX system - sr-iov VF setup code has been reworked significantly - new tests, particularly for risc-v ACPI - bugfixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (11): hw/virtio: Free vqs after vhost_dev_cleanup() hw/pci: Rename has_power to enabled hw/ppc/spapr_pci: Do not create DT for disabled PCI device hw/ppc/spapr_pci: Do not reject VFs created after a PF pcie_sriov: Do not manually unrealize pcie_sriov: Ensure VF function number does not overflow pcie_sriov: Reuse SR-IOV VF device instances pcie_sriov: Release VFs failed to realize pcie_sriov: Remove num_vfs from PCIESriovPF pcie_sriov: Register VFs after migration hw/pci: Replace -1 with UINT32_MAX for romsize Alejandro Jimenez (1): pvpanic: Emit GUEST_PVSHUTDOWN QMP event on pvpanic shutdown signal BillXiang (1): vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests Christian Pötzsch (1): Fix vhost user assertion when sending more than one fd Cindy Lu (1): virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one() Cédric Le Goater (1): virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged David Woodhouse (1): hw/i386/fw_cfg: Add etc/e820 to fw_cfg late Dmitry Frolov (1): hw/net/virtio-net.c: fix crash in iov_copy() Fan Ni (12): hw/cxl/cxl-mailbox-utils: Add dc_event_log_size field to output payload of identify memory device command hw/cxl/cxl-mailbox-utils: Add dynamic capacity region representative and mailbox command support include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices hw/mem/cxl_type3: Add support to create DC regions to type3 memory devices hw/mem/cxl-type3: Refactor ct3_build_cdat_entries_for_mr to take mr size instead of mr as argument hw/mem/cxl_type3: Add host backend and address space handling for DC regions hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support hw/cxl/cxl-mailbox-utils: Add mailbox commands to support add/release dynamic capacity response hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support hw/mem/cxl_type3: Allow to release extent superset in QMP interface Gregory Price (2): hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference hw/cxl/mailbox: interface to add CCI commands to an existing CCI Halil Pasic (1): vhost-vsock: add VIRTIO_F_RING_PACKED to feature_bits Ira Weiny (1): hw/cxl: Fix read from bogus memory Jiqian Chen (2): virtio-pci: only reset pm state during resetting virtio-pci: implement No_Soft_Reset bit Jonah Palmer (5): virtio/virtio-pci: Handle extra notification data virtio: Prevent creation of device using notification-data with ioeventfd virtio-mmio: Handle extra notification data virtio-ccw: Handle extra notification data vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits Jonathan Cameron (2): hw/cxl/events: Improve QMP interfaces and documentation for add/release dynamic capacity. hw/cxl/events: Mark cxl-add-dynamic-capacity and cxl-release-dynamic-capcity unstable Li Feng (2): Revert "vhost-user: fix lost reconnect" vhost-user: fix lost reconnect again Manos Pitsidianakis (1): virtio-iommu: add error check before assert Marc-André Lureau (1): vhost-user-gpu: fix import of DMABUF Nicolin Chen (2): hw/arm/virt-acpi-build: Drop local iort_node_offset hw/arm/virt-acpi-build: Fix id_count in build_iort_id_mapping Si-Wei Liu (2): vhost: dirty log should be per backend type vhost: Perform memory section dirty scans once per iteration Stefano Garzarella (15): vhost-vdpa: check vhost_vdpa_set_vring_ready() return value qapi: clarify that the default is backend dependent libvhost-user: set msg.msg_control to NULL when it is empty libvhost-user: fail vu_message_write() if sendmsg() is failing libvhost-user: mask F_INFLIGHT_SHMFD if memfd is not supported vhost-user-server: do not set memory fd non-blocking contrib/vhost-user-blk: fix bind() using the right size of the address contrib/vhost-user-*: use QEMU bswap helper functions vhost-user: enable frontends on any POSIX system libvhost-user: enable it on any POSIX system contrib/vhost-user-blk: enable it on any POSIX system hostmem: add a new memory backend based on POSIX shm_open() tests/qtest/vhost-user-blk-test: use memory-backend-shm tests/qtest/vhost-user-test: add a test case for memory-backend-shm virtio: remove virtio_tswap16s() call in vring_packed_event_read() Sunil V L (12): uefi-test-tools/UefiTestToolsPkg: Add RISC-V support uefi-test-tools: Add support for python based build script tests/data/uefi-boot-images: Add RISC-V ISO image qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them tests/qtest/bios-tables-test.c: Add support for arch in path tests/qtest/bios-tables-test.c: Set "arch" for aarch64 tests tests/qtest/bios-tables-test.c: Set "arch" for x86 tests tests/data/acpi: Move x86 ACPI tables under x86/${machine} path tests/data/acpi/virt: Move ARM64 ACPI tables under aarch64/${machine} path meson.build: Add RISC-V to the edk2-target list pc-bios/meson.build: Add support for RISC-V in unpack_edk2_blobs tests/data/acpi/rebuild-expected-aml.sh: Add RISC-V Thomas Huth (1): hw/virtio: Fix the de-initialization of vhost-user devices Thomas Weißschuh (6): linux-headers: update to 6.10-rc1 hw/misc/pvpanic: centralize definition of supported events tests/qtest/pvpanic: use centralized definition of supported events hw/misc/pvpanic: add support for normal shutdowns tests/qtest/pvpanic: add tests for pvshutdown event Revert "docs/specs/pvpanic: mark shutdown event as not implemented" Wafer (1): hw/virtio: Fix obtain the buffer id from the last descriptor Yuxue Liu (1): vhost-user-test: no set non-blocking for cal fd less than 0. Zhao Liu (1): i386/apic: Add hint on boot failure because of disabling x2APIC docs/pcie_sriov.txt | 8 +- qapi/cxl.json | 189 ++++++ qapi/qom.json | 27 +- qapi/run-state.json | 14 + hw/i386/e820_memory_layout.h | 8 +- hw/i386/fw_cfg.h | 1 + include/hw/cxl/cxl_device.h | 85 ++- include/hw/cxl/cxl_events.h | 18 + include/hw/misc/pvpanic.h | 6 + include/hw/pci/pci.h | 2 +- include/hw/pci/pci_device.h | 17 +- include/hw/pci/pcie_sriov.h | 9 +- include/hw/virtio/vhost-user.h | 3 +- include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio-pci.h | 5 + include/hw/virtio/virtio.h | 10 +- include/standard-headers/linux/ethtool.h | 55 ++ include/standard-headers/linux/pci_regs.h | 6 + include/standard-headers/linux/virtio_bt.h | 1 - include/standard-headers/linux/virtio_mem.h | 2 + include/standard-headers/linux/virtio_net.h | 143 +++++ include/standard-headers/misc/pvpanic.h | 7 +- include/sysemu/runstate.h | 1 + linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 2 + linux-headers/linux/kvm.h | 4 +- linux-headers/linux/stddef.h | 8 + subprojects/libvhost-user/libvhost-user.h | 2 +- backends/hostmem-shm.c | 123 ++++ contrib/vhost-user-blk/vhost-user-blk.c | 27 +- contrib/vhost-user-input/main.c | 16 +- hw/arm/virt-acpi-build.c | 22 +- hw/block/vhost-user-blk.c | 6 +- hw/core/machine.c | 1 + hw/cxl/cxl-mailbox-utils.c | 658 ++++++++++++++++++++- hw/display/vhost-user-gpu.c | 5 +- hw/i386/e820_memory_layout.c | 17 +- hw/i386/fw_cfg.c | 18 +- hw/i386/microvm.c | 4 +- hw/i386/pc.c | 1 + hw/intc/apic_common.c | 7 +- hw/mem/cxl_type3.c | 637 ++++++++++++++++++-- hw/mem/cxl_type3_stubs.c | 25 + hw/misc/pvpanic-isa.c | 3 +- hw/misc/pvpanic-pci.c | 2 +- hw/misc/pvpanic.c | 7 +- hw/net/igb.c | 13 +- hw/net/vhost_net.c | 7 + hw/net/virtio-net.c | 4 + hw/nvme/ctrl.c | 24 +- hw/pci/pci.c | 29 +- hw/pci/pci_host.c | 4 +- hw/pci/pcie_sriov.c | 149 ++--- hw/ppc/spapr_pci.c | 8 +- hw/s390x/s390-virtio-ccw.c | 17 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 7 +- hw/virtio/vhost-user-base.c | 7 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/vhost-user.c | 19 +- hw/virtio/vhost-vsock-common.c | 1 + hw/virtio/vhost.c | 112 +++- hw/virtio/virtio-iommu.c | 43 ++ hw/virtio/virtio-mmio.c | 11 +- hw/virtio/virtio-pci.c | 67 ++- hw/virtio/virtio.c | 46 +- hw/xen/xen_pt_load_rom.c | 2 +- net/vhost-vdpa.c | 16 +- subprojects/libvhost-user/libvhost-user.c | 79 ++- system/runstate.c | 6 + target/i386/kvm/kvm.c | 6 +- target/i386/kvm/xen-emu.c | 7 +- tests/qtest/bios-tables-test.c | 143 ++++- tests/qtest/pvpanic-pci-test.c | 44 +- tests/qtest/pvpanic-test.c | 34 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/vhost-user-test.c | 28 +- util/vhost-user-server.c | 12 + backends/meson.build | 1 + docs/specs/pvpanic.rst | 2 +- docs/system/devices/vhost-user.rst | 5 +- hw/block/Kconfig | 2 +- hw/pci/trace-events | 2 +- meson.build | 7 +- pc-bios/meson.build | 2 + qemu-options.hx | 16 + tests/data/acpi/{ => aarch64}/virt/APIC | Bin .../data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/APIC.topology | Bin tests/data/acpi/{ => aarch64}/virt/DBG2 | Bin tests/data/acpi/{ => aarch64}/virt/DSDT | Bin .../data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.pxb | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.topology | Bin tests/data/acpi/{ => aarch64}/virt/FACP | Bin tests/data/acpi/{ => aarch64}/virt/GTDT | Bin .../data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/IORT | Bin tests/data/acpi/{ => aarch64}/virt/MCFG | Bin tests/data/acpi/{ => aarch64}/virt/NFIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/PPTT | Bin .../data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/PPTT.topology | Bin tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SPCR | Bin .../data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.numamem | Bin tests/data/acpi/{ => aarch64}/virt/SSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/VIOT | Bin tests/data/acpi/rebuild-expected-aml.sh | 5 +- tests/data/acpi/{ => x86}/microvm/APIC | Bin tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/APIC.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT | Bin tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/DSDT.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT.rtc | Bin tests/data/acpi/{ => x86}/microvm/DSDT.usb | Bin tests/data/acpi/{ => x86}/microvm/ERST.pcie | Bin tests/data/acpi/{ => x86}/microvm/FACP | Bin tests/data/acpi/{ => x86}/pc/APIC | Bin tests/data/acpi/{ => x86}/pc/APIC.acpihmat | Bin tests/data/acpi/{ => x86}/pc/APIC.cphp | Bin tests/data/acpi/{ => x86}/pc/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/DSDT.bridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.cphp | Bin tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot | Bin tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs | Bin tests/data/acpi/{ => x86}/pc/DSDT.memhp | Bin tests/data/acpi/{ => x86}/pc/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/pc/DSDT.numamem | Bin tests/data/acpi/{ => x86}/pc/DSDT.roothp | Bin tests/data/acpi/{ => x86}/pc/ERST.acpierst | Bin tests/data/acpi/{ => x86}/pc/FACP | Bin tests/data/acpi/{ => x86}/pc/FACP.nosmm | Bin tests/data/acpi/{ => x86}/pc/FACS | Bin tests/data/acpi/{ => x86}/pc/HMAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/HPET | Bin tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SLIT.cphp | Bin tests/data/acpi/{q35 => x86/pc}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/SRAT.cphp | Bin tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SRAT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.numamem | Bin tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/WAET | Bin tests/data/acpi/{ => x86}/q35/APIC | Bin tests/data/acpi/{ => x86}/q35/APIC.acpihmat | Bin .../acpi/{ => x86}/q35/APIC.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.cphp | Bin tests/data/acpi/{ => x86}/q35/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.type4-count | Bin tests/data/acpi/{ => x86}/q35/APIC.xapic | Bin tests/data/acpi/{ => x86}/q35/CEDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DMAR.dmar | Bin tests/data/acpi/{ => x86}/q35/DSDT | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpihmat | Bin .../acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/DSDT.applesmc | Bin tests/data/acpi/{ => x86}/q35/DSDT.bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.cphp | Bin tests/data/acpi/{ => x86}/q35/DSDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmibt | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus | Bin tests/data/acpi/{ => x86}/q35/DSDT.ivrs | Bin tests/data/acpi/{ => x86}/q35/DSDT.memhp | Bin tests/data/acpi/{ => x86}/q35/DSDT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.noacpihp | Bin tests/data/acpi/{ => x86}/q35/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/q35/DSDT.numamem | Bin tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.type4-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.viot | Bin tests/data/acpi/{ => x86}/q35/DSDT.xapic | Bin tests/data/acpi/{ => x86}/q35/ERST.acpierst | Bin tests/data/acpi/{ => x86}/q35/FACP | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.nosmm | Bin tests/data/acpi/{ => x86}/q35/FACP.slic | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.type4-count | Bin tests/data/acpi/{ => x86}/q35/FACP.xapic | Bin tests/data/acpi/{ => x86}/q35/FACS | Bin tests/data/acpi/{ => x86}/q35/HMAT.acpihmat | Bin .../acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/HPET | Bin tests/data/acpi/{ => x86}/q35/IVRS.ivrs | Bin tests/data/acpi/{ => x86}/q35/MCFG | Bin tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SLIC.slic | Bin tests/data/acpi/{ => x86}/q35/SLIT.cphp | Bin tests/data/acpi/{virt => x86/q35}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.acpihmat | Bin .../acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/SRAT.cphp | Bin tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SRAT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/SRAT.numamem | Bin tests/data/acpi/{ => x86}/q35/SRAT.xapic | Bin tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/VIOT.viot | Bin tests/data/acpi/{ => x86}/q35/WAET | Bin .../bios-tables-test.riscv64.iso.qcow2 | Bin 0 -> 16896 bytes tests/qtest/meson.build | 3 + tests/uefi-test-tools/Makefile | 19 +- .../UefiTestToolsPkg/UefiTestToolsPkg.dsc | 6 +- tests/uefi-test-tools/uefi-test-build.config | 52 ++ util/meson.build | 4 +- 245 files changed, 2933 insertions(+), 371 deletions(-) create mode 100644 backends/hostmem-shm.c rename tests/data/acpi/{ => aarch64}/virt/APIC (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/DBG2 (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.pxb (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/FACP (100%) rename tests/data/acpi/{ => aarch64}/virt/GTDT (100%) rename tests/data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/IORT (100%) rename tests/data/acpi/{ => aarch64}/virt/MCFG (100%) rename tests/data/acpi/{ => aarch64}/virt/NFIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.topology (100%) rename tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SPCR (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.numamem (100%) rename tests/data/acpi/{ => aarch64}/virt/SSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/VIOT (100%) rename tests/data/acpi/{ => x86}/microvm/APIC (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.rtc (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.usb (100%) rename tests/data/acpi/{ => x86}/microvm/ERST.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/FACP (100%) rename tests/data/acpi/{ => x86}/pc/APIC (100%) rename tests/data/acpi/{ => x86}/pc/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/pc/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.roothp (100%) rename tests/data/acpi/{ => x86}/pc/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/FACP (100%) rename tests/data/acpi/{ => x86}/pc/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/pc/FACS (100%) rename tests/data/acpi/{ => x86}/pc/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/HPET (100%) rename tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SLIT.cphp (100%) rename tests/data/acpi/{q35 => x86/pc}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/WAET (100%) rename tests/data/acpi/{ => x86}/q35/APIC (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/q35/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.xapic (100%) rename tests/data/acpi/{ => x86}/q35/CEDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DMAR.dmar (100%) rename tests/data/acpi/{ => x86}/q35/DSDT (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.applesmc (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmibt (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.noacpihp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.viot (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/FACP (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/q35/FACP.slic (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.xapic (100%) rename tests/data/acpi/{ => x86}/q35/FACS (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/HPET (100%) rename tests/data/acpi/{ => x86}/q35/IVRS.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/MCFG (100%) rename tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SLIC.slic (100%) rename tests/data/acpi/{ => x86}/q35/SLIT.cphp (100%) rename tests/data/acpi/{virt => x86/q35}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/VIOT.viot (100%) rename tests/data/acpi/{ => x86}/q35/WAET (100%) create mode 100644 tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2 create mode 100644 tests/uefi-test-tools/uefi-test-build.config . Date: Wed, 3 Jul 2024 10:42:19 -0700 From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 0/7] tcg patch queue The following changes since commit 6746482d12da3b6e4d3cdf06481a0027a797f719: Merge tag 'sdmmc-20240702' of https://github.com/philmd/qemu into staging (2024-07-02 09:52:10 -0700) are available in the Git repository at: https://gitlab.com/rth7680/qemu tags/pull-tcg-20240703 for you to fetch changes up to a71d9dfbf63db42d6e6ae87fc112d1f5502183bd: tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 (2024-07-03 10:24:12 -0700) ---------------------------------------------------------------- util: cpuinfo portability fixes for FreeBSD and OpenBSD util: cpuinfo for riscv host tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 ---------------------------------------------------------------- Brad Smith (3): util/cpuinfo-ppc: Fix building on OpenBSD util/cpuinfo-ppc: Add FreeBSD support util/cpuinfo-aarch64: Add OpenBSD support Richard Henderson (4): util/cpuinfo-riscv: Support host/cpuinfo.h for riscv util/cpuinfo-riscv: Support OpenBSD signal frame util/cpuinfo-riscv: Use linux __riscv_hwprobe syscall tcg/optimize: Fix TCG_COND_TST* simplification of setcond2 meson.build | 6 ++ host/include/riscv/host/cpuinfo.h | 23 ++++++++ tcg/riscv/tcg-target.h | 46 +++++++-------- tcg/optimize.c | 2 +- tests/tcg/x86_64/test-2413.c | 30 ++++++++++ util/cpuinfo-aarch64.c | 36 ++++++++++++ util/cpuinfo-ppc.c | 27 ++++++--- util/cpuinfo-riscv.c | 118 ++++++++++++++++++++++++++++++++++++++ tcg/riscv/tcg-target.c.inc | 84 +++------------------------ tests/tcg/x86_64/Makefile.target | 2 + util/meson.build | 2 + 11 files changed, 266 insertions(+), 110 deletions(-) create mode 100644 host/include/riscv/host/cpuinfo.h create mode 100644 tests/tcg/x86_64/test-2413.c create mode 100644 util/cpuinfo-riscv.c . Date: Wed, 3 Jul 2024 18:44:12 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v3 00/85] virtio: features,fixes changes from v2: drop part of vhost-user posix support due to test failures on freebsd The following changes since commit 1152a0414944f03231f3177207d379d58125890e: Merge tag 'pull-xen-20240701' of https://xenbits.xen.org/git-http/people/aperard/qemu-dm into staging (2024-07-01 09:06:25 -0700) 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 6a67577d8003428bdbeba61d32a9f8158f12624b: hw/pci: Replace -1 with UINT32_MAX for romsize (2024-07-03 18:14:07 -0400) ---------------------------------------------------------------- virtio: features,fixes A bunch of improvements: - vhost dirty log is now only scanned once, not once per device - virtio and vhost now support VIRTIO_F_NOTIFICATION_DATA - cxl gained DCD emulation support - pvpanic gained shutdown support - beginning of patchset for Generic Port Affinity Structure - s3 support - friendlier error messages when boot fails on some illegal configs - for vhost-user, VHOST_USER_SET_LOG_BASE is now only sent once - part of vhost-user support for any POSIX system - not yet enabled due to qtest failures - sr-iov VF setup code has been reworked significantly - new tests, particularly for risc-v ACPI - bugfixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Akihiko Odaki (11): hw/virtio: Free vqs after vhost_dev_cleanup() hw/pci: Rename has_power to enabled hw/ppc/spapr_pci: Do not create DT for disabled PCI device hw/ppc/spapr_pci: Do not reject VFs created after a PF pcie_sriov: Do not manually unrealize pcie_sriov: Ensure VF function number does not overflow pcie_sriov: Reuse SR-IOV VF device instances pcie_sriov: Release VFs failed to realize pcie_sriov: Remove num_vfs from PCIESriovPF pcie_sriov: Register VFs after migration hw/pci: Replace -1 with UINT32_MAX for romsize Alejandro Jimenez (1): pvpanic: Emit GUEST_PVSHUTDOWN QMP event on pvpanic shutdown signal BillXiang (1): vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests Christian Pötzsch (1): Fix vhost user assertion when sending more than one fd Cindy Lu (1): virtio-pci: Fix the failure process in kvm_virtio_pci_vector_use_one() Cédric Le Goater (1): virtio-iommu: Clear IOMMUDevice when VFIO device is unplugged David Woodhouse (1): hw/i386/fw_cfg: Add etc/e820 to fw_cfg late Dmitry Frolov (1): hw/net/virtio-net.c: fix crash in iov_copy() Fan Ni (12): hw/cxl/cxl-mailbox-utils: Add dc_event_log_size field to output payload of identify memory device command hw/cxl/cxl-mailbox-utils: Add dynamic capacity region representative and mailbox command support include/hw/cxl/cxl_device: Rename mem_size as static_mem_size for type3 memory devices hw/mem/cxl_type3: Add support to create DC regions to type3 memory devices hw/mem/cxl-type3: Refactor ct3_build_cdat_entries_for_mr to take mr size instead of mr as argument hw/mem/cxl_type3: Add host backend and address space handling for DC regions hw/mem/cxl_type3: Add DC extent list representative and get DC extent list mailbox support hw/cxl/cxl-mailbox-utils: Add mailbox commands to support add/release dynamic capacity response hw/cxl/events: Add qmp interfaces to add/release dynamic capacity extents hw/mem/cxl_type3: Add DPA range validation for accesses to DC regions hw/cxl/cxl-mailbox-utils: Add superset extent release mailbox support hw/mem/cxl_type3: Allow to release extent superset in QMP interface Gregory Price (2): hw/cxl/mailbox: change CCI cmd set structure to be a member, not a reference hw/cxl/mailbox: interface to add CCI commands to an existing CCI Halil Pasic (1): vhost-vsock: add VIRTIO_F_RING_PACKED to feature_bits Ira Weiny (1): hw/cxl: Fix read from bogus memory Jiqian Chen (2): virtio-pci: only reset pm state during resetting virtio-pci: implement No_Soft_Reset bit Jonah Palmer (5): virtio/virtio-pci: Handle extra notification data virtio: Prevent creation of device using notification-data with ioeventfd virtio-mmio: Handle extra notification data virtio-ccw: Handle extra notification data vhost/vhost-user: Add VIRTIO_F_NOTIFICATION_DATA to vhost feature bits Jonathan Cameron (2): hw/cxl/events: Improve QMP interfaces and documentation for add/release dynamic capacity. hw/cxl/events: Mark cxl-add-dynamic-capacity and cxl-release-dynamic-capcity unstable Li Feng (2): Revert "vhost-user: fix lost reconnect" vhost-user: fix lost reconnect again Manos Pitsidianakis (1): virtio-iommu: add error check before assert Marc-André Lureau (1): vhost-user-gpu: fix import of DMABUF Nicolin Chen (2): hw/arm/virt-acpi-build: Drop local iort_node_offset hw/arm/virt-acpi-build: Fix id_count in build_iort_id_mapping Si-Wei Liu (2): vhost: dirty log should be per backend type vhost: Perform memory section dirty scans once per iteration Stefano Garzarella (12): vhost-vdpa: check vhost_vdpa_set_vring_ready() return value qapi: clarify that the default is backend dependent libvhost-user: set msg.msg_control to NULL when it is empty libvhost-user: fail vu_message_write() if sendmsg() is failing libvhost-user: mask F_INFLIGHT_SHMFD if memfd is not supported vhost-user-server: do not set memory fd non-blocking contrib/vhost-user-blk: fix bind() using the right size of the address contrib/vhost-user-*: use QEMU bswap helper functions hostmem: add a new memory backend based on POSIX shm_open() tests/qtest/vhost-user-blk-test: use memory-backend-shm tests/qtest/vhost-user-test: add a test case for memory-backend-shm virtio: remove virtio_tswap16s() call in vring_packed_event_read() Sunil V L (12): uefi-test-tools/UefiTestToolsPkg: Add RISC-V support uefi-test-tools: Add support for python based build script tests/data/uefi-boot-images: Add RISC-V ISO image qtest: bios-tables-test: Rename aarch64 tests with aarch64 in them tests/qtest/bios-tables-test.c: Add support for arch in path tests/qtest/bios-tables-test.c: Set "arch" for aarch64 tests tests/qtest/bios-tables-test.c: Set "arch" for x86 tests tests/data/acpi: Move x86 ACPI tables under x86/${machine} path tests/data/acpi/virt: Move ARM64 ACPI tables under aarch64/${machine} path meson.build: Add RISC-V to the edk2-target list pc-bios/meson.build: Add support for RISC-V in unpack_edk2_blobs tests/data/acpi/rebuild-expected-aml.sh: Add RISC-V Thomas Huth (1): hw/virtio: Fix the de-initialization of vhost-user devices Thomas Weißschuh (6): linux-headers: update to 6.10-rc1 hw/misc/pvpanic: centralize definition of supported events tests/qtest/pvpanic: use centralized definition of supported events hw/misc/pvpanic: add support for normal shutdowns tests/qtest/pvpanic: add tests for pvshutdown event Revert "docs/specs/pvpanic: mark shutdown event as not implemented" Wafer (1): hw/virtio: Fix obtain the buffer id from the last descriptor Yuxue Liu (1): vhost-user-test: no set non-blocking for cal fd less than 0. Zhao Liu (1): i386/apic: Add hint on boot failure because of disabling x2APIC docs/pcie_sriov.txt | 8 +- qapi/cxl.json | 189 ++++++ qapi/qom.json | 27 +- qapi/run-state.json | 14 + hw/i386/e820_memory_layout.h | 8 +- hw/i386/fw_cfg.h | 1 + include/hw/cxl/cxl_device.h | 85 ++- include/hw/cxl/cxl_events.h | 18 + include/hw/misc/pvpanic.h | 6 + include/hw/pci/pci.h | 2 +- include/hw/pci/pci_device.h | 17 +- include/hw/pci/pcie_sriov.h | 9 +- include/hw/virtio/vhost-user.h | 3 +- include/hw/virtio/vhost.h | 1 + include/hw/virtio/virtio-pci.h | 5 + include/hw/virtio/virtio.h | 10 +- include/standard-headers/linux/ethtool.h | 55 ++ include/standard-headers/linux/pci_regs.h | 6 + include/standard-headers/linux/virtio_bt.h | 1 - include/standard-headers/linux/virtio_mem.h | 2 + include/standard-headers/linux/virtio_net.h | 143 +++++ include/standard-headers/misc/pvpanic.h | 7 +- include/sysemu/runstate.h | 1 + linux-headers/asm-generic/unistd.h | 5 +- linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 2 + linux-headers/linux/kvm.h | 4 +- linux-headers/linux/stddef.h | 8 + backends/hostmem-shm.c | 123 ++++ contrib/vhost-user-blk/vhost-user-blk.c | 13 +- contrib/vhost-user-input/main.c | 16 +- hw/arm/virt-acpi-build.c | 22 +- hw/block/vhost-user-blk.c | 6 +- hw/core/machine.c | 1 + hw/cxl/cxl-mailbox-utils.c | 658 ++++++++++++++++++++- hw/display/vhost-user-gpu.c | 5 +- hw/i386/e820_memory_layout.c | 17 +- hw/i386/fw_cfg.c | 18 +- hw/i386/microvm.c | 4 +- hw/i386/pc.c | 1 + hw/intc/apic_common.c | 7 +- hw/mem/cxl_type3.c | 637 ++++++++++++++++++-- hw/mem/cxl_type3_stubs.c | 25 + hw/misc/pvpanic-isa.c | 3 +- hw/misc/pvpanic-pci.c | 2 +- hw/misc/pvpanic.c | 7 +- hw/net/igb.c | 13 +- hw/net/vhost_net.c | 2 + hw/net/virtio-net.c | 4 + hw/nvme/ctrl.c | 24 +- hw/pci/pci.c | 29 +- hw/pci/pci_host.c | 4 +- hw/pci/pcie_sriov.c | 149 ++--- hw/ppc/spapr_pci.c | 8 +- hw/s390x/s390-virtio-ccw.c | 17 +- hw/scsi/vhost-scsi.c | 1 + hw/scsi/vhost-user-scsi.c | 7 +- hw/virtio/vhost-user-base.c | 7 +- hw/virtio/vhost-user-fs.c | 2 +- hw/virtio/vhost-user-vsock.c | 1 + hw/virtio/vhost-user.c | 19 +- hw/virtio/vhost-vsock-common.c | 1 + hw/virtio/vhost.c | 112 +++- hw/virtio/virtio-iommu.c | 43 ++ hw/virtio/virtio-mmio.c | 11 +- hw/virtio/virtio-pci.c | 67 ++- hw/virtio/virtio.c | 46 +- hw/xen/xen_pt_load_rom.c | 2 +- net/vhost-vdpa.c | 16 +- subprojects/libvhost-user/libvhost-user.c | 19 +- system/runstate.c | 6 + target/i386/kvm/kvm.c | 6 +- target/i386/kvm/xen-emu.c | 7 +- tests/qtest/bios-tables-test.c | 143 ++++- tests/qtest/pvpanic-pci-test.c | 44 +- tests/qtest/pvpanic-test.c | 34 +- tests/qtest/vhost-user-blk-test.c | 2 +- tests/qtest/vhost-user-test.c | 28 +- util/vhost-user-server.c | 12 + backends/meson.build | 1 + docs/specs/pvpanic.rst | 2 +- docs/system/devices/vhost-user.rst | 5 +- hw/pci/trace-events | 2 +- meson.build | 2 +- pc-bios/meson.build | 2 + qemu-options.hx | 16 + tests/data/acpi/{ => aarch64}/virt/APIC | Bin .../data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/APIC.topology | Bin tests/data/acpi/{ => aarch64}/virt/DBG2 | Bin tests/data/acpi/{ => aarch64}/virt/DSDT | Bin .../data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.pxb | Bin tests/data/acpi/{ => aarch64}/virt/DSDT.topology | Bin tests/data/acpi/{ => aarch64}/virt/FACP | Bin tests/data/acpi/{ => aarch64}/virt/GTDT | Bin .../data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/IORT | Bin tests/data/acpi/{ => aarch64}/virt/MCFG | Bin tests/data/acpi/{ => aarch64}/virt/NFIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/PPTT | Bin .../data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/PPTT.topology | Bin tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SPCR | Bin .../data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/SRAT.numamem | Bin tests/data/acpi/{ => aarch64}/virt/SSDT.memhp | Bin tests/data/acpi/{ => aarch64}/virt/VIOT | Bin tests/data/acpi/rebuild-expected-aml.sh | 5 +- tests/data/acpi/{ => x86}/microvm/APIC | Bin tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/APIC.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT | Bin tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 | Bin tests/data/acpi/{ => x86}/microvm/DSDT.pcie | Bin tests/data/acpi/{ => x86}/microvm/DSDT.rtc | Bin tests/data/acpi/{ => x86}/microvm/DSDT.usb | Bin tests/data/acpi/{ => x86}/microvm/ERST.pcie | Bin tests/data/acpi/{ => x86}/microvm/FACP | Bin tests/data/acpi/{ => x86}/pc/APIC | Bin tests/data/acpi/{ => x86}/pc/APIC.acpihmat | Bin tests/data/acpi/{ => x86}/pc/APIC.cphp | Bin tests/data/acpi/{ => x86}/pc/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/pc/DSDT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/DSDT.bridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.cphp | Bin tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbridge | Bin tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot | Bin tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs | Bin tests/data/acpi/{ => x86}/pc/DSDT.memhp | Bin tests/data/acpi/{ => x86}/pc/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/pc/DSDT.numamem | Bin tests/data/acpi/{ => x86}/pc/DSDT.roothp | Bin tests/data/acpi/{ => x86}/pc/ERST.acpierst | Bin tests/data/acpi/{ => x86}/pc/FACP | Bin tests/data/acpi/{ => x86}/pc/FACP.nosmm | Bin tests/data/acpi/{ => x86}/pc/FACS | Bin tests/data/acpi/{ => x86}/pc/HMAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/HPET | Bin tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SLIT.cphp | Bin tests/data/acpi/{q35 => x86/pc}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.acpihmat | Bin tests/data/acpi/{ => x86}/pc/SRAT.cphp | Bin tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/SRAT.memhp | Bin tests/data/acpi/{ => x86}/pc/SRAT.numamem | Bin tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/pc/WAET | Bin tests/data/acpi/{ => x86}/q35/APIC | Bin tests/data/acpi/{ => x86}/q35/APIC.acpihmat | Bin .../acpi/{ => x86}/q35/APIC.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count | Bin tests/data/acpi/{ => x86}/q35/APIC.core-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.cphp | Bin tests/data/acpi/{ => x86}/q35/APIC.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count | Bin tests/data/acpi/{ => x86}/q35/APIC.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/APIC.type4-count | Bin tests/data/acpi/{ => x86}/q35/APIC.xapic | Bin tests/data/acpi/{ => x86}/q35/CEDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DMAR.dmar | Bin tests/data/acpi/{ => x86}/q35/DSDT | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpierst | Bin tests/data/acpi/{ => x86}/q35/DSDT.acpihmat | Bin .../acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/DSDT.applesmc | Bin tests/data/acpi/{ => x86}/q35/DSDT.bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.core-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.cphp | Bin tests/data/acpi/{ => x86}/q35/DSDT.cxl | Bin tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmibt | Bin tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus | Bin tests/data/acpi/{ => x86}/q35/DSDT.ivrs | Bin tests/data/acpi/{ => x86}/q35/DSDT.memhp | Bin tests/data/acpi/{ => x86}/q35/DSDT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge | Bin tests/data/acpi/{ => x86}/q35/DSDT.noacpihp | Bin tests/data/acpi/{ => x86}/q35/DSDT.nohpet | Bin tests/data/acpi/{ => x86}/q35/DSDT.numamem | Bin tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/DSDT.type4-count | Bin tests/data/acpi/{ => x86}/q35/DSDT.viot | Bin tests/data/acpi/{ => x86}/q35/DSDT.xapic | Bin tests/data/acpi/{ => x86}/q35/ERST.acpierst | Bin tests/data/acpi/{ => x86}/q35/FACP | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count | Bin tests/data/acpi/{ => x86}/q35/FACP.core-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.nosmm | Bin tests/data/acpi/{ => x86}/q35/FACP.slic | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count | Bin tests/data/acpi/{ => x86}/q35/FACP.thread-count2 | Bin tests/data/acpi/{ => x86}/q35/FACP.type4-count | Bin tests/data/acpi/{ => x86}/q35/FACP.xapic | Bin tests/data/acpi/{ => x86}/q35/FACS | Bin tests/data/acpi/{ => x86}/q35/HMAT.acpihmat | Bin .../acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/HPET | Bin tests/data/acpi/{ => x86}/q35/IVRS.ivrs | Bin tests/data/acpi/{ => x86}/q35/MCFG | Bin tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SLIC.slic | Bin tests/data/acpi/{ => x86}/q35/SLIT.cphp | Bin tests/data/acpi/{virt => x86/q35}/SLIT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.acpihmat | Bin .../acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator | Bin tests/data/acpi/{ => x86}/q35/SRAT.cphp | Bin tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/SRAT.memhp | Bin tests/data/acpi/{ => x86}/q35/SRAT.mmio64 | Bin tests/data/acpi/{ => x86}/q35/SRAT.numamem | Bin tests/data/acpi/{ => x86}/q35/SRAT.xapic | Bin tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm | Bin tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 | Bin tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 | Bin tests/data/acpi/{ => x86}/q35/VIOT.viot | Bin tests/data/acpi/{ => x86}/q35/WAET | Bin .../bios-tables-test.riscv64.iso.qcow2 | Bin 0 -> 16896 bytes tests/qtest/meson.build | 3 + tests/uefi-test-tools/Makefile | 19 +- .../UefiTestToolsPkg/UefiTestToolsPkg.dsc | 6 +- tests/uefi-test-tools/uefi-test-build.config | 52 ++ 242 files changed, 2851 insertions(+), 361 deletions(-) create mode 100644 backends/hostmem-shm.c rename tests/data/acpi/{ => aarch64}/virt/APIC (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/APIC.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/DBG2 (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.pxb (100%) rename tests/data/acpi/{ => aarch64}/virt/DSDT.topology (100%) rename tests/data/acpi/{ => aarch64}/virt/FACP (100%) rename tests/data/acpi/{ => aarch64}/virt/GTDT (100%) rename tests/data/acpi/{ => aarch64}/virt/HMAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/IORT (100%) rename tests/data/acpi/{ => aarch64}/virt/MCFG (100%) rename tests/data/acpi/{ => aarch64}/virt/NFIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/PPTT.topology (100%) rename tests/data/acpi/{pc => aarch64/virt}/SLIT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SPCR (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.acpihmatvirt (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/SRAT.numamem (100%) rename tests/data/acpi/{ => aarch64}/virt/SSDT.memhp (100%) rename tests/data/acpi/{ => aarch64}/virt/VIOT (100%) rename tests/data/acpi/{ => x86}/microvm/APIC (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/APIC.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.ioapic2 (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.rtc (100%) rename tests/data/acpi/{ => x86}/microvm/DSDT.usb (100%) rename tests/data/acpi/{ => x86}/microvm/ERST.pcie (100%) rename tests/data/acpi/{ => x86}/microvm/FACP (100%) rename tests/data/acpi/{ => x86}/pc/APIC (100%) rename tests/data/acpi/{ => x86}/pc/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/pc/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbridge (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.hpbrroot (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.ipmikcs (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/DSDT.roothp (100%) rename tests/data/acpi/{ => x86}/pc/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/pc/FACP (100%) rename tests/data/acpi/{ => x86}/pc/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/pc/FACS (100%) rename tests/data/acpi/{ => x86}/pc/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/HPET (100%) rename tests/data/acpi/{ => x86}/pc/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SLIT.cphp (100%) rename tests/data/acpi/{q35 => x86/pc}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/pc/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/pc/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/pc/WAET (100%) rename tests/data/acpi/{ => x86}/q35/APIC (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/APIC.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.cphp (100%) rename tests/data/acpi/{ => x86}/q35/APIC.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/APIC.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/APIC.xapic (100%) rename tests/data/acpi/{ => x86}/q35/CEDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DMAR.dmar (100%) rename tests/data/acpi/{ => x86}/q35/DSDT (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.applesmc (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.cxl (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmibt (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ipmismbus (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.multi-bridge (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.noacpihp (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.nohpet (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.pvpanic-isa (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.viot (100%) rename tests/data/acpi/{ => x86}/q35/DSDT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/ERST.acpierst (100%) rename tests/data/acpi/{ => x86}/q35/FACP (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.core-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.nosmm (100%) rename tests/data/acpi/{ => x86}/q35/FACP.slic (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.thread-count2 (100%) rename tests/data/acpi/{ => x86}/q35/FACP.type4-count (100%) rename tests/data/acpi/{ => x86}/q35/FACP.xapic (100%) rename tests/data/acpi/{ => x86}/q35/FACS (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/HMAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/HPET (100%) rename tests/data/acpi/{ => x86}/q35/IVRS.ivrs (100%) rename tests/data/acpi/{ => x86}/q35/MCFG (100%) rename tests/data/acpi/{ => x86}/q35/NFIT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SLIC.slic (100%) rename tests/data/acpi/{ => x86}/q35/SLIT.cphp (100%) rename tests/data/acpi/{virt => x86/q35}/SLIT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.acpihmat-noinitiator (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.cphp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.memhp (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.mmio64 (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.numamem (100%) rename tests/data/acpi/{ => x86}/q35/SRAT.xapic (100%) rename tests/data/acpi/{ => x86}/q35/SSDT.dimmpxm (100%) rename tests/data/acpi/{ => x86}/q35/TCPA.tis.tpm12 (100%) rename tests/data/acpi/{ => x86}/q35/TPM2.tis.tpm2 (100%) rename tests/data/acpi/{ => x86}/q35/VIOT.viot (100%) rename tests/data/acpi/{ => x86}/q35/WAET (100%) create mode 100644 tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.qcow2 create mode 100644 tests/uefi-test-tools/uefi-test-build.config . Date: Thu, 4 Jul 2024 11:57:50 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/16] meson, i386 changes for 2024-07-04 The following changes since commit 1a2d52c7fcaeaaf4f2fe8d4d5183dccaeab67768: Merge tag 'pull-request-2024-07-02' of https://gitlab.com/thuth/qemu into staging (2024-07-02 15:49:08 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 188569c10d5dc6996bde90ce25645083e9661ecb: target/i386/SEV: implement mask_cpuid_features (2024-07-04 11:56:20 +0200) ---------------------------------------------------------------- * meson: Pass objects and dependencies to declare_dependency(), not static_library() * meson: Drop the .fa library suffix * target/i386: drop AMD machine check bits from Intel CPUID * target/i386: add avx-vnni-int16 feature * target/i386: SEV bugfixes * target/i386: SEV-SNP -cpu host support * char: fix exit issues ---------------------------------------------------------------- Akihiko Odaki (2): meson: Pass objects and dependencies to declare_dependency() Revert "meson: Propagate gnutls dependency" Maxim Mikityanskiy (1): char-stdio: Restore blocking mode of stdout on exit Michal Privoznik (2): i386/sev: Fix error message in sev_get_capabilities() i386/sev: Fallback to the default SEV device if none provided in sev_get_capabilities() Paolo Bonzini (11): meson: move shared_module() calls where modules are already walked meson: move block.syms dependency out of libblock meson: merge plugin_ldflags into emulator_link_args meson: Drop the .fa library suffix target/i386: pass X86CPU to x86_cpu_get_supported_feature_word target/i386: drop AMD machine check bits from Intel CPUID target/i386: SEV: fix formatting of CPUID mismatch message target/i386: do not include undefined bits in the AMD topoext leaf target/i386: add avx-vnni-int16 feature target/i386: add support for masking CPUID features in confidential guests target/i386/SEV: implement mask_cpuid_features docs/devel/build-system.rst | 8 +-- meson.build | 100 ++++++++++++++++++------------------ target/i386/confidential-guest.h | 24 +++++++++ target/i386/cpu.h | 10 +++- chardev/char-stdio.c | 4 ++ hw/i386/pc.c | 1 + stubs/blk-exp-close-all.c | 2 +- target/i386/cpu.c | 40 +++++++++++---- target/i386/kvm/kvm-cpu.c | 2 +- target/i386/kvm/kvm.c | 5 ++ target/i386/sev.c | 51 ++++++++++++++---- .gitlab-ci.d/buildtest-template.yml | 2 - .gitlab-ci.d/buildtest.yml | 2 - block/meson.build | 2 +- gdbstub/meson.build | 6 +-- io/meson.build | 2 +- plugins/meson.build | 7 ++- pythondeps.toml | 2 +- storage-daemon/meson.build | 3 +- tcg/meson.build | 8 +-- tests/Makefile.include | 2 +- tests/qtest/libqos/meson.build | 3 +- ui/meson.build | 2 +- 23 files changed, 183 insertions(+), 105 deletions(-) -- 2.45.2 . Date: Fri, 5 Jul 2024 16:30:12 +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/40] maintainer updates for testing, plugins and gdbstub The following changes since commit 5915139aba1646220630596de30c673528e047c9: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-07-04 09:16:07 -0700) are available in the Git repository at: https://gitlab.com/stsquad/qemu.git tags/pull-maintainer-july24-050724-1 for you to fetch changes up to 340ca46b681b1e9cac1643a7fd964947aeb68a56: tests/tcg/aarch64: Add MTE gdbstub tests (2024-07-05 12:35:36 +0100) ---------------------------------------------------------------- Updates for testing, plugins, gdbstub - restore some 32 bit host builds and testing - move some physmem tracepoint definitions - use --userns keep-id for podman builds - cleanup check-tcg compiler flag checking for Arm - fix some casting in fcvt test - tweak check-tcg inline asm for clang - suppress some invalid clang warnings - disable KVM for the TCI builds - improve the insn tracking plugin - cleanups to the lockstep plugin - free plugin data on cpu finalise - assert cpu->index assigned - move qemu_plugin_vcpu_init__async into plugin code - add support for dynamic gdb command tables - allow targets to extend gdb capabilities - enable user-mode MTE support ---------------------------------------------------------------- Akihiko Odaki (6): tests/docker: Specify --userns keep-id for Podman tests/tcg/aarch64: Explicitly specify register width tests/tcg/aarch64: Fix irg operand type tests/tcg/aarch64: Do not use x constraint tests/tcg/arm: Fix fcvt result messages tests/tcg/arm: Manually register allocate half-precision numbers Alex Bennée (11): tests/lcitool: fix debian-i686-cross toolchain prefix testing: restore some testing for i686 tracepoints: move physmem trace points hw/core: ensure kernel_end never gets used undefined gitlab: don't bother with KVM for TCI builds test/plugin: make insn plugin less noisy by default test/plugins: preserve the instruction record over translations plugins/lockstep: preserve sock_path plugins/lockstep: make mixed-mode safe plugins/lockstep: mention the one-insn-per-tb option plugins/lockstep: clean-up output Gustavo Romero (11): gdbstub: Clean up process_string_cmd gdbstub: Move GdbCmdParseEntry into a new header file gdbstub: Add support for target-specific stubs target/arm: Fix exception case in allocation_tag_mem_probe target/arm: Make some MTE helpers widely available target/arm: Factor out code for setting MTE TCF0 field gdbstub: Make hex conversion function non-internal gdbstub: Pass CPU context to command handler gdbstub: Use true to set cmd_startswith gdbstub: Add support for MTE in user mode tests/tcg/aarch64: Add MTE gdbstub tests Philippe Mathieu-Daudé (3): plugins: Ensure vCPU index is assigned in init/exit hooks plugins: Free CPUPluginState before destroying vCPU state accel/tcg: Move qemu_plugin_vcpu_init__async() to plugins/ Richard Henderson (9): tests/tcg/minilib: Constify digits in print_num tests/tcg: Adjust variable defintion from cc-option tests/tcg/aarch64: Drop -fno-tree-loop-distribute-patterns tests/tcg/aarch64: Add -fno-integrated-as for sme tests/tcg/arm: Drop -N from LDFLAGS tests/tcg/arm: Use -fno-integrated-as for test-arm-iwmmxt tests/tcg/arm: Use -march and -mfpu for fcvt tests/tcg/arm: Use vmrs/vmsr instead of mcr/mrc linux-user/main: Suppress out-of-range comparison warning for clang configure | 4 + configs/targets/aarch64-linux-user.mak | 2 +- gdbstub/internals.h | 23 - include/gdbstub/commands.h | 103 ++++ include/qemu/plugin.h | 3 + linux-user/aarch64/mte_user_helper.h | 32 ++ linux-user/aarch64/target_prctl.h | 22 +- target/arm/internals.h | 6 + target/arm/tcg/mte_helper.h | 66 +++ contrib/plugins/lockstep.c | 23 +- gdbstub/gdbstub.c | 341 +++++++----- gdbstub/syscalls.c | 7 +- gdbstub/system.c | 7 +- gdbstub/user-target.c | 25 +- gdbstub/user.c | 7 +- hw/core/cpu-common.c | 14 +- hw/core/loader-fit.c | 2 +- linux-user/aarch64/mte_user_helper.c | 35 ++ linux-user/main.c | 1 + linux-user/syscall.c | 9 - plugins/core.c | 10 +- system/physmem.c | 4 +- target/arm/cpu.c | 1 + target/arm/gdbstub.c | 46 ++ target/arm/gdbstub64.c | 223 ++++++++ target/arm/tcg/mte_helper.c | 48 +- tests/plugin/insn.c | 112 +++- tests/tcg/aarch64/bti-1.c | 6 +- tests/tcg/aarch64/bti-3.c | 6 +- tests/tcg/aarch64/mte-1.c | 2 +- tests/tcg/aarch64/mte-8.c | 99 ++++ tests/tcg/arm/fcvt.c | 28 +- tests/tcg/minilib/printf.c | 2 +- .gitlab-ci.d/buildtest.yml | 2 +- .gitlab-ci.d/crossbuilds.yml | 13 +- gdb-xml/aarch64-mte.xml | 11 + linux-user/aarch64/meson.build | 2 + system/trace-events | 6 + tests/docker/Makefile.include | 7 +- tests/docker/dockerfiles/debian-i686-cross.docker | 2 +- tests/lcitool/refresh | 2 +- tests/tcg/Makefile.target | 2 +- tests/tcg/aarch64/Makefile.softmmu-target | 4 +- tests/tcg/aarch64/Makefile.target | 32 +- tests/tcg/aarch64/fcvt.ref | 604 +++++++++++----------- tests/tcg/aarch64/gdbstub/test-mte.py | 86 +++ tests/tcg/arm/Makefile.softmmu-target | 4 +- tests/tcg/arm/Makefile.target | 12 +- tests/tcg/arm/fcvt.ref | 604 +++++++++++----------- trace-events | 5 - 50 files changed, 1771 insertions(+), 946 deletions(-) create mode 100644 include/gdbstub/commands.h create mode 100644 linux-user/aarch64/mte_user_helper.h create mode 100644 target/arm/tcg/mte_helper.h create mode 100644 linux-user/aarch64/mte_user_helper.c create mode 100644 tests/tcg/aarch64/mte-8.c create mode 100644 gdb-xml/aarch64-mte.xml create mode 100644 tests/tcg/aarch64/gdbstub/test-mte.py -- 2.39.2 . Date: Sat, 6 Jul 2024 00:04:18 +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/16] SD/MMC patches for 2024-07-06 The following changes since commit f2cb4026fccfe073f84a4b440e41d3ed0c3134f6: Merge tag 'pull-maintainer-july24-050724-1' of https://gitlab.com/stsquad/qemu into staging (2024-07-05 09:15:48 -0700) are available in the Git repository at: https://github.com/philmd/qemu.git tags/sdmmc-20240706 for you to fetch changes up to 0bcea3f74b04cdc23ecd6822bea7e46a55eb4be7: hw/sd/sdcard: Extract TYPE_SDMMC_COMMON from TYPE_SD_CARD (2024-07-05 23:55:02 +0200) ---------------------------------------------------------------- SD/MMC patches queue - Use published card address (RCA) in qtest/npcm7xx_sdhci - Have cards use random RCA - Use SD spec v3.01 by default - Convert GEN_CMD to sd_generic_read/write_byte style - Extract SDMMC_COMMON abstract QDev parent from SD_CARD - Few housekeeping ---------------------------------------------------------------- Philippe Mathieu-Daudé (16): hw/sd/sdhci: Log non-sequencial access as GUEST_ERROR hw/sd/npcm7xx_sdhci: Use TYPE_SYSBUS_SDHCI definition tests/qtest/npcm7xx_sdhci: Access the card using its published address hw/sd/sdcard: Generate random RCA value hw/sd/sdcard: Remove leftover comment about removed 'spi' Property hw/sd/sdcard: Use spec v3.01 by default hw/sd/sdcard: Rename sd_cmd_SEND_OP_COND handler hw/sd/sdcard: Add sd_cmd_GEN_CMD handler (CMD56) hw/sd/sdcard: Remove sd_none enum from sd_cmd_type_t hw/sd/sdcard: Remove noise from sd_acmd_name() hw/sd/sdcard: Remove noise from sd_cmd_name() hw/sd/sdcard: Remove default case in read/write on DAT lines hw/sd/sdcard: Trace length of data read on DAT lines hw/sd/sdcard: Cover more SDCardStates hw/sd/sdcard: Introduce set_csd/set_cid handlers hw/sd/sdcard: Extract TYPE_SDMMC_COMMON from TYPE_SD_CARD hw/sd/sdmmc-internal.h | 3 + include/hw/sd/sd.h | 3 +- tests/qtest/libqos/sdhci-cmd.h | 2 + hw/core/machine.c | 1 + hw/sd/core.c | 29 ++--- hw/sd/npcm7xx_sdhci.c | 3 +- hw/sd/sd.c | 177 +++++++++++++++---------------- hw/sd/sdhci.c | 5 +- tests/qtest/npcm7xx_sdhci-test.c | 8 +- hw/sd/trace-events | 3 +- 10 files changed, 124 insertions(+), 110 deletions(-) -- 2.41.0 . Date: Sat, 6 Jul 2024 09:24:03 +0200 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 00/13] QAPI patches patches for 2024-07-06 The following changes since commit f2cb4026fccfe073f84a4b440e41d3ed0c3134f6: Merge tag 'pull-maintainer-july24-050724-1' of https://gitlab.com/stsquad/qemu into staging (2024-07-05 09:15:48 -0700) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-07-06 for you to fetch changes up to e389929d19a543ea5b34d02553b355f9f1c03162: sphinx/qapidoc: Fix to generate doc for explicit, unboxed arguments (2024-07-06 08:58:24 +0200) ---------------------------------------------------------------- QAPI patches patches for 2024-07-06 ---------------------------------------------------------------- John Snow (12): qapi: linter fixups docs/qapidoc: remove unused intersperse function docs/qapidoc: delint a tiny portion of the module qapi/parser: preserve indentation in QAPIDoc sections qapi/parser: fix comment parsing immediately following a doc block docs/qapidoc: fix nested parsing under untagged sections qapi: fix non-compliant JSON examples qapi: nail down convention that Errors sections are lists qapi: convert "Note" sections to plain rST qapi: update prose in note blocks qapi: add markup to note blocks qapi/parser: don't parse rST markup as section headers Markus Armbruster (1): sphinx/qapidoc: Fix to generate doc for explicit, unboxed arguments docs/devel/qapi-code-gen.rst | 14 ++- docs/sphinx/qapidoc.py | 115 +++++++++++++++---------- qapi/block-core.json | 35 +++----- qapi/block.json | 2 +- qapi/char.json | 12 +-- qapi/control.json | 20 ++--- qapi/dump.json | 2 +- qapi/introspect.json | 6 +- qapi/machine-target.json | 26 +++--- qapi/machine.json | 49 +++++------ qapi/migration.json | 16 ++-- qapi/misc.json | 91 ++++++++++--------- qapi/net.json | 12 +-- qapi/pci.json | 8 +- qapi/qdev.json | 30 +++---- qapi/qom.json | 17 ++-- qapi/rocker.json | 18 ++-- qapi/run-state.json | 18 ++-- qapi/sockets.json | 10 +-- qapi/stats.json | 22 ++--- qapi/transaction.json | 10 +-- qapi/ui.json | 31 ++++--- qapi/virtio.json | 12 +-- qga/qapi-schema.json | 48 +++++------ scripts/qapi/introspect.py | 8 +- scripts/qapi/parser.py | 30 +++++-- scripts/qapi/schema.py | 6 +- scripts/qapi/visit.py | 5 +- tests/qapi-schema/doc-empty-section.err | 2 +- tests/qapi-schema/doc-empty-section.json | 2 +- tests/qapi-schema/doc-good.json | 9 +- tests/qapi-schema/doc-good.out | 43 +++++---- tests/qapi-schema/doc-good.txt | 13 ++- tests/qapi-schema/doc-interleaved-section.json | 2 +- 34 files changed, 397 insertions(+), 347 deletions(-) -- 2.45.0 . Date: Mon, 8 Jul 2024 10:31:44 +0900 From: Jeuk Kim To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: fam@euphon.net, pbonzini@redhat.com, qemu-block@nongnu.org, jeuk20.kim@samsung.com, j-young.choi@samsung.com Subject: [PULL 0/1] ufs queue From: Jeuk Kim The following changes since commit b9ee1387e0cf0fba5a73a610d31cb9cead457dc0: Merge tag 'sdmmc-20240706' of https://github.com/philmd/qemu into staging (2024-07-07 10:34:52 -0700) are available in the Git repository at: https://gitlab.com/jeuk20.kim/qemu.git tags/pull-ufs-20240708 for you to fetch changes up to 6db492596dd9204e8fe341b2396472271cf15023: hw/ufs: Fix mcq register range determination logic (2024-07-08 10:25:20 +0900) ---------------------------------------------------------------- hw/ufs: - Fix invalid address access in ufs_is_mcq_reg() ---------------------------------------------------------------- Jeuk Kim (1): hw/ufs: Fix mcq register range determination logic hw/ufs/ufs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) . Date: Tue, 9 Jul 2024 13:50:08 +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 0/9] vfio queue The following changes since commit 44b7329de469c121555a1acf9b288f3ae71b8e61: Merge tag 'pull-qapi-2024-07-06' of https://repo.or.cz/qemu/armbru into staging (2024-07-07 13:23:28 -0700) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-vfio-20240709 for you to fetch changes up to 83d90192026eaded6319a6d27466ad7d606a27e0: vfio/display: Fix vfio_display_edid_init() error path (2024-07-09 11:50:37 +0200) ---------------------------------------------------------------- vfio queue: * Fixes on VFIO display * VIRTIO-IOMMU/HostIOMMUDevice: Fixes and page size mask rework ---------------------------------------------------------------- Eric Auger (7): virtio-iommu: Fix error handling in virtio_iommu_set_host_iova_ranges() vfio-container-base: Introduce vfio_container_get_iova_ranges() helper HostIOMMUDevice : remove Error handle from get_iova_ranges callback HostIOMMUDevice: Introduce get_page_size_mask() callback virtio-iommu : Retrieve page size mask on virtio_iommu_set_iommu_device() memory: remove IOMMU MR iommu_set_page_size_mask() callback virtio-iommu: Revert transient enablement of IOMMU MR in bypass mode Zhenzhong Duan (2): vfio/display: Fix potential memleak of edid info vfio/display: Fix vfio_display_edid_init() error path include/exec/memory.h | 38 ----------- include/hw/vfio/vfio-container-base.h | 9 +++ include/sysemu/host_iommu_device.h | 11 ++- hw/vfio/common.c | 8 --- hw/vfio/container-base.c | 15 +++++ hw/vfio/container.c | 16 +++-- hw/vfio/display.c | 16 +++-- hw/vfio/iommufd.c | 17 +++-- hw/virtio/virtio-iommu.c | 123 +++++++++++++++++----------------- system/memory.c | 13 ---- hw/virtio/trace-events | 2 +- 11 files changed, 127 insertions(+), 141 deletions(-) . Date: Tue, 9 Jul 2024 13:52:20 +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 0/8] aspeed queue The following changes since commit 44b7329de469c121555a1acf9b288f3ae71b8e61: Merge tag 'pull-qapi-2024-07-06' of https://repo.or.cz/qemu/armbru into staging (2024-07-07 13:23:28 -0700) are available in the Git repository at: https://github.com/legoater/qemu/ tags/pull-aspeed-20240709 for you to fetch changes up to d847ea7cfc6321e2519f587d4077428d90557178: machine_aspeed.py: update to test network for AST2700 (2024-07-09 08:05:44 +0200) ---------------------------------------------------------------- aspeed queue: * support AST2700 network ---------------------------------------------------------------- Jamin Lin (8): hw/net:ftgmac100: update memory region size to 64KB hw/net:ftgmac100: update ring base address to 64 bits hw/net:ftgmac100: introduce TX and RX ring base address high registers to support 64 bits hw/net:ftgmac100: update TX and RX packet buffers address to 64 bits aspeed/soc: set dma64 property for AST2700 ftgmac100 hw/block: m25p80: support quad mode for w25q01jvq machine_aspeed.py: update to test ASPEED OpenBMC SDK v09.02 for AST2700 machine_aspeed.py: update to test network for AST2700 include/hw/net/ftgmac100.h | 17 +++-- hw/arm/aspeed_ast27x0.c | 3 + hw/block/m25p80.c | 16 +++++ hw/net/ftgmac100.c | 147 +++++++++++++++++++++++++++++++++------- tests/avocado/machine_aspeed.py | 12 ++-- 5 files changed, 162 insertions(+), 33 deletions(-) . Date: Wed, 10 Jul 2024 20:00:35 +0200 From: David Hildenbrand To: qemu-devel@nongnu.org Cc: Mario Casquero , Liang Cong , "Michael S . Tsirkin" , David Hildenbrand Subject: [PULL 0/1] Host Memory Backends and Memory devices queue 2024-07-10 The following changes since commit 59084feb256c617063e0dbe7e64821ae8852d7cf: Merge tag 'pull-aspeed-20240709' of https://github.com/legoater/qemu into staging (2024-07-09 07:13:55 -0700) are available in the Git repository at: https://github.com/davidhildenbrand/qemu.git tags/mem-2024-07-10 for you to fetch changes up to 4d13ae45ff93fa825ceb39dfd16b305f4baccd18: virtio-mem: improve error message when unplug of device fails due to plugged memory (2024-07-10 18:06:24 +0200) ---------------------------------------------------------------- Hi, "Host Memory Backends" and "Memory devices" queue ("mem"): - Only one error message improvement that causes less confusion when triggered from libvirt ---------------------------------------------------------------- David Hildenbrand (1): virtio-mem: improve error message when unplug of device fails due to plugged memory hw/virtio/virtio-mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.45.2 . Date: Thu, 11 Jul 2024 15:48:20 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/9] loongarch-to-apply queue The following changes since commit 59084feb256c617063e0dbe7e64821ae8852d7cf: Merge tag 'pull-aspeed-20240709' of https://github.com/legoater/qemu into staging (2024-07-09 07:13:55 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240711 for you to fetch changes up to 78341408e705e1b8dc92eaae2071ae0023d586b0: target/loongarch: Fix cpu_reset set wrong CSR_CRMD (2024-07-11 15:56:50 +0800) ---------------------------------------------------------------- pull-loongarch-20240711 ---------------------------------------------------------------- Bibo Mao (2): hw/loongarch/virt: Remove unused assignment target/loongarch/kvm: Add software breakpoint support Dmitry Frolov (1): hw/loongarch/boot.c: fix out-of-bound reading Feiyang Chen (1): target/loongarch: Remove avail_64 in trans_srai_w() and simplify it Jiaxun Yang (1): MAINTAINERS: Add myself as a reviewer of LoongArch virt machine Song Gao (2): target/loongarch: Set CSR_PRCFG1 and CSR_PRCFG2 values target/loongarch: Fix cpu_reset set wrong CSR_CRMD Xianglai Li (2): hw/loongarch: Change the tpm support by default hw/loongarch: Modify flash block size to 256K MAINTAINERS | 1 + configs/targets/loongarch64-softmmu.mak | 1 + hw/loongarch/Kconfig | 1 + hw/loongarch/acpi-build.c | 3 + hw/loongarch/boot.c | 2 +- hw/loongarch/virt.c | 15 +++-- include/hw/loongarch/virt.h | 2 +- target/loongarch/cpu.c | 23 ++++--- target/loongarch/kvm/kvm.c | 76 +++++++++++++++++++++++ target/loongarch/tcg/insn_trans/trans_shift.c.inc | 15 +---- 10 files changed, 109 insertions(+), 30 deletions(-) . Date: Thu, 11 Jul 2024 11:17:07 +0200 From: Stefan Hajnoczi To: qemu-devel@nongnu.org Cc: Richard Henderson , Hanna Reitz , Stefan Hajnoczi , Kevin Wolf , qemu-block@nongnu.org, Fam Zheng Subject: [PULL 0/2] Block patches The following changes since commit 59084feb256c617063e0dbe7e64821ae8852d7cf: Merge tag 'pull-aspeed-20240709' of https://github.com/legoater/qemu into staging (2024-07-09 07:13:55 -0700) are available in the Git repository at: https://gitlab.com/stefanha/qemu.git tags/block-pull-request for you to fetch changes up to d05ae948cc887054495977855b0859d0d4ab2613: Consider discard option when writing zeros (2024-07-11 11:06:36 +0200) ---------------------------------------------------------------- Pull request A discard fix from Nir Soffer. ---------------------------------------------------------------- Nir Soffer (2): qemu-iotest/245: Add missing discard=unmap Consider discard option when writing zeros block/io.c | 9 +- tests/qemu-iotests/245 | 2 +- tests/qemu-iotests/tests/write-zeroes-unmap | 127 ++++++++++++++++++ .../qemu-iotests/tests/write-zeroes-unmap.out | 81 +++++++++++ 4 files changed, 214 insertions(+), 5 deletions(-) create mode 100755 tests/qemu-iotests/tests/write-zeroes-unmap create mode 100644 tests/qemu-iotests/tests/write-zeroes-unmap.out -- 2.45.2 . Date: Thu, 11 Jul 2024 14:17:58 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/24] target-arm queue The following changes since commit 59084feb256c617063e0dbe7e64821ae8852d7cf: Merge tag 'pull-aspeed-20240709' of https://github.com/legoater/qemu into staging (2024-07-09 07:13:55 -0700) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240711 for you to fetch changes up to 7f49089158a4db644fcbadfa90cd3d30a4868735: target/arm: Convert PMULL to decodetree (2024-07-11 11:41:34 +0100) ---------------------------------------------------------------- target-arm queue: * Refactor FPCR/FPSR handling in preparation for FEAT_AFP * More decodetree conversions * target/arm: Use cpu_env in cpu_untagged_addr * target/arm: Set arm_v7m_tcg_ops cpu_exec_halt to arm_cpu_exec_halt() * hw/char/pl011: Avoid division-by-zero in pl011_get_baudrate() * hw/misc/bcm2835_thermal: Fix access size handling in bcm2835_thermal_ops * accel/tcg: Make TCGCPUOps::cpu_exec_halt mandatory * STM32L4x5: Handle USART interrupts correctly ---------------------------------------------------------------- Inès Varhol (3): hw/misc: In STM32L4x5 EXTI, consolidate 2 constants hw/misc: In STM32L4x5 EXTI, handle direct interrupts hw/arm: In STM32L4x5 SOC, connect USART devices to EXTI Peter Maydell (12): target/arm: Correct comments about M-profile FPSCR target/arm: Make vfp_get_fpscr() call vfp_get_{fpcr, fpsr} target/arm: Make vfp_set_fpscr() call vfp_set_{fpcr, fpsr} target/arm: Support migration when FPSR/FPCR won't fit in the FPSCR target/arm: Implement store_cpu_field_low32() macro target/arm: Store FPSR and FPCR in separate CPU state fields target/arm: Rename FPCR_ QC, NZCV macros to FPSR_ target/arm: Rename FPSR_MASK and FPCR_MASK and define them symbolically target/arm: Allow FPCR bits that aren't in FPSCR target/arm: Set arm_v7m_tcg_ops cpu_exec_halt to arm_cpu_exec_halt() target: Set TCGCPUOps::cpu_exec_halt to target's has_work implementation accel/tcg: Make TCGCPUOps::cpu_exec_halt mandatory Richard Henderson (7): target/arm: Use cpu_env in cpu_untagged_addr target/arm: Convert SMULL, UMULL, SMLAL, UMLAL, SMLSL, UMLSL to decodetree target/arm: Convert SADDL, SSUBL, SABDL, SABAL, and unsigned to decodetree target/arm: Convert SQDMULL, SQDMLAL, SQDMLSL to decodetree target/arm: Convert SADDW, SSUBW, UADDW, USUBW to decodetree target/arm: Convert ADDHN, SUBHN, RADDHN, RSUBHN to decodetree target/arm: Convert PMULL to decodetree Zheyu Ma (2): hw/char/pl011: Avoid division-by-zero in pl011_get_baudrate() hw/misc/bcm2835_thermal: Fix access size handling in bcm2835_thermal_ops include/hw/core/tcg-cpu-ops.h | 9 +- include/hw/misc/stm32l4x5_exti.h | 4 +- target/arm/cpu.h | 113 ++-- target/arm/internals.h | 3 + target/arm/tcg/translate-a32.h | 7 + target/arm/tcg/translate.h | 3 +- target/riscv/internals.h | 3 + target/arm/tcg/a64.decode | 77 +++ accel/tcg/cpu-exec.c | 11 +- hw/arm/stm32l4x5_soc.c | 24 +- hw/char/pl011.c | 13 +- hw/misc/bcm2835_thermal.c | 2 + hw/misc/stm32l4x5_exti.c | 13 +- target/alpha/cpu.c | 1 + target/arm/cpu.c | 2 +- target/arm/machine.c | 135 ++++- target/arm/tcg/cpu-v7m.c | 1 + target/arm/tcg/mve_helper.c | 12 +- target/arm/tcg/translate-a64.c | 1155 ++++++++++++------------------------- target/arm/tcg/translate-m-nocp.c | 22 +- target/arm/tcg/translate-vfp.c | 4 +- target/arm/vfp_helper.c | 187 +++--- target/avr/cpu.c | 1 + target/cris/cpu.c | 2 + target/hppa/cpu.c | 1 + target/loongarch/cpu.c | 1 + target/m68k/cpu.c | 1 + target/microblaze/cpu.c | 1 + target/mips/cpu.c | 1 + target/openrisc/cpu.c | 1 + target/ppc/cpu_init.c | 2 + target/riscv/cpu.c | 2 +- target/riscv/tcg/tcg-cpu.c | 2 + target/rx/cpu.c | 1 + target/s390x/cpu.c | 1 + target/sh4/cpu.c | 1 + target/sparc/cpu.c | 1 + target/tricore/cpu.c | 1 + target/xtensa/cpu.c | 1 + 39 files changed, 893 insertions(+), 929 deletions(-) . Date: Thu, 11 Jul 2024 20:04:37 +0200 From: Klaus Jensen To: qemu-devel@nongnu.org, Peter Maydell Cc: qemu-block@nongnu.org, Kevin Wolf , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Keith Busch , Klaus Jensen , Jesper Devantier , Stefan Hajnoczi , Hanna Reitz , Fam Zheng , Klaus Jensen Subject: [PULL 0/7] hw/nvme patches From: Klaus Jensen Hi, The following changes since commit 59084feb256c617063e0dbe7e64821ae8852d7cf: Merge tag 'pull-aspeed-20240709' of https://github.com/legoater/qemu into staging (2024-07-09 07:13:55 -0700) 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 15ef124c93a4d4ba6b98b55492e3a1b3297248b0: hw/nvme: Expand VI/VQ resource to uint32 (2024-07-11 17:05:37 +0200) ---------------------------------------------------------------- hw/nvme patches -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUigzqnXi3OaiR2bATeGvMW1PDekFAmaQHpQACgkQTeGvMW1P DemukQf+Pqcq75cflBqIyVN84/0eThJxmpoTP0ynGNMKJp+K+oecb5pdgTeDI3Kh esDOjL8m849r5LFjrjmySrTX8znHPFXdBdqCaOp/MZlgz3NML1guB5EYsizZJ+L6 K4IRLE/8gzfZHY4yWGmUBuL1VBs8XZV0bXYYlA0xKlO638O0KgVQ/2YpC/44l93J rEnefSeXIi+/tCYEaX7t2dA+Qfm/qUrcEZBgvhCREi8t8hTzKGHsl2LVKrsFdA5I QZtTFcqeoJThtzWmxGKqbfFb/qeirBlCfhvTEmUWXlS1z9VNzy0ZuqA2l0Sy05ls eARbl+JnvV6ic6PikZd8dMSrILjNkQ== =dLKH -----END PGP SIGNATURE----- ---------------------------------------------------------------- John Berg (1): hw/nvme: Add support for setting the MQES for the NVMe emulation Minwoo Im (5): hw/nvme: fix BAR size mismatch of SR-IOV VF hw/nvme: add Identify Endurance Group List hw/nvme: separate identify data for sec. ctrl list hw/nvme: Allocate sec-ctrl-list as a dynamic array hw/nvme: Expand VI/VQ resource to uint32 Vincent Fu (1): hw/nvme: fix number of PIDs for FDP RUH update hw/nvme/ctrl.c | 88 ++++++++++++++++++++++++++++++-------------- hw/nvme/nvme.h | 20 +++++----- hw/nvme/subsys.c | 10 +++-- include/block/nvme.h | 1 + 4 files changed, 78 insertions(+), 41 deletions(-) -- 2.44.0 . Date: Fri, 12 Jul 2024 09:36:24 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL v2 0/8] loongarch-to-apply queue The following changes since commit 23901b2b721c0576007ab7580da8aa855d6042a9: Merge tag 'pull-target-arm-20240711' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-11 12:00:00 -0700) are available in the Git repository at: https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240712 for you to fetch changes up to 3ef4b21a5c767ff0b15047e709762abef490ad07: target/loongarch: Fix cpu_reset set wrong CSR_CRMD (2024-07-12 09:41:18 +0800) ---------------------------------------------------------------- pull-loongarch-20240712 v2: drop patch 'hw/loongarch: Modify flash block size to 256K'. ---------------------------------------------------------------- Bibo Mao (2): hw/loongarch/virt: Remove unused assignment target/loongarch/kvm: Add software breakpoint support Dmitry Frolov (1): hw/loongarch/boot.c: fix out-of-bound reading Feiyang Chen (1): target/loongarch: Remove avail_64 in trans_srai_w() and simplify it Jiaxun Yang (1): MAINTAINERS: Add myself as a reviewer of LoongArch virt machine Song Gao (2): target/loongarch: Set CSR_PRCFG1 and CSR_PRCFG2 values target/loongarch: Fix cpu_reset set wrong CSR_CRMD Xianglai Li (1): hw/loongarch: Change the tpm support by default MAINTAINERS | 1 + configs/targets/loongarch64-softmmu.mak | 1 + hw/loongarch/Kconfig | 1 + hw/loongarch/acpi-build.c | 3 + hw/loongarch/boot.c | 2 +- hw/loongarch/virt.c | 15 +++-- target/loongarch/cpu.c | 23 ++++--- target/loongarch/kvm/kvm.c | 76 +++++++++++++++++++++++ target/loongarch/tcg/insn_trans/trans_shift.c.inc | 15 +---- 9 files changed, 108 insertions(+), 29 deletions(-) . Date: Fri, 12 Jul 2024 13:02:27 +0200 From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Cc: sstabellini@kernel.org, anthony@xenproject.org, paul@xen.org, alex.bennee@linaro.org, peter.maydell@linaro.org, richard.henderson@linaro.org, edgar.iglesias@amd.com Subject: [PULL v1 0/3] Xen queue From: "Edgar E. Iglesias" The following changes since commit 23901b2b721c0576007ab7580da8aa855d6042a9: Merge tag 'pull-target-arm-20240711' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-11 12:00:00 -0700) are available in the Git repository at: https://gitlab.com/edgar.iglesias/qemu.git tags/edgar/xen-queue-2024-07-12.for-upstream for you to fetch changes up to 872cb9cced796e75d4f719c31d70ed5fd629efca: xen: mapcache: Fix unmapping of first entries in buckets (2024-07-12 00:17:36 +0200) ---------------------------------------------------------------- Edgars Xen queue. ---------------------------------------------------------------- Edgar E. Iglesias (2): physmem: Bail out qemu_ram_block_from_host() for invalid ram addrs xen: mapcache: Fix unmapping of first entries in buckets Stefano Stabellini (1): MAINTAINERS: add Edgar as Xen maintainer MAINTAINERS | 1 + hw/xen/xen-mapcache.c | 12 +++++++++++- system/physmem.c | 4 ++++ 3 files changed, 16 insertions(+), 1 deletion(-) -- 2.43.0 . Date: Sun, 14 Jul 2024 17:24:15 +0900 From: Jeuk Kim To: qemu-devel@nongnu.org, richard.henderson@linaro.org Cc: fam@euphon.net, pbonzini@redhat.com, qemu-block@nongnu.org, jeuk20.kim@samsung.com, j-young.choi@samsung.com, thuth@redhat.com Subject: [PULL v2 0/1] ufs queue From: Jeuk Kim The following changes since commit 37fbfda8f4145ba1700f63f0cb7be4c108d545de: Merge tag 'edgar/xen-queue-2024-07-12.for-upstream' of https://gitlab.com/edgar.iglesias/qemu into staging (2024-07-12 09:53:22 -0700) are available in the Git repository at: https://gitlab.com/jeuk20.kim/qemu.git tags/pull-ufs-20240714 for you to fetch changes up to 50475f1511964775ff73c2b07239c3ff571f75cd: hw/ufs: Fix mcq register range check logic (2024-07-14 17:11:21 +0900) ---------------------------------------------------------------- hw/ufs: - Fix invalid address access in mcq register check I didn't cc qemu-stable@, as 5c079578d2e4 ("hw/ufs: Add support MCQ of UFSHCI 4.0") is not yet included in any release tag. If I'm wrong, please let me know. Thanks. ---------------------------------------------------------------- Jeuk Kim (1): hw/ufs: Fix mcq register range check logic hw/ufs/ufs.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) . Date: Sun, 14 Jul 2024 13:10:30 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/13] target/i386 changes for 2024-07-12 The following changes since commit 23901b2b721c0576007ab7580da8aa855d6042a9: Merge tag 'pull-target-arm-20240711' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2024-07-11 12:00:00 -0700) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream-i386 for you to fetch changes up to cdcadf9ee9efef96323e0b88fccff589f06fc0ee: i386/sev: Don't allow automatic fallback to legacy KVM_SEV*_INIT (2024-07-12 15:35:54 +0200) ---------------------------------------------------------------- * target/i386/tcg: fixes for seg_helper.c * SEV: Don't allow automatic fallback to legacy KVM_SEV_INIT, but also don't use it by default ---------------------------------------------------------------- Michael Roth (1): i386/sev: Don't allow automatic fallback to legacy KVM_SEV*_INIT Paolo Bonzini (8): target/i386/tcg: fix POP to memory in long mode target/i386/tcg: Allow IRET from user mode to user mode with SMAP target/i386/tcg: use PUSHL/PUSHW for error code target/i386/tcg: Compute MMU index once target/i386/tcg: Use DPL-level accesses for interrupts and call gates target/i386/tcg: check for correct busy state before switching to a new task target/i386/tcg: use X86Access for TSS access target/i386/tcg: save current task state before loading new one Richard Henderson (3): target/i386/tcg: Remove SEG_ADDL target/i386/tcg: Reorg push/pop within seg_helper.c target/i386/tcg: Introduce x86_mmu_index_{kernel_,}pl qapi/qom.json | 18 +- target/i386/cpu.h | 11 +- hw/i386/pc.c | 2 +- target/i386/cpu.c | 27 +- target/i386/sev.c | 87 ++++- target/i386/tcg/seg_helper.c | 665 +++++++++++++++++++++------------------ target/i386/tcg/decode-new.c.inc | 2 +- target/i386/tcg/emit.c.inc | 1 + 8 files changed, 472 insertions(+), 341 deletions(-) -- 2.45.2 . Date: Mon, 15 Jul 2024 13:32:35 -0400 From: John Snow To: qemu-devel@nongnu.org Cc: Markus Armbruster , Joel Stanley , Christian Borntraeger , Leonardo Bras , Halil Pasic , qemu-block@nongnu.org, Eduardo Habkost , Vladimir Sementsov-Ogievskiy , Cleber Rosa , qemu-arm@nongnu.org, Fabiano Rosas , Hanna Reitz , qemu-s390x@nongnu.org, Wainer dos Santos Moschetta , John Snow , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Michael Roth , Aurelien Jarno , Andrew Jeffery , "Michael S. Tsirkin" , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Beraldo Leal , Eric Farman , Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , Ani Sinha , Juan Quintela , Eric Blake , Vladimir Sementsov-Ogievskiy , Thomas Huth , Kevin Wolf , Peter Xu Subject: [PULL 0/6] Python patches The following changes since commit 4469bee2c529832d762af4a2f89468c926f02fe4= :=0D =0D Merge tag 'nvme-next-pull-request' of https://gitlab.com/birkelund/qemu i= nto staging (2024-07-11 14:32:51 -0700)=0D =0D are available in the Git repository at:=0D =0D https://gitlab.com/jsnow/qemu.git tags/python-pull-request=0D =0D for you to fetch changes up to dd23f9ec519db9c424223cff8767715de5532718:=0D =0D docs: remove Sphinx 1.x compatibility code (2024-07-12 16:46:21 -0400)=0D =0D ----------------------------------------------------------------=0D Python: 3.13 compat & sphinx minver bump=0D =0D ----------------------------------------------------------------=0D =0D John Snow (6):=0D python: linter changes for pylint 3.x=0D python: Do not use pylint 3.2.4 with python 3.8=0D iotests: Change imports for Python 3.13=0D python: enable testing for 3.13=0D Python: bump minimum sphinx version to 3.4.3=0D docs: remove Sphinx 1.x compatibility code=0D =0D docs/conf.py | 7 ++---=0D docs/sphinx/hxtool.py | 21 +++-----------=0D docs/sphinx/kerneldoc.py | 38 ++++++++------------------=0D docs/sphinx/kernellog.py | 28 -------------------=0D docs/sphinx/qapidoc.py | 33 ++--------------------=0D python/qemu/machine/machine.py | 1 +=0D python/qemu/utils/qemu_ga_client.py | 2 +-=0D python/setup.cfg | 4 ++-=0D pythondeps.toml | 2 +-=0D tests/docker/dockerfiles/python.docker | 1 +=0D tests/qemu-iotests/testenv.py | 7 ++++-=0D tests/qemu-iotests/testrunner.py | 9 ++++--=0D 12 files changed, 41 insertions(+), 112 deletions(-)=0D delete mode 100644 docs/sphinx/kernellog.py=0D =0D -- =0D 2.45.0=0D =0D . Date: Tue, 16 Jul 2024 20:09: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/13] Misc HW/UI patches for 2024-07-16 The following changes since commit 959269e910944c03bc13f300d65bf08b060d5d0f: Merge tag 'python-pull-request' of https://gitlab.com/jsnow/qemu into staging (2024-07-16 06:45:23 +1000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240716 for you to fetch changes up to 644a52778a90581dbda909f38b9eaf71501fd9cd: system/physmem: use return value of ram_block_discard_require() as errno (2024-07-16 20:04:08 +0200) Ignored checkpatch error: WARNING: line over 80 characters #30: FILE: system/vl.c:1004: + if (!ti->class_names[0] || module_object_class_by_name(ti->class_names[0])) { Ignored CI failures: - bios-tables-test on cross-i686-tci - qtest-sparc on msys2-64bit ---------------------------------------------------------------- Misc HW & UI patches queue - Allow loading safely ROMs larger than 4GiB (Gregor) - Convert vt82c686 IRQ as named 'intr' (Bernhard) - Clarify QDev GPIO API (Peter) - Drop unused load_image_gzipped function (Ani) - Make TCGCPUOps::cpu_exec_interrupt handler mandatory (Peter) - Factor cpu_pause() out (Nicholas) - Remove transfer size check from ESP DMA DATA IN / OUT transfers (Mark) - Add accelerated cursor composition to Cocoa UI (Akihiko) - Fix '-vga help' CLI (Marc-André) - Fix displayed errno in ram_block_add (Zhenzhong) ---------------------------------------------------------------- Akihiko Odaki (4): ui/cocoa: Release CGColorSpace ui/console: Convert mouse visibility parameter into bool ui/cocoa: Add cursor composition ui/console: Remove dpy_cursor_define_supported() Ani Sinha (1): loader: remove load_image_gzipped function as its not used anywhere Bernhard Beschow (1): hw/isa/vt82c686: Turn "intr" irq into a named gpio Gregor Haas (1): hw/core/loader: allow loading larger ROMs Marc-André Lureau (1): vl: fix "type is NULL" in -vga help Mark Cave-Ayland (1): esp: remove transfer size check from DMA DATA IN and DATA OUT transfers Nicholas Piggin (1): system/cpus: Add cpu_pause() function Peter Maydell (2): include/hw/qdev-core.h: Correct and clarify gpio doc comments accel/tcg: Make cpu_exec_interrupt hook mandatory Zhenzhong Duan (1): system/physmem: use return value of ram_block_discard_require() as errno meson.build | 3 +- include/hw/core/cpu.h | 8 ++++ include/hw/loader.h | 4 +- include/hw/qdev-core.h | 17 +++---- include/ui/console.h | 5 +- accel/tcg/cpu-exec.c | 4 +- hw/core/loader.c | 45 +++-------------- hw/display/ati.c | 2 +- hw/display/qxl-render.c | 4 -- hw/display/virtio-gpu.c | 3 +- hw/display/vmware_vga.c | 8 ++-- hw/isa/vt82c686.c | 2 +- hw/mips/fuloong2e.c | 2 +- hw/ppc/amigaone.c | 5 +- hw/ppc/pegasos2.c | 4 +- hw/scsi/esp.c | 4 +- system/cpus.c | 30 +++++++----- system/physmem.c | 7 ++- system/vl.c | 13 +++-- target/tricore/cpu.c | 6 +++ ui/console.c | 18 ++----- ui/dbus-listener.c | 2 +- ui/gtk.c | 2 +- ui/sdl2.c | 4 +- ui/spice-display.c | 11 +++-- ui/vnc.c | 2 +- ui/cocoa.m | 104 +++++++++++++++++++++++++++++++++++++++- 27 files changed, 200 insertions(+), 119 deletions(-) -- 2.41.0 . Date: Tue, 16 Jul 2024 20:41:33 +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/11] SD/MMC patches for 2024-07-16 The following changes since commit 959269e910944c03bc13f300d65bf08b060d5d0f: Merge tag 'python-pull-request' of https://gitlab.com/jsnow/qemu into staging (2024-07-16 06:45:23 +1000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/sdmmc-20240716 for you to fetch changes up to c8cb19876d3e29bffd7ffd87586ff451f97f5f46: hw/sd/sdcard: Support boot area in emmc image (2024-07-16 20:30:15 +0200) Ignored checkpatch error: WARNING: line over 80 characters #109: FILE: hw/sd/sd.c:500: + sd->ext_csd[EXT_CSD_HC_WP_GRP_SIZE] = 0x01; /* HC write protect group size */ ---------------------------------------------------------------- SD/MMC patches queue Addition of eMMC support is a long-term collaborative virtual work by: - Cédric Le Goater - Edgar E. Iglesias - Francisco Iglesias - Joel Stanley - Luc Michel - Philippe Mathieu-Daudé - Sai Pavan Boddu - Vincent Palatin ---------------------------------------------------------------- Cédric Le Goater (2): hw/sd/sdcard: Add emmc_cmd_SET_RELATIVE_ADDR handler (CMD3) hw/sd/sdcard: Fix SET_BLOCK_COUNT command argument on eMMC (CMD23) Joel Stanley (1): hw/sd/sdcard: Support boot area in emmc image Luc Michel (1): hw/sd/sdcard: Implement eMMC sleep state (CMD5) Philippe Mathieu-Daudé (5): hw/sd/sdcard: Basis for eMMC support hw/sd/sdcard: Register generic command handlers hw/sd/sdcard: Register unimplemented command handlers hw/sd/sdcard: Add emmc_cmd_PROGRAM_CID handler (CMD26) hw/sd/sdcard: Add eMMC 'boot-partition-size' property Sai Pavan Boddu (1): hw/sd/sdcard: Add mmc SWITCH function support (CMD6) Vincent Palatin (1): hw/sd/sdcard: Add emmc_cmd_SEND_EXT_CSD handler (CMD8) include/hw/sd/sd.h | 3 + hw/sd/sd.c | 385 ++++++++++++++++++++++++++++++++++++++++++++- hw/sd/trace-events | 2 + 3 files changed, 384 insertions(+), 6 deletions(-) -- 2.41.0 . Date: Wed, 17 Jul 2024 07:03:10 +0200 From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 00/20] i386, bugfix changes for QEMU 9.1 soft freeze The following changes since commit 959269e910944c03bc13f300d65bf08b060d5d0f: Merge tag 'python-pull-request' of https://gitlab.com/jsnow/qemu into staging (2024-07-16 06:45:23 +1000) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to 6a079f2e68e1832ebca0e7d64bc31ffebde9b2dd: target/i386/tcg: save current task state before loading new one (2024-07-16 18:18:25 +0200) ---------------------------------------------------------------- * target/i386/tcg: fixes for seg_helper.c * SEV: Don't allow automatic fallback to legacy KVM_SEV_INIT, but also don't use it by default * scsi: honor bootindex again for legacy drives * hpet, utils, scsi, build, cpu: miscellaneous bugfixes ---------------------------------------------------------------- Akihiko Odaki (1): cpu: Free queued CPU work Boqiao Fu (1): docs: Update description of 'user=username' for '-run-with' Fiona Ebner (2): hw/scsi/lsi53c895a: bump instruction limit in scripts processing to fix regression scsi: fix regression and honor bootindex again for legacy drives Gustavo Romero (1): disas: Fix build against Capstone v6 Michael Roth (1): i386/sev: Don't allow automatic fallback to legacy KVM_SEV*_INIT Paolo Bonzini (9): hpet: fix clamping of period hpet: fix HPET_TN_SETVAL for high 32-bits of the comparator target/i386/tcg: fix POP to memory in long mode target/i386/tcg: Allow IRET from user mode to user mode with SMAP target/i386/tcg: use PUSHL/PUSHW for error code target/i386/tcg: Compute MMU index once target/i386/tcg: check for correct busy state before switching to a new task target/i386/tcg: use X86Access for TSS access target/i386/tcg: save current task state before loading new one Richard Henderson (3): target/i386/tcg: Remove SEG_ADDL target/i386/tcg: Reorg push/pop within seg_helper.c target/i386/tcg: Introduce x86_mmu_index_{kernel_,}pl Sergey Dyasli (1): Revert "qemu-char: do not operate on sources from finalize callbacks" Song Gao (1): qemu/timer: Add host ticks function for LoongArch qapi/qom.json | 18 +- include/disas/capstone.h | 1 + include/hw/core/cpu.h | 6 + include/qemu/timer.h | 9 + target/i386/cpu.h | 11 +- chardev/char-io.c | 19 +- cpu-common.c | 11 + hw/core/cpu-common.c | 1 + hw/i386/pc.c | 2 +- hw/scsi/lsi53c895a.c | 2 +- hw/scsi/scsi-bus.c | 9 + hw/timer/hpet.c | 25 +- target/i386/cpu.c | 27 +- target/i386/sev.c | 87 ++++- target/i386/tcg/seg_helper.c | 662 +++++++++++++++++++++------------------ target/i386/tcg/decode-new.c.inc | 2 +- target/i386/tcg/emit.c.inc | 1 + qemu-options.hx | 7 +- 18 files changed, 535 insertions(+), 365 deletions(-) -- 2.45.2 . Date: Wed, 17 Jul 2024 12:48:53 +0200 From: Markus Armbruster To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 00/14] QAPI patches patches for 2024-07-17 The following changes since commit e2f346aa98646e84eabe0256f89d08e89b1837cf: Merge tag 'sdmmc-20240716' of https://github.com/philmd/qemu into staging (2024-07-17 07:59:31 +1000) are available in the Git repository at: https://repo.or.cz/qemu/armbru.git tags/pull-qapi-2024-07-17 for you to fetch changes up to 3c5f6114d9ffc70bc9b1a7cc0dddd72a911f966d: qapi: remove "Example" doc section (2024-07-17 10:20:54 +0200) ---------------------------------------------------------------- QAPI patches patches for 2024-07-17 ---------------------------------------------------------------- Harmonie Snow (1): docs/sphinx: add CSS styling for qmp-example directive John Snow (7): docs/qapidoc: factor out do_parse() docs/qapidoc: create qmp-example directive docs/qapidoc: add QMP highlighting to annotated qmp-example blocks qapi: convert "Example" sections without titles qapi: convert "Example" sections with titles qapi: convert "Example" sections with longer prose qapi: remove "Example" doc section Markus Armbruster (6): qapi/qom: Document feature unstable of @x-vfio-user-server qapi/pci: Clean up documentation around PciDeviceClass qapi/machine: Clean up documentation around CpuInstanceProperties qapi/machine: Clarify query-uuid value when none has been specified qapi/sockets: Move deprecation note out of SocketAddress doc comment qapi/ui: Drop note on naming of SpiceQueryMouseMode docs/devel/qapi-code-gen.rst | 58 ++++++++++++--- docs/sphinx-static/theme_overrides.css | 49 +++++++++++++ docs/sphinx/qapidoc.py | 128 ++++++++++++++++++++++++++++++--- qapi/acpi.json | 4 +- qapi/block-core.json | 88 ++++++++++++----------- qapi/block.json | 57 ++++++++------- qapi/char.json | 24 ++++--- qapi/control.json | 8 +-- qapi/dump.json | 8 +-- qapi/machine-target.json | 2 +- qapi/machine.json | 86 ++++++++++++---------- qapi/migration.json | 90 ++++++++++++----------- qapi/misc-target.json | 22 +++--- qapi/misc.json | 32 ++++----- qapi/net.json | 22 +++--- qapi/pci.json | 8 +-- qapi/qdev.json | 10 +-- qapi/qom.json | 19 ++--- qapi/replay.json | 8 +-- qapi/rocker.json | 8 +-- qapi/run-state.json | 32 ++++----- qapi/sockets.json | 7 +- qapi/tpm.json | 6 +- qapi/trace.json | 4 +- qapi/transaction.json | 2 +- qapi/ui.json | 47 ++++++------ qapi/vfio.json | 2 +- qapi/virtio.json | 45 +++++++----- qapi/yank.json | 4 +- scripts/qapi/parser.py | 10 ++- tests/qapi-schema/doc-good.json | 19 +++-- tests/qapi-schema/doc-good.out | 26 ++++--- tests/qapi-schema/doc-good.txt | 23 +++--- 33 files changed, 610 insertions(+), 348 deletions(-) -- 2.45.0 . Date: Wed, 17 Jul 2024 14:06:24 +0300 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 00/16] Trivial patches for 2024-07-17 The following changes since commit e2f346aa98646e84eabe0256f89d08e89b1837cf: Merge tag 'sdmmc-20240716' of https://github.com/philmd/qemu into staging (2024-07-17 07:59:31 +1000) are available in the Git repository at: https://gitlab.com/mjt0k/qemu.git tags/pull-trivial-patches for you to fetch changes up to 66a8de9889ceb929e2abe7fb0e424f45210d9dda: meson: Update meson-buildoptions.sh (2024-07-17 14:04:15 +0300) ---------------------------------------------------------------- trivial patches for 2024-07-17 ---------------------------------------------------------------- Michael Tokarev (1): block/curl: rewrite http header parsing function Thomas Huth (1): tests/avocado: Remove the non-working virtio_check_params test Zhao Liu (13): accel/kvm/kvm-all: Fix superfluous trailing semicolon hw/i386/x86: Fix superfluous trailing semicolon util/oslib-posix: Fix superfluous trailing semicolon target/hexagon/imported/mmvec: Fix superfluous trailing semicolon doc/net/l2tpv3: Update boolean fields' description to avoid short-form use hw/i386/sgx: Get rid of qemu_open_old() hw/usb/host-libusb: Get rid of qemu_open_old() hw/usb/u2f-passthru: Get rid of qemu_open_old() hw/vfio/container: Get rid of qemu_open_old() backends/hostmem-epc: Get rid of qemu_open_old() backends/iommufd: Get rid of qemu_open_old() backends/rng-random: Get rid of qemu_open_old() meson: Update meson-buildoptions.sh Zhihai Dong (1): README.rst: add the missing punctuations README.rst | 6 +- accel/kvm/kvm-all.c | 2 +- backends/hostmem-epc.c | 4 +- backends/iommufd.c | 3 +- backends/rng-random.c | 5 +- block/curl.c | 44 +++++----- hw/i386/sgx.c | 6 +- hw/i386/x86.c | 2 +- hw/usb/host-libusb.c | 3 +- hw/usb/u2f-passthru.c | 4 +- hw/vfio/container.c | 6 +- qemu-options.hx | 10 +-- scripts/meson-buildoptions.sh | 14 ++-- target/hexagon/imported/mmvec/ext.idef | 2 +- tests/avocado/virtio_check_params.py | 143 --------------------------------- util/oslib-posix.c | 2 +- 16 files changed, 48 insertions(+), 208 deletions(-) delete mode 100644 tests/avocado/virtio_check_params.py . Date: Thu, 18 Jul 2024 12:09:42 +1000 From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Alistair Francis Subject: [PULL 00/30] riscv-to-apply queue The following changes since commit 58ee924b97d1c0898555647a31820c5a20d55a73: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-07-17 15:40:28 +1000) are available in the Git repository at: https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20240718-1 for you to fetch changes up to daff9f7f7a457f78ce455e6abf19c2a37dfe7630: roms/opensbi: Update to v1.5 (2024-07-18 12:08:45 +1000) ---------------------------------------------------------------- RISC-V PR for 9.1 * Support the zimop, zcmop, zama16b and zabha extensions * Validate the mode when setting vstvec CSR * Add decode support for Zawrs extension * Update the KVM regs to Linux 6.10-rc5 * Add smcntrpmf extension support * Raise an exception when CSRRS/CSRRC writes a read-only CSR * Re-insert and deprecate 'riscv,delegate' in virt machine device tree * roms/opensbi: Update to v1.5 ---------------------------------------------------------------- Atish Patra (7): target/riscv: Fix the predicate functions for mhpmeventhX CSRs target/riscv: Only set INH fields if priv mode is available target/riscv: Implement privilege mode filtering for cycle/instret target/riscv: Save counter values during countinhibit update target/riscv: Enforce WARL behavior for scounteren/hcounteren target/riscv: Do not setup pmu timer if OF is disabled target/riscv: Expose the Smcntrpmf config Balaji Ravikumar (1): disas/riscv: Add decode for Zawrs extension Daniel Henrique Barboza (3): target/riscv/kvm: update KVM regs to Linux 6.10-rc5 hw/riscv/virt.c: re-insert and deprecate 'riscv,delegate' roms/opensbi: Update to v1.5 Jiayi Li (1): target/riscv: Validate the mode in write_vstvec Kaiwen Xue (3): target/riscv: Add cycle & instret privilege mode filtering properties target/riscv: Add cycle & instret privilege mode filtering definitions target/riscv: Add cycle & instret privilege mode filtering support LIU Zhiwei (11): target/riscv: Add zimop extension disas/riscv: Support zimop disassemble target/riscv: Add zcmop extension disas/riscv: Support zcmop disassemble target/riscv: Support Zama16b extension target/riscv: Move gen_amo before implement Zabha target/riscv: Add AMO instructions for Zabha target/riscv: Move gen_cmpxchg before adding amocas.[b|h] target/riscv: Add amocas.[b|h] for Zabha target/riscv: Expose zabha extension as a cpu property disas/riscv: Support zabha disassemble Rajnesh Kanwal (3): target/riscv: Combine set_mode and set_virt functions. target/riscv: Start counters from both mhpmcounter and mcountinhibit target/riscv: More accurately model priv mode filtering. Yu-Ming Chang (1): target/riscv: raise an exception when CSRRS/CSRRC writes a read-only CSR docs/about/deprecated.rst | 11 + target/riscv/cpu.h | 24 +- target/riscv/cpu_bits.h | 41 ++ target/riscv/cpu_cfg.h | 5 + target/riscv/pmu.h | 4 + target/riscv/insn16.decode | 1 + target/riscv/insn32.decode | 33 ++ disas/riscv.c | 187 +++++++++ hw/riscv/virt.c | 9 + target/riscv/cpu.c | 10 + target/riscv/cpu_helper.c | 66 ++-- target/riscv/csr.c | 501 ++++++++++++++++++++----- target/riscv/kvm/kvm-cpu.c | 2 + target/riscv/machine.c | 5 +- target/riscv/op_helper.c | 23 +- target/riscv/pmu.c | 181 ++++++++- target/riscv/tcg/tcg-cpu.c | 5 + target/riscv/translate.c | 38 ++ target/riscv/insn_trans/trans_rva.c.inc | 51 +-- target/riscv/insn_trans/trans_rvd.c.inc | 14 +- target/riscv/insn_trans/trans_rvf.c.inc | 14 +- target/riscv/insn_trans/trans_rvi.c.inc | 6 + target/riscv/insn_trans/trans_rvzabha.c.inc | 145 +++++++ target/riscv/insn_trans/trans_rvzacas.c.inc | 13 - target/riscv/insn_trans/trans_rvzcmop.c.inc | 29 ++ target/riscv/insn_trans/trans_rvzimop.c.inc | 37 ++ pc-bios/opensbi-riscv32-generic-fw_dynamic.bin | Bin 267416 -> 268312 bytes pc-bios/opensbi-riscv64-generic-fw_dynamic.bin | Bin 270808 -> 272504 bytes roms/opensbi | 2 +- 29 files changed, 1246 insertions(+), 211 deletions(-) create mode 100644 target/riscv/insn_trans/trans_rvzabha.c.inc create mode 100644 target/riscv/insn_trans/trans_rvzcmop.c.inc create mode 100644 target/riscv/insn_trans/trans_rvzimop.c.inc . Date: Thu, 18 Jul 2024 14:20:02 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 00/26] target-arm queue Hi; hopefully this is the last arm pullreq before softfreeze. There's a handful of miscellaneous bug fixes here, but the bulk of the pullreq is Mostafa's implementation of 2-stage translation in the SMMUv3. thanks -- PMM The following changes since commit d74ec4d7dda6322bcc51d1b13ccbd993d3574795: Merge tag 'pull-trivial-patches' of https://gitlab.com/mjt0k/qemu into staging (2024-07-18 10:07:23 +1000) are available in the Git repository at: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20240718 for you to fetch changes up to 30a1690f2402e6c1582d5b3ebcf7940bfe2fad4b: hvf: arm: Do not advance PC when raising an exception (2024-07-18 13:49:30 +0100) ---------------------------------------------------------------- target-arm queue: * Fix handling of LDAPR/STLR with negative offset * LDAPR should honour SCTLR_ELx.nAA * Use float_status copy in sme_fmopa_s * hw/display/bcm2835_fb: fix fb_use_offsets condition * hw/arm/smmuv3: Support and advertise nesting * Use FPST_F16 for SME FMOPA (widening) * tests/arm-cpu-features: Do not assume PMU availability * hvf: arm: Do not advance PC when raising an exception ---------------------------------------------------------------- Akihiko Odaki (2): tests/arm-cpu-features: Do not assume PMU availability hvf: arm: Do not advance PC when raising an exception Daniyal Khan (2): target/arm: Use float_status copy in sme_fmopa_s tests/tcg/aarch64: Add test cases for SME FMOPA (widening) Mostafa Saleh (18): hw/arm/smmu-common: Add missing size check for stage-1 hw/arm/smmu: Fix IPA for stage-2 events hw/arm/smmuv3: Fix encoding of CLASS in events hw/arm/smmu: Use enum for SMMU stage hw/arm/smmu: Split smmuv3_translate() hw/arm/smmu: Consolidate ASID and VMID types hw/arm/smmu: Introduce CACHED_ENTRY_TO_ADDR hw/arm/smmuv3: Translate CD and TT using stage-2 table hw/arm/smmu-common: Rework TLB lookup for nesting hw/arm/smmu-common: Add support for nested TLB hw/arm/smmu-common: Support nested translation hw/arm/smmu: Support nesting in smmuv3_range_inval() hw/arm/smmu: Introduce smmu_iotlb_inv_asid_vmid hw/arm/smmu: Support nesting in the rest of commands hw/arm/smmuv3: Support nested SMMUs in smmuv3_notify_iova() hw/arm/smmuv3: Handle translation faults according to SMMUPTWEventInfo hw/arm/smmuv3: Support and advertise nesting hw/arm/smmu: Refactor SMMU OAS Peter Maydell (2): target/arm: Fix handling of LDAPR/STLR with negative offset target/arm: LDAPR should honour SCTLR_ELx.nAA Richard Henderson (1): target/arm: Use FPST_F16 for SME FMOPA (widening) SamJakob (1): hw/display/bcm2835_fb: fix fb_use_offsets condition hw/arm/smmuv3-internal.h | 19 +- include/hw/arm/smmu-common.h | 46 +++- target/arm/tcg/a64.decode | 2 +- hw/arm/smmu-common.c | 312 ++++++++++++++++++++++--- hw/arm/smmuv3.c | 467 +++++++++++++++++++++++++------------- hw/display/bcm2835_fb.c | 2 +- target/arm/hvf/hvf.c | 1 + target/arm/tcg/sme_helper.c | 2 +- target/arm/tcg/translate-a64.c | 2 +- target/arm/tcg/translate-sme.c | 12 +- tests/qtest/arm-cpu-features.c | 13 +- tests/tcg/aarch64/sme-fmopa-1.c | 63 +++++ tests/tcg/aarch64/sme-fmopa-2.c | 56 +++++ tests/tcg/aarch64/sme-fmopa-3.c | 63 +++++ hw/arm/trace-events | 26 ++- tests/tcg/aarch64/Makefile.target | 5 +- 16 files changed, 846 insertions(+), 245 deletions(-) create mode 100644 tests/tcg/aarch64/sme-fmopa-1.c create mode 100644 tests/tcg/aarch64/sme-fmopa-2.c create mode 100644 tests/tcg/aarch64/sme-fmopa-3.c . Date: Fri, 19 Jul 2024 10:26:01 +0800 From: Song Gao To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org Subject: [PULL 0/3] loongarch-to-apply queue 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://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240719 for you to fetch changes up to 3ed016f525c8010e66be62d3ca6829eaa9b7cfb5: hw/loongarch: Modify flash block size to 256K (2024-07-19 10:40:04 +0800) ---------------------------------------------------------------- pull-loongarch-20240719 ---------------------------------------------------------------- Song Gao (2): target/loongarch/gdbstub: Add vector registers support hw/loongarch: Remove unimplemented extioi INT_encode mode Xianglai Li (1): hw/loongarch: Modify flash block size to 256K configs/targets/loongarch64-linux-user.mak | 2 +- configs/targets/loongarch64-softmmu.mak | 2 +- gdb-xml/loongarch-lasx.xml | 60 ++++++++++++++++++++++++ gdb-xml/loongarch-lsx.xml | 59 ++++++++++++++++++++++++ include/hw/intc/loongarch_extioi.h | 1 - include/hw/loongarch/virt.h | 2 +- target/loongarch/gdbstub.c | 73 +++++++++++++++++++++++++++++- 7 files changed, 193 insertions(+), 6 deletions(-) create mode 100644 gdb-xml/loongarch-lasx.xml create mode 100644 gdb-xml/loongarch-lsx.xml . 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 .