Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp705054lqt; Tue, 19 Mar 2024 00:42:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW7pTgvTPuqv67zVs5YxxQj4C5sXUkcuTUKN/MHRjni1i2netwQtJ3RHzsJlji8A/fsZyWn/rFf5H78EQtHiv17/usfs+ndBVUfWh0qQg== X-Google-Smtp-Source: AGHT+IF2H0ElgRq+I8dDGtjcyFg+xYFZXRe6kUc1DaCzM0jP1PANfWHLvyL7esvvkZJ13SgGbT14 X-Received: by 2002:a05:6358:e497:b0:17b:fb78:4a1 with SMTP id by23-20020a056358e49700b0017bfb7804a1mr9342251rwb.27.1710834143648; Tue, 19 Mar 2024 00:42:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710834143; cv=pass; d=google.com; s=arc-20160816; b=B0GIRfPtWTiMU9y0Vb5E4Mo8V6dn6fFgBxcLaZzMte4hCmSI06J0f6b09FoOxKnClz H/uC8GDHG0l/+091nh8EOs49GcR8rWHRIb2lDEC5+Lk/8TKleZILDJXmbK4Ib2aFhhyk 3Vp2b5DsMQMH0W0J7VkMzH16SB/COvS+6ZgzZmfe8/c+QL16MFNc7rI4vqsp0QR7EqD6 g+SOHh/OfnJuVC1/5Pd+zS2DcjlDRJzozx+bbQ/WIfIwg28mjsT6Y7SK+LwnPJpEZEfC pfLlxqsux0uNo4BM6F2prG/+sGQIGpT8rRUYoJSj5H5rIn2kjynGZEYtqeOs8edODnZM CRqw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=sTsSPri+D6Wdelir2mIVSESP1KmjuvB/LjDkRovj8pE=; fh=VO2l+cp+s0Kxg4L5XCQFIydJZC/ICFuVWmQAU0Egvtc=; b=L97zucSfGcpDdztDvTauDpLhuqSDhX436chzVawh9Kc/CVXQJcSF8V1A6JK5kdaMwA 8Nk6/PJurqssSJ/I6WrpLjI8QrUOOQPusPSklHZ9vFKk+kt0TLQrIrQF7yhZRfxgv6VU bZUz6otg8SOQNhK+okWC80WBzCrBMGY1UFciEH7I+MoaR7MGEMw/mt1n79bS5FnNAV48 569BI6/9dHUojpixb4tBFvocT+1XWyKd6UK3TVVkKqBOWksaohGO/60jj3XyseIOX39h Gl8F60jhnEea6p260i6Qf36wSsW6uLQSnBOXxN0lvLQ/zvY1IOxl56kLF/N35C24B3RJ HJwA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gUpEDfKx; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-107181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s30-20020a63525e000000b005e498065660si9594439pgl.322.2024.03.19.00.42.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 00:42:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gUpEDfKx; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-107181-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107181-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id F1C88B2124E for ; Tue, 19 Mar 2024 07:42:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1259F54665; Tue, 19 Mar 2024 07:41:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="gUpEDfKx" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 893B6535D2 for ; Tue, 19 Mar 2024 07:41:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710834114; cv=none; b=TPVhMi8kIYgxSewrm+2pHJ0+sxsMqP6Q5ey4sukv73HzRliiW7Z4Tuhixt8izTYcZmRLPsuOuPfgCCTPlIFAOYZDkHZ1qdn6Dftz8rGL1riYdMeOdPImPfIWZ7QkNpxaszX4opvoqpdXRhGTMdrOcSjOkNfYnbOZSuOuRJskYfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710834114; c=relaxed/simple; bh=2crLoEVLnwiq99cE6HQUHEb+ylseepzZNYcoRSHN6zw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=PqjXbTv1n/a5mUmQUKKbMGmwbyJm5SpFAmZT04hQER5yR43NV3EnkeENCVRAfeRIgL9C4d7wgvVnAN5xHtX9wIZuui7zH73WC1sDVz2yLsTH4v+dgDnbFjjtxZpaaFtusZV5/UGJTNQedDMMZoF7Ji0AI0vY2AlKBTwIOlKh+Ek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=gUpEDfKx; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710834111; 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=sTsSPri+D6Wdelir2mIVSESP1KmjuvB/LjDkRovj8pE=; b=gUpEDfKx2cA7200XkIVh3Xb/TR6xcVWTaNRi7kAaxtu1VM8XxKqfaQ4ozngpKQnjAdk8pQ Wvxfi/e4XwyB0eXHByS9Wj7P5BGumz7Kn9dGpKA1x6xSQC7U9KHJJ5kY7pyKo++USiijXY QH7M5PF2iBcuHEsWbMri2D8SWMju5ao= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-679-UZoCTq3MObexdv99a_Ox7Q-1; Tue, 19 Mar 2024 03:41:50 -0400 X-MC-Unique: UZoCTq3MObexdv99a_Ox7Q-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-33ed22facfeso2055356f8f.0 for ; Tue, 19 Mar 2024 00:41:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710834109; x=1711438909; 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=sTsSPri+D6Wdelir2mIVSESP1KmjuvB/LjDkRovj8pE=; b=Mb1DB7CEF19anfxJ8gEc1Z/jEkM1j1oo5dP1LhigNLK2cv8PK3qTY7+1Aq6VFOkJZI oAWNVmnWV85d54IG7aL5OGc9E3gJ8G15QUJY9v8kC/aL1OOqLTpdghYnVGx9TrEEAEQN LGRXktPUEJauzT68dnPnGNkyVwEYOw5qseZNCz9OPdYYGrcKxXu69gGg3t5vxMaWHETR heaj+zqk9tS+ft8lyURJo3vbzF0Eqbtd2ffRaKEDU+8kAgHk3emyLT7FpCoMRlhgBfCp 4zUgEyFOehA/Xp08wbdHeJFdav0ktRxV0H09oeF0Hte2JZNODebNZzpzJqrF3iPrmf/W KLyQ== X-Forwarded-Encrypted: i=1; AJvYcCWkL+nMcQO+MhTEZk4ix01V7v9QjxfKhDIg69y/8r5348tNnPUr71oVjQJ+2kYY50RyCwh/C24tjJFuXFULyMRxLGd4pBLJpqC4vkiU X-Gm-Message-State: AOJu0Yzhcoe3epRZ6611GjUX6pzsC3eD5oJ9gOccRO2/U6ZfOagGeE6E 5Pq7HF0WHO2TClLrayyl9Fh6A93cwxy76x3pvBVbFI3vHr7QmT4g6B7eIgCE3gfGvfOLi/XDmwR Vnb8r/PsyxRDYywMWqYZX+C8qf5lo0J3ycxRq/JYEBu7DsUjQfeDtI1P+QZIbKg== X-Received: by 2002:a5d:4e11:0:b0:33e:7adc:516c with SMTP id p17-20020a5d4e11000000b0033e7adc516cmr10534551wrt.57.1710834108704; Tue, 19 Mar 2024 00:41:48 -0700 (PDT) X-Received: by 2002:a5d:4e11:0:b0:33e:7adc:516c with SMTP id p17-20020a5d4e11000000b0033e7adc516cmr10534503wrt.57.1710834108096; Tue, 19 Mar 2024 00:41:48 -0700 (PDT) Received: from redhat.com ([2.52.6.254]) by smtp.gmail.com with ESMTPSA id t18-20020a5d42d2000000b0033e456f6e7csm11781382wrr.1.2024.03.19.00.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 00:41:47 -0700 (PDT) Date: Tue, 19 Mar 2024 03:41:43 -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, alex.williamson@redhat.com, andrew@daynix.com, david@redhat.com, dtatulea@nvidia.com, eperezma@redhat.com, feliu@nvidia.com, gregkh@linuxfoundation.org, jasowang@redhat.com, jean-philippe@linaro.org, jonah.palmer@oracle.com, leiyang@redhat.com, lingshan.zhu@intel.com, maxime.coquelin@redhat.com, mst@redhat.com, ricardo@marliere.net, shannon.nelson@amd.com, stable@kernel.org, steven.sistare@oracle.com, suzuki.poulose@arm.com, xuanzhuo@linux.alibaba.com, yishaih@nvidia.com Subject: [GIT PULL] virtio: features, fixes Message-ID: <20240319034143-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mutt-Fcc: =sent The following changes since commit e8f897f4afef0031fe618a8e94127a0934896aba: Linux 6.8 (2024-03-10 13:38:09 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 5da7137de79ca6ffae3ace77050588cdf5263d33: virtio_net: rename free_old_xmit_skbs to free_old_xmit (2024-03-19 03:19:22 -0400) ---------------------------------------------------------------- virtio: features, fixes Per vq sizes in vdpa. Info query for block devices support in vdpa. DMA sync callbacks in vduse. Fixes, cleanups. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Andrew Melnychenko (1): vhost: Added pad cleanup if vnet_hdr is not present. David Hildenbrand (1): virtio: reenable config if freezing device failed Jason Wang (2): virtio-net: convert rx mode setting to use workqueue virtio-net: add cond_resched() to the command waiting loop Jonah Palmer (1): vdpa/mlx5: Allow CVQ size changes Maxime Coquelin (1): vduse: implement DMA sync callbacks Ricardo B. Marliere (2): vdpa: make vdpa_bus const virtio: make virtio_bus const Shannon Nelson (1): vdpa/pds: fixes for VF vdpa flr-aer handling Steve Sistare (2): vdpa_sim: reset must not run vdpa: skip suspend/resume ops if not DRIVER_OK Suzuki K Poulose (1): virtio: uapi: Drop __packed attribute in linux/virtio_pci.h Xuan Zhuo (3): virtio: packed: fix unmap leak for indirect desc table virtio_net: unify the code for recycling the xmit ptr virtio_net: rename free_old_xmit_skbs to free_old_xmit Zhu Lingshan (20): vhost-vdpa: uapi to support reporting per vq size vDPA: introduce get_vq_size to vdpa_config_ops vDPA/ifcvf: implement vdpa_config_ops.get_vq_size vp_vdpa: implement vdpa_config_ops.get_vq_size eni_vdpa: implement vdpa_config_ops.get_vq_size vdpa_sim: implement vdpa_config_ops.get_vq_size for vDPA simulator vduse: implement vdpa_config_ops.get_vq_size for vduse virtio_vdpa: create vqs with the actual size vDPA/ifcvf: get_max_vq_size to return max size vDPA/ifcvf: implement vdpa_config_ops.get_vq_num_min vDPA: report virtio-block capacity to user space vDPA: report virtio-block max segment size to user space vDPA: report virtio-block block-size to user space vDPA: report virtio-block max segments in a request to user space vDPA: report virtio-block MQ info to user space vDPA: report virtio-block topology info to user space vDPA: report virtio-block discarding configuration to user space vDPA: report virtio-block write zeroes configuration to user space vDPA: report virtio-block read-only info to user space vDPA: report virtio-blk flush info to user space drivers/net/virtio_net.c | 151 +++++++++++++++--------- drivers/vdpa/alibaba/eni_vdpa.c | 8 ++ drivers/vdpa/ifcvf/ifcvf_base.c | 11 +- drivers/vdpa/ifcvf/ifcvf_base.h | 2 + drivers/vdpa/ifcvf/ifcvf_main.c | 15 +++ drivers/vdpa/mlx5/net/mlx5_vnet.c | 13 ++- drivers/vdpa/pds/aux_drv.c | 2 +- drivers/vdpa/pds/vdpa_dev.c | 20 +++- drivers/vdpa/pds/vdpa_dev.h | 1 + drivers/vdpa/vdpa.c | 214 ++++++++++++++++++++++++++++++++++- drivers/vdpa/vdpa_sim/vdpa_sim.c | 15 ++- drivers/vdpa/vdpa_user/iova_domain.c | 27 ++++- drivers/vdpa/vdpa_user/iova_domain.h | 8 ++ drivers/vdpa/vdpa_user/vduse_dev.c | 34 ++++++ drivers/vdpa/virtio_pci/vp_vdpa.c | 8 ++ drivers/vhost/net.c | 3 + drivers/vhost/vdpa.c | 14 +++ drivers/virtio/virtio.c | 6 +- drivers/virtio/virtio_ring.c | 6 +- drivers/virtio/virtio_vdpa.c | 5 +- include/linux/vdpa.h | 6 + include/uapi/linux/vdpa.h | 17 +++ include/uapi/linux/vhost.h | 7 ++ include/uapi/linux/virtio_pci.h | 10 +- 24 files changed, 521 insertions(+), 82 deletions(-)