Jean-Philippe Brucker f0f07a8462 iommu/virtio: Support bypass domains
The VIRTIO_IOMMU_F_BYPASS_CONFIG feature adds a new flag to the ATTACH
request, that creates a bypass domain. Use it to enable identity
domains.

When VIRTIO_IOMMU_F_BYPASS_CONFIG is not supported by the device, we
currently fail attaching to an identity domain. Future patches will
instead create identity mappings in this case.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20211201173323.1045819-3-jean-philippe@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2021-12-06 15:03:05 +01:00
..
2021-11-26 22:54:47 +01:00
2021-11-06 14:36:12 -07:00
2021-04-07 10:54:29 +02:00
2020-11-23 14:16:55 +00:00
2020-11-23 14:16:55 +00:00
2021-11-04 11:11:24 -07:00
2021-09-11 14:48:42 -07:00
2021-08-12 13:15:02 +02:00
2021-02-01 11:31:19 +00:00