]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu: Implement reserved_regions iommu-group sysfs file
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:52 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 11:48:16 +0000 (11:48 +0000)
commitbc7d12b91bd35477fd650c4d72b61239de9d9066
treec03bae68fae567b11e590c0f6e20a9914c1b7ace
parent6c65fb318e8bbf21e939e651028b955324f1d873
iommu: Implement reserved_regions iommu-group sysfs file

A new iommu-group sysfs attribute file is introduced. It contains
the list of reserved regions for the iommu-group. Each reserved
region is described on a separate line:
- first field is the start IOVA address,
- second is the end IOVA address,
- third is the type.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Tomasz Nowicki <tomasz.nowicki@caviumnetworks.com>
Tested-by: Bharat Bhushan <bharat.bhushan@nxp.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/ABI/testing/sysfs-kernel-iommu_groups
drivers/iommu/iommu.c