Commit 0bb6e243 authored by Joerg Roedel's avatar Joerg Roedel

iommu/amd: Support IOMMU_DOMAIN_DMA type allocation

This enables allocation of DMA-API default domains from the
IOMMU core and switches allocation of domain dma-api domain
to the IOMMU core too.
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent aafd8ba0
This diff is collapsed.
...@@ -552,9 +552,6 @@ struct amd_iommu { ...@@ -552,9 +552,6 @@ struct amd_iommu {
/* if one, we need to send a completion wait command */ /* if one, we need to send a completion wait command */
bool need_sync; bool need_sync;
/* default dma_ops domain for that IOMMU */
struct dma_ops_domain *default_dom;
/* IOMMU sysfs device */ /* IOMMU sysfs device */
struct device *iommu_dev; struct device *iommu_dev;
......
Markdown is supported
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