Subject: [GIT PULL] virtio: last minute fixes

From: "Michael S. Tsirkin" <[email-masked]>
Date: Mon, 7 Mar 2022 06:03:32 -0500

The following changes since commit 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3:

  Linux 5.17-rc6 (2022-02-27 14:36:33 -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 3dd7d135e75cb37c8501ba02977332a2a487dd39:

  tools/virtio: handle fallout from folio work (2022-03-06 06:06:50 -0500)

----------------------------------------------------------------
virtio: last minute fixes

Some fixes that took a while to get ready. Not regressions,
but they look safe and seem to be worth to have.

Signed-off-by: Michael S. Tsirkin <[email-masked]>

----------------------------------------------------------------
Anirudh Rayabharam (1):
      vhost: fix hung thread due to erroneous iotlb entries

Michael S. Tsirkin (6):
      virtio: unexport virtio_finalize_features
      virtio: acknowledge all features before access
      virtio: document virtio_reset_device
      virtio_console: break out of buf poll on remove
      virtio: drop default for virtio-mem
      tools/virtio: handle fallout from folio work

Si-Wei Liu (3):
      vdpa: factor out vdpa_set_features_unlocked for vdpa internal use
      vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
      vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command

Stefano Garzarella (2):
      vhost: remove avail_event arg from vhost_update_avail_event()
      tools/virtio: fix virtio_test execution

Xie Yongji (3):
      vduse: Fix returning wrong type in vduse_domain_alloc_iova()
      virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
      virtio-blk: Remove BUG_ON() in virtio_queue_rq()

Zhang Min (1):
      vdpa: fix use-after-free on vp_vdpa_remove

 drivers/block/virtio_blk.c           | 20 ++++++-------
 drivers/char/virtio_console.c        |  7 +++++
 drivers/vdpa/mlx5/net/mlx5_vnet.c    | 34 ++++++++++++++++++++--
 drivers/vdpa/vdpa.c                  |  2 +-
 drivers/vdpa/vdpa_user/iova_domain.c |  2 +-
 drivers/vdpa/virtio_pci/vp_vdpa.c    |  2 +-
 drivers/vhost/iotlb.c                | 11 +++++++
 drivers/vhost/vdpa.c                 |  2 +-
 drivers/vhost/vhost.c                |  9 ++++--
 drivers/virtio/Kconfig               |  1 -
 drivers/virtio/virtio.c              | 56 ++++++++++++++++++++++++------------
 drivers/virtio/virtio_vdpa.c         |  2 +-
 include/linux/vdpa.h                 | 18 ++++++++----
 include/linux/virtio.h               |  1 -
 include/linux/virtio_config.h        |  3 +-
 tools/virtio/linux/mm_types.h        |  3 ++
 tools/virtio/virtio_test.c           |  1 +
 17 files changed, 127 insertions(+), 47 deletions(-)
 create mode 100644 tools/virtio/linux/mm_types.h