]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iommu: Introduce iommu domain types
authorJoerg Roedel <jroedel@suse.de>
Thu, 26 Mar 2015 12:43:05 +0000 (13:43 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 31 Mar 2015 13:31:49 +0000 (15:31 +0200)
commit8539c7c16b970258e14761d8a1f7d10fe798031a
tree816ddaba62328708e590be824176d17dabad6449
parent938c470976192590b4adc921b2e10fa31237eddc
iommu: Introduce iommu domain types

This allows to handle domains differently based on their
type in the future. An IOMMU driver can implement certain
optimizations for DMA-API domains for example.

The domain types can be extended later and some of the
existing domain attributes can be migrated to become domain
flags.

Tested-by: Thierry Reding <treding@nvidia.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h