mbox series

[GIT,PULL] virtio: features, fixes, cleanups

Message ID 20240924165046-mutt-send-email-mst@kernel.org (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] virtio: features, fixes, cleanups | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus

Message

Michael S. Tsirkin Sept. 24, 2024, 8:50 p.m. UTC
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(-)

Comments

Stefano Garzarella Sept. 25, 2024, 7:38 a.m. UTC | #1
On Tue, Sep 24, 2024 at 04:50:46PM GMT, Michael S. Tsirkin wrote:
>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
        ^
This commit (fbb072d2d19133222e202ea7c267cfc1f6bd83b0) looked strange
from the title, indeed inside it looks empty, so maybe the intent was to
"squash" it with the previous commit acba6a443aa4 ("vdpa/mlx5:
Parallelize VQ suspend/resume for CVQ MQ command") to bring back the
Tested-by, right?

Thanks,
Stefano

>
>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(-)
>
Michael S. Tsirkin Sept. 25, 2024, 11:05 a.m. UTC | #2
On Tue, Sep 24, 2024 at 04:50:46PM -0400, Michael S. Tsirkin wrote:
> 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)

Ouch. Pls ignore, will fix and resend.

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


Ouch. Pls ignore, will fix and resend.

> 
> 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(-)
Michael S. Tsirkin Sept. 25, 2024, 11:11 a.m. UTC | #3
On Wed, Sep 25, 2024 at 09:38:49AM +0200, Stefano Garzarella wrote:
> On Tue, Sep 24, 2024 at 04:50:46PM GMT, Michael S. Tsirkin wrote:
> > 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
>        ^
> This commit (fbb072d2d19133222e202ea7c267cfc1f6bd83b0) looked strange
> from the title, indeed inside it looks empty, so maybe the intent was to
> "squash" it with the previous commit acba6a443aa4 ("vdpa/mlx5:
> Parallelize VQ suspend/resume for CVQ MQ command") to bring back the
> Tested-by, right?
> 
> Thanks,
> Stefano

Good catch Stefano, the intent was to add the ack to all
commits in the series, I created an empty commit to
record that and then forgot to remove it.
Updated the tag, thanks!


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