From mboxrd@z Thu Jan 1 00:00:00 1970 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 3A1BB2147EA for ; Mon, 31 Mar 2025 16:34:13 +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=1743438857; cv=none; b=j6pITMOtECL5h+btWAwhHb/18Gt4sB/BwlHz2BwaPgyrflGsGYStu8OdvfKjiPZuWLjeGYGHeg5YxY17ViqOYvUvhPjLhcC8Po50d+LuKx3+4X6aSWmsHUKWaIdP/ph8xmWaIhAHauiM/tscU8qwWxYr+Eg2pcBEFLm3ZyVimko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743438857; c=relaxed/simple; bh=LyymiZcnvyCARp+PZ9YDJ/WjZzd+um0odXUXVVG8jWU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ozCNXJKAErYQ4G1Qpb4NeiRFyrjQwNF4kOdwL6fdGdI6YiTWv6X964zUoOjBTo4tM6Ct0uD8uvdyyFiLCUPX0PEgA4LZNQUkEMdHAn69PGj1GydGuk6G1cutoQJwkVAmiR8ez/694yoPjy58Ke5hhLAO5JfTTK+/VBQvn/yANjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=cVM3Xj++; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cVM3Xj++" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1743438853; 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: content-transfer-encoding:content-transfer-encoding; bh=buRU4hcgPy2p/+OGQ7gQUBzV/bybYL5hkzFKdPTt7bo=; b=cVM3Xj++TLYKuCA/FTGF/noZ2flO5MPM7Xm21vJkGeMRRln6Lh7F7/dSuT8oHNWhwm3C5z hlK7tFu4OxBgn9VYfWSZWpZsp2/jDc+KaAK6wrO1bU0H1aNrCaWm6Zk2IFLgRIG2RJ11Wo uMHX2bv09d+NISgC8M4b7j/51SFc7fM= 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.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-465-MXzt-nwlPEuGbr3zRwG4Xw-1; Mon, 31 Mar 2025 12:34:09 -0400 X-MC-Unique: MXzt-nwlPEuGbr3zRwG4Xw-1 X-Mimecast-MFC-AGG-ID: MXzt-nwlPEuGbr3zRwG4Xw_1743438849 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-43cf172ffe1so44762945e9.3 for ; Mon, 31 Mar 2025 09:34:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743438848; x=1744043648; h=content-transfer-encoding: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=buRU4hcgPy2p/+OGQ7gQUBzV/bybYL5hkzFKdPTt7bo=; b=TGAot8EZBAar2uze22Zy3EMVIau+/uCJ/YQMOug8wiMTg0eilG9h4ZWFzam+82RCtY doJvm9FVZRbqoU84IbH0bsLeVxPN13opZERzfN6vkwR4jil6/zib4D7c14pxLHIXspST wB9LzIkalcZ/0IhWG5Ss4c10i/1MrDxx1OG2yragNwo1GclQ3Q23B94lTP34/JWmRz0k 7rx1hPSNFQ0qFz6qu3wdbTeVzbKW8UQGt9YuaVWiPNVTdLXu3gqNrlFHOpIDqxEn1Jsv hGvx1UuIi2+VDZkv8aOL9n/Rj07ZfXH3shBSxhUT+LDe81Ux9fJEalGywtu+a3dlcRm4 s8Cg== X-Forwarded-Encrypted: i=1; AJvYcCX+it6YebYJgF3Rq3VQ1eAEHHlSp66Xa7t93ZEEpteg+YkWtlpw5M5joAI67asmFYh3JS0bMKk=@vger.kernel.org X-Gm-Message-State: AOJu0Yyo37neJsMDbdBdzFWDO1/nd946WKRO9vIVDXzJs9JSxN2PzQYK DWzDWPMDBrIAvKc9xV+q+KcFf6HkUoso7Bu71Q1wQBS2CU0PUE/rgILD2T/otZ6CjFrl8dVd/QV ATtsxV3KhR9FV06J/sfOZRz6Xjg9lkKDfeRrUOyn7i1LlLY0fmbmqnA== X-Gm-Gg: ASbGncv3bY3o4MjxOSGrkM6WwE51qwJzboWcP6xSycrmwVEdmzJB9bDbe3dK6eJ0c1O lR4SgrSQ85DZcpz4bu88InW5n2pcwPpHWLIZNXytEFkvmsvvSzaUxbMCbqRdQ/VWuh4jT1XumUt 9Qa5YU9zFbO/DzwMkIHAZv62NONPcUpew8eR/nlB//N89JUQYqL1ylfMc7i87TQzTnSLAfdbF5/ xtVR8T7w543EiiSxca0p1yH5jNxxLL5DECN79mXTBnARJLc3YnNejwrl+hDhK+v2g5sJLQzqs1k kzp12mRDNg== X-Received: by 2002:a05:600c:8117:b0:43c:efed:732d with SMTP id 5b1f17b1804b1-43e8e3cf858mr88891505e9.16.1743438848573; Mon, 31 Mar 2025 09:34:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRJoF9PNksiJNrRvv1RABMA+H1wRnu+cFNlckFr23sh4bFVTCISuxXvKws13VYTTCpsWyCEA== X-Received: by 2002:a05:600c:8117:b0:43c:efed:732d with SMTP id 5b1f17b1804b1-43e8e3cf858mr88891065e9.16.1743438848107; Mon, 31 Mar 2025 09:34:08 -0700 (PDT) Received: from redhat.com ([2a0d:6fc0:1517:1000:ea83:8e5f:3302:3575]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d82efeb11sm171403855e9.22.2025.03.31.09.34.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Mar 2025 09:34:07 -0700 (PDT) Date: Mon, 31 Mar 2025 12:34: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, anton.yakovlev@opensynergy.com, bettyzhou@google.com, cong.meng@oracle.com, dtatulea@nvidia.com, eauger@redhat.com, eperezma@redhat.com, eric.auger@redhat.com, hongyu.ning@linux.intel.com, jasowang@redhat.com, jstultz@google.com, kernel-team@android.com, kshk@linux.ibm.com, linux-sound@vger.kernel.org, michael.christie@oracle.com, mst@redhat.com, perex@perex.cz, sgarzare@redhat.com, si-wei.liu@oracle.com, stable@vger.kernel.org, stefanha@redhat.com, tiwai@suse.com, virtualization@lists.linux.dev, wangyufeng@kylinos.cn, wh1sper@zju.edu.cn Subject: [GIT PULL] virtio: features, fixes, cleanups Message-ID: <20250331123404-mutt-send-email-mst@kernel.org> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mutt-Fcc: =sent The following changes since commit d082ecbc71e9e0bf49883ee4afd435a77a5101b6: Linux 6.14-rc4 (2025-02-23 12:32:57 -0800) 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 9d8960672d63db4b3b04542f5622748b345c637a: vhost-scsi: Reduce response iov mem use (2025-02-25 07:10:46 -0500) ---------------------------------------------------------------- virtio: features, fixes, cleanups A small number of improvements all over the place: shutdown has been reworked to reset devices. virtio fs is now allowed in vduse. vhost-scsi memory use has been reduced. cleanups, fixes all over the place. A couple more fixes are being tested and will be merged after rc1. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- Eugenio Pérez (1): vduse: add virtio_fs to allowed dev id John Stultz (1): sound/virtio: Fix cancel_sync warnings on uninitialized work_structs Konstantin Shkolnyy (1): vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines Michael S. Tsirkin (1): virtio: break and reset virtio devices on device_shutdown() Mike Christie (9): vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint vhost-scsi: Reduce mem use by moving upages to per queue vhost-scsi: Allocate T10 PI structs only when enabled vhost-scsi: Add better resource allocation failure handling vhost-scsi: Return queue full for page alloc failures during copy vhost-scsi: Dynamically allocate scatterlists vhost-scsi: Stop duplicating se_cmd fields vhost-scsi: Allocate iov_iter used for unaligned copies when needed vhost-scsi: Reduce response iov mem use Si-Wei Liu (1): vdpa/mlx5: Fix oversized null mkey longer than 32bit Yufeng Wang (3): tools/virtio: Add DMA_MAPPING_ERROR and sg_dma_len api define for virtio test tools: virtio/linux/compiler.h: Add data_race() define. tools: virtio/linux/module.h add MODULE_DESCRIPTION() define. drivers/vdpa/mlx5/core/mr.c | 7 +- drivers/vdpa/mlx5/net/mlx5_vnet.c | 3 + drivers/vdpa/vdpa_user/vduse_dev.c | 1 + drivers/vhost/Kconfig | 1 + drivers/vhost/scsi.c | 549 +++++++++++++++++++++++-------------- drivers/virtio/virtio.c | 29 ++ sound/virtio/virtio_pcm.c | 21 +- tools/virtio/linux/compiler.h | 25 ++ tools/virtio/linux/dma-mapping.h | 13 + tools/virtio/linux/module.h | 7 + 10 files changed, 439 insertions(+), 217 deletions(-)