]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iommu/vt-d: Move deferred device attachment into helper function
authorJoerg Roedel <jroedel@suse.de>
Mon, 17 Feb 2020 16:16:19 +0000 (17:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2020 16:23:25 +0000 (17:23 +0100)
commitc8995b96489944e406746838ecf5e8417f307cdd
tree167d1da97b1b7b51d00c552128141445c525f100
parent68a57fda867e2085cfd3403f03fd2ac7802d6c6d
iommu/vt-d: Move deferred device attachment into helper function

commit 034d98cc0cdcde2415c6f598fa9125e3eaa02569 upstream.

Move the code that does the deferred device attachment into a separate
helper function.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/intel-iommu.c