]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: set iommu_superpage on VM domains to lowest common denominator
authorAllen Kay <allen.m.kay@intel.com>
Fri, 14 Oct 2011 19:32:17 +0000 (12:32 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 Oct 2011 11:06:20 +0000 (12:06 +0100)
commit50ddffdefeaf6a24c46f45faa3af5d03de7febf1
tree5eb55b8a23f8f015ddfcb6b6e0f8e7db9a9456da
parent3061e77d4c7e0280bb2cbc30f0bb224cec6b4450
intel-iommu: set iommu_superpage on VM domains to lowest common denominator

set dmar->iommu_superpage field to the smallest common denominator
of super page sizes supported by all active VT-d engines.  Initialize
this field in intel_iommu_domain_init() API so intel_iommu_map() API
will be able to use iommu_superpage field to determine the appropriate
super page size to use.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c