]> git.baikalelectronics.ru Git - kernel.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)
commit808aa3c79d766e9af557dd707064abed350a38b3
tree55cc1616c02f140a92f467ef493137d5085537ff
parent8398d7fe3ecf0fa7cc81e2d7b3f3f855f9ce2020
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