diff options
author | Tom Murphy <murphyt7@tcd.ie> | 2020-09-10 14:25:38 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-09-18 17:13:21 +0200 |
commit | b34e9b0de3c4117e70f09ae354d763cc4dd85bdf (patch) | |
tree | 5dddaa32a833252e65aee011be02ae75c24d244a /Documentation/userspace-api/iommu.rst | |
parent | iommu/iova: Replace cmpxchg with xchg in queue_iova (diff) | |
download | linux-b34e9b0de3c4117e70f09ae354d763cc4dd85bdf.tar.xz linux-b34e9b0de3c4117e70f09ae354d763cc4dd85bdf.zip |
iommu/dma: Handle init_iova_flush_queue() failure in dma-iommu path
The init_iova_flush_queue() function can fail if we run out of memory. Fall
back to noflush queue if it fails.
Signed-off-by: Tom Murphy <murphyt7@tcd.ie>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20200910122539.3662-1-murphyt7@tcd.ie
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'Documentation/userspace-api/iommu.rst')
0 files changed, 0 insertions, 0 deletions