commit | b16d0cb9e2fc5c311948c660dd6f4b59a9ccd333 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Mon Oct 12 14:17:37 2015 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Thu Oct 15 12:05:39 2015 +0100 |
tree | 1f63f7efe5e6607d30372c90aac2275ae8689f9a | |
parent | 8a94ade4ce6df22006b96c5c9a8d6d12fce67585 [diff] |
iommu/vt-d: Always enable PASID/PRI PCI capabilities before ATS The behaviour if you enable PASID support after ATS is undefined. So we have to enable it first, even if we don't know whether we'll need it. This is safe enough; unless we set up a context that permits it, the device can't actually *do* anything with it. Also shift the feature detction to dmar_insert_one_dev_info() as it only needs to happen once. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>