[GIT PULL] virtio,vhost: fixes, cleanups

From: Michael S. Tsirkin
Date: Wed Oct 01 2025 - 07:32:20 EST


The following changes since commit e5f0a698b34ed76002dc5cff3804a61c80233a7a:

Linux 6.17 (2025-09-28 14:39:22 -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 ed9f3ab9f3d3655e7447239cac80e4e0388faea8:

virtio-vdpa: Drop redundant conversion to bool (2025-10-01 07:24:55 -0400)

----------------------------------------------------------------
virtio,vhost: fixes, cleanups

Just fixes and cleanups this time around. The mapping cleanups are
preparing the ground for new features, though.
In order patches were almost there but I feel they didn't
spend enough time in next yet.

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

----------------------------------------------------------------
Jason Wang (9):
virtio_ring: constify virtqueue pointer for DMA helpers
virtio_ring: switch to use dma_{map|unmap}_page()
virtio: rename dma helpers
virtio: introduce virtio_map container union
virtio_ring: rename dma_handle to map_handle
virtio: introduce map ops in virtio core
vdpa: support virtio_map
vdpa: introduce map ops
vduse: switch to use virtio map API instead of DMA API

Michael S. Tsirkin (1):
vhost: vringh: Fix copy_to_iter return value check

Qianfeng Rong (1):
virtio_balloon: Remove redundant __GFP_NOWARN

Sheng Zhao (1):
vduse: Use fixed 4KB bounce pages for non-4KB page size

Xichao Zhao (1):
virtio-vdpa: Drop redundant conversion to bool

zhang jiao (1):
vhost: vringh: Modify the return value check

drivers/net/virtio_net.c | 28 +-
drivers/vdpa/Kconfig | 8 +-
drivers/vdpa/alibaba/eni_vdpa.c | 5 +-
drivers/vdpa/ifcvf/ifcvf_main.c | 5 +-
drivers/vdpa/mlx5/core/mr.c | 4 +-
drivers/vdpa/mlx5/net/mlx5_vnet.c | 15 +-
drivers/vdpa/octeon_ep/octep_vdpa_main.c | 6 +-
drivers/vdpa/pds/vdpa_dev.c | 5 +-
drivers/vdpa/solidrun/snet_main.c | 8 +-
drivers/vdpa/vdpa.c | 5 +-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 4 +-
drivers/vdpa/vdpa_user/iova_domain.c | 132 ++++++---
drivers/vdpa/vdpa_user/iova_domain.h | 7 +-
drivers/vdpa/vdpa_user/vduse_dev.c | 79 +++---
drivers/vdpa/virtio_pci/vp_vdpa.c | 5 +-
drivers/vhost/vdpa.c | 6 +-
drivers/vhost/vringh.c | 14 +-
drivers/virtio/virtio_balloon.c | 2 +-
drivers/virtio/virtio_ring.c | 459 +++++++++++++++++++------------
drivers/virtio/virtio_vdpa.c | 22 +-
include/linux/vdpa.h | 25 +-
include/linux/virtio.h | 46 +++-
include/linux/virtio_config.h | 72 +++++
include/linux/virtio_ring.h | 7 +-
24 files changed, 635 insertions(+), 334 deletions(-)