]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - drivers/iommu/arm-smmu.c
iommu/arm-smmu: Implement reserved region get/put callbacks
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:55 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 15:00:12 +0000 (15:00 +0000)
commitf3ebee80b3131d4cdb49d39cf07b32afe40b811c
tree7605cae50d5e14dfaada36a32aece099b9341ba8
parent4397f32c03a757acb3e44d268c20233fa1758ed9
iommu/arm-smmu: 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>
Reviewed-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c