]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81df2171d3b2abe05ddd05b64fab85f0d1740b9c
tree97e6cac0b9fa0985f046adf9a8fe674c4c6dac53
parent920fa71f855c7180a78d7b8967d6b995305e63e6
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: 1f4d3596dfc6 ("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