Skip to content
Commit bdf95923 authored by Sunil Goutham's avatar Sunil Goutham Committed by Joerg Roedel
Browse files

iommu/arm-smmu: Return IOVA in iova_to_phys when SMMU is bypassed



For software initiated address translation, when domain type is
IOMMU_DOMAIN_IDENTITY i.e SMMU is bypassed, mimic HW behavior
i.e return the same IOVA as translated address.

This patch is an extension to Will Deacon's patchset
"Implement SMMU passthrough using the default domain".

Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 6323f474
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment