commit | c1bf94ec1e12d76838ad485158aecf208ebd8fb9 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu May 31 17:38:11 2012 +0200 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Mon Jun 04 12:47:44 2012 +0200 |
tree | e554cd3ac5103745366cdf139e5ccf0f2619cde4 | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f [diff] |
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 <joerg.roedel@amd.com>