diff options
author | 2016-07-13 12:35:24 +0200 | |
---|---|---|
committer | 2016-07-13 12:35:24 +0200 | |
commit | b548e786ce47017107765bbeb0f100202525ea83 (patch) | |
tree | 158fae78345a2ad96536115fe4929eee425f34e4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/amd: Remove create_workqueue (diff) | |
download | linux-dev-b548e786ce47017107765bbeb0f100202525ea83.tar.xz linux-dev-b548e786ce47017107765bbeb0f100202525ea83.zip |
iommu/amd: Init unity mappings only for dma_ops domains
The default domain for a device might also be
identity-mapped. In this case the kernel would crash when
unity mappings are defined for the device. Fix that by
making sure the domain is a dma_ops domain.
Fixes: 0bb6e243d7fb ('iommu/amd: Support IOMMU_DOMAIN_DMA type allocation')
Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions