]> www.infradead.org Git - users/jedix/linux-maple.git/commit
virtio_pci: Use self group type for cap commands
authorDaniel Jurgens <danielj@nvidia.com>
Tue, 4 Mar 2025 16:14:42 +0000 (10:14 -0600)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Apr 2025 13:51:31 +0000 (09:51 -0400)
commit16c22c56d4282584742022a37d4f79a46ca6094a
tree30f54bce2d83cf41fb5480d3cde7ea9c9af160d1
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
virtio_pci: Use self group type for cap commands

Section 2.12.1.2 of v1.4 of the VirtIO spec states:

The device and driver capabilities commands are currently defined for
self group type.
1. VIRTIO_ADMIN_CMD_CAP_ID_LIST_QUERY
2. VIRTIO_ADMIN_CMD_DEVICE_CAP_GET
3. VIRTIO_ADMIN_CMD_DRIVER_CAP_SET

Fixes: bfcad518605d ("virtio: Manage device and driver capabilities via the admin commands")
Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Message-Id: <20250304161442.90700-1-danielj@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c
include/uapi/linux/virtio_pci.h