]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iommu/arm-smmu-v3: Implement reserved region get/put callbacks
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:56 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 15:00:44 +0000 (15:00 +0000)
commit50019f09a4baa0bd6635d4933c1bfed22d66b640
tree094418a5bba9e16a99ec3d7d1ed2099db7528b15
parentf3ebee80b3131d4cdb49d39cf07b32afe40b811c
iommu/arm-smmu-v3: Implement reserved region get/put callbacks

The get() populates the list with the MSI IOVA reserved window.

At the moment an arbitray MSI IOVA window is set at 0x8000000
of size 1MB. This will allow to report those info in iommu-group
sysfs.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c