aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2019-05-25 13:41:22 +0800
committerJoerg Roedel <jroedel@suse.de>2019-05-27 16:56:43 +0200
commit7423e01741dd6a5f1255f589145313f0fb1c8cbe (patch)
treeeb44248edd0bf337856bc56e879169662494b31a /scripts
parentiommu/vt-d: Add debugfs support to show scalable mode DMAR table internals (diff)
downloadwireguard-linux-7423e01741dd6a5f1255f589145313f0fb1c8cbe.tar.xz
wireguard-linux-7423e01741dd6a5f1255f589145313f0fb1c8cbe.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions