History

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Pull virtio fixes from Michael Tsirkin: "A small number of fixes: - virtgpu is exempt from reset shutdown fow now - a more complete fix is in the works - spec compliance fixes in: - virtio-pci cap commands - vhost_scsi_send_bad_target - virtio console resize - missing locking fix in vhost-scsi - virtio ring - a KCSAN false positive fix - VHOST_*_OWNER documentation fix" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vhost-scsi: Fix vhost_scsi_send_status() vhost-scsi: Fix vhost_scsi_send_bad_target() vhost-scsi: protect vq->log_used with vq->mutex vhost_task: fix vhost_task_create() documentation virtio_console: fix order of fields cols and rows virtio_console: fix missing byte order handling for cols and rows virtgpu: don't reset on shutdown virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN vhost: fix VHOST_*_OWNER documentation virtio_pci: Use self group type for cap commands

Linus Torvalds committed 1 year ago

Commit 0251ddb2 parents bc33723 58465d810 files · +85 −27Browse files

Showing the changes to include/uapi/linux (2 of 10 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/vhost.h +2 −2
  2. include/uapi/linux/virtio_pci.h +1 −0
include/uapi/linux/vhost.h+2−2
@@ -28,10 +28,10 @@ · 27 unmodified lines
2828
2929 /* Set current process as the (exclusive) owner of this file descriptor. This
3030 * must be called before any other vhost command. Further calls to
31− * VHOST_OWNER_SET fail until VHOST_OWNER_RESET is called. */
31+ * VHOST_SET_OWNER fail until VHOST_RESET_OWNER is called. */
3232 #define VHOST_SET_OWNER _IO(VHOST_VIRTIO, 0x01)
3333 /* Give up ownership, and reset the device to default values.
34− * Allows subsequent call to VHOST_OWNER_SET to succeed. */
34+ * Allows subsequent call to VHOST_SET_OWNER to succeed. */
3535 #define VHOST_RESET_OWNER _IO(VHOST_VIRTIO, 0x02)
3636
3737 /* Set up/modify memory layout */
include/uapi/linux/virtio_pci.h+1−0
@@ -246,6 +246,7 @@ struct virtio_pci_cfg_cap { · 245 unmodified lines
246246 #define VIRTIO_ADMIN_CMD_LIST_USE 0x1
247247
248248 /* Admin command group type. */
249+#define VIRTIO_ADMIN_GROUP_TYPE_SELF 0x0
249250 #define VIRTIO_ADMIN_GROUP_TYPE_SRIOV 0x1
250251
251252 /* Transitional device admin command. */