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.2.20~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbabaefbc4571546dd98da1fef0efcd8e3d94b3d;p=pandora-kernel.git iommu/amd: Cache pdev pointer to root-bridge commit c1bf94ec1e12d76838ad485158aecf208ebd8fb9 upstream. 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. Signed-off-by: Joerg Roedel Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed