lkml.org 
[lkml]   [2022]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] drm/msm+iommu/arm-smmu-qcom: tlbinv optimizations
Date
From: Rob Clark <robdclark@chromium.org>

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(-)

--
2.37.2

\
 
 \ /
  Last update: 2022-08-21 20:19    [W:0.149 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site