]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/amd: Make sure dma_ops are set for hotplug devices
authorJoerg Roedel <joro@8bytes.org>
Tue, 26 Mar 2013 21:48:23 +0000 (22:48 +0100)
committerJoerg Roedel <joro@8bytes.org>
Wed, 27 Mar 2013 08:59:50 +0000 (09:59 +0100)
commit376860b1acf91af84a05cc4581f65f509a1174fe
tree8a643722fd1b758fd5e6a17bd932b1d8928bce79
parent613b173eb62e7f9e2abb9c6586438faba8774286
iommu/amd: Make sure dma_ops are set for hotplug devices

There is a bug introduced with commit f229da3 that causes
devices which are hot unplugged and then hot-replugged to
not have per-device dma_ops set. This causes these devices
to not function correctly. Fixed with this patch.

Cc: stable@vger.kernel.org
Reported-by: Andreas Degert <andreas.degert@googlemail.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu.c