From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3F60C5B549 for ; Sun, 1 Jun 2025 15:34:09 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uLkYt-00022D-Ac; Sun, 01 Jun 2025 11:25:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uLkYc-0001rA-6O for qemu-devel@nongnu.org; Sun, 01 Jun 2025 11:25:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uLkYX-0004O2-Ff for qemu-devel@nongnu.org; Sun, 01 Jun 2025 11:25:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1748791488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nDg5yKMa0vWezmMCfLKMkb3rs4u75TamxEmrqGTOMUU=; b=GYPhpo2j0Dj8BJyRb0TjNN84XsrrmjoAPt78ZmcSh/z2krCReFa2RZrPmJNliJpZR7hIya ZH1qT+4wUlBACcskPOtHYCJXcw7uw6q7NDwQ4YEWBKjwDk4HNk6P0VbScC4qmCGB7bdp+t r39h+BWhRTjqlUcNDG7nm/+jvS9qJB4= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-92--8JifAusPiGK9mxiM8NOGA-1; Sun, 01 Jun 2025 11:24:47 -0400 X-MC-Unique: -8JifAusPiGK9mxiM8NOGA-1 X-Mimecast-MFC-AGG-ID: -8JifAusPiGK9mxiM8NOGA_1748791486 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3a4e713e05bso1679784f8f.3 for ; Sun, 01 Jun 2025 08:24:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748791485; x=1749396285; h=content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nDg5yKMa0vWezmMCfLKMkb3rs4u75TamxEmrqGTOMUU=; b=EKm4RSafeWeMMWZ0HlGgDax4cz2zXwBdGl433HREz/ucZTxEt3sSCnjbuJUYGnz3WO QsrSzBJOQ7AoJjwFqlmOeT4gGzFcfKokDrr8aqO/aocbF2K4hKkLyMBlt7TGa6DHnLJ3 mC59HZH9HVo9vve9yDQdchjGnBHmgG8tN7/pYHj7MMqGm8DG6fiuDPppl3MDTuT7+/lQ huFA81fAQX1VZsFwtUgBlaHPoEhXzEBYzh9hqSUdIYu6NSaYKOGocST2HnkztrdF1/be 1qsTYBI/foFyMvpFXlgCjJldkuh/FL8ql8sw9hWZfURRWOfubaHejYZIrgKQtjF5Yl1W DdYA== X-Gm-Message-State: AOJu0Yy3g4XzbM04xVoEa39B0twYilT65MyQbVvftSak6bXPoCyQgN/X 2uV4D3VVRo+O68DvBIWx/TpsvjeK/AvvWIAN+EJRkx4uyDX06u1U0FeZ6eVML89le435d27S8K/ w4P6P4FVjAqviRpIo9veAfqdDGkJKfi7XkVCech3GZmmPoPDY8W1HNcdphIKhnZORVYoxlMfes0 9roIiCkR+pcu9LzdQhcrKyxzyxIRzdSGqvIQ== X-Gm-Gg: ASbGncuXLqA0rUcbFrZvGUn1ljUnYuAFjI6oS/dTLpq6N6W/A4TLyGZcIY9IrGl6ci1 ZSFdGvKKW/ESL2GA0WkgptFz//bVz/ONw3441T9mut7RlEOEFwXDCT3Xn0rt7c9OyT/Jp+P3uq3 GY6n4V1QY+EaW76AVjz/8t2Z0ohcwp+ty4mixAfFTBCnq45RuzLsgaCDRNLCuzRpcv00Z5MuYML 5MitQpCp5Ca0ccOnrUoiPz2MKkQ5yWg19pKqQUAk22YapcJ6nZou9uX5eFhkuorDsRQHQh7xxYD pY72eQ== X-Received: by 2002:a5d:6b90:0:b0:3a4:ff01:218a with SMTP id ffacd0b85a97d-3a4ff01218fmr2622489f8f.50.1748791485523; Sun, 01 Jun 2025 08:24:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGzOv2xN9vjeKVGUHC/cPl4/etwULhR+w9A+XTTMoORxJ4Kr3H12sfsIdarXeLN28Le9Kd41w== X-Received: by 2002:a5d:6b90:0:b0:3a4:ff01:218a with SMTP id ffacd0b85a97d-3a4ff01218fmr2622474f8f.50.1748791485063; Sun, 01 Jun 2025 08:24:45 -0700 (PDT) Received: from redhat.com ([2a0d:6fc0:1517:1000:ea83:8e5f:3302:3575]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a4efe73f67sm11610485f8f.47.2025.06.01.08.24.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Jun 2025 08:24:44 -0700 (PDT) Date: Sun, 1 Jun 2025 11:24:43 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 00/31] virtio,pci,pc: features, fixes, tests Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Received-SPF: pass client-ip=170.10.133.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.071, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org The following changes since commit d2e9b78162e31b1eaf20f3a4f563da82da56908d: Merge tag 'pull-qapi-2025-05-28' of https://repo.or.cz/qemu/armbru into staging (2025-05-29 08:36:01 -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 1c5771c092742b729e2a640be184a0f48c0b2cdb: hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine (2025-06-01 08:30:09 -0400) ---------------------------------------------------------------- virtio,pci,pc: features, fixes, tests vhost will now no longer set a call notifier if unused loongarch gained acpi tests based on bios-tables-test some core pci work for SVM support in vtd vhost vdpa init has been optimized for response time to QMP A couple more fixes Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Bernhard Beschow (1): hw/i386/pc_piix: Fix RTC ISA IRQ wiring of isapc machine Bibo Mao (8): uefi-test-tools:: Add LoongArch64 support tests/data/uefi-boot-images: Add ISO image for LoongArch system tests/qtest/bios-tables-test: Use MiB macro rather hardcode value tests/acpi: Add empty ACPI data files for LoongArch tests/qtest/bios-tables-test: Add basic testing for LoongArch rebuild-expected-aml.sh: Add support for LoongArch tests/acpi: Fill acpi table data for LoongArch tests/acpi: Remove stale allowed tables CLEMENT MATHIEU--DRIF (11): pcie: Add helper to declare PASID capability for a pcie device pcie: Helper functions to check if PASID is enabled pcie: Helper function to check if ATS is enabled pcie: Add a helper to declare the PRI capability for a pcie device pcie: Helper functions to check to check if PRI is enabled pci: Cache the bus mastering status in the device pci: Add an API to get IOMMU's min page size and virtual address width memory: Store user data pointer in the IOMMU notifiers pci: Add a pci-level initialization function for IOMMU notifiers pci: Add a pci-level API for ATS pci: Add a PCI-level API for PRI Eugenio Pérez (7): vdpa: check for iova tree initialized at net_client_start vdpa: reorder vhost_vdpa_set_backend_cap vdpa: set backend capabilities at vhost_vdpa_init vdpa: add listener_registered vdpa: reorder listener assignment vdpa: move iova_tree allocation to net_vhost_vdpa_init vdpa: move memory listener register to vhost_vdpa_init Huaitong Han (1): vhost: Don't set vring call if guest notifier is unused Sairaj Kodilkar (1): hw/i386/amd_iommu: Fix device setup failure when PT is on. Vasant Hegde (1): hw/i386/amd_iommu: Fix xtsup when vcpus < 255 Yuri Benditovich (1): virtio: check for validity of indirect descriptors include/hw/pci/pci.h | 316 +++++++++++++++++++++ include/hw/pci/pci_device.h | 1 + include/hw/pci/pcie.h | 13 +- include/hw/pci/pcie_regs.h | 8 + include/hw/virtio/vhost-vdpa.h | 22 +- include/system/memory.h | 1 + hw/i386/amd_iommu.c | 20 +- hw/i386/pc_piix.c | 5 + hw/pci/pci.c | 206 +++++++++++++- hw/pci/pcie.c | 78 +++++ hw/virtio/vhost-vdpa.c | 107 ++++--- hw/virtio/virtio-pci.c | 7 +- hw/virtio/virtio.c | 11 + net/vhost-vdpa.c | 34 +-- tests/qtest/bios-tables-test.c | 99 ++++++- tests/data/acpi/loongarch64/virt/APIC | Bin 0 -> 108 bytes tests/data/acpi/loongarch64/virt/APIC.topology | Bin 0 -> 213 bytes tests/data/acpi/loongarch64/virt/DSDT | Bin 0 -> 4641 bytes tests/data/acpi/loongarch64/virt/DSDT.memhp | Bin 0 -> 5862 bytes tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 0 -> 4647 bytes tests/data/acpi/loongarch64/virt/DSDT.topology | Bin 0 -> 5352 bytes tests/data/acpi/loongarch64/virt/FACP | Bin 0 -> 268 bytes tests/data/acpi/loongarch64/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/loongarch64/virt/PPTT | Bin 0 -> 76 bytes tests/data/acpi/loongarch64/virt/PPTT.topology | Bin 0 -> 296 bytes tests/data/acpi/loongarch64/virt/SLIT | 0 tests/data/acpi/loongarch64/virt/SLIT.numamem | Bin 0 -> 48 bytes tests/data/acpi/loongarch64/virt/SPCR | Bin 0 -> 80 bytes tests/data/acpi/loongarch64/virt/SRAT | Bin 0 -> 104 bytes tests/data/acpi/loongarch64/virt/SRAT.memhp | Bin 0 -> 144 bytes tests/data/acpi/loongarch64/virt/SRAT.numamem | Bin 0 -> 144 bytes tests/data/acpi/loongarch64/virt/SRAT.topology | Bin 0 -> 216 bytes tests/data/acpi/rebuild-expected-aml.sh | 4 +- .../bios-tables-test.loongarch64.iso.qcow2 | Bin 0 -> 12800 bytes tests/qtest/meson.build | 1 + tests/uefi-test-tools/Makefile | 5 +- .../UefiTestToolsPkg/UefiTestToolsPkg.dsc | 6 +- tests/uefi-test-tools/uefi-test-build.config | 10 + 38 files changed, 846 insertions(+), 108 deletions(-) create mode 100644 tests/data/acpi/loongarch64/virt/APIC create mode 100644 tests/data/acpi/loongarch64/virt/APIC.topology create mode 100644 tests/data/acpi/loongarch64/virt/DSDT create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.numamem create mode 100644 tests/data/acpi/loongarch64/virt/DSDT.topology create mode 100644 tests/data/acpi/loongarch64/virt/FACP create mode 100644 tests/data/acpi/loongarch64/virt/MCFG create mode 100644 tests/data/acpi/loongarch64/virt/PPTT create mode 100644 tests/data/acpi/loongarch64/virt/PPTT.topology create mode 100644 tests/data/acpi/loongarch64/virt/SLIT create mode 100644 tests/data/acpi/loongarch64/virt/SLIT.numamem create mode 100644 tests/data/acpi/loongarch64/virt/SPCR create mode 100644 tests/data/acpi/loongarch64/virt/SRAT create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.memhp create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.numamem create mode 100644 tests/data/acpi/loongarch64/virt/SRAT.topology create mode 100644 tests/data/uefi-boot-images/bios-tables-test.loongarch64.iso.qcow2