From patchwork Sun Sep 12 00:05:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 12486659 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-26.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23D3DC433F5 for ; Sun, 12 Sep 2021 00:05:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8FF0611C0 for ; Sun, 12 Sep 2021 00:05:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234419AbhILAG0 (ORCPT ); Sat, 11 Sep 2021 20:06:26 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30294 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231576AbhILAGZ (ORCPT ); Sat, 11 Sep 2021 20:06:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631405112; 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=IT3HnjaxFEROeN2QLWVUnViJA5HfWYlX8v34IjIoBJ4=; b=iwOxFI3O1eMizoFlzRjGVGhvTbFUTC1dCT7O1XJUOqIxVefC3dzYEzIpOSEVi0q/RyVkNL c1Stv973Eq6RZteOWsGd0QXpiH983R2sfdgGkMb67flmv8BmrUpo27C6l992+dxorsSQxC 1TSBdV8qXd4WFzwHklHZ1rmlo23KKJw= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-ooFx1afHMJyygV31Rry5jQ-1; Sat, 11 Sep 2021 20:05:10 -0400 X-MC-Unique: ooFx1afHMJyygV31Rry5jQ-1 Received: by mail-wr1-f70.google.com with SMTP id r17-20020adfda510000b02901526f76d738so1716624wrl.0 for ; Sat, 11 Sep 2021 17:05:10 -0700 (PDT) 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=IT3HnjaxFEROeN2QLWVUnViJA5HfWYlX8v34IjIoBJ4=; b=i6xZWwnUEbheez2iEE3j6oDuwZpUMNlSCxQ61aD++8zXqUro/79RWRFCD9cxui4JSO 9L7CrSjqwJvQe58NAruTiyXDEbhXKhsaOwyvIrSVbw49ocqMEprFmn0YFXmWPVkFXhc8 ogXOgePxx4YOGiqEOUw/x9sJE+e/xXe9gIf4d1IgyKUcKGu3+qLYic+/PoiNL4LW4dAL 9OjVE2sifhQZx02Cni71qACx0HYyO4FVLUbvQw0G7mhxG5zIICCY5Dtgw34p3txDVHLQ g6MMU8UJrxmkDAjJr2LGoFyRIulm04fS6kQ3fy+49a/BqDNEt5rVOyecHdfWlpZOPy7O m6Hg== X-Gm-Message-State: AOAM533a+p73qCM2lh3gGgZv/aTpE3NoiN17a/ZBKVIdE/op42Zgu2YU uBIHsN6H6dx61vmjrjkN/Y8etqzzbgOZLHcgwhi2RQYBL7zZE6VKD0iwwI2e4f5gjmuZyb4b/4F IUqw2AZ6U3nnKoYgs X-Received: by 2002:a7b:cb45:: with SMTP id v5mr4300629wmj.184.1631405109607; Sat, 11 Sep 2021 17:05:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJxDHhrbMVL4dF3568IhBCMK63Z2YRX3A33U25nv3obGFgziyRVxdJ4k5PO4+KjiDxM/Zjgg== X-Received: by 2002:a7b:cb45:: with SMTP id v5mr4300606wmj.184.1631405109371; Sat, 11 Sep 2021 17:05:09 -0700 (PDT) Received: from redhat.com ([2.55.27.174]) by smtp.gmail.com with ESMTPSA id t18sm2841775wrp.97.2021.09.11.17.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Sep 2021 17:05:08 -0700 (PDT) Date: Sat, 11 Sep 2021 20:05:04 -0400 From: "Michael S. Tsirkin" To: Linus Torvalds Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, arseny.krasnov@kaspersky.com, caihuoqing@baidu.com, elic@nvidia.com, jasowang@redhat.com, lingshan.zhu@intel.com, mgurtovoy@nvidia.com, mst@redhat.com, viresh.kumar@linaro.org, wsa@kernel.org, xianting.tian@linux.alibaba.com, xieyongji@bytedance.com Subject: [GIT PULL V2] virtio,vdpa,vhost: features, fixes Message-ID: <20210911200504-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Disposition: inline X-Mutt-Fcc: =sent Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Changes from v1: dropped vdpa bits until we are sure how they are supposed to interact with recent upstream changes The following changes since commit 7d2a07b769330c34b4deabeed939325c77a7ec2f: Linux 5.14 (2021-08-29 15:04:50 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus_v2 for you to fetch changes up to 6105d1fe6f4c24ce8c13e2e6568b16b76e04983d: virtio-blk: remove unneeded "likely" statements (2021-09-06 07:20:56 -0400) ---------------------------------------------------------------- virtio,vdpa,vhost: features, fixes virtio-vsock support for end of record with SEQPACKET vdpa: mac and mq support for ifcvf and mlx5 vdpa: management netlink for ifcvf virtio-i2c, gpio dt bindings misc fixes, cleanups Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Arseny Krasnov (6): virtio/vsock: rename 'EOR' to 'EOM' bit. virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. vhost/vsock: support MSG_EOR bit processing virtio/vsock: support MSG_EOR bit processing af_vsock: rename variables in receive loop vsock_test: update message bounds test for MSG_EOR Cai Huoqing (2): vhost scsi: Convert to SPDX identifier vdpa: Make use of PFN_PHYS/PFN_UP/PFN_DOWN helper macro Eli Cohen (6): vdpa/mlx5: Remove redundant header file inclusion vdpa/mlx5: function prototype modifications in preparation to control VQ vdpa/mlx5: Decouple virtqueue callback from struct mlx5_vdpa_virtqueue vdpa/mlx5: Ensure valid indices are provided vdpa/mlx5: Add support for control VQ and MAC setting vdpa/mlx5: Add multiqueue support Max Gurtovoy (1): virtio-blk: remove unneeded "likely" statements Viresh Kumar (5): dt-bindings: virtio: Add binding for virtio devices dt-bindings: i2c: Add bindings for i2c-virtio dt-bindings: gpio: Add bindings for gpio-virtio uapi: virtio_ids: Sync ids with specification virtio: Bind virtio device to device-tree node Xianting Tian (1): virtio-balloon: Use virtio_find_vqs() helper Xie Yongji (1): vdpa_sim: Use iova_shift() for the size passed to alloc_iova() Zhu Lingshan (4): vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id vDPA/ifcvf: implement management netlink framework for ifcvf vDPA/ifcvf: detect and use the onboard number of queues directly vDPA/ifcvf: enable multiqueue and control vq .../devicetree/bindings/gpio/gpio-virtio.yaml | 59 +++ .../devicetree/bindings/i2c/i2c-virtio.yaml | 51 ++ Documentation/devicetree/bindings/virtio/mmio.yaml | 3 +- .../devicetree/bindings/virtio/virtio-device.yaml | 41 ++ drivers/block/virtio_blk.c | 4 +- drivers/vdpa/Kconfig | 1 + drivers/vdpa/ifcvf/ifcvf_base.c | 8 +- drivers/vdpa/ifcvf/ifcvf_base.h | 25 +- drivers/vdpa/ifcvf/ifcvf_main.c | 224 ++++++--- drivers/vdpa/mlx5/core/mlx5_vdpa.h | 26 +- drivers/vdpa/mlx5/core/mr.c | 81 +++- drivers/vdpa/mlx5/core/resources.c | 35 ++ drivers/vdpa/mlx5/net/mlx5_vnet.c | 517 ++++++++++++++++++--- drivers/vdpa/vdpa_sim/vdpa_sim.c | 3 +- drivers/vhost/scsi.c | 14 +- drivers/vhost/vdpa.c | 24 +- drivers/vhost/vsock.c | 28 +- drivers/virtio/virtio.c | 57 ++- drivers/virtio/virtio_balloon.c | 4 +- include/uapi/linux/virtio_ids.h | 12 + include/uapi/linux/virtio_vsock.h | 3 +- net/vmw_vsock/af_vsock.c | 10 +- net/vmw_vsock/virtio_transport_common.c | 23 +- tools/testing/vsock/vsock_test.c | 8 +- 24 files changed, 1030 insertions(+), 231 deletions(-) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-virtio.yaml create mode 100644 Documentation/devicetree/bindings/i2c/i2c-virtio.yaml create mode 100644 Documentation/devicetree/bindings/virtio/virtio-device.yaml