All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: yun.wang@linux.alibaba.com, kvm@vger.kernel.org, trix@redhat.com,
	flyingpeng@tencent.com,
	virtualization@lists.linux-foundation.org, elic@nvidia.com,
	guanjun@linux.alibaba.com, lkp@intel.com,
	xianting.tian@linux.alibaba.com, mst@redhat.com,
	eperezma@redhat.com, luolikang@nsfocus.com, wu000273@umn.edu,
	lvivier@redhat.com, keescook@chromium.org, somlo@cmu.edu,
	jiasheng@iscas.ac.cn, johan@kernel.org,
	christophe.jaillet@wanadoo.fr, flyingpenghao@gmail.com,
	dapeng1.mi@intel.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, labbott@kernel.org,
	gregkh@linuxfoundation.org, lingshan.zhu@intel.com
Subject: [GIT PULL v2] virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes
Date: Fri, 14 Jan 2022 18:57:34 -0500	[thread overview]
Message-ID: <20220114185734-mutt-send-email-mst@kernel.org> (raw)

Changes from v1:

Dropped iommu changes at author's request. Pity this was only
requested after I sent pull v1 :(

Note that since these were the first in queue other hashes
do not match what was in linux-next, however as the changes
are in a separate driver, this should not matter.

The following changes since commit c9e6606c7fe92b50a02ce51dda82586ebdf99b48:

  Linux 5.16-rc8 (2022-01-02 14:23:25 -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 b03fc43e73877e180c1803a33aea3e7396642367:

  vdpa/mlx5: Fix tracking of current number of VQs (2022-01-14 18:50:54 -0500)

----------------------------------------------------------------
virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes

partial support for < MAX_ORDER - 1 granularity for virtio-mem
driver_override for vdpa
sysfs ABI documentation for vdpa
multiqueue config support for mlx5 vdpa

Misc fixes, cleanups.

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

----------------------------------------------------------------
Christophe JAILLET (1):
      eni_vdpa: Simplify 'eni_vdpa_probe()'

Dapeng Mi (1):
      virtio: fix a typo in function "vp_modern_remove" comments.

David Hildenbrand (2):
      virtio-mem: prepare page onlining code for granularity smaller than MAX_ORDER - 1
      virtio-mem: prepare fake page onlining code for granularity smaller than MAX_ORDER - 1

Eli Cohen (20):
      net/mlx5_vdpa: Offer VIRTIO_NET_F_MTU when setting MTU
      vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
      vdpa: Provide interface to read driver features
      vdpa/mlx5: Distribute RX virtqueues in RQT object
      vdpa: Sync calls set/get config/status with cf_mutex
      vdpa: Read device configuration only if FEATURES_OK
      vdpa: Allow to configure max data virtqueues
      vdpa/mlx5: Fix config_attr_mask assignment
      vdpa/mlx5: Support configuring max data virtqueue
      vdpa: Add support for returning device configuration information
      vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
      vdpa: Support reporting max device capabilities
      vdpa/mlx5: Report max device capabilities
      vdpa/vdpa_sim: Configure max supported virtqueues
      vdpa: Use BIT_ULL for bit operations
      vdpa/vdpa_sim_net: Report max device capabilities
      vdpa: Avoid taking cf_mutex lock on get status
      vdpa: Protect vdpa reset with cf_mutex
      vdpa/mlx5: Fix is_index_valid() to refer to features
      vdpa/mlx5: Fix tracking of current number of VQs

Eugenio Pérez (2):
      vdpa: Avoid duplicate call to vp_vdpa get_status
      vdpa: Mark vdpa_config_ops.get_vq_notification as optional

Guanjun (1):
      vduse: moving kvfree into caller

Johan Hovold (4):
      firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
      firmware: qemu_fw_cfg: fix kobject leak in probe error path
      firmware: qemu_fw_cfg: fix sysfs information leak
      firmware: qemu_fw_cfg: remove sysfs entries explicitly

Laura Abbott (1):
      vdpa: clean up get_config_size ret value handling

Michael S. Tsirkin (3):
      virtio: wrap config->reset calls
      hwrng: virtio - unregister device before reset
      virtio_ring: mark ring unused on error

Peng Hao (2):
      virtio/virtio_mem: handle a possible NULL as a memcpy parameter
      virtio/virtio_pci_legacy_dev: ensure the correct return value

Stefano Garzarella (2):
      docs: document sysfs ABI for vDPA bus
      vdpa: add driver_override support

Xianting Tian (1):
      vhost/test: fix memory leak of vhost virtqueues

Zhu Lingshan (1):
      ifcvf/vDPA: fix misuse virtio-net device config size for blk dev

王贇 (1):
      virtio-pci: fix the confusing error message

 Documentation/ABI/testing/sysfs-bus-vdpa   |  57 ++++++++++
 MAINTAINERS                                |   1 +
 arch/um/drivers/virt-pci.c                 |   2 +-
 drivers/block/virtio_blk.c                 |   4 +-
 drivers/bluetooth/virtio_bt.c              |   2 +-
 drivers/char/hw_random/virtio-rng.c        |   2 +-
 drivers/char/virtio_console.c              |   4 +-
 drivers/crypto/virtio/virtio_crypto_core.c |   8 +-
 drivers/firmware/arm_scmi/virtio.c         |   2 +-
 drivers/firmware/qemu_fw_cfg.c             |  21 ++--
 drivers/gpio/gpio-virtio.c                 |   2 +-
 drivers/gpu/drm/virtio/virtgpu_kms.c       |   2 +-
 drivers/i2c/busses/i2c-virtio.c            |   2 +-
 drivers/iommu/virtio-iommu.c               |   2 +-
 drivers/net/caif/caif_virtio.c             |   2 +-
 drivers/net/virtio_net.c                   |   4 +-
 drivers/net/wireless/mac80211_hwsim.c      |   2 +-
 drivers/nvdimm/virtio_pmem.c               |   2 +-
 drivers/rpmsg/virtio_rpmsg_bus.c           |   2 +-
 drivers/scsi/virtio_scsi.c                 |   2 +-
 drivers/vdpa/alibaba/eni_vdpa.c            |  28 +++--
 drivers/vdpa/ifcvf/ifcvf_base.c            |  41 ++++++--
 drivers/vdpa/ifcvf/ifcvf_base.h            |   9 +-
 drivers/vdpa/ifcvf/ifcvf_main.c            |  40 +++----
 drivers/vdpa/mlx5/net/mlx5_vnet.c          | 156 ++++++++++++++++-----------
 drivers/vdpa/vdpa.c                        | 163 +++++++++++++++++++++++++----
 drivers/vdpa/vdpa_sim/vdpa_sim.c           |  21 ++--
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c       |   2 +
 drivers/vdpa/vdpa_user/vduse_dev.c         |  19 +++-
 drivers/vdpa/virtio_pci/vp_vdpa.c          |  16 ++-
 drivers/vhost/test.c                       |   1 +
 drivers/vhost/vdpa.c                       |  12 +--
 drivers/virtio/virtio.c                    |   6 ++
 drivers/virtio/virtio_balloon.c            |   2 +-
 drivers/virtio/virtio_input.c              |   2 +-
 drivers/virtio/virtio_mem.c                | 114 +++++++++++++-------
 drivers/virtio/virtio_pci_legacy.c         |   2 +-
 drivers/virtio/virtio_pci_legacy_dev.c     |   4 +-
 drivers/virtio/virtio_pci_modern_dev.c     |   2 +-
 drivers/virtio/virtio_ring.c               |   4 +-
 drivers/virtio/virtio_vdpa.c               |   7 +-
 fs/fuse/virtio_fs.c                        |   4 +-
 include/linux/vdpa.h                       |  39 +++++--
 include/linux/virtio.h                     |   1 +
 include/uapi/linux/vdpa.h                  |   6 ++
 net/9p/trans_virtio.c                      |   2 +-
 net/vmw_vsock/virtio_transport.c           |   4 +-
 sound/virtio/virtio_card.c                 |   4 +-
 48 files changed, 587 insertions(+), 249 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-vdpa

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

WARNING: multiple messages have this Message-ID (diff)
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	christophe.jaillet@wanadoo.fr, dapeng1.mi@intel.com,
	david@redhat.com, elic@nvidia.com, eperezma@redhat.com,
	flyingpenghao@gmail.com, flyingpeng@tencent.com,
	gregkh@linuxfoundation.org, guanjun@linux.alibaba.com,
	jasowang@redhat.com, jiasheng@iscas.ac.cn, johan@kernel.org,
	keescook@chromium.org, labbott@kernel.org,
	lingshan.zhu@intel.com, lkp@intel.com, luolikang@nsfocus.com,
	lvivier@redhat.com, mst@redhat.com, sgarzare@redhat.com,
	somlo@cmu.edu, trix@redhat.com, wu000273@umn.edu,
	xianting.tian@linux.alibaba.com, xuanzhuo@linux.alibaba.com,
	yun.wang@linux.alibaba.com
Subject: [GIT PULL v2] virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes
Date: Fri, 14 Jan 2022 18:57:34 -0500	[thread overview]
Message-ID: <20220114185734-mutt-send-email-mst@kernel.org> (raw)

Changes from v1:

Dropped iommu changes at author's request. Pity this was only
requested after I sent pull v1 :(

Note that since these were the first in queue other hashes
do not match what was in linux-next, however as the changes
are in a separate driver, this should not matter.

The following changes since commit c9e6606c7fe92b50a02ce51dda82586ebdf99b48:

  Linux 5.16-rc8 (2022-01-02 14:23:25 -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 b03fc43e73877e180c1803a33aea3e7396642367:

  vdpa/mlx5: Fix tracking of current number of VQs (2022-01-14 18:50:54 -0500)

----------------------------------------------------------------
virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes

partial support for < MAX_ORDER - 1 granularity for virtio-mem
driver_override for vdpa
sysfs ABI documentation for vdpa
multiqueue config support for mlx5 vdpa

Misc fixes, cleanups.

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

----------------------------------------------------------------
Christophe JAILLET (1):
      eni_vdpa: Simplify 'eni_vdpa_probe()'

Dapeng Mi (1):
      virtio: fix a typo in function "vp_modern_remove" comments.

David Hildenbrand (2):
      virtio-mem: prepare page onlining code for granularity smaller than MAX_ORDER - 1
      virtio-mem: prepare fake page onlining code for granularity smaller than MAX_ORDER - 1

Eli Cohen (20):
      net/mlx5_vdpa: Offer VIRTIO_NET_F_MTU when setting MTU
      vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
      vdpa: Provide interface to read driver features
      vdpa/mlx5: Distribute RX virtqueues in RQT object
      vdpa: Sync calls set/get config/status with cf_mutex
      vdpa: Read device configuration only if FEATURES_OK
      vdpa: Allow to configure max data virtqueues
      vdpa/mlx5: Fix config_attr_mask assignment
      vdpa/mlx5: Support configuring max data virtqueue
      vdpa: Add support for returning device configuration information
      vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
      vdpa: Support reporting max device capabilities
      vdpa/mlx5: Report max device capabilities
      vdpa/vdpa_sim: Configure max supported virtqueues
      vdpa: Use BIT_ULL for bit operations
      vdpa/vdpa_sim_net: Report max device capabilities
      vdpa: Avoid taking cf_mutex lock on get status
      vdpa: Protect vdpa reset with cf_mutex
      vdpa/mlx5: Fix is_index_valid() to refer to features
      vdpa/mlx5: Fix tracking of current number of VQs

Eugenio Pérez (2):
      vdpa: Avoid duplicate call to vp_vdpa get_status
      vdpa: Mark vdpa_config_ops.get_vq_notification as optional

Guanjun (1):
      vduse: moving kvfree into caller

Johan Hovold (4):
      firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
      firmware: qemu_fw_cfg: fix kobject leak in probe error path
      firmware: qemu_fw_cfg: fix sysfs information leak
      firmware: qemu_fw_cfg: remove sysfs entries explicitly

Laura Abbott (1):
      vdpa: clean up get_config_size ret value handling

Michael S. Tsirkin (3):
      virtio: wrap config->reset calls
      hwrng: virtio - unregister device before reset
      virtio_ring: mark ring unused on error

Peng Hao (2):
      virtio/virtio_mem: handle a possible NULL as a memcpy parameter
      virtio/virtio_pci_legacy_dev: ensure the correct return value

Stefano Garzarella (2):
      docs: document sysfs ABI for vDPA bus
      vdpa: add driver_override support

Xianting Tian (1):
      vhost/test: fix memory leak of vhost virtqueues

Zhu Lingshan (1):
      ifcvf/vDPA: fix misuse virtio-net device config size for blk dev

王贇 (1):
      virtio-pci: fix the confusing error message

 Documentation/ABI/testing/sysfs-bus-vdpa   |  57 ++++++++++
 MAINTAINERS                                |   1 +
 arch/um/drivers/virt-pci.c                 |   2 +-
 drivers/block/virtio_blk.c                 |   4 +-
 drivers/bluetooth/virtio_bt.c              |   2 +-
 drivers/char/hw_random/virtio-rng.c        |   2 +-
 drivers/char/virtio_console.c              |   4 +-
 drivers/crypto/virtio/virtio_crypto_core.c |   8 +-
 drivers/firmware/arm_scmi/virtio.c         |   2 +-
 drivers/firmware/qemu_fw_cfg.c             |  21 ++--
 drivers/gpio/gpio-virtio.c                 |   2 +-
 drivers/gpu/drm/virtio/virtgpu_kms.c       |   2 +-
 drivers/i2c/busses/i2c-virtio.c            |   2 +-
 drivers/iommu/virtio-iommu.c               |   2 +-
 drivers/net/caif/caif_virtio.c             |   2 +-
 drivers/net/virtio_net.c                   |   4 +-
 drivers/net/wireless/mac80211_hwsim.c      |   2 +-
 drivers/nvdimm/virtio_pmem.c               |   2 +-
 drivers/rpmsg/virtio_rpmsg_bus.c           |   2 +-
 drivers/scsi/virtio_scsi.c                 |   2 +-
 drivers/vdpa/alibaba/eni_vdpa.c            |  28 +++--
 drivers/vdpa/ifcvf/ifcvf_base.c            |  41 ++++++--
 drivers/vdpa/ifcvf/ifcvf_base.h            |   9 +-
 drivers/vdpa/ifcvf/ifcvf_main.c            |  40 +++----
 drivers/vdpa/mlx5/net/mlx5_vnet.c          | 156 ++++++++++++++++-----------
 drivers/vdpa/vdpa.c                        | 163 +++++++++++++++++++++++++----
 drivers/vdpa/vdpa_sim/vdpa_sim.c           |  21 ++--
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c       |   2 +
 drivers/vdpa/vdpa_user/vduse_dev.c         |  19 +++-
 drivers/vdpa/virtio_pci/vp_vdpa.c          |  16 ++-
 drivers/vhost/test.c                       |   1 +
 drivers/vhost/vdpa.c                       |  12 +--
 drivers/virtio/virtio.c                    |   6 ++
 drivers/virtio/virtio_balloon.c            |   2 +-
 drivers/virtio/virtio_input.c              |   2 +-
 drivers/virtio/virtio_mem.c                | 114 +++++++++++++-------
 drivers/virtio/virtio_pci_legacy.c         |   2 +-
 drivers/virtio/virtio_pci_legacy_dev.c     |   4 +-
 drivers/virtio/virtio_pci_modern_dev.c     |   2 +-
 drivers/virtio/virtio_ring.c               |   4 +-
 drivers/virtio/virtio_vdpa.c               |   7 +-
 fs/fuse/virtio_fs.c                        |   4 +-
 include/linux/vdpa.h                       |  39 +++++--
 include/linux/virtio.h                     |   1 +
 include/uapi/linux/vdpa.h                  |   6 ++
 net/9p/trans_virtio.c                      |   2 +-
 net/vmw_vsock/virtio_transport.c           |   4 +-
 sound/virtio/virtio_card.c                 |   4 +-
 48 files changed, 587 insertions(+), 249 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-vdpa


             reply	other threads:[~2022-01-14 23:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 23:57 Michael S. Tsirkin [this message]
2022-01-14 23:57 ` [GIT PULL v2] virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes Michael S. Tsirkin
2022-01-18  8:29 ` pr-tracker-bot
2022-01-18  8:29   ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220114185734-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=dapeng1.mi@intel.com \
    --cc=elic@nvidia.com \
    --cc=eperezma@redhat.com \
    --cc=flyingpeng@tencent.com \
    --cc=flyingpenghao@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=guanjun@linux.alibaba.com \
    --cc=jiasheng@iscas.ac.cn \
    --cc=johan@kernel.org \
    --cc=keescook@chromium.org \
    --cc=kvm@vger.kernel.org \
    --cc=labbott@kernel.org \
    --cc=lingshan.zhu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=luolikang@nsfocus.com \
    --cc=lvivier@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=somlo@cmu.edu \
    --cc=torvalds@linux-foundation.org \
    --cc=trix@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=wu000273@umn.edu \
    --cc=xianting.tian@linux.alibaba.com \
    --cc=yun.wang@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.