iommu/amd: Declare MSI and HT regions as reserved IOVA regions
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:54 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 11:48:17 +0000 (11:48 +0000)
commit4397f32c03a757acb3e44d268c20233fa1758ed9
treef74597d0c232030c10b1ca4b3bcd92bdea6f5ba9
parent0659b8dc45a6b13a4fec73b2ebb51c96b41974c4
iommu/amd: Declare MSI and HT regions as reserved IOVA regions

This patch registers the MSI and HT regions as non mappable
reserved regions. They will be exposed in the iommu-group sysfs.

For direct-mapped regions let's also use iommu_alloc_resv_region().

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/amd_iommu.c