calculate agaw for each iommu