aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorFeng Liu2023-12-19 11:32:41 +0200
committerAlex Williamson2023-12-19 11:51:31 -0700
commit92792ac752aa80d5ee71bc291d90edd06cd76bd1 (patch)
treea3ce025550fe594c0a412354c08d9eabb1f2f4dc /drivers/hid
parentfd27ef6b44bec26915c5b2b22c13856d9f0ba17a (diff)
virtio-pci: Introduce admin command sending function
Add support for sending admin command through admin virtqueue interface. Abort any inflight admin commands once device reset completes. Activate admin queue when device becomes ready; deactivate on device reset. To comply to the below specification statement [1], the admin virtqueue is activated for upper layer users only after setting DRIVER_OK status. [1] The driver MUST NOT send any buffer available notifications to the device before setting DRIVER_OK. Signed-off-by: Feng Liu <feliu@nvidia.com> Reviewed-by: Parav Pandit <parav@nvidia.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20231219093247.170936-4-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions