summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2016-07-13 12:35:24 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-20 18:09:21 +0200
commitdf8eaed22590a484a64e4a6f2af266f59a692aed (patch)
tree496a4b09801ffc7fee7a56aa3937d4e2075fdffc /scripts
parent51e94ff8d90804ec1912fd71b2c7e22902a61585 (diff)
iommu/amd: Init unity mappings only for dma_ops domains
commit b548e786ce47017107765bbeb0f100202525ea83 upstream. 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') Signed-off-by: Joerg Roedel <jroedel@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions