From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56BBC33BBAA for ; Thu, 20 Nov 2025 17:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763658639; cv=none; b=N6NqytUweWJufgNyCViAICBy0tRwywV31bRFr8CQUFMKH07ULyTwBJvif9Cd5NpQmZu3MWjLf8ZMCXoSvs+jFyrUJpz9HtuBIA2brPBue1kkkozfE8xxWCK3AHGJtTG+FiRbXSXTKch8wE/dCQ+PhIiMpQSSBBJ3BGvf9L7mnjc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763658639; c=relaxed/simple; bh=CMvpJBgX8ZzMBUlEOCfs40YOh9rtwAumpLZqWU4mPaU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=POHLlL/eGgpj/8aHtjEnKVkChqI0/mI4Y3PBthLsrxiSu2EwZvgX3BCcctj2NuF3T66nBYbZUb5t98M7qcflYz241BNupc+6++qQZf8ER1uYupv0e6UF1QA8Tdoc3Z9l9HPsI/G9oN+RuWUARdO4ys1/M8Kbio2hxENufLTZFe0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=rcm4gESd; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="rcm4gESd" Received: from localhost (unknown [20.236.11.102]) by linux.microsoft.com (Postfix) with ESMTPSA id 22CFB211FEA3; Thu, 20 Nov 2025 09:10:36 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 22CFB211FEA3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1763658636; bh=KOu1lPm57V1ETU6Ul1bNO6igxLehs0MzvTJ9B4RFNTo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rcm4gESdIExowPMwpEkZV/DQXGRJyYjW/iiRCIUQhIQNpthL1QV0jL2z2wjzWWsZt QEd59WG3riwRY8dfBE4oQRO9Fw1FfkhAFyuus9GC/8I+NnZ6gxNo9OwbYKldQwGHRS 3tgT5O64Vj8wFK2SesOVNsL++dVyssIOeHk3n+LQ= Date: Thu, 20 Nov 2025 09:10:35 -0800 From: Jacob Pan To: linux-kernel@vger.kernel.org, "iommu@lists.linux.dev" , Will Deacon , Joerg Roedel , Mostafa Saleh , Jason Gunthorpe , Robin Murphy , Nicolin Chen Cc: Zhang Yu , Jean Philippe-Brucker , Alexander Grest Subject: Re: [PATCH v4 0/2] SMMU v3 CMDQ fix and improvement Message-ID: <20251120091035.000011c2@linux.microsoft.com> In-Reply-To: <20251114171718.42215-1-jacob.pan@linux.microsoft.com> References: <20251114171718.42215-1-jacob.pan@linux.microsoft.com> Organization: LSG X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Joerg/Will, Any more comments on these? I could spin another version to add Nicolin's Reviewed-by tag for patch 1/2. Thanks, Jacob On Fri, 14 Nov 2025 09:17:16 -0800 Jacob Pan wrote: > 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 (1): > iommu/arm-smmu-v3: Fix CMDQ timeout warning > > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 72 > +++++++++++---------- 1 file changed, 37 insertions(+), 35 > deletions(-) >