diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-12-10 11:12:25 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-12-10 12:23:47 +0100 |
commit | 8638c4914f34fedc1c13b1cc13f6d1e5a78c46b4 (patch) | |
tree | 55cc1616c02f140a92f467ef493137d5085537ff /arch/x86/include/asm | |
parent | b7cc9554bc73641c9ed4d7eb74b2d6e78f20abea (diff) |
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>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/amd_iommu_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu_proto.h b/arch/x86/include/asm/amd_iommu_proto.h index 2566e260622..4d817f9e6e7 100644 --- a/arch/x86/include/asm/amd_iommu_proto.h +++ b/arch/x86/include/asm/amd_iommu_proto.h @@ -30,6 +30,7 @@ extern void amd_iommu_apply_erratum_63(u16 devid); extern void amd_iommu_reset_cmd_buffer(struct amd_iommu *iommu); extern int amd_iommu_init_devices(void); extern void amd_iommu_uninit_devices(void); +extern void amd_iommu_init_notifier(void); #ifndef CONFIG_AMD_IOMMU_STATS static inline void amd_iommu_stats_init(void) { } |