]> Git Repo - linux.git/commit - drivers/iommu/amd_iommu_init.c
iommu/amd: Cache pdev pointer to root-bridge
authorJoerg Roedel <[email protected]>
Thu, 31 May 2012 15:38:11 +0000 (17:38 +0200)
committerJoerg Roedel <[email protected]>
Mon, 4 Jun 2012 10:47:44 +0000 (12:47 +0200)
commitc1bf94ec1e12d76838ad485158aecf208ebd8fb9
treee554cd3ac5103745366cdf139e5ccf0f2619cde4
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
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: [email protected]
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h
This page took 0.049334 seconds and 4 git commands to generate.