]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Delegate the dma domain to upper layer
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 25 May 2019 05:41:28 +0000 (13:41 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 28 May 2019 08:19:09 +0000 (10:19 +0200)
commitd43555f46f1de10eac4ff2bae246a93531e07b29
treec7b5e2b4c0228ca88cbfc512e7819b6b918fa999
parenteb9b4d07335dca59b138b72cf1ac24f423c822b1
iommu/vt-d: Delegate the dma domain to upper layer

This allows the iommu generic layer to allocate a dma domain and
attach it to a device through the iommu api's. With all types of
domains being delegated to upper layer, we can remove an internal
flag which was used to distinguish domains mananged internally or
externally.

Signed-off-by: James Sewart <jamessewart@arista.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c