diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-06-21 14:52:40 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-06-25 13:16:00 +0200 |
commit | ac1534a55d1e87d59a21c09c570605933b551480 (patch) | |
tree | 3aa5ff3307a98fde03f28aba24f2cb842d34cf9d /drivers/clk | |
parent | iommu/amd: Fix missing iommu_shutdown initialization in passthrough mode (diff) | |
download | linux-ac1534a55d1e87d59a21c09c570605933b551480.tar.xz linux-ac1534a55d1e87d59a21c09c570605933b551480.zip |
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/clk')
0 files changed, 0 insertions, 0 deletions