summaryrefslogtreecommitdiff
path: root/drivers/iommu/tegra-smmu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-06-21 12:52:40 (GMT)
committerJoerg Roedel <joerg.roedel@amd.com>2012-06-25 11:16:00 (GMT)
commitac1534a55d1e87d59a21c09c570605933b551480 (patch)
tree3aa5ff3307a98fde03f28aba24f2cb842d34cf9d /drivers/iommu/tegra-smmu.c
parentf2f12b6fc032c7b1419fd6db84e2868b5f05a878 (diff)
downloadlinux-fsl-qoriq-ac1534a55d1e87d59a21c09c570605933b551480.tar.xz
iommu/amd: Initialize dma_ops for hotplug and sriov devices
When a device is added to the system at runtime the AMD IOMMU driver initializes the necessary data structures to handle translation for it. But it forgets to change the per-device dma_ops to point to the AMD IOMMU driver. So mapping actually never happens and all DMA accesses end in an IO_PAGE_FAULT. Fix this. Reported-by: Stefan Assmann <sassmann@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/tegra-smmu.c')
0 files changed, 0 insertions, 0 deletions