diff options
author | Joerg Roedel <joro@8bytes.org> | 2013-02-06 12:55:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-04 06:03:33 +0800 |
commit | 9b2eee352d5d276f212b751ad86d3bd4f156fd51 (patch) | |
tree | 487d09fb5834abe89ebaaa58e5e576faf3f6a2be /kernel | |
parent | d90dc15e9799e68afce2834a67113f6fff3046fe (diff) |
iommu/amd: Initialize device table after dma_ops
commit f528d980c17b8714aedc918ba86e058af914d66b upstream.
When dma_ops are initialized the unity mappings are
created. The init_device_table_dma() function makes sure DMA
from all devices is blocked by default. This opens a short
window in time where DMA to unity mapped regions is blocked
by the IOMMU. Make sure this does not happen by initializing
the device table after dma_ops.
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions