From: Joerg Roedel Date: Thu, 15 Mar 2012 11:46:40 +0000 (+0100) Subject: iommu/amd: Don't initialize IOMMUv2 resources when not required X-Git-Tag: v3.4-rc1~112^2^3~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=474d567db3d459d08ed0e683f4ace9b00ac2aa4b;p=pandora-kernel.git iommu/amd: Don't initialize IOMMUv2 resources when not required Add a check to the init-path of the AMD IOMMUv2 driver if the hardware is available in the system. Only allocate all the resources if it is really available. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed