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 786E5CDB483 for ; Thu, 19 Oct 2023 18:33:00 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtXhf-0001Rd-65; Thu, 19 Oct 2023 14:25:04 -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 1qtXhT-0000vX-ON for qemu-devel@nongnu.org; Thu, 19 Oct 2023 14:24:51 -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 1qtXhR-0003gC-Di for qemu-devel@nongnu.org; Thu, 19 Oct 2023 14:24:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697739888; 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; bh=0xdMUCml6k3RCFv0UfY+uugLIgzaOKeKTa4ii1ew7Zs=; b=gaDKSAk9Cev7oiyffKYTh4fzHXD2noPtdS9prZhKXK97gJmueqZvFAh8ziQEC4qiEPhjj8 PRyveTzKxwHnB+0yCDnMEN/vAK5AUVt1vjs/rUXkfHDOzT88cRy7vnSOhIht/oxPVALgx3 FrSbOL8rkWqFfpdm17pfG3PAhm4mDnU= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-492-gDVDjDYHPHeCg0iCQOsWOw-1; Thu, 19 Oct 2023 14:24:47 -0400 X-MC-Unique: gDVDjDYHPHeCg0iCQOsWOw-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-30932d15a30so3877f8f.1 for ; Thu, 19 Oct 2023 11:24:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697739885; x=1698344685; h=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=0xdMUCml6k3RCFv0UfY+uugLIgzaOKeKTa4ii1ew7Zs=; b=PcyukPzGOFJsqTYfE7kKYxFU7NEWZWCNA/olu4SH5AnVq1bMWonsqNEKfLulCTcT6i Mtk/iJM9dX2rwp9Z2LLbABSW2nhf7b/vPWctFLYv19SgeU2wZ8LBWTOmlkkbzNmsdHr6 Xd83x5FOSM0DQIRr8JSWnO9kTZDCv4id8+Z3oGsqCWFd02L9GfkAmpKwl3eB6B+hmbJD nj5KT62gpw5C1BbJsafcl3C+d9oNej11yPtEHvA0oCfh3cqq0jg24jn1QGTQvwaSy+mQ bSuFOiOS3Q2v1Bg4dKIlscEflTzCyZFRKsWTSe0QSZ9hght0Mm/iW3FpzaK6x537UCo+ i7zQ== X-Gm-Message-State: AOJu0YxGKZHd0OVmEi3Aenu3htHMacDNXtODCh/8WkAoHW0vjqlwzDir LIsDFJMjVUVPDxV9/h8O5ASHbDut6d62x9LieANKfmTzeKyQrQ9hrgJu6erPRl4Wivg46e0inYK AYKHnLDTniYNF/9rLLgRH6SgZwrJ21KpWRMQpyqjK5rPUb8ZjJVlUY9qNZYt2mAznNPBB X-Received: by 2002:a5d:6786:0:b0:32d:8be4:df83 with SMTP id v6-20020a5d6786000000b0032d8be4df83mr2099819wru.36.1697739885106; Thu, 19 Oct 2023 11:24:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGyB/kOtjlHWO9sbLiXOzeq4s2cAx7BmwcMCbFAgPfuTXQqKSJQBDQk3TINxpl52Wt06OsMg== X-Received: by 2002:a5d:6786:0:b0:32d:8be4:df83 with SMTP id v6-20020a5d6786000000b0032d8be4df83mr2099808wru.36.1697739884713; Thu, 19 Oct 2023 11:24:44 -0700 (PDT) Received: from redhat.com ([2a06:c701:73d2:bf00:e379:826:5137:6b23]) by smtp.gmail.com with ESMTPSA id x8-20020adfec08000000b0032dbf6bf7a2sm4996873wrn.97.2023.10.19.11.24.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 11:24:44 -0700 (PDT) Date: Thu, 19 Oct 2023 14:24:42 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL v2 00/78] virtio,pc,pci: features, cleanups Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_H3=0.001, RCVD_IN_MSPIKE_WL=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 Changes from v1: dropped shadow vq patches The following changes since commit ec6f9f135d5e5596ab0258da2ddd048f1fd8c359: Merge tag 'migration-20231017-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-10-17 10:06:21 -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 16ef005ba922d5af498e9f0f2ee6b29a318821a8: intel-iommu: Report interrupt remapping faults, fix return value (2023-10-19 14:11:17 -0400) ---------------------------------------------------------------- virtio,pc,pci: features, cleanups infrastructure for vhost-vdpa shadow work piix south bridge rework reconnect for vhost-user-scsi dummy ACPI QTG DSM for cxl tests, cleanups, fixes all over the place Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Ani Sinha (1): hw/i386/cxl: ensure maxram is greater than ram size for calculating cxl range Bernhard Beschow (30): hw/i386/acpi-build: Remove build-time assertion on PIIX/ICH9 reset registers being identical hw/i386/pc: Merge two if statements into one hw/i386/pc_piix: Allow for setting properties before realizing PIIX3 south bridge hw/i386/pc_piix: Assign PIIX3's ISA interrupts before its realize() hw/isa/piix3: Resolve redundant PIIX_NUM_PIC_IRQS hw/i386/pc_piix: Wire PIIX3's ISA interrupts by new "isa-irqs" property hw/i386/pc_piix: Remove redundant "piix3" variable hw/isa/piix3: Rename "pic" attribute to "isa_irqs_in" hw/i386/pc_q35: Wire ICH9 LPC function's interrupts before its realize() hw/isa/piix3: Wire PIC IRQs to ISA bus in host device hw/i386/pc: Wire RTC ISA IRQs in south bridges hw/isa/piix3: Create IDE controller in host device hw/isa/piix3: Create USB controller in host device hw/isa/piix3: Create power management controller in host device hw/isa/piix3: Drop the "3" from PIIX base class name hw/isa/piix4: Remove unused inbound ISA interrupt lines hw/isa/piix4: Rename "isa" attribute to "isa_irqs_in" hw/isa/piix4: Rename reset control operations to match PIIX3 hw/isa/piix4: Reuse struct PIIXState from PIIX3 hw/isa/piix3: Merge hw/isa/piix4.c hw/isa/piix: Allow for optional PIC creation in PIIX3 hw/isa/piix: Allow for optional PIT creation in PIIX3 hw/isa/piix: Harmonize names of reset control memory regions hw/isa/piix: Share PIIX3's base class with PIIX4 hw/isa/piix: Reuse PIIX3 base class' realize method in PIIX4 hw/isa/piix: Rename functions to be shared for PCI interrupt triggering hw/isa/piix: Reuse PIIX3's PCI interrupt triggering in PIIX4 hw/isa/piix: Resolve duplicate code regarding PCI interrupt wiring hw/isa/piix: Implement multi-process QEMU support also for PIIX4 hw/i386/pc_piix: Make PIIX4 south bridge usable in PC machine Damien Zammit (1): timer/i8254: Fix one shot PIT mode Dave Jiang (1): hw/cxl: Add QTG _DSM support for ACPI0017 device David Woodhouse (1): intel-iommu: Report interrupt remapping faults, fix return value Hanna Czenczek (1): vhost-user: Fix protocol feature bit conflict Hawkins Jiawei (7): vdpa: Use iovec for vhost_vdpa_net_cvq_add() vdpa: Avoid using vhost_vdpa_net_load_*() outside vhost_vdpa_net_load() vdpa: Check device ack in vhost_vdpa_net_load_rx_mode() vdpa: Move vhost_svq_poll() to the caller of vhost_vdpa_net_cvq_add() vdpa: Introduce cursors to vhost_vdpa_net_loadx() vhost: Expose vhost_svq_available_slots() vdpa: Send cvq state load commands in parallel Ilya Maximets (1): memory: initialize 'fv' in MemoryRegionCache to make Coverity happy Jonathan Cameron (2): tests/acpi: Allow update of DSDT.cxl tests/acpi: Update DSDT.cxl with QTG DSM Laszlo Ersek (7): vhost-user: strip superfluous whitespace vhost-user: tighten "reply_supported" scope in "set_vring_addr" vhost-user: factor out "vhost_user_write_sync" vhost-user: flatten "enforce_reply" into "vhost_user_write_sync" vhost-user: hoist "write_sync", "get_features", "get_u64" vhost-user: allow "vhost_set_vring" to wait for a reply vhost-user: call VHOST_USER_SET_VRING_ENABLE synchronously Li Feng (5): vhost-user-common: send get_inflight_fd once vhost: move and rename the conn retry times vhost-user-scsi: support reconnect to backend vhost-user-scsi: start vhost when guest kicks vhost-user: fix lost reconnect Matheus Tavares Bernardino (1): hw/display: fix memleak from virtio_add_resource Stefan Hajnoczi (3): vhost-user: do not send RESET_OWNER on device reset vhost-backend: remove vhost_kernel_reset_device() virtio: call ->vhost_reset_device() during reset Thomas Huth (1): MAINTAINERS: Add include/hw/intc/i8259.h to the PC chip section Zhao Liu (16): tests: test-smp-parse: Add the test for cores/threads per socket helpers tests: bios-tables-test: Prepare the ACPI table change for smbios type4 count test tests: bios-tables-test: Add test for smbios type4 count tests: bios-tables-test: Add ACPI table binaries for smbios type4 count test tests: bios-tables-test: Prepare the ACPI table change for smbios type4 core count test tests: bios-tables-test: Add test for smbios type4 core count tests: bios-tables-test: Add ACPI table binaries for smbios type4 core count test tests: bios-tables-test: Prepare the ACPI table change for smbios type4 core count2 test tests: bios-tables-test: Extend smbios core count2 test to cover general topology tests: bios-tables-test: Update ACPI table binaries for smbios core count2 test tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count test tests: bios-tables-test: Add test for smbios type4 thread count tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count test tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count2 test tests: bios-tables-test: Add test for smbios type4 thread count2 tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count2 test hw/i386/intel_iommu_internal.h | 1 + hw/virtio/vhost-shadow-virtqueue.h | 1 + include/exec/memory.h | 2 + include/hw/acpi/cxl.h | 1 + include/hw/i386/pc.h | 2 + include/hw/southbridge/piix.h | 30 ++- include/hw/virtio/vhost-scsi-common.h | 2 +- include/hw/virtio/vhost-user-scsi.h | 6 + include/hw/virtio/vhost-user.h | 6 +- include/hw/virtio/vhost.h | 12 + subprojects/libvhost-user/libvhost-user.h | 3 +- hw/acpi/cxl.c | 69 ++++++ hw/block/vhost-user-blk.c | 6 +- hw/display/virtio-dmabuf.c | 12 +- hw/i386/acpi-build.c | 6 +- hw/i386/intel_iommu.c | 150 ++++++++---- hw/i386/pc.c | 19 +- hw/i386/pc_piix.c | 123 +++++++--- hw/i386/pc_q35.c | 14 +- hw/isa/lpc_ich9.c | 9 +- hw/isa/{piix3.c => piix.c} | 281 ++++++++++++++++------ hw/isa/piix4.c | 302 ------------------------ hw/mips/malta.c | 5 +- hw/scsi/vhost-scsi-common.c | 47 ++-- hw/scsi/vhost-scsi.c | 6 +- hw/scsi/vhost-user-scsi.c | 254 +++++++++++++++++--- hw/timer/i8254_common.c | 4 +- hw/virtio/vhost-backend.c | 6 - hw/virtio/vhost-shadow-virtqueue.c | 2 +- hw/virtio/vhost-user-gpio.c | 5 +- hw/virtio/vhost-user.c | 239 ++++++++++--------- hw/virtio/vhost.c | 9 + hw/virtio/virtio.c | 4 + net/vhost-vdpa.c | 374 +++++++++++++++++++----------- tests/qtest/bios-tables-test.c | 116 ++++++++- tests/unit/test-smp-parse.c | 67 ++++-- MAINTAINERS | 7 +- docs/interop/vhost-user.rst | 11 + docs/system/target-i386-desc.rst.inc | 8 + hw/i386/Kconfig | 3 +- hw/isa/Kconfig | 8 +- hw/isa/meson.build | 3 +- hw/mips/Kconfig | 2 +- meson.build | 1 + tests/data/acpi/q35/APIC.core-count | Bin 0 -> 544 bytes tests/data/acpi/q35/APIC.core-count2 | Bin 2478 -> 3238 bytes tests/data/acpi/q35/APIC.thread-count | Bin 0 -> 544 bytes tests/data/acpi/q35/APIC.thread-count2 | Bin 0 -> 7398 bytes tests/data/acpi/q35/APIC.type4-count | Bin 0 -> 1072 bytes tests/data/acpi/q35/DSDT.core-count | Bin 0 -> 12913 bytes tests/data/acpi/q35/DSDT.core-count2 | Bin 32495 -> 33770 bytes tests/data/acpi/q35/DSDT.cxl | Bin 9655 -> 9713 bytes tests/data/acpi/q35/DSDT.thread-count | Bin 0 -> 12913 bytes tests/data/acpi/q35/DSDT.thread-count2 | Bin 0 -> 63671 bytes tests/data/acpi/q35/DSDT.type4-count | Bin 0 -> 18589 bytes tests/data/acpi/q35/FACP.core-count | Bin 0 -> 244 bytes tests/data/acpi/q35/FACP.thread-count | Bin 0 -> 244 bytes tests/data/acpi/q35/FACP.thread-count2 | Bin 0 -> 244 bytes tests/data/acpi/q35/FACP.type4-count | Bin 0 -> 244 bytes 59 files changed, 1386 insertions(+), 852 deletions(-) rename hw/isa/{piix3.c => piix.c} (52%) delete mode 100644 hw/isa/piix4.c create mode 100644 tests/data/acpi/q35/APIC.core-count create mode 100644 tests/data/acpi/q35/APIC.thread-count create mode 100644 tests/data/acpi/q35/APIC.thread-count2 create mode 100644 tests/data/acpi/q35/APIC.type4-count create mode 100644 tests/data/acpi/q35/DSDT.core-count create mode 100644 tests/data/acpi/q35/DSDT.thread-count create mode 100644 tests/data/acpi/q35/DSDT.thread-count2 create mode 100644 tests/data/acpi/q35/DSDT.type4-count create mode 100644 tests/data/acpi/q35/FACP.core-count create mode 100644 tests/data/acpi/q35/FACP.thread-count create mode 100644 tests/data/acpi/q35/FACP.thread-count2 create mode 100644 tests/data/acpi/q35/FACP.type4-count