Skip to content

drm/msm+iommu/arm-smmu-qcom: tlbinv optimizations

Rob Clark dri-devel linux-arm-kernel linux-arm-msm linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iommu/arm-smmu-qcom: Fix indentationinclude/linux/adreno-smmu-priv.h+7 -70 replies
2/5iommu/arm-smmu-qcom: Provide way to access current TTBR0drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c include/linux/adreno-smmu-priv.h+11 -00 replies
3/5iommu/arm-smmu-qcom: Add private interface to tlbinv by ASIDdrivers/iommu/arm/arm-smmu/arm-smmu-qcom.c drivers/iommu/arm/arm-smmu/arm-smmu.c drivers/iommu/arm/arm-smmu/arm-smmu.h +1 more+43 -40 replies
4/5drm/msm: Use separate ASID for each set of pgtablesdrivers/gpu/drm/msm/msm_iommu.c+10 -52 replies
5/5drm/msm: Skip tlbinv on unmap from non-current pgtablesdrivers/gpu/drm/msm/adreno/a6xx_gpu.c drivers/gpu/drm/msm/msm_iommu.c+35 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] drm/msm+iommu/arm-smmu-qcom: tlbinv optimizations

From: Rob Clark <[email protected]>

Two additions to adreno_smmu_priv to allow for a couple of optimizations:

+ Use a separate ASID for each set of pgtables to avoid over-invalidation.
+ Detect the case of unmapping from non-current pgtables where we can skip the redundant tlbinv

Rob Clark (5):
iommu/arm-smmu-qcom: Fix indentation iommu/arm-smmu-qcom: Provide way to access current TTBR0 iommu/arm-smmu-qcom: Add private interface to tlbinv by ASID drm/msm: Use separate ASID for each set of pgtables drm/msm: Skip tlbinv on unmap from non-current pgtables

 drivers/gpu/drm/msm/adreno/a6xx_gpu.c      |  6 +++
 drivers/gpu/drm/msm/msm_iommu.c            | 44 +++++++++++++++++++---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 10 +++++
 drivers/iommu/arm/arm-smmu/arm-smmu.c      | 43 +++++++++++++++++++--
 drivers/iommu/arm/arm-smmu/arm-smmu.h      |  1 +
 include/linux/adreno-smmu-priv.h           | 18 +++++----
 6 files changed, 106 insertions(+), 16 deletions(-)
Signature · 1 line
2.37.2