commit | f528d980c17b8714aedc918ba86e058af914d66b | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joro@8bytes.org> | Wed Feb 06 12:55:23 2013 +0100 |
committer | Joerg Roedel <joro@8bytes.org> | Thu Feb 07 22:05:49 2013 +0100 |
tree | ea899fb1e287775f2cf05735040f772ffca728e6 | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 [diff] |
iommu/amd: Initialize device table after dma_ops 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. Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel <joro@8bytes.org>