Re: [PATCH v2 0/2] SMMU v3 CMDQ fix and improvement

From: Jacob Pan

Date: Thu Oct 30 2025 - 11:42:40 EST


Hi Will,

Just a gentle reminder, appreciated.

@Nicolin, were you able to evaluate these?

By the way, I incorporated your review comments in v2, except for
extracting the function arm_smmu_cmdq_poll_until_enough_space(),
primarily due to concerns with the IRQ flags.

Thanks,

Jacob

On Mon, 20 Oct 2025 15:43:51 -0700 Jacob
Pan <jacob.pan@xxxxxxxxxxxxxxxxxxx> wrote:

> Hi Will et al,
>
> These two patches are derived from testing SMMU driver with smaller
> CMDQ sizes where we see soft lockups.
>
> This happens on HyperV emulated SMMU v3 as well as baremetal ARM
> servers with artificially reduced queue size and microbenchmark to
> stress test concurrency.
>
> Thanks,
>
> Jacob
>
> Alexander Grest (1):
> iommu/arm-smmu-v3: Improve CMDQ lock fairness and efficiency
>
> Jacob Pan (1):
> iommu/arm-smmu-v3: Fix CMDQ timeout warning
>
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 97
> ++++++++++----------- 1 file changed, 47 insertions(+), 50
> deletions(-)
>