iommu/arm-smmu: Enable bypass transaction caching for ARM SMMU 500
authorFeng Kan <fkan@apm.com>
Wed, 11 Oct 2017 22:08:39 +0000 (15:08 -0700)
committerWill Deacon <will.deacon@arm.com>
Fri, 20 Oct 2017 15:54:54 +0000 (16:54 +0100)
commit74f55d34414c866dbf3a69e28a2f963abe61ca58
tree25ea905b7bd37da82803276d718f2d0644bbc6bb
parent704c038255d44e821a05835c9bf8c8d0393a4777
iommu/arm-smmu: Enable bypass transaction caching for ARM SMMU 500

The ARM SMMU identity mapping performance was poor compared with the
DMA mode. It was found that enable caching would restore the performance
back to normal. The S2CRB_TLBEN bit in the ACR register would allow for
caching of the stream to context register bypass transaction information.

Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c