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

This allows the iommu generic layer to allocate an identity domain
and attach it to a device. Hence, the identity domain is delegated
to upper layer. As a side effect, iommu_identity_mapping can't be
used to check the existence of identity domains any more.

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