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 BC969C433EF for ; Fri, 7 Jan 2022 11:09:47 +0000 (UTC) Received: from localhost ([::1]:46238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5n7y-0001HE-OK for qemu-devel@archiver.kernel.org; Fri, 07 Jan 2022 06:09:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5n1h-00063a-Ht for qemu-devel@nongnu.org; Fri, 07 Jan 2022 06:03:17 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:57770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5n1e-0001gj-AK for qemu-devel@nongnu.org; Fri, 07 Jan 2022 06:03:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641553393; 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=FHT+ixRYDOZQkkf4K8+hFvL7jPg6CkhzgOJoFbvM60w=; b=htpFwPTWvZfLxAbqDLG7sjGHCmzS+gSEN/jMA3ZB9wQO2v6SwCxfb/DTjYuBNgSlOTXg67 ooDi0+k3+L4oSCC1NXYxUK9vTTWItKY+VE1/ZmMdSV7DxdvAGrPGwF98fN9UUmOzXlMNyJ OinDvQQa5C3WslmiSH3H4R4cna0clyM= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-673-uONntok6Pce0M4UDJV3G0Q-1; Fri, 07 Jan 2022 06:03:12 -0500 X-MC-Unique: uONntok6Pce0M4UDJV3G0Q-1 Received: by mail-wr1-f69.google.com with SMTP id v14-20020adfa1ce000000b001a49d6587ceso2044199wrv.21 for ; Fri, 07 Jan 2022 03:03:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=FHT+ixRYDOZQkkf4K8+hFvL7jPg6CkhzgOJoFbvM60w=; b=6q7kPmbhaxJXoH6FdA34Tnx0R6vnI4AAc6+19dmfDML0Ar51emBlRtOVzKbI2O+Ufr eOxNZ98UdG6/aJES+Z9ibCWVAgMOx6zsmuFfVXe2U60W5ISvTcg+Q6+Siph6bS4kgI4w 9Ypq79foSWiSwPL5B1B2H3BsbhBwsddmtPugf5H28JuwdL9n0QvdNwtEWBwic74g4O3a h+LLOL5R/u5bj+yiKYeVfD4S4EVvjhMLxbueC9l8QTjD/QGFplu1z7rikY5VY60CJZyz J5dOKs69L/Eh8zo78pT59ZPMq7UUuf/B5mvq1o8N7+B3WUYGLzdXIk+t5FWyWa52NNvp XdPQ== X-Gm-Message-State: AOAM532MTt0ECwK39PyrFoWqSxe3ScS1NuLlXtgiNSrecl+jcagrgKc5 7LJv+j84JDgwxGcqkd6HH2yuFzx11jtyKAha1H22G59KYhCaHcJxycp3ykyLexDDYcvHWSaxeWT bpGV8/cWcnFqGpPtJGYkgF7h2cOPR9kbQULwtcL9VvRBx0Hvo5UAYCbHmyHzb X-Received: by 2002:a5d:6da3:: with SMTP id u3mr51044069wrs.712.1641553388773; Fri, 07 Jan 2022 03:03:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxD5qCDD92XJSwZkLKy9wehPnpLynBYajTQg9UdErPaBKB+PTJtFFLrdkW+hXmNwJaTJOuPQg== X-Received: by 2002:a5d:6da3:: with SMTP id u3mr51044037wrs.712.1641553388313; Fri, 07 Jan 2022 03:03:08 -0800 (PST) Received: from redhat.com ([2.55.16.192]) by smtp.gmail.com with ESMTPSA id o10sm4343649wmq.31.2022.01.07.03.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 03:03:07 -0800 (PST) Date: Fri, 7 Jan 2022 06:03:05 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v2 00/55] virtio,pci,pc: features,fixes,cleanups Message-ID: <20220107102526.39238-1-mst@redhat.com> MIME-Version: 1.0 X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=170.10.129.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.372, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, 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: , Cc: Peter Maydell Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Changes from v1: - mingw build fixes - added TPM patches which got acks meanwhile Big changes that were tagged originally but did not make the cut: - SRIOV/nvme (not sure they are my tree material anyway) - ACPI ERST (some coding style violations) The following changes since commit 7d4ae4d4978079d564d3b6354c90a949130409fe: Merge tag 'pull-request-2022-01-05' of https://gitlab.com/thuth/qemu into staging (2022-01-05 08:47:18 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch changes up to f1aaf12842f344237d0654352e324a5ab7c70196: tests: acpi: Add updated TPM related tables (2022-01-07 05:23:59 -0500) ---------------------------------------------------------------- virtio,pci,pc: features,fixes,cleanups New virtio mem options. A vhost-user cleanup. Control over smbios entry point type. Config interrupt support for vdpa. Fixes, cleanups all over the place. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Andy Pei (1): hw/vhost-user-blk: turn on VIRTIO_BLK_F_SIZE_MAX feature for virtio blk device Ani Sinha (2): MAINTAINERS: Add a separate entry for acpi/VIOT tables acpihp: simplify acpi_pcihp_disable_root_bus Cindy Lu (10): virtio: introduce macro IRTIO_CONFIG_IRQ_IDX virtio-pci: decouple notifier from interrupt process virtio-pci: decouple the single vector from the interrupt process vhost: introduce new VhostOps vhost_set_config_call vhost-vdpa: add support for config interrupt virtio: add support for configure interrupt vhost: add support for configure interrupt virtio-net: add support for configure interrupt virtio-mmio: add support for configure interrupt virtio-pci: add support for configure interrupt Daniil Tatianin (3): hw/scsi/vhost-scsi: don't leak vqs on error hw/scsi/vhost-scsi: don't double close vhostfd on error virtio/vhost-vsock: don't double close vhostfd, remove redundant cleanup David Hildenbrand (12): virtio-mem: Don't skip alignment checks when warning about block size util/oslib-posix: Let touch_all_pages() return an error util/oslib-posix: Support MADV_POPULATE_WRITE for os_mem_prealloc() util/oslib-posix: Introduce and use MemsetContext for touch_all_pages() util/oslib-posix: Don't create too many threads with small memory or little pages util/oslib-posix: Avoid creating a single thread with MADV_POPULATE_WRITE util/oslib-posix: Support concurrent os_mem_prealloc() invocation util/oslib-posix: Forward SIGBUS to MCE handler under Linux virtio-mem: Support "prealloc=on" option linux-headers: sync VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE virtio-mem: Support VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE virtio-mem: Set "unplugged-inaccessible=auto" for the 7.0 machine on x86 Eduardo Habkost (3): smbios: Rename SMBIOS_ENTRY_POINT_* enums hw/smbios: Use qapi for SmbiosEntryPointType hw/i386: expose a "smbios-entry-point-type" PC machine property Frederic Barrat (2): pci: Export the pci_intx() function pcie_aer: Don't trigger a LSI if none are defined Igor Mammedov (4): acpi: fix QEMU crash when started with SLIC table tests: acpi: whitelist expected blobs before changing them tests: acpi: add SLIC table test tests: acpi: SLIC: update expected blobs Jason Wang (1): intel-iommu: correctly check passthrough during translation Laurent Vivier (1): trace-events,pci: unify trace events format Michael S. Tsirkin (1): acpi: validate hotplug selector on access Roman Kagan (9): vhost-user-blk: reconnect on any error during realize chardev/char-socket: tcp_chr_recv: don't clobber errno chardev/char-socket: tcp_chr_sync_read: don't clobber errno vhost-backend: avoid overflow on memslots_limit vhost-backend: stick to -errno error return convention vhost-vdpa: stick to -errno error return convention vhost-user: stick to -errno error return convention vhost: stick to -errno error return convention vhost-user-blk: propagate error return from generic vhost Stefan Berger (3): tests: acpi: prepare for updated TPM related tables acpi: tpm: Add missing device identification objects tests: acpi: Add updated TPM related tables Stefan Hajnoczi (1): virtio: signal after wrapping packed used_idx Thomas Huth (2): hw/i386/pc: Add missing property descriptions docs: reSTify virtio-balloon-stats documentation and move to docs/interop qapi/machine.json | 12 + hw/virtio/virtio-pci.h | 4 +- include/hw/firmware/smbios.h | 10 +- include/hw/i386/pc.h | 4 + include/hw/pci/pci.h | 5 + include/hw/virtio/vhost-backend.h | 3 + include/hw/virtio/vhost.h | 4 + include/hw/virtio/virtio-mem.h | 12 + include/hw/virtio/virtio.h | 7 + include/net/vhost_net.h | 2 + include/qemu/osdep.h | 7 + include/standard-headers/linux/virtio_mem.h | 9 +- chardev/char-socket.c | 17 +- hw/acpi/core.c | 4 +- hw/acpi/pcihp.c | 12 +- hw/arm/virt-acpi-build.c | 1 + hw/arm/virt.c | 2 +- hw/block/vhost-user-blk.c | 5 +- hw/display/vhost-user-gpu.c | 6 + hw/i386/acpi-build.c | 9 + hw/i386/intel_iommu.c | 38 +- hw/i386/pc.c | 38 +- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/net/vhost_net-stub.c | 9 + hw/net/vhost_net.c | 9 + hw/net/virtio-net.c | 10 +- hw/pci/pci.c | 9 +- hw/pci/pci_host.c | 6 +- hw/pci/pcie_aer.c | 4 +- hw/scsi/vhost-scsi.c | 15 +- hw/smbios/smbios.c | 8 +- hw/virtio/vhost-backend.c | 4 +- hw/virtio/vhost-user-fs.c | 6 + hw/virtio/vhost-user.c | 401 ++++++++++++--------- hw/virtio/vhost-vdpa.c | 44 ++- hw/virtio/vhost-vsock-common.c | 6 + hw/virtio/vhost-vsock.c | 11 +- hw/virtio/vhost.c | 174 ++++++--- hw/virtio/virtio-crypto.c | 6 + hw/virtio/virtio-mem.c | 105 +++++- hw/virtio/virtio-mmio.c | 27 ++ hw/virtio/virtio-pci.c | 281 ++++++++++----- hw/virtio/virtio.c | 30 ++ softmmu/cpus.c | 4 + tests/qtest/bios-tables-test.c | 15 + util/oslib-posix.c | 234 +++++++++--- MAINTAINERS | 8 + docs/interop/index.rst | 1 + .../virtio-balloon-stats.rst} | 58 +-- hw/pci/trace-events | 8 +- hw/virtio/trace-events | 1 + tests/data/acpi/q35/DSDT.tis.tpm12 | Bin 8894 -> 8900 bytes tests/data/acpi/q35/DSDT.tis.tpm2 | Bin 8894 -> 8921 bytes tests/data/acpi/q35/FACP.slic | Bin 0 -> 244 bytes tests/data/acpi/q35/SLIC.slic | Bin 0 -> 36 bytes 56 files changed, 1209 insertions(+), 500 deletions(-) rename docs/{virtio-balloon-stats.txt => interop/virtio-balloon-stats.rst} (66%) create mode 100644 tests/data/acpi/q35/FACP.slic create mode 100644 tests/data/acpi/q35/SLIC.slic