iommu/vt-d: Simplify domain_context_mapping_one
authorJoerg Roedel <jroedel@suse.de>
Tue, 21 Jul 2015 12:53:04 +0000 (14:53 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:33 +0000 (16:23 +0200)
commitde24e55395698e29f2a0582ae1899fa0001f829a
treeb597d0bb02dd5f2ce21280eb9dfd8605e86007fd
parent28ccce0d954a1cf3baba335bf12581357112fb35
iommu/vt-d: Simplify domain_context_mapping_one

Get rid of the special cases for VM domains vs. non-VM
domains and simplify the code further to just handle the
hardware passthrough vs. page-table case.

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