Skip to contentSkip to conversation

virtio: bugfixes

GIT PULL Merged Michael S. Tsirkin 2 participants 2 messages Apr 14, 2024

Subsystems (4)
lore
Share & tools
lore

Michael S. Tsirkin

author maintainer
#0 lore raw

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

Linux 6.9-rc3 (2024-04-07 13:22:46 -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 76f408535aab39c33e0a1dcada9fba5631c65595:

vhost: correct misleading printing information (2024-04-08 04:11:04 -0400)

----------------------------------------------------------------
virtio: bugfixes

Some small, obvious (in hindsight) bugfixes:

- new ioctl in vhost-vdpa has a wrong # - not too late to fix

- vhost has apparently been lacking an smp_rmb() - due to code duplication :( The duplication will be fixed in the next merge cycle, this is a minimal fix.

- an error message in vhost talks about guest moving used index - which of course never happens, guest only ever moves the available index.

- i2c-virtio didn't set the driver owner so it did not get refcounted correctly.

----------------------------------------------------------------
Gavin Shan (2):
vhost: Add smp_rmb() in vhost_vq_avail_empty()
vhost: Add smp_rmb() in vhost_enable_notify()

Krzysztof Kozlowski (1):
virtio: store owner from modules with register_virtio_driver()

Michael S. Tsirkin (1):
vhost-vdpa: change ioctl # for VDPA_GET_VRING_SIZE

Xianting Tian (1):
vhost: correct misleading printing information

 .../driver-api/virtio/writing_virtio_drivers.rst   |  1 -
 drivers/vhost/vhost.c                              | 30 ++++++++++++++++++----
 drivers/virtio/virtio.c                            |  6 +++--
 include/linux/virtio.h                             |  7 +++--
 include/uapi/linux/vhost.h                         | 15 ++++++-----
 5 files changed, 42 insertions(+), 17 deletions(-)