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)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:39 +0000 (11:11 +0200)
commit59341c8f37805b35d24c5295acf3899c7af87dde
treedcc0a0ab93295894a42aaffe51cce2424dfa9cff
parenta6e9db8acd90b1ccf4a4c67399614bc2fd904145
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