Skip to contentSkip to conversation

virtio, vhost: features, fixes

GIT PULL Merged Michael S. Tsirkin 4 participants 6 messages Aug 1, 2025

Subsystems (5)
lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

The following changes since commit 347e9f5043c89695b01e66b3ed111755afcf1911:

Linux 6.16-rc6 (2025-07-13 14:25:58 -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 6693731487a8145a9b039bc983d77edc47693855:

vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffers (2025-08-01 09:11:09 -0400)

Changes from v1:
drop commits that I put in there by mistake. Sorry!

----------------------------------------------------------------
virtio, vhost: features, fixes

vhost can now support legacy threading
if enabled in Kconfig
vsock memory allocation strategies for
large buffers have been improved,
reducing pressure on kmalloc
vhost now supports the in-order feature
guest bits missed the merge window

fixes, cleanups all over the place

----------------------------------------------------------------
Alok Tiwari (4):
virtio: Fix typo in register_virtio_device() doc comment
vhost-scsi: Fix typos and formatting in comments and logs
vhost: Fix typos
vhost-scsi: Fix check for inline_sg_cnt exceeding preallocated limit

Anders Roxell (1):
vdpa: Fix IDR memory leak in VDUSE module exit

Cindy Lu (1):
vhost: Reintroduce kthread API and add mode selection

Dr. David Alan Gilbert (2):
vhost: vringh: Remove unused iotlb functions
vhost: vringh: Remove unused functions

Dragos Tatulea (2):
vdpa/mlx5: Fix needs_teardown flag calculation vdpa/mlx5: Fix release of uninitialized resources on error path

Gerd Hoffmann (1):
drm/virtio: implement virtio_gpu_shutdown

Jason Wang (3):
vhost: fail early when __vhost_add_used() fails
vhost: basic in order support
vhost_net: basic in_order support

Michael S. Tsirkin (2):
virtio: fix comments, readability
virtio: document ENOSPC

Mike Christie (1):
vhost-scsi: Fix log flooding with target does not exist errors

Pei Xiao (1):
vhost: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))

Viresh Kumar (2):
virtio-mmio: Remove virtqueue list from mmio device
virtio-vdpa: Remove virtqueue list

WangYuli (1):
virtio: virtio_dma_buf: fix missing parameter documentation

Will Deacon (9):
vhost/vsock: Avoid allocating arbitrarily-sized SKBs vsock/virtio: Validate length in packet header before skb_put() vsock/virtio: Move length check to callers of virtio_vsock_skb_rx_put() vsock/virtio: Resize receive buffers so that each SKB fits in a 4K page vsock/virtio: Rename virtio_vsock_alloc_skb()
vsock/virtio: Move SKB allocation lower-bound check to callers vhost/vsock: Allocate nonlinear SKBs for handling large receive buffers vsock/virtio: Rename virtio_vsock_skb_rx_put()
vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffers

 drivers/gpu/drm/virtio/virtgpu_drv.c    |   8 +-
 drivers/vdpa/mlx5/core/mr.c             |   3 +
 drivers/vdpa/mlx5/net/mlx5_vnet.c       |  12 +-
 drivers/vdpa/vdpa_user/vduse_dev.c      |   1 +
 drivers/vhost/Kconfig                   |  18 ++
 drivers/vhost/net.c                     |  88 +++++---
 drivers/vhost/scsi.c                    |  24 +-
 drivers/vhost/vhost.c                   | 377 ++++++++++++++++++++++++++++----
 drivers/vhost/vhost.h                   |  30 ++-
 drivers/vhost/vringh.c                  | 118 ----------
 drivers/vhost/vsock.c                   |  15 +-
 drivers/virtio/virtio.c                 |   7 +-
 drivers/virtio/virtio_dma_buf.c         |   2 +
 drivers/virtio/virtio_mmio.c            |  52 +----
 drivers/virtio/virtio_ring.c            |   4 +
 drivers/virtio/virtio_vdpa.c            |  44 +---
 include/linux/virtio.h                  |   2 +-
 include/linux/virtio_vsock.h            |  46 +++-
 include/linux/vringh.h                  |  12 -
 include/uapi/linux/vhost.h              |  29 +++
 kernel/vhost_task.c                     |   2 +-
 net/vmw_vsock/virtio_transport.c        |  20 +-
 net/vmw_vsock/virtio_transport_common.c |   3 +-
 23 files changed, 575 insertions(+), 342 deletions(-)
#1 lore raw
Quoted 2 lines · Michael S. Tsirkin

drop commits that I put in there by mistake. Sorry!

Not only does this mean they were all recently rebased, absolutely *NONE* of this has been in linux-next as fat as I can tell. Not in a rebased form _or_ in the pre-rebased form.

So no. This is not acceptable, you can try again next time when you do it properly.

Linus

#2 lore raw
Quoted 7 lines · * Linus Torvalds ([email protected]) wrote:
Quoted 2 lines · Michael S. Tsirkin

drop commits that I put in there by mistake. Sorry!

Not only does this mean they were all recently rebased, absolutely *NONE* of this has been in linux-next as fat as I can tell. Not in a rebased form _or_ in the pre-rebased form.

My notes say that I saw my two vhost: vringh deadcode patches in -next on 2025-07-17.

Dave

Quoted 5 lines

So no. This is not acceptable, you can try again next time when you do it properly.

Linus

Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
#3 lore raw
Quoted 3 lines · Dr. David Alan Gilbert

My notes say that I saw my two vhost: vringh deadcode patches in -next on 2025-07-17.

Oh. My bad.

My linux-next head was not up-to-date: I had fetched the new state, but the branch was still pointing to the previous one.

My apologies - they are indeed there, and I was simply looking at stale state.

So while it's recently rebased, the commits have been in linux-next and I was just wrong.

Linus

#4 lore raw
Quoted 5 lines · Linus Torvalds

My apologies - they are indeed there, and I was simply looking at stale state.

So while it's recently rebased, the commits have been in linux-next and I was just wrong.

Pulled and pushed out. Sorry again for blaming Michael for my own incompetence.

Linus

merge bot Merged
#5 lore raw
In reply to Michael S. Tsirkin
The pull request you sent on Fri, 1 Aug 2025 09:13:18 -0400:

The pull request you sent on Fri, 1 Aug 2025 09:13:18 -0400:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/821c9e515db512904250e1d460109a1dc4c7ef6b

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html