iommu/vt-d: Implement reserved region get/put callbacks
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Jan 2017 20:57:53 +0000 (20:57 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jan 2017 11:48:17 +0000 (11:48 +0000)
commit0659b8dc45a6b13a4fec73b2ebb51c96b41974c4
tree12c163871cbe2da8c5ed4c5d8791e44f9bdc2028
parentbc7d12b91bd35477fd650c4d72b61239de9d9066
iommu/vt-d: Implement reserved region get/put callbacks

This patch registers the [FEE0_0000h - FEF0_000h] 1MB MSI
range as a reserved region and RMRR regions as direct regions.

This will allow to report those reserved regions in the
iommu-group sysfs.

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