iommu/amd: Get the maximum number of PASIDs supported
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 10 Nov 2011 13:41:57 +0000 (14:41 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 12 Dec 2011 13:54:30 +0000 (14:54 +0100)
commit62f71abbc64d686064a4caa10a3249c26776995e
treedd902320a0048af1a46212698f342552b77d943f
parentee6c28684585a64fd79c5a56e849af58ebdc5948
iommu/amd: Get the maximum number of PASIDs supported

Read the number of PASIDs supported by each IOMMU in the
system and take the smallest number as the maximum value
supported by the IOMMU driver.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h