]> 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)
commitba67bc47be7893a8972a83879112696fef3399fb
treec7b5e2b4c0228ca88cbfc512e7819b6b918fa999
parent83074280a640e843c0688c923cb552e9fbeacda3
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