]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commitc2a2876e863356b092967ea62bebdb4dd663af80
tree8a643722fd1b758fd5e6a17bd932b1d8928bce79
parent4fdc782416b29b77681ceec9ba74cdf5ee5e4051
iommu/amd: Make sure dma_ops are set for hotplug devices

There is a bug introduced with commit 27c2127 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