This adds a request_mem_region() for the DRHD registers. The AMD
code has similar code in iommu_map_mmio_space().
This helps avoid address conflicts when assigning PCI BARs.
---
Bjorn Helgaas (2):
resources: set type of new resource returned by __request_region()
iommu: Request IOMMU CSR space
drivers/iommu/dmar.c | 41 ++++++++++++++++++++++++++++++++---------
include/linux/intel-iommu.h | 2 ++
kernel/resource.c | 3 ++-
3 files changed, 36 insertions(+), 10 deletions(-)
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu