]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
iommu/virtio: Add event queue
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Tue, 15 Jan 2019 12:19:59 +0000 (12:19 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Jun 2019 21:32:14 +0000 (17:32 -0400)
commit169a126c6e88a99578a309a9021f314b5d532c5f
tree7c274568243ae56d1f9b8014bbb46814f2394106
parent2a5a314874450decec244923209ce6ba97e3ed93
iommu/virtio: Add event queue

The event queue offers a way for the device to report access faults from
endpoints. It is implemented on virtqueue #1. Whenever the host needs to
signal a fault, it fills one of the buffers offered by the guest and
interrupts it.

Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/iommu/virtio-iommu.c
include/uapi/linux/virtio_iommu.h