calculate agaw for each iommu
authorWeidong Han <weidong.han@intel.com>
Mon, 8 Dec 2008 07:34:06 +0000 (15:34 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 13:02:18 +0000 (14:02 +0100)
commit1b5736839ae13dadc5947940144f95dd0f4a4a8c
tree2b6ce6b68850d905e4ce5d38b6872b82f6328208
parent8c11e798eee2ce4475134eaf61302b28ea4f205d
calculate agaw for each iommu

"SAGAW" capability may be different across iommus. Use a default agaw, but if default agaw is not supported in some iommus, choose a less supported agaw.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/pci/dmar.c
drivers/pci/intel-iommu.c
include/linux/dma_remapping.h
include/linux/intel-iommu.h