kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL v2] virtio, vhost: features, fixes
@ 2025-08-01 13:13 Michael S. Tsirkin
  2025-08-01 20:29 ` Linus Torvalds
  2025-08-01 21:36 ` pr-tracker-bot
  0 siblings, 2 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2025-08-01 13:13 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, alok.a.tiwari,
	anders.roxell, dtatulea, eperezma, eric.auger, jasowang,
	jonah.palmer, kraxel, leiyang, linux, lulu, michael.christie, mst,
	parav, si-wei.liu, stable, viresh.kumar, wangyuli, will, wquan,
	xiaopei01

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

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

----------------------------------------------------------------
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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL v2] virtio, vhost: features, fixes
  2025-08-01 13:13 [GIT PULL v2] virtio, vhost: features, fixes Michael S. Tsirkin
@ 2025-08-01 20:29 ` Linus Torvalds
  2025-08-01 21:01   ` Dr. David Alan Gilbert
  2025-08-01 21:36 ` pr-tracker-bot
  1 sibling, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2025-08-01 20:29 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: kvm, virtualization, netdev, linux-kernel, alok.a.tiwari,
	anders.roxell, dtatulea, eperezma, eric.auger, jasowang,
	jonah.palmer, kraxel, leiyang, linux, lulu, michael.christie,
	parav, si-wei.liu, stable, viresh.kumar, wangyuli, will, wquan,
	xiaopei01

On Fri, 1 Aug 2025 at 06:13, Michael S. Tsirkin <mst@redhat.com> wrote:
>
>         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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL v2] virtio, vhost: features, fixes
  2025-08-01 20:29 ` Linus Torvalds
@ 2025-08-01 21:01   ` Dr. David Alan Gilbert
  2025-08-01 21:15     ` Linus Torvalds
  0 siblings, 1 reply; 6+ messages in thread
From: Dr. David Alan Gilbert @ 2025-08-01 21:01 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Michael S. Tsirkin, kvm, virtualization, netdev, linux-kernel,
	alok.a.tiwari, anders.roxell, dtatulea, eperezma, eric.auger,
	jasowang, jonah.palmer, kraxel, leiyang, lulu, michael.christie,
	parav, si-wei.liu, stable, viresh.kumar, wangyuli, will, wquan,
	xiaopei01

* Linus Torvalds (torvalds@linux-foundation.org) wrote:
> On Fri, 1 Aug 2025 at 06:13, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> >         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

> So no. This is not acceptable, you can try again next time when you do
> it properly.
> 
>             Linus
> 
-- 
 -----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   |_______/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL v2] virtio, vhost: features, fixes
  2025-08-01 21:01   ` Dr. David Alan Gilbert
@ 2025-08-01 21:15     ` Linus Torvalds
  2025-08-01 21:34       ` Linus Torvalds
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2025-08-01 21:15 UTC (permalink / raw)
  To: Dr. David Alan Gilbert
  Cc: Michael S. Tsirkin, kvm, virtualization, netdev, linux-kernel,
	alok.a.tiwari, anders.roxell, dtatulea, eperezma, eric.auger,
	jasowang, jonah.palmer, kraxel, leiyang, lulu, michael.christie,
	parav, si-wei.liu, stable, viresh.kumar, wangyuli, will, wquan,
	xiaopei01

On Fri, 1 Aug 2025 at 14:01, Dr. David Alan Gilbert <linux@treblig.org> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL v2] virtio, vhost: features, fixes
  2025-08-01 21:15     ` Linus Torvalds
@ 2025-08-01 21:34       ` Linus Torvalds
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Torvalds @ 2025-08-01 21:34 UTC (permalink / raw)
  To: Dr. David Alan Gilbert
  Cc: Michael S. Tsirkin, kvm, virtualization, netdev, linux-kernel,
	alok.a.tiwari, anders.roxell, dtatulea, eperezma, eric.auger,
	jasowang, jonah.palmer, kraxel, leiyang, lulu, michael.christie,
	parav, si-wei.liu, stable, viresh.kumar, wangyuli, will, wquan,
	xiaopei01

On Fri, 1 Aug 2025 at 14:15, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL v2] virtio, vhost: features, fixes
  2025-08-01 13:13 [GIT PULL v2] virtio, vhost: features, fixes Michael S. Tsirkin
  2025-08-01 20:29 ` Linus Torvalds
@ 2025-08-01 21:36 ` pr-tracker-bot
  1 sibling, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2025-08-01 21:36 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Linus Torvalds, kvm, virtualization, netdev, linux-kernel,
	alok.a.tiwari, anders.roxell, dtatulea, eperezma, eric.auger,
	jasowang, jonah.palmer, kraxel, leiyang, linux, lulu,
	michael.christie, mst, parav, si-wei.liu, stable, viresh.kumar,
	wangyuli, will, wquan, xiaopei01

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

> 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!

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-01 21:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-01 13:13 [GIT PULL v2] virtio, vhost: features, fixes Michael S. Tsirkin
2025-08-01 20:29 ` Linus Torvalds
2025-08-01 21:01   ` Dr. David Alan Gilbert
2025-08-01 21:15     ` Linus Torvalds
2025-08-01 21:34       ` Linus Torvalds
2025-08-01 21:36 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).