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

Jacob Pan posted 3 patches 2 months ago
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 90 +++++++++++----------
1 file changed, 49 insertions(+), 41 deletions(-)
[PATCH v5 0/3] SMMU v3 CMDQ fix and improvement
Posted by Jacob Pan 2 months ago
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(-)

-- 
2.43.0
Re: [PATCH v5 0/3] SMMU v3 CMDQ fix and improvement
Posted by Will Deacon 1 month ago
On Mon, 08 Dec 2025 13:28:54 -0800, Jacob Pan wrote:
> 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,
> 
> [...]

Applied third patch to iommu (arm/smmu/updates), thanks!

[3/3] iommu/arm-smmu-v3: Improve CMDQ lock fairness and efficiency
      https://git.kernel.org/iommu/c/df180b1a4cc5

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev