iommu: Add helpers to set/get default domain type
authorJoerg Roedel <jroedel@suse.de>
Mon, 19 Aug 2019 13:22:47 +0000 (15:22 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 23 Aug 2019 08:09:58 +0000 (10:09 +0200)
commit8a69961c7f7583742ab9064feab5ea533a6b1b97
tree64117168f01305730249d575a64cacd631b3c229
parentfaf1498993cdf65fd3a624b7653bc91909135a55
iommu: Add helpers to set/get default domain type

Add a couple of functions to allow changing the default
domain type from architecture code and a function for iommu
drivers to request whether the default domain is
passthrough.

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