Re: [GIT PULL] virtio, vhost: features, fixes
On Fri, Aug 01, 2025 at 09:03:35AM -0400, Michael S. Tsirkin wrote: > On Fri, Aug 01, 2025 at 07:00:32AM -0400, Michael S. Tsirkin wrote: > > 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 c7991b44d7b44f9270dec63acd0b2965d29aab43: > > > > vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffers > > (2025-07-17 08:33:09 -0400) > > Oh no I am sorry! Please ignore, a bad commit snuck in there - it still > needs maintainer approval, and I forgot. > Will resend. > Sent v2 now. I wanted to apologize for this. I mistakenly put bad commits on the branch called "master" and when looking at "git log" I did not notice I was only looking at commits since "master" and not "origin/master". I should have reviewed the list of changes in the email before sending, but as it's autogenerated as opposed the cover letter part that I write myself, I was focusing on the latter and missed the bad commits in the former. A less for me to remember to pay attention to that part, as well. Thanks! > > > > 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 > > > > > > Alexandre Courbot (1): > > media: add virtio-media driver > > > > 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 (6): > > virtio: document ENOSPC > > pci: report surprise removal event > > virtio: fix comments, readability > > virtio: pack config changed flags > > virtio: allow transports to suppress config change > > virtio: support device disconnect > > > > 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 > > > > MAINTAINERS|6 + > > drivers/gpu/drm/virtio/virtgpu_drv.c |8 +- > > drivers/media/Kconfig | 13 + > > drivers/media/Makefile |2 + > > drivers/media/virtio/Makefile |9 + > > drivers/media/virtio/protocol.h| 288 ++ > > drivers/media/virtio/scatterlist_builder.c | 563 > > drivers/media/virtio/scatterlist_builder.h | 111 +++ > > drivers/media/virtio/session.h | 109 +++ > > drivers/media/virtio/virtio_media.h| 93 ++ > > drivers/media/virtio/virtio_media_driver.c | 959 > > dri
Re: [GIT PULL] virtio, vhost: features, fixes
On Fri, Aug 01, 2025 at 07:00:32AM -0400, Michael S. Tsirkin wrote: > 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 c7991b44d7b44f9270dec63acd0b2965d29aab43: > > vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffers > (2025-07-17 08:33:09 -0400) Oh no I am sorry! Please ignore, a bad commit snuck in there - it still needs maintainer approval, and I forgot. Will resend. > > 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 > > > Alexandre Courbot (1): > media: add virtio-media driver > > 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 (6): > virtio: document ENOSPC > pci: report surprise removal event > virtio: fix comments, readability > virtio: pack config changed flags > virtio: allow transports to suppress config change > virtio: support device disconnect > > 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 > > MAINTAINERS|6 + > drivers/gpu/drm/virtio/virtgpu_drv.c |8 +- > drivers/media/Kconfig | 13 + > drivers/media/Makefile |2 + > drivers/media/virtio/Makefile |9 + > drivers/media/virtio/protocol.h| 288 ++ > drivers/media/virtio/scatterlist_builder.c | 563 > drivers/media/virtio/scatterlist_builder.h | 111 +++ > drivers/media/virtio/session.h | 109 +++ > drivers/media/virtio/virtio_media.h| 93 ++ > drivers/media/virtio/virtio_media_driver.c | 959 > drivers/media/virtio/virtio_media_ioctls.c | 1297 > > drivers/pci/pci.h |6 + > 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| 25 +- > drivers/virtio/virtio_dma_buf.c|2 + > drivers/v
[GIT PULL] virtio, vhost: features, fixes
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 c7991b44d7b44f9270dec63acd0b2965d29aab43: vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffers (2025-07-17 08:33:09 -0400) 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 Alexandre Courbot (1): media: add virtio-media driver 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 (6): virtio: document ENOSPC pci: report surprise removal event virtio: fix comments, readability virtio: pack config changed flags virtio: allow transports to suppress config change virtio: support device disconnect 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 MAINTAINERS|6 + drivers/gpu/drm/virtio/virtgpu_drv.c |8 +- drivers/media/Kconfig | 13 + drivers/media/Makefile |2 + drivers/media/virtio/Makefile |9 + drivers/media/virtio/protocol.h| 288 ++ drivers/media/virtio/scatterlist_builder.c | 563 drivers/media/virtio/scatterlist_builder.h | 111 +++ drivers/media/virtio/session.h | 109 +++ drivers/media/virtio/virtio_media.h| 93 ++ drivers/media/virtio/virtio_media_driver.c | 959 drivers/media/virtio/virtio_media_ioctls.c | 1297 drivers/pci/pci.h |6 + 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| 25 +- drivers/virtio/virtio_dma_buf.c|2 + drivers/virtio/virtio_mmio.c | 52 +- drivers/virtio/virtio_pci_common.c | 45 + drivers/virtio/virtio_pci_common.h |3 + drivers/virtio/virtio_pci_legacy.c |2 + drivers/virtio/virtio_pci_modern.c |2 + drivers/virtio/virtio_ring.c |4 + drivers/virtio/virtio_vdpa.c | 44 +- include/linux/pci.h| 45 + include/lin
Re: [GIT PULL] virtio, vhost: features, fixes
The pull request you sent on Wed, 28 May 2025 03:27:24 -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/8ca154e4910efff1b04e7750e007d75732c68323 Thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html
[GIT PULL] virtio, vhost: features, fixes
Hi Linus, There are several bugfixes I'm testing for post rc1 on top of this, but they are pretty minor. The following changes since commit a5806cd506af5a7c19bcd596e4708b5c464bfd21: Linux 6.15-rc7 (2025-05-18 13:57:29 -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 206cc44588f72b49ad4d7e21a7472ab2a72a83df: virtio: reject shm region if length is zero (2025-05-28 03:19:03 -0400) virtio, vhost: features, fixes A new virtio RTC driver. vhost scsi now logs write descriptors so migration works. Some hardening work in virtio core. An old spec compliance issue fixed in vhost net. A couple of cleanups, fixes in vringh, virtio-pci, vdpa. Signed-off-by: Michael S. Tsirkin Christoph Hellwig (1): vringh: use bvec_kmap_local Dongli Zhang (5): vhost: modify vhost_log_write() for broader users vhost-scsi: adjust vhost_scsi_get_desc() to log vring descriptors vhost-scsi: log I/O queue write descriptors vhost-scsi: log control queue write descriptors vhost-scsi: log event queue write descriptors Israel Rukshin (1): virtio-pci: Fix result size returned for the admin command completion Kees Cook (1): vhost: vringh: Use matching allocation type in resize_iovec() Peter Hilber (4): virtio_rtc: Add module and driver core virtio_rtc: Add PTP clocks virtio_rtc: Add Arm Generic Timer cross-timestamping virtio_rtc: Add RTC class driver Philipp Stanner (1): vdpa/octeon_ep: Control PCI dev enabling manually Sami Uddin (1): virtio: reject shm region if length is zero MAINTAINERS |7 + drivers/vdpa/octeon_ep/octep_vdpa_main.c | 17 +- drivers/vhost/scsi.c | 190 +++- drivers/vhost/vhost.c| 28 +- drivers/vhost/vringh.c | 19 +- drivers/virtio/Kconfig | 64 ++ drivers/virtio/Makefile |5 + drivers/virtio/virtio_pci_modern.c | 13 +- drivers/virtio/virtio_rtc_arm.c | 23 + drivers/virtio/virtio_rtc_class.c| 262 ++ drivers/virtio/virtio_rtc_driver.c | 1407 ++ drivers/virtio/virtio_rtc_internal.h | 122 +++ drivers/virtio/virtio_rtc_ptp.c | 347 include/linux/virtio_config.h|2 + include/uapi/linux/virtio_rtc.h | 237 + 15 files changed, 2707 insertions(+), 36 deletions(-) create mode 100644 drivers/virtio/virtio_rtc_arm.c create mode 100644 drivers/virtio/virtio_rtc_class.c create mode 100644 drivers/virtio/virtio_rtc_driver.c create mode 100644 drivers/virtio/virtio_rtc_internal.h create mode 100644 drivers/virtio/virtio_rtc_ptp.c create mode 100644 include/uapi/linux/virtio_rtc.h

