]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86/amd-iommu: Fix PCI hotplug with passthrough mode
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 10 Dec 2009 10:12:25 +0000 (11:12 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 10 Dec 2009 11:23:47 +0000 (12:23 +0100)
commit8638c4914f34fedc1c13b1cc13f6d1e5a78c46b4
tree55cc1616c02f140a92f467ef493137d5085537ff
parentb7cc9554bc73641c9ed4d7eb74b2d6e78f20abea
x86/amd-iommu: Fix PCI hotplug with passthrough mode

The device change notifier is initialized in the dma_ops
initialization path. But this path is never executed for
iommu=pt. Move the notifier initialization to IOMMU hardware
init code to fix this.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/include/asm/amd_iommu_proto.h
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu_init.c