commit | 161f693460772ef269ab35cbd145b6431e935eac | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Fri Jul 11 14:19:37 2014 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Wed Jul 23 16:04:47 2014 +0200 |
tree | 47ed588294459adf8521a6af63129a5130bf737b | |
parent | a156ef99e874f3701367cc192aa604bcf8c0a236 [diff] |
iommu/vt-d: Fix issue in computing domain's iommu_snooping flag IOMMU units may dynamically attached to/detached from domains, so we should scan all active IOMMU units when computing iommu_snooping flag for a domain instead of only scanning IOMMU units associated with the domain. Also check snooping and superpage capabilities when hot-adding DMAR units. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>