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 34C0DC433F5 for ; Sat, 8 Jan 2022 01:06:40 +0000 (UTC) Received: from localhost ([::1]:46016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n60Bq-0005jW-MJ for qemu-devel@archiver.kernel.org; Fri, 07 Jan 2022 20:06:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n608y-0002mZ-OL for qemu-devel@nongnu.org; Fri, 07 Jan 2022 20:03:40 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:27448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n608v-0002FA-Dx for qemu-devel@nongnu.org; Fri, 07 Jan 2022 20:03:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641603815; 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=lN2c4SGDB0nogeRSj4yQoBsCM4f78vxEyTcmIQ5f57U=; b=Erp4ASednzHgEMzNcZqoMjsknru7vHEPcF0S/kINcuKk7/V/trmTeBySjXu7dtQgOvEkHj cPdGHMhuD6GCV8vmAu8O51kq/Yr5cqMRg8/Zw3PoCvH6UP9e/HcH4vPiJnvG9Rxe5u68YY qaVgaBqaNh+cj+rZ1PLwsPzlALt42Q0= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-463-Vv_2rJm9NpynS58Lf7lFAA-1; Fri, 07 Jan 2022 20:03:34 -0500 X-MC-Unique: Vv_2rJm9NpynS58Lf7lFAA-1 Received: by mail-wm1-f71.google.com with SMTP id z13-20020a05600c0a0d00b003457d6619f8so2502820wmp.1 for ; Fri, 07 Jan 2022 17:03:34 -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=lN2c4SGDB0nogeRSj4yQoBsCM4f78vxEyTcmIQ5f57U=; b=mw6BhEyyB1+h7TsGr82rE+QLXIn/ykJmqhwyKCLt++Kaf1wYyX16ZnfpdipnAzbCE9 M2CXk1aLxAaRucCIpNnTShJ0q2niTHSjQxrfwafkse1Mk0mB6U7vKLG3U/aNO3idOolo W6IeYdH0xeF2tnpSZbE71XYzSXReRLgHloo3aj2e/bstDC2gDg32oIEPHofhUGXQWVYv NmIh+Mv7s+rgb/BQ1IlWxaV08PIojgWmxFrr61C7/ym10J5ZCgemZp3csdPesSZrBFZ+ n5kgzxM18ni3Bafwff7A4j239ZWzsMXgEAA9grJboaNbemcU0CenN9J3GggETY+o0h01 /ZzQ== X-Gm-Message-State: AOAM531PBkw8MF3ZA5lO3JUjNJ21YNc2RiT+Clsyjqlxr6bt1hyq79rN n3SobcoAqpjbJBIssd01Savc8zs58JCvEDxzb44m50HtPkDJN09pG2Rj1ca2uER24g1nhVEMOqv AtR5GDWha1z7Txh9F4NeOOwvkg6hr/2SHAXua2kDz5QszW7NSd8yJbKdYmam8 X-Received: by 2002:adf:fb4f:: with SMTP id c15mr10696092wrs.509.1641603813125; Fri, 07 Jan 2022 17:03:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwxynFy4iw3LAcHk3s1mePIwewwKSSbe/yb8rkvqeQW2chId//O7U4oxIsV3sbDcvF/c0UNRw== X-Received: by 2002:adf:fb4f:: with SMTP id c15mr10696079wrs.509.1641603812822; Fri, 07 Jan 2022 17:03:32 -0800 (PST) Received: from redhat.com ([147.161.13.99]) by smtp.gmail.com with ESMTPSA id g8sm80289wmh.17.2022.01.07.17.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 17:03:31 -0800 (PST) Date: Fri, 7 Jan 2022 20:03:29 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v3 00/55] virtio,pci,pc: features,fixes,cleanups Message-ID: <20220108003423.15830-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 v2: - fix fallout from attempts to fix up virtio mem prealloc patches 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 ca745d2277496464b54fd832c15c45d0227325bb: tests: acpi: Add updated TPM related tables (2022-01-07 19:30:13 -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