From: Joerg Roedel Date: Thu, 31 May 2012 15:38:11 +0000 (+0200) Subject: iommu/amd: Cache pdev pointer to root-bridge X-Git-Tag: v3.5-rc2~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1bf94ec1e12d76838ad485158aecf208ebd8fb9;p=pandora-kernel.git iommu/amd: Cache pdev pointer to root-bridge At some point pci_get_bus_and_slot started to enable interrupts. Since this function is used in the amd_iommu_resume path it will enable interrupts on resume which causes a warning. The fix will use a cached pointer to the root-bridge to re-enable the IOMMU in case the BIOS is broken. Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed