Commit 89736a0e authored by Joerg Roedel's avatar Joerg Roedel
Browse files

Revert "iommu/amd: Remove the leftover of bypass support"

This reverts commit 7a5dbf3a

.

This commit not only removes the leftovers of bypass
support, it also mostly removes the checking of the return
value of the get_domain() function. This can lead to silent
data corruption bugs when a device is not attached to its
dma_ops domain and a DMA-API function is called for that
device.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 1a107901
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment