]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Implement is_attach_deferred iommu ops entry
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 25 May 2019 05:41:32 +0000 (13:41 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 28 May 2019 08:19:11 +0000 (10:19 +0200)
commit4303044b78901214a1998d42c9191435ce84fb30
tree6f4bbaec5617602575cb02e97f9c8e32f432da6a
parent390820e9e26f72424736c1e924a603ecf95e9b73
iommu/vt-d: Implement is_attach_deferred iommu ops entry

As a domain is now attached to a device earlier, we should
implement the is_attach_deferred call-back and use it to
defer the domain attach from iommu driver init to device
driver init when iommu is pre-enabled in kdump kernel.

Suggested-by: Tom Murphy <tmurphy@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