]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/vt-d: Split up get_domain_for_dev function
authorJoerg Roedel <jroedel@suse.de>
Thu, 25 Aug 2016 12:25:12 +0000 (14:25 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 5 Sep 2016 11:00:28 +0000 (13:00 +0200)
commit76208356a0ab357a1fb9f43bedb7fd1046ad8ece
tree6b469fc7770e831ed032723c9935c2bdec47952c
parentc6935931c1894ff857616ff8549b61236a19148f
iommu/vt-d: Split up get_domain_for_dev function

Split out the search for an already existing domain and the
context mapping of the device to the new domain.

This allows to map possible RMRR regions into the domain
before it is context mapped.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c