linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] virtio: features, fixes, cleanups
@ 2024-07-17  9:30 Michael S. Tsirkin
  2024-07-18  0:52 ` Jason Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Michael S. Tsirkin @ 2024-07-17  9:30 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, aha310510, arefev,
	arseny.krasnov, davem, dtatulea, eperezma, glider, iii, jasowang,
	jiri, jiri, kuba, lingshan.zhu, mst, ndabilpuram, pgootzen,
	pizhenwei, quic_jjohnson, schalla, stefanha, sthotton,
	syzbot+6c21aeb59d0e82eb2782, vattunuru, will, xuanzhuo, yskelg

This is relatively small.
I had to drop a buggy commit in the middle so some hashes
changed from what was in linux-next.
Deferred admin vq scalability fix to after rc2 as a minor issue was
found with it recently, but the infrastructure for it
is there now.

The following changes since commit e9d22f7a6655941fc8b2b942ed354ec780936b3e:

  Merge tag 'linux_kselftest-fixes-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest (2024-07-02 13:53:24 -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 6c85d6b653caeba2ef982925703cbb4f2b3b3163:

  virtio: rename virtio_find_vqs_info() to virtio_find_vqs() (2024-07-17 05:20:58 -0400)

----------------------------------------------------------------
virtio: features, fixes, cleanups

Several new features here:

- Virtio find vqs API has been reworked
  (required to fix the scalability issue we have with
   adminq, which I hope to merge later in the cycle)

- vDPA driver for Marvell OCTEON

- virtio fs performance improvement

- mlx5 migration speedups

Fixes, cleanups all over the place.

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

----------------------------------------------------------------
Denis Arefev (1):
      net: missing check virtio

Dragos Tatulea (24):
      vdpa/mlx5: Clarify meaning thorough function rename
      vdpa/mlx5: Make setup/teardown_vq_resources() symmetrical
      vdpa/mlx5: Drop redundant code
      vdpa/mlx5: Drop redundant check in teardown_virtqueues()
      vdpa/mlx5: Iterate over active VQs during suspend/resume
      vdpa/mlx5: Remove duplicate suspend code
      vdpa/mlx5: Initialize and reset device with one queue pair
      vdpa/mlx5: Clear and reinitialize software VQ data on reset
      vdpa/mlx5: Rename init_mvqs
      vdpa/mlx5: Add support for modifying the virtio_version VQ field
      vdpa/mlx5: Add support for modifying the VQ features field
      vdpa/mlx5: Set an initial size on the VQ
      vdpa/mlx5: Start off rqt_size with max VQPs
      vdpa/mlx5: Set mkey modified flags on all VQs
      vdpa/mlx5: Allow creation of blank VQs
      vdpa/mlx5: Accept Init -> Ready VQ transition in resume_vq()
      vdpa/mlx5: Add error code for suspend/resume VQ
      vdpa/mlx5: Consolidate all VQ modify to Ready to use resume_vq()
      vdpa/mlx5: Forward error in suspend/resume device
      vdpa/mlx5: Use suspend/resume during VQP change
      vdpa/mlx5: Pre-create hardware VQs at vdpa .dev_add time
      vdpa/mlx5: Re-create HW VQs under certain conditions
      vdpa/mlx5: Don't reset VQs more than necessary
      vdpa/mlx5: Don't enable non-active VQs in .set_vq_ready()

Jeff Johnson (3):
      vringh: add MODULE_DESCRIPTION()
      virtio: add missing MODULE_DESCRIPTION() macros
      vDPA: add missing MODULE_DESCRIPTION() macros

Jiri Pirko (19):
      caif_virtio: use virtio_find_single_vq() for single virtqueue finding
      virtio: make virtio_find_vqs() call virtio_find_vqs_ctx()
      virtio: make virtio_find_single_vq() call virtio_find_vqs()
      virtio: introduce virtio_queue_info struct and find_vqs_info() config op
      virtio_pci: convert vp_*find_vqs() ops to find_vqs_info()
      virtio: convert find_vqs() op implementations to find_vqs_info()
      virtio: call virtio_find_vqs_info() from virtio_find_single_vq() directly
      virtio: remove the original find_vqs() op
      virtio: rename find_vqs_info() op to find_vqs()
      virtio_blk: convert to use virtio_find_vqs_info()
      virtio_console: convert to use virtio_find_vqs_info()
      virtio_crypto: convert to use virtio_find_vqs_info()
      virtio_net: convert to use virtio_find_vqs_info()
      scsi: virtio_scsi: convert to use virtio_find_vqs_info()
      virtiofs: convert to use virtio_find_vqs_info()
      virtio_balloon: convert to use virtio_find_vqs_info()
      virtio: convert the rest virtio_find_vqs() users to virtio_find_vqs_info()
      virtio: remove unused virtio_find_vqs() and virtio_find_vqs_ctx() helpers
      virtio: rename virtio_find_vqs_info() to virtio_find_vqs()

Michael S. Tsirkin (2):
      vhost/vsock: always initialize seqpacket_allow
      vhost: move smp_rmb() into vhost_get_avail_idx()

Peter-Jan Gootzen (2):
      virtio-fs: let -ENOMEM bubble up or burst gently
      virtio-fs: improved request latencies when Virtio queue is full

Srujana Challa (1):
      virtio: vdpa: vDPA driver for Marvell OCTEON DPU devices

Xuan Zhuo (1):
      virtio_ring: fix KMSAN error for premapped mode

Yunseong Kim (1):
      tools/virtio: creating pipe assertion in vringh_test

Zhu Lingshan (1):
      MAINTAINERS: Change lingshan's email to kernel.org

zhenwei pi (1):
      virtio_balloon: separate vm events into a function

 MAINTAINERS                                   |   7 +-
 arch/um/drivers/virt-pci.c                    |   8 +-
 arch/um/drivers/virtio_uml.c                  |  12 +-
 drivers/block/virtio_blk.c                    |  20 +-
 drivers/bluetooth/virtio_bt.c                 |  13 +-
 drivers/char/virtio_console.c                 |  43 +-
 drivers/crypto/virtio/virtio_crypto_core.c    |  31 +-
 drivers/firmware/arm_scmi/virtio.c            |  11 +-
 drivers/gpio/gpio-virtio.c                    |  10 +-
 drivers/gpu/drm/virtio/virtgpu_kms.c          |   9 +-
 drivers/iommu/virtio-iommu.c                  |  11 +-
 drivers/net/caif/caif_virtio.c                |   8 +-
 drivers/net/virtio_net.c                      |  34 +-
 drivers/net/wireless/virtual/mac80211_hwsim.c |  12 +-
 drivers/platform/mellanox/mlxbf-tmfifo.c      |  10 +-
 drivers/remoteproc/remoteproc_virtio.c        |  12 +-
 drivers/rpmsg/virtio_rpmsg_bus.c              |   8 +-
 drivers/s390/virtio/virtio_ccw.c              |  13 +-
 drivers/scsi/virtio_scsi.c                    |  32 +-
 drivers/vdpa/Kconfig                          |  11 +
 drivers/vdpa/Makefile                         |   1 +
 drivers/vdpa/ifcvf/ifcvf_main.c               |   1 +
 drivers/vdpa/mlx5/net/mlx5_vnet.c             | 429 ++++++++-----
 drivers/vdpa/mlx5/net/mlx5_vnet.h             |   1 +
 drivers/vdpa/octeon_ep/Makefile               |   4 +
 drivers/vdpa/octeon_ep/octep_vdpa.h           |  94 +++
 drivers/vdpa/octeon_ep/octep_vdpa_hw.c        | 517 ++++++++++++++++
 drivers/vdpa/octeon_ep/octep_vdpa_main.c      | 857 ++++++++++++++++++++++++++
 drivers/vdpa/vdpa.c                           |   1 +
 drivers/vhost/vhost.c                         | 105 ++--
 drivers/vhost/vringh.c                        |   1 +
 drivers/vhost/vsock.c                         |   4 +-
 drivers/virtio/virtio.c                       |   1 +
 drivers/virtio/virtio_balloon.c               |  75 ++-
 drivers/virtio/virtio_input.c                 |   9 +-
 drivers/virtio/virtio_mmio.c                  |  12 +-
 drivers/virtio/virtio_pci_common.c            |  48 +-
 drivers/virtio/virtio_pci_common.h            |   3 +-
 drivers/virtio/virtio_pci_modern.c            |   5 +-
 drivers/virtio/virtio_ring.c                  |   5 +-
 drivers/virtio/virtio_vdpa.c                  |  13 +-
 fs/fuse/virtio_fs.c                           |  62 +-
 include/linux/mlx5/mlx5_ifc_vdpa.h            |   2 +
 include/linux/virtio_config.h                 |  64 +-
 include/linux/virtio_net.h                    |  11 +
 net/vmw_vsock/virtio_transport.c              |  16 +-
 sound/virtio/virtio_card.c                    |  23 +-
 tools/virtio/vringh_test.c                    |   9 +-
 48 files changed, 2145 insertions(+), 543 deletions(-)
 create mode 100644 drivers/vdpa/octeon_ep/Makefile
 create mode 100644 drivers/vdpa/octeon_ep/octep_vdpa.h
 create mode 100644 drivers/vdpa/octeon_ep/octep_vdpa_hw.c
 create mode 100644 drivers/vdpa/octeon_ep/octep_vdpa_main.c


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [GIT PULL] virtio: features, fixes, cleanups
@ 2025-03-31 16:34 Michael S. Tsirkin
  2025-04-02  3:00 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Michael S. Tsirkin @ 2025-03-31 16:34 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, anton.yakovlev,
	bettyzhou, cong.meng, dtatulea, eauger, eperezma, eric.auger,
	hongyu.ning, jasowang, jstultz, kernel-team, kshk, linux-sound,
	michael.christie, mst, perex, sgarzare, si-wei.liu, stable,
	stefanha, tiwai, virtualization, wangyufeng, wh1sper

The following changes since commit d082ecbc71e9e0bf49883ee4afd435a77a5101b6:

  Linux 6.14-rc4 (2025-02-23 12:32:57 -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 9d8960672d63db4b3b04542f5622748b345c637a:

  vhost-scsi: Reduce response iov mem use (2025-02-25 07:10:46 -0500)

----------------------------------------------------------------
virtio: features, fixes, cleanups

A small number of improvements all over the place:

shutdown has been reworked to reset devices.
virtio fs is now allowed in vduse.
vhost-scsi memory use has been reduced.

cleanups, fixes all over the place.

A couple more fixes are being tested and will be merged after rc1.

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

----------------------------------------------------------------
Eugenio Pérez (1):
      vduse: add virtio_fs to allowed dev id

John Stultz (1):
      sound/virtio: Fix cancel_sync warnings on uninitialized work_structs

Konstantin Shkolnyy (1):
      vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines

Michael S. Tsirkin (1):
      virtio: break and reset virtio devices on device_shutdown()

Mike Christie (9):
      vhost-scsi: Fix handling of multiple calls to vhost_scsi_set_endpoint
      vhost-scsi: Reduce mem use by moving upages to per queue
      vhost-scsi: Allocate T10 PI structs only when enabled
      vhost-scsi: Add better resource allocation failure handling
      vhost-scsi: Return queue full for page alloc failures during copy
      vhost-scsi: Dynamically allocate scatterlists
      vhost-scsi: Stop duplicating se_cmd fields
      vhost-scsi: Allocate iov_iter used for unaligned copies when needed
      vhost-scsi: Reduce response iov mem use

Si-Wei Liu (1):
      vdpa/mlx5: Fix oversized null mkey longer than 32bit

Yufeng Wang (3):
      tools/virtio: Add DMA_MAPPING_ERROR and sg_dma_len api define for virtio test
      tools: virtio/linux/compiler.h: Add data_race() define.
      tools: virtio/linux/module.h add MODULE_DESCRIPTION() define.

 drivers/vdpa/mlx5/core/mr.c        |   7 +-
 drivers/vdpa/mlx5/net/mlx5_vnet.c  |   3 +
 drivers/vdpa/vdpa_user/vduse_dev.c |   1 +
 drivers/vhost/Kconfig              |   1 +
 drivers/vhost/scsi.c               | 549 +++++++++++++++++++++++--------------
 drivers/virtio/virtio.c            |  29 ++
 sound/virtio/virtio_pcm.c          |  21 +-
 tools/virtio/linux/compiler.h      |  25 ++
 tools/virtio/linux/dma-mapping.h   |  13 +
 tools/virtio/linux/module.h        |   7 +
 10 files changed, 439 insertions(+), 217 deletions(-)


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [GIT PULL] virtio: features, fixes, cleanups
@ 2025-01-27 14:51 Michael S. Tsirkin
  2025-01-28  1:07 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Michael S. Tsirkin @ 2025-01-27 14:51 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, akihiko.odaki, akpm,
	bhe, david, israelr, jasowang, mst, pstanner, sgarzare,
	skoteshwar, sthotton, xieyongji, yuxue.liu, zhangjiao2

There are still some known issues that I hope to address by rc2.
Giving them more time to get tested for now - none of them are
regressions.

The following changes since commit 9d89551994a430b50c4fffcb1e617a057fa76e20:

  Linux 6.13-rc6 (2025-01-05 14:13:40 -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 5820a3b08987951e3e4a89fca8ab6e1448f672e1:

  virtio_blk: Add support for transport error recovery (2025-01-27 09:39:26 -0500)

----------------------------------------------------------------
virtio: features, fixes, cleanups

A small number of improvements all over the place:

vdpa/octeon gained support for multiple interrupts
virtio-pci gained support for error recovery
vp_vdpa gained support for notification with data
vhost/net has been fixed to set num_buffers for spec compliance
virtio-mem now works with kdump on s390

Small cleanups all over the place.

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

----------------------------------------------------------------
Akihiko Odaki (1):
      vhost/net: Set num_buffers for virtio 1.0

David Hildenbrand (12):
      fs/proc/vmcore: convert vmcore_cb_lock into vmcore_mutex
      fs/proc/vmcore: replace vmcoredd_mutex by vmcore_mutex
      fs/proc/vmcore: disallow vmcore modifications while the vmcore is open
      fs/proc/vmcore: prefix all pr_* with "vmcore:"
      fs/proc/vmcore: move vmcore definitions out of kcore.h
      fs/proc/vmcore: factor out allocating a vmcore range and adding it to a list
      fs/proc/vmcore: factor out freeing a list of vmcore ranges
      fs/proc/vmcore: introduce PROC_VMCORE_DEVICE_RAM to detect device RAM ranges in 2nd kernel
      virtio-mem: mark device ready before registering callbacks in kdump mode
      virtio-mem: remember usable region size
      virtio-mem: support CONFIG_PROC_VMCORE_DEVICE_RAM
      s390/kdump: virtio-mem kdump support (CONFIG_PROC_VMCORE_DEVICE_RAM)

Israel Rukshin (2):
      virtio_pci: Add support for PCIe Function Level Reset
      virtio_blk: Add support for transport error recovery

Philipp Stanner (1):
      vdpa: solidrun: Replace deprecated PCI functions

Satha Rao (1):
      vdpa/octeon_ep: handle device config change events

Shijith Thotton (3):
      vdpa/octeon_ep: enable support for multiple interrupts per device
      virtio-pci: define type and header for PCI vendor data
      vdpa/octeon_ep: read vendor-specific PCI capability

Yongji Xie (1):
      vduse: relicense under GPL-2.0 OR BSD-3-Clause

Yuxue Liu (1):
      vdpa/vp_vdpa: implement kick_vq_with_data callback

zhang jiao (1):
      virtio_balloon: Use outer variable 'page'

 arch/s390/Kconfig                        |   1 +
 arch/s390/kernel/crash_dump.c            |  39 ++++-
 drivers/block/virtio_blk.c               |  28 ++-
 drivers/vdpa/octeon_ep/octep_vdpa.h      |  32 +++-
 drivers/vdpa/octeon_ep/octep_vdpa_hw.c   |  38 ++++-
 drivers/vdpa/octeon_ep/octep_vdpa_main.c |  99 +++++++----
 drivers/vdpa/solidrun/snet_main.c        |  57 +++----
 drivers/vdpa/virtio_pci/vp_vdpa.c        |   9 +
 drivers/vhost/net.c                      |   5 +-
 drivers/virtio/virtio.c                  |  94 +++++++---
 drivers/virtio/virtio_balloon.c          |   2 +-
 drivers/virtio/virtio_mem.c              | 103 ++++++++++-
 drivers/virtio/virtio_pci_common.c       |  41 +++++
 fs/proc/Kconfig                          |  19 +++
 fs/proc/vmcore.c                         | 283 ++++++++++++++++++++++++-------
 include/linux/crash_dump.h               |  41 +++++
 include/linux/kcore.h                    |  13 --
 include/linux/virtio.h                   |   8 +
 include/uapi/linux/vduse.h               |   2 +-
 include/uapi/linux/virtio_pci.h          |  14 ++
 20 files changed, 735 insertions(+), 193 deletions(-)


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [GIT PULL] virtio: features, fixes, cleanups
@ 2024-11-26 21:31 Michael S. Tsirkin
  2024-11-27  8:30 ` Michael S. Tsirkin
  2024-11-27 21:40 ` pr-tracker-bot
  0 siblings, 2 replies; 24+ messages in thread
From: Michael S. Tsirkin @ 2024-11-26 21:31 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, colin.i.king, dtatulea,
	eperezma, huangwenyu1998, jasowang, mgurtovoy, mst, philipchen,
	si-wei.liu


I was hoping to get vhost threading compat fixes in but no luck.
A very quiet merge cycle - I guess it's a sign we got a lot merged
last time, and everyone is busy testing. Right, guys?

The following changes since commit 83e445e64f48bdae3f25013e788fcf592f142576:

  vdpa/mlx5: Fix error path during device add (2024-11-07 16:51:16 -0500)

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 6a39bb15b3d1c355ab198d41f9590379d734f0bb:

  virtio_vdpa: remove redundant check on desc (2024-11-12 18:07:46 -0500)

----------------------------------------------------------------
virtio: features, fixes, cleanups

A small number of improvements all over the place.

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

----------------------------------------------------------------
Colin Ian King (1):
      virtio_vdpa: remove redundant check on desc

Max Gurtovoy (2):
      virtio_fs: add informative log for new tag discovery
      virtio_fs: store actual queue index in mq_map

Philip Chen (1):
      virtio_pmem: Add freeze/restore callbacks

Si-Wei Liu (2):
      vdpa/mlx5: Fix PA offset with unaligned starting iotlb map
      vdpa/mlx5: Fix suboptimal range on iotlb iteration

Wenyu Huang (1):
      virtio: Make vring_new_virtqueue support packed vring

 drivers/nvdimm/virtio_pmem.c |  24 +++++
 drivers/vdpa/mlx5/core/mr.c  |  12 +--
 drivers/virtio/virtio_ring.c | 227 +++++++++++++++++++++++--------------------
 drivers/virtio/virtio_vdpa.c |   3 +-
 fs/fuse/virtio_fs.c          |  13 +--
 5 files changed, 159 insertions(+), 120 deletions(-)


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [GIT PULL] virtio: features, fixes, cleanups
@ 2024-09-24 20:50 Michael S. Tsirkin
  2024-09-25  7:38 ` Stefano Garzarella
  2024-09-25 11:05 ` Michael S. Tsirkin
  0 siblings, 2 replies; 24+ messages in thread
From: Michael S. Tsirkin @ 2024-09-24 20:50 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, david, dtatulea,
	eperezma, jasowang, leiyang, leonro, lihongbo22, luigi.leonardi,
	lulu, marco.pinn95, mgurtovoy, mst, pankaj.gupta.linux,
	philipchen, pizhenwei, sgarzare, yuehaibing, zhujun2

The following changes since commit 431c1646e1f86b949fa3685efc50b660a364c2b6:

  Linux 6.11-rc6 (2024-09-01 19:46:02 +1200)

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 1bc6f4910ae955971097f3f2ae0e7e63fa4250ae:

  vsock/virtio: avoid queuing packets when intermediate queue is empty (2024-09-12 02:54:10 -0400)

----------------------------------------------------------------
virtio: features, fixes, cleanups

Several new features here:

	virtio-balloon supports new stats

	vdpa supports setting mac address

	vdpa/mlx5 suspend/resume as well as MKEY ops are now faster

	virtio_fs supports new sysfs entries for queue info

	virtio/vsock performance has been improved

Fixes, cleanups all over the place.

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

----------------------------------------------------------------
Cindy Lu (3):
      vdpa: support set mac address from vdpa tool
      vdpa_sim_net: Add the support of set mac address
      vdpa/mlx5: Add the support of set mac address

Dragos Tatulea (18):
      vdpa/mlx5: Fix invalid mr resource destroy
      net/mlx5: Support throttled commands from async API
      vdpa/mlx5: Introduce error logging function
      vdpa/mlx5: Introduce async fw command wrapper
      vdpa/mlx5: Use async API for vq query command
      vdpa/mlx5: Use async API for vq modify commands
      vdpa/mlx5: Parallelize device suspend
      vdpa/mlx5: Parallelize device resume
      vdpa/mlx5: Keep notifiers during suspend but ignore
      vdpa/mlx5: Small improvement for change_num_qps()
      vdpa/mlx5: Parallelize VQ suspend/resume for CVQ MQ command
      vdpa/mlx5: Create direct MKEYs in parallel
      vdpa/mlx5: Delete direct MKEYs in parallel
      vdpa/mlx5: Rename function
      vdpa/mlx5: Extract mr members in own resource struct
      vdpa/mlx5: Rename mr_mtx -> lock
      vdpa/mlx5: Introduce init/destroy for MR resources
      vdpa/mlx5: Postpone MR deletion

Hongbo Li (1):
      fw_cfg: Constify struct kobj_type

Jason Wang (1):
      vhost_vdpa: assign irq bypass producer token correctly

Lei Yang leiyang@redhat.com (1):
      ack! vdpa/mlx5: Parallelize device suspend/resume

Luigi Leonardi (1):
      vsock/virtio: avoid queuing packets when intermediate queue is empty

Marco Pinna (1):
      vsock/virtio: refactor virtio_transport_send_pkt_work

Max Gurtovoy (2):
      virtio_fs: introduce virtio_fs_put_locked helper
      virtio_fs: add sysfs entries for queue information

Philip Chen (1):
      virtio_pmem: Check device status before requesting flush

Stefano Garzarella (1):
      MAINTAINERS: add virtio-vsock driver in the VIRTIO CORE section

Yue Haibing (1):
      vdpa: Remove unused declarations

Zhu Jun (1):
      tools/virtio:Fix the wrong format specifier

zhenwei pi (3):
      virtio_balloon: introduce oom-kill invocations
      virtio_balloon: introduce memory allocation stall counter
      virtio_balloon: introduce memory scan/reclaim info

 MAINTAINERS                                   |   1 +
 drivers/firmware/qemu_fw_cfg.c                |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c |  21 +-
 drivers/nvdimm/nd_virtio.c                    |   9 +
 drivers/vdpa/ifcvf/ifcvf_base.h               |   3 -
 drivers/vdpa/mlx5/core/mlx5_vdpa.h            |  47 ++-
 drivers/vdpa/mlx5/core/mr.c                   | 291 +++++++++++++---
 drivers/vdpa/mlx5/core/resources.c            |  76 +++-
 drivers/vdpa/mlx5/net/mlx5_vnet.c             | 477 +++++++++++++++++---------
 drivers/vdpa/pds/cmds.h                       |   1 -
 drivers/vdpa/vdpa.c                           |  79 +++++
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c          |  21 +-
 drivers/vhost/vdpa.c                          |  16 +-
 drivers/virtio/virtio_balloon.c               |  18 +
 fs/fuse/virtio_fs.c                           | 164 ++++++++-
 include/linux/vdpa.h                          |   9 +
 include/uapi/linux/vdpa.h                     |   1 +
 include/uapi/linux/virtio_balloon.h           |  16 +-
 net/vmw_vsock/virtio_transport.c              | 144 +++++---
 tools/virtio/ringtest/main.c                  |   2 +-
 20 files changed, 1098 insertions(+), 300 deletions(-)


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [GIT PULL] virtio: features, fixes, cleanups
@ 2024-05-22 10:03 Michael S. Tsirkin
  2024-05-22 10:22 ` Xuan Zhuo
  2024-05-22 11:39 ` Michael S. Tsirkin
  0 siblings, 2 replies; 24+ messages in thread
From: Michael S. Tsirkin @ 2024-05-22 10:03 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, anton.yakovlev,
	bartosz.golaszewski, christophe.jaillet, dave.jiang, david,
	eperezma, herbert, jasowang, jiri, jiri, johannes,
	krzysztof.kozlowski, lingshan.zhu, linus.walleij, lizhijian,
	martin.petersen, maxime.coquelin, michael.christie, mst, sgarzare,
	stevensd, sudeep.holla, syzbot+98edc2df894917b3431f,
	u.kleine-koenig, viresh.kumar, xuanzhuo, yuxue.liu,
	Srujana Challa

Things to note here:

- the new Marvell OCTEON DPU driver is not here: latest v4 keeps causing
  build failures on mips. I deferred the pull hoping to get it in
  and I might merge a new version post rc1
  (supposed to be ok for new drivers as they can't cause regressions),
  but we'll see.
- there are also a couple bugfixes under review, to be merged after rc1
- I merged a trivial patch (removing a comment) that also got
  merged through net.
  git handles this just fine and it did not seem worth it
  rebasing to drop it.
- there is a trivial conflict in the header file. Shouldn't be any
  trouble to resolve, but fyi the resolution by Stephen is here
	diff --cc drivers/virtio/virtio_mem.c
	index e8355f55a8f7,6d4dfbc53a66..000000000000
	--- a/drivers/virtio/virtio_mem.c
	+++ b/drivers/virtio/virtio_mem.c
	@@@ -21,7 -21,7 +21,8 @@@
	  #include <linux/bitmap.h>
	  #include <linux/lockdep.h>
	  #include <linux/log2.h>
	 +#include <linux/vmalloc.h>
	+ #include <linux/suspend.h>
  Also see it here:
  https://lore.kernel.org/all/20240423145947.142171f6@canb.auug.org.au/



The following changes since commit 18daea77cca626f590fb140fc11e3a43c5d41354:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (2024-04-30 12:40:41 -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 0b8dbbdcf2e42273fbac9b752919e2e5b2abac21:

  Merge tag 'for_linus' into vhost (2024-05-12 08:15:28 -0400)

----------------------------------------------------------------
virtio: features, fixes, cleanups

Several new features here:

- virtio-net is finally supported in vduse.

- Virtio (balloon and mem) interaction with suspend is improved

- vhost-scsi now handles signals better/faster.

- virtio-net now supports premapped mode by default,
  opening the door for all kind of zero copy tricks.

Fixes, cleanups all over the place.

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

----------------------------------------------------------------
Christophe JAILLET (1):
      vhost-vdpa: Remove usage of the deprecated ida_simple_xx() API

David Hildenbrand (1):
      virtio-mem: support suspend+resume

David Stevens (2):
      virtio_balloon: Give the balloon its own wakeup source
      virtio_balloon: Treat stats requests as wakeup events

Eugenio Pérez (2):
      MAINTAINERS: add Eugenio Pérez as reviewer
      MAINTAINERS: add Eugenio Pérez as reviewer

Jiri Pirko (1):
      virtio: delete vq in vp_find_vqs_msix() when request_irq() fails

Krzysztof Kozlowski (24):
      virtio: balloon: drop owner assignment
      virtio: input: drop owner assignment
      virtio: mem: drop owner assignment
      um: virt-pci: drop owner assignment
      virtio_blk: drop owner assignment
      bluetooth: virtio: drop owner assignment
      hwrng: virtio: drop owner assignment
      virtio_console: drop owner assignment
      crypto: virtio - drop owner assignment
      firmware: arm_scmi: virtio: drop owner assignment
      gpio: virtio: drop owner assignment
      drm/virtio: drop owner assignment
      iommu: virtio: drop owner assignment
      misc: nsm: drop owner assignment
      net: caif: virtio: drop owner assignment
      net: virtio: drop owner assignment
      net: 9p: virtio: drop owner assignment
      vsock/virtio: drop owner assignment
      wifi: mac80211_hwsim: drop owner assignment
      nvdimm: virtio_pmem: drop owner assignment
      rpmsg: virtio: drop owner assignment
      scsi: virtio: drop owner assignment
      fuse: virtio: drop owner assignment
      sound: virtio: drop owner assignment

Li Zhijian (1):
      vdpa: Convert sprintf/snprintf to sysfs_emit

Maxime Coquelin (6):
      vduse: validate block features only with block devices
      vduse: Temporarily fail if control queue feature requested
      vduse: enable Virtio-net device type
      vduse: validate block features only with block devices
      vduse: Temporarily fail if control queue feature requested
      vduse: enable Virtio-net device type

Michael S. Tsirkin (2):
      Merge tag 'stable/vduse-virtio-net' into vhost
      Merge tag 'for_linus' into vhost

Mike Christie (9):
      vhost-scsi: Handle vhost_vq_work_queue failures for events
      vhost-scsi: Handle vhost_vq_work_queue failures for cmds
      vhost-scsi: Use system wq to flush dev for TMFs
      vhost: Remove vhost_vq_flush
      vhost_scsi: Handle vhost_vq_work_queue failures for TMFs
      vhost: Use virtqueue mutex for swapping worker
      vhost: Release worker mutex during flushes
      vhost_task: Handle SIGKILL by flushing work and exiting
      kernel: Remove signal hacks for vhost_tasks

Uwe Kleine-König (1):
      virtio-mmio: Convert to platform remove callback returning void

Xuan Zhuo (7):
      virtio_ring: introduce dma map api for page
      virtio_ring: enable premapped mode whatever use_dma_api
      virtio_net: replace private by pp struct inside page
      virtio_net: big mode support premapped
      virtio_net: enable premapped by default
      virtio_net: rx remove premapped failover code
      virtio_net: remove the misleading comment

Yuxue Liu (2):
      vp_vdpa: Fix return value check vp_vdpa_request_irq
      vp_vdpa: don't allocate unused msix vectors

Zhu Lingshan (1):
      MAINTAINERS: apply maintainer role of Intel vDPA driver

 MAINTAINERS                                   |  10 +-
 arch/um/drivers/virt-pci.c                    |   1 -
 drivers/block/virtio_blk.c                    |   1 -
 drivers/bluetooth/virtio_bt.c                 |   1 -
 drivers/char/hw_random/virtio-rng.c           |   1 -
 drivers/char/virtio_console.c                 |   2 -
 drivers/crypto/virtio/virtio_crypto_core.c    |   1 -
 drivers/firmware/arm_scmi/virtio.c            |   1 -
 drivers/gpio/gpio-virtio.c                    |   1 -
 drivers/gpu/drm/virtio/virtgpu_drv.c          |   1 -
 drivers/iommu/virtio-iommu.c                  |   1 -
 drivers/misc/nsm.c                            |   1 -
 drivers/net/caif/caif_virtio.c                |   1 -
 drivers/net/virtio_net.c                      | 248 +++++++++++++++++---------
 drivers/net/wireless/virtual/mac80211_hwsim.c |   1 -
 drivers/nvdimm/virtio_pmem.c                  |   1 -
 drivers/rpmsg/virtio_rpmsg_bus.c              |   1 -
 drivers/scsi/virtio_scsi.c                    |   1 -
 drivers/vdpa/vdpa.c                           |   2 +-
 drivers/vdpa/vdpa_user/vduse_dev.c            |  24 ++-
 drivers/vdpa/virtio_pci/vp_vdpa.c             |  27 ++-
 drivers/vhost/scsi.c                          |  70 +++++---
 drivers/vhost/vdpa.c                          |   6 +-
 drivers/vhost/vhost.c                         | 130 ++++++++++----
 drivers/vhost/vhost.h                         |   3 +-
 drivers/virtio/virtio_balloon.c               |  85 +++++----
 drivers/virtio/virtio_input.c                 |   1 -
 drivers/virtio/virtio_mem.c                   |  69 ++++++-
 drivers/virtio/virtio_mmio.c                  |   6 +-
 drivers/virtio/virtio_pci_common.c            |   4 +-
 drivers/virtio/virtio_ring.c                  |  59 +++++-
 fs/coredump.c                                 |   4 +-
 fs/fuse/virtio_fs.c                           |   1 -
 include/linux/sched/vhost_task.h              |   3 +-
 include/linux/virtio.h                        |   7 +
 include/uapi/linux/virtio_mem.h               |   2 +
 kernel/exit.c                                 |   5 +-
 kernel/signal.c                               |   4 +-
 kernel/vhost_task.c                           |  53 ++++--
 net/9p/trans_virtio.c                         |   1 -
 net/vmw_vsock/virtio_transport.c              |   1 -
 sound/virtio/virtio_card.c                    |   1 -
 42 files changed, 578 insertions(+), 265 deletions(-)


^ permalink raw reply	[flat|nested] 24+ messages in thread
* [GIT PULL] virtio: features, fixes, cleanups
@ 2023-07-03 16:32 Michael S. Tsirkin
  2023-07-04  0:16 ` pr-tracker-bot
  0 siblings, 1 reply; 24+ messages in thread
From: Michael S. Tsirkin @ 2023-07-03 16:32 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: kvm, virtualization, netdev, linux-kernel, alvaro.karsz, dtatulea,
	elic, feliu, horms, jasowang, krzysztof.kozlowski, lingshan.zhu,
	maxime.coquelin, michael.christie, mst, peng.fan, saeedm,
	shannon.nelson, tianxianting.txt, xianting.tian, xieyongji

Note: dropped some commits at the last moment, I did verify we get
the same code in the end as what was in linux next for a while now.

The following changes since commit 6995e2de6891c724bfeb2db33d7b87775f913ad1:

  Linux 6.4 (2023-06-25 16:29: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 9e396a2f434f829fb3b98a24bb8db5429320589d:

  vhost: Make parameter name match of vhost_get_vq_desc() (2023-07-03 12:15:15 -0400)

----------------------------------------------------------------
virtio: features, fixes, cleanups

resume support in vdpa/solidrun
structure size optimizations in virtio_pci
new pds_vdpa driver
immediate initialization mechanism for vdpa/ifcvf
interrupt bypass for vdpa/mlx5
multiple worker support for vhost
viirtio net in Intel F2000X-PL support for vdpa/ifcvf

fixes, cleanups all over the place

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

----------------------------------------------------------------
Alvaro Karsz (1):
      vdpa/snet: implement the resume vDPA callback

Dragos Tatulea (1):
      virtio-vdpa: Fix unchecked call to NULL set_vq_affinity

Eli Cohen (1):
      vdpa/mlx5: Support interrupt bypassing

Feng Liu (1):
      virtio_pci: Optimize virtio_pci_device structure size

Krzysztof Kozlowski (1):
      vdpa: solidrun: constify pointers to hwmon_channel_info

Maxime Coquelin (1):
      vduse: fix NULL pointer dereference

Mike Christie (17):
      vhost: create worker at end of vhost_dev_set_owner
      vhost: dynamically allocate vhost_worker
      vhost: add vhost_worker pointer to vhost_virtqueue
      vhost, vhost_net: add helper to check if vq has work
      vhost: take worker or vq instead of dev for queueing
      vhost: take worker or vq for flushing
      vhost: convert poll work to be vq based
      vhost_sock: convert to vhost_vq_work_queue
      vhost_scsi: make SCSI cmd completion per vq
      vhost_scsi: convert to vhost_vq_work_queue
      vhost_scsi: flush IO vqs then send TMF rsp
      vhost: remove vhost_work_queue
      vhost: add helper to parse userspace vring state/file
      vhost: replace single worker pointer with xarray
      vhost: allow userspace to create workers
      vhost_scsi: add support for worker ioctls
      vhost: Allow worker switching while work is queueing

Peng Fan (1):
      tools/virtio: fix build break for aarch64

Shannon Nelson (11):
      virtio: allow caller to override device id in vp_modern
      virtio: allow caller to override device DMA mask in vp_modern
      pds_vdpa: Add new vDPA driver for AMD/Pensando DSC
      pds_vdpa: move enum from common to adminq header
      pds_vdpa: new adminq entries
      pds_vdpa: get vdpa management info
      pds_vdpa: virtio bar setup for vdpa
      pds_vdpa: add vdpa config client commands
      pds_vdpa: add support for vdpa and vdpamgmt interfaces
      pds_vdpa: subscribe to the pds_core events
      pds_vdpa: pds_vdps.rst and Kconfig

Simon Horman (1):
      virtio: Add missing documentation for structure fields

Xianting Tian (4):
      virtio-crypto: call scheduler when we free unused buffs
      virtio-console: call scheduler when we free unused buffs
      virtio_bt: call scheduler when we free unused buffs
      vhost: Make parameter name match of vhost_get_vq_desc()

Zhu Lingshan (8):
      vDPA/ifcvf: virt queue ops take immediate actions
      vDPA/ifcvf: get_driver_features from virtio registers
      vDPA/ifcvf: retire ifcvf_start_datapath and ifcvf_add_status
      vDPA/ifcvf: synchronize irqs in the reset routine
      vDPA/ifcvf: a vendor driver should not set _CONFIG_S_FAILED
      vDPA/ifcvf: dynamic allocate vq data stores
      vDPA/ifcvf: detect and report max allowed vq size
      vDPA/ifcvf: implement new accessors for vq_state

 .../device_drivers/ethernet/amd/pds_vdpa.rst       |  85 +++
 .../networking/device_drivers/ethernet/index.rst   |   1 +
 MAINTAINERS                                        |   4 +
 drivers/bluetooth/virtio_bt.c                      |   1 +
 drivers/char/virtio_console.c                      |   1 +
 drivers/crypto/virtio/virtio_crypto_core.c         |   1 +
 drivers/vdpa/Kconfig                               |  10 +
 drivers/vdpa/Makefile                              |   1 +
 drivers/vdpa/ifcvf/ifcvf_base.c                    | 215 +++---
 drivers/vdpa/ifcvf/ifcvf_base.h                    |  48 +-
 drivers/vdpa/ifcvf/ifcvf_main.c                    | 108 +--
 drivers/vdpa/mlx5/net/mlx5_vnet.c                  | 165 ++++-
 drivers/vdpa/mlx5/net/mlx5_vnet.h                  |  15 +
 drivers/vdpa/pds/Makefile                          |  10 +
 drivers/vdpa/pds/aux_drv.c                         | 140 ++++
 drivers/vdpa/pds/aux_drv.h                         |  26 +
 drivers/vdpa/pds/cmds.c                            | 185 +++++
 drivers/vdpa/pds/cmds.h                            |  18 +
 drivers/vdpa/pds/debugfs.c                         | 289 ++++++++
 drivers/vdpa/pds/debugfs.h                         |  17 +
 drivers/vdpa/pds/vdpa_dev.c                        | 769 +++++++++++++++++++++
 drivers/vdpa/pds/vdpa_dev.h                        |  49 ++
 drivers/vdpa/solidrun/snet_ctrl.c                  |   6 +
 drivers/vdpa/solidrun/snet_hwmon.c                 |   2 +-
 drivers/vdpa/solidrun/snet_main.c                  |  15 +
 drivers/vdpa/solidrun/snet_vdpa.h                  |   1 +
 drivers/vdpa/vdpa_user/vduse_dev.c                 |   6 +-
 drivers/vhost/net.c                                |   8 +-
 drivers/vhost/scsi.c                               | 103 +--
 drivers/vhost/vhost.c                              | 425 ++++++++++--
 drivers/vhost/vhost.h                              |  24 +-
 drivers/vhost/vsock.c                              |   4 +-
 drivers/virtio/virtio_pci_common.h                 |   7 +-
 drivers/virtio/virtio_pci_modern_dev.c             |  33 +-
 drivers/virtio/virtio_vdpa.c                       |   4 +-
 include/linux/pds/pds_adminq.h                     | 247 +++++++
 include/linux/pds/pds_common.h                     |  21 +-
 include/linux/virtio.h                             |   5 +-
 include/linux/virtio_pci_modern.h                  |   6 +
 include/uapi/linux/vhost.h                         |  31 +
 include/uapi/linux/vhost_types.h                   |  16 +
 tools/virtio/Makefile                              |  13 +-
 42 files changed, 2777 insertions(+), 358 deletions(-)
 create mode 100644 Documentation/networking/device_drivers/ethernet/amd/pds_vdpa.rst
 create mode 100644 drivers/vdpa/pds/Makefile
 create mode 100644 drivers/vdpa/pds/aux_drv.c
 create mode 100644 drivers/vdpa/pds/aux_drv.h
 create mode 100644 drivers/vdpa/pds/cmds.c
 create mode 100644 drivers/vdpa/pds/cmds.h
 create mode 100644 drivers/vdpa/pds/debugfs.c
 create mode 100644 drivers/vdpa/pds/debugfs.h
 create mode 100644 drivers/vdpa/pds/vdpa_dev.c
 create mode 100644 drivers/vdpa/pds/vdpa_dev.h


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

end of thread, other threads:[~2025-04-02  3:00 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17  9:30 [GIT PULL] virtio: features, fixes, cleanups Michael S. Tsirkin
2024-07-18  0:52 ` Jason Wang
2024-07-18 19:28   ` Michael S. Tsirkin
2024-07-19  1:01     ` Jason Wang
2024-07-18 19:31 ` Michael S. Tsirkin
2024-07-19 19:38 ` pr-tracker-bot
  -- strict thread matches above, loose matches on Subject: below --
2025-03-31 16:34 Michael S. Tsirkin
2025-04-02  3:00 ` pr-tracker-bot
2025-01-27 14:51 Michael S. Tsirkin
2025-01-28  1:07 ` pr-tracker-bot
2024-11-26 21:31 Michael S. Tsirkin
2024-11-27  8:30 ` Michael S. Tsirkin
2024-11-27 21:40 ` pr-tracker-bot
2024-09-24 20:50 Michael S. Tsirkin
2024-09-25  7:38 ` Stefano Garzarella
2024-09-25 11:11   ` Michael S. Tsirkin
2024-09-25 11:05 ` Michael S. Tsirkin
2024-05-22 10:03 Michael S. Tsirkin
2024-05-22 10:22 ` Xuan Zhuo
2024-05-22 11:38   ` Michael S. Tsirkin
2024-05-22 11:39     ` Xuan Zhuo
2024-05-22 11:39 ` Michael S. Tsirkin
2023-07-03 16:32 Michael S. Tsirkin
2023-07-04  0:16 ` 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).