iommu/vt-d: Add attach_deferred() helper
authorJoerg Roedel <jroedel@suse.de>
Mon, 17 Feb 2020 16:12:37 +0000 (17:12 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 18 Feb 2020 16:21:51 +0000 (17:21 +0100)
commit1d4615978f525b769990a4a4ef22fb1b9a04cdf1
tree725ebd904afe1c9aac4b56b2a3914926eba6be68
parente7598fac323aad0e502415edeffd567315994dd6
iommu/vt-d: Add attach_deferred() helper

Implement a helper function to check whether a device's attach process
is deferred.

Fixes: 1ee0186b9a12 ("iommu/vt-d: Refactor find_domain() helper")
Cc: stable@vger.kernel.org # v5.5
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c