summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJoerg Roedel <joro@8bytes.org>2013-02-06 12:55:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-04 06:06:37 +0800
commit0c8581863389e969dcbf6d9e79971435a1ecf554 (patch)
treeda637c63cd76fa341608655a54edd81ee706da61 /kernel
parentdb6154ead40e0a568982ec4885cfa3fa89e67324 (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: Shuah Khan <shuah.khan@hp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions