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 A59066BFCE for ; Mon, 20 Oct 2025 22:43:56 +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=1761000238; cv=none; b=TybL7kyXt0uMtVeF900497PvOkhWIcOdI/xqxQG6ws+XiyIqKvAJwXlVmQRJw2EoDZ5vsKn98s+b730bkhGBpNTWaTR31solISCIygAtoSxDmZEQJCOmVMpPTN5vBbKxJI5i1OW67YuajmJM4dp7b10vBmocFAhxVH+amHOGgjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761000238; c=relaxed/simple; bh=4vwBQXMF89yRgenBAM8z1rVKwRuGAGV2j0K6ZHxJ5yo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nYhgtguau9koAgq+xciUEEs+TVsxiowCWYw7X8josgtT6pRUKmc+vJalxAFm2CKg0cFkAvAgkVQvUgsLUvKNd9iYrmqybxZo052RFqQy+LV8c93YGJw2IE6qZcqc9ZJD8xVeg+c0NnLRpC6s27atjyJxbBxHl1v/2QfkeZHar4Q= 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=YJUYGL1+; 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="YJUYGL1+" Received: from DESKTOP-0403QTC.corp.microsoft.com (unknown [20.236.10.163]) by linux.microsoft.com (Postfix) with ESMTPSA id AABE6201DAC1; Mon, 20 Oct 2025 15:43:55 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AABE6201DAC1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1761000235; bh=Pk+hmvk+GZ5gPHSTP84Aa7rETr4kHC1bVEeC2ISi53U=; h=From:To:Cc:Subject:Date:From; b=YJUYGL1+86ATh0+gbWGw6dNvUeCOm6FyRKRR6mTZ6eNKIuM6OrRQDRDufNVF29ee8 KrVPAPN3KqD3oyYjqbAtRrRTL10e8ltpbsGmGlFkUUZPRgfL5EoLYrZjSdCdHUQIWN dFxcUa68HoGLJJr0UKN7Yy5PUQFB4kTAytJ5LloM= 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: Jacob Pan , Zhang Yu , Jean Philippe-Brucker , Alexander Grest Subject: [PATCH v2 0/2] SMMU v3 CMDQ fix and improvement Date: Mon, 20 Oct 2025 15:43:51 -0700 Message-Id: <20251020224353.1408-1-jacob.pan@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-) -- 2.43.0