Skip to content
Commit 83a60ed8 authored by Baptiste Reynal's avatar Baptiste Reynal Committed by Joerg Roedel
Browse files

iommu/arm-smmu: fix ARM_SMMU_FEAT_TRANS_OPS condition



This patch is a fix to "iommu/arm-smmu: add support for iova_to_phys
through ATS1PR".
According to ARM documentation, translation registers are optional even
in SMMUv1, so ID0_S1TS needs to be checked to verify their presence.
Also, we check that the domain is a stage-1 domain.

Signed-off-by: default avatarBaptiste Reynal <b.reynal@virtualopensystems.com>
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent bc465aa9
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