diff options
author | Sunil Goutham <sgoutham@cavium.com> | 2017-04-25 15:27:52 +0530 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-04-26 12:30:10 +0200 |
commit | bdf95923086fb359ccb44c815724c3ace1611c90 (patch) | |
tree | cc463fbb7747b233592ab2ec51aa8606a8f41b99 /fs/block_dev.c | |
parent | 6323f474902e372623d73486c1ad30eb40d6604f (diff) | |
download | linux-stable-bdf95923086fb359ccb44c815724c3ace1611c90.tar.gz linux-stable-bdf95923086fb359ccb44c815724c3ace1611c90.tar.bz2 linux-stable-bdf95923086fb359ccb44c815724c3ace1611c90.zip |
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: Sunil Goutham <sgoutham@cavium.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions