]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iommu/arm-smmu-v3: Install bypass STEs for IOMMU_DOMAIN_IDENTITY domains
authorWill Deacon <will.deacon@arm.com>
Fri, 6 Jan 2017 16:27:30 +0000 (16:27 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 6 Apr 2017 15:06:43 +0000 (16:06 +0100)
commitbeb3c6a066bff1ba412f983cb9d1a42f4cd8f76a
tree22f499c4d516bbe8ac795ce799a552edd7cc3012
parent67560edcd8e5c57eccec4df562abbfc21c17ad75
iommu/arm-smmu-v3: Install bypass STEs for IOMMU_DOMAIN_IDENTITY domains

In preparation for allowing the default domain type to be overridden,
this patch adds support for IOMMU_DOMAIN_IDENTITY domains to the
ARM SMMUv3 driver.

An identity domain is created by placing the corresponding stream table
entries into "bypass" mode, which allows transactions to flow through
the SMMU without any translation.

Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu-v3.c