iommu/virtio: Update to most recent specification
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Mon, 22 Jul 2019 14:40:07 +0000 (15:40 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 22 Jul 2019 15:52:27 +0000 (11:52 -0400)
commitae24fb49d01103c80d6ff3b78714259c1c62c958
tree97e6cac0b9fa0985f046adf9a8fe674c4c6dac53
parentcfe61801b0f11eb561f1adf452d995efaafbc68b
iommu/virtio: Update to most recent specification

Following specification review a few things were changed in v8 of the
virtio-iommu series [1], but have been omitted when merging the base
driver. Add them now:

* Remove the EXEC flag.
* Add feature bit for the MMIO flag.
* Change domain_bits to domain_range.
* Add NOMEM status flag.

[1] https://lore.kernel.org/linux-iommu/20190530170929.19366-1-jean-philippe.brucker@arm.com/

Fixes: edcd69ab9a32 ("iommu: Add virtio-iommu driver")
Reported-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/virtio-iommu.c
include/uapi/linux/virtio_iommu.h