diff options
| author | Lu Baolu <baolu.lu@linux.intel.com> | 2019-05-25 08:41:22 +0300 |
|---|---|---|
| committer | Joerg Roedel <jroedel@suse.de> | 2019-05-27 17:56:43 +0300 |
| commit | 7423e01741dd6a5f1255f589145313f0fb1c8cbe (patch) | |
| tree | eb44248edd0bf337856bc56e879169662494b31a /lib/mpi/mpi-internal.h | |
| parent | dd5142ca5d24bcdb22e40add842d50a59ffa769e (diff) | |
| download | linux-7423e01741dd6a5f1255f589145313f0fb1c8cbe.tar.xz | |
iommu: Add API to request DMA domain for device
Normally during iommu probing a device, a default doamin will
be allocated and attached to the device. The domain type of
the default domain is statically defined, which results in a
situation where the allocated default domain isn't suitable
for the device due to some limitations. We already have API
iommu_request_dm_for_dev() to replace a DMA domain with an
identity one. This adds iommu_request_dma_domain_for_dev()
to request a dma domain if an allocated identity domain isn't
suitable for the device in question.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
