]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5727b7718fdcbcf9dd509a631d61b57736e823a1
tree25ea905b7bd37da82803276d718f2d0644bbc6bb
parente29f6caa832b23ec9c9c8103e4dd8d10a6632acf
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