Skip to content

SMMU v3 CMDQ fix and improvement

Jacob Pan linux-iommu lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 3 repliesIn review
  2. v42 patches 10 repliesSuperseded
  3. v32 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches9 repliesSuperseded
v12 patches17 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu/arm-smmu-v3: Parameterize wfe for CMDQ pollingdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c+4 -60 replies
2/3iommu/arm-smmu-v3: Fix CMDQ timeout warningdrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c+24 -252 replies
3/3iommu/arm-smmu-v3: Improve CMDQ lock fairness and efficiencydrivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c+21 -100 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNicolin ChenMostafa Saleh
1/3
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] SMMU v3 CMDQ fix and improvement

Hi Will et al,

These two patches address logic issues that occur when SMMU CMDQ spaces are nearly exhausted at runtime. The problems become more pronounced when multiple CPUs submit to a single queue, a common scenario under SVA when shared buffers (used by both CPU and device) are being unmapped.

Thanks,

Jacob

Alexander Grest (1):
iommu/arm-smmu-v3: Improve CMDQ lock fairness and efficiency

Jacob Pan (2):
iommu/arm-smmu-v3: Parameterize wfe for CMDQ polling iommu/arm-smmu-v3: Fix CMDQ timeout warning

 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 90 +++++++++++----------
 1 file changed, 49 insertions(+), 41 deletions(-)
Signature · 1 line
2.43.0