From patchwork Fri Jul 21 06:35:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanmay Jagdale X-Patchwork-Id: 13321422 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 24B7EEB64DC for ; Fri, 21 Jul 2023 06:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pmjFTcmpMx2TS6HObdzmhvp8kteo5BdPU+rgTNd8fAY=; b=zMYyEIvcTSYU2x RRMHh+zORhyawDAD8ym+i615wM+E1ZwyesO8CONCCp8c+Akfsj0wywH2UFKNdvxYTPTqqPEZOgnc8 v2C26H7bILhGn0Jh1d0v6T/2MqKJOTXr3D2GbHDdBKaPEk2mLhKMTWl6/p78iU3ukQPNWutCIE/9D 8hiixj9nqIKGily5Roni30bnY8Itry42qMcuFHUaOAcpdwtSDIRATHwkMFhjAHE2U/s9xfa48nn9V 9+xSksxR2TRg6VdHW2uXW+bF0wiEJX5R9b/6e4wXEAts71QSLFn2z9l4drhGuFKDso3SKrLw/xJpQ NRpVqZEgI7a7xlkYW+GA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMjkC-00D39s-1d; Fri, 21 Jul 2023 06:36:04 +0000 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMjk9-00D38a-1C for linux-arm-kernel@lists.infradead.org; Fri, 21 Jul 2023 06:36:02 +0000 Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36L2LDL1013218; Thu, 20 Jul 2023 23:35:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=nXKsQhXZQh7jLi2u+CGwysXvPU2p6+KEJSHslWJTMYw=; b=dgCMgKtz0xlcBjmmmclXsUBo+c87Orzvd+Hdp2GoaP3bzthpkpOhKK4l6apj9ue8GfGB jIvXRCAdxSsTEKJW3Pi0oCO3QBoty1j6vicauDx4DibI0qEhTzUnhm2RYd4/6cjnXfM8 nBouh+0TlYQJTVVBjRNel9L/OBAgbyyS7KuakMgd0m4DL7yuwKv2Sxn0HW8BuCG2+Abt CEb3SRqongtPdw6aw4rkDuIKX0edjE7VDFKJNxI0gKaBFizuZCNk0nIyAkeox8KCOzzG XMCeiF97VOa1n1pxSm4CVJ4TuXTA2i7aidGT6X0h3fQ6JDT6P+DBhu5j4Kcygz+Rgaek 0A== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ryh5egm40-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 20 Jul 2023 23:35:38 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 20 Jul 2023 23:35:36 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 20 Jul 2023 23:35:36 -0700 Received: from odyssey-031.marvell.com (unknown [10.75.48.92]) by maili.marvell.com (Postfix) with ESMTP id 43E2E3F7062; Thu, 20 Jul 2023 23:35:35 -0700 (PDT) From: Tanmay Jagdale To: , , , , CC: , , , , , , , Tanmay Jagdale Subject: [RESEND PATCH 0/4] Add support for SMMU ECMDQ Date: Fri, 21 Jul 2023 02:35:09 -0400 Message-ID: <20230721063513.33431-1-tanmay@marvell.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-GUID: NNuYSk_QPobThdYPGY-59G1A-d1JQXzN X-Proofpoint-ORIG-GUID: NNuYSk_QPobThdYPGY-59G1A-d1JQXzN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-21_03,2023-07-20_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230720_233601_548506_CDE4BCE7 X-CRM114-Status: GOOD ( 12.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Resending the patches by Zhen Lei that add support for SMMU's ECMDQ feature. I have tested these patches on Marvell SoC that has the ECMDQ feature. Zhen Lei (4): iommu/arm-smmu-v3: Add support for ECMDQ register mode iommu/arm-smmu-v3: Ensure that a set of associated commands are inserted in the same ECMDQ iommu/arm-smmu-v3: Add arm_smmu_ecmdq_issue_cmdlist() for non-shared ECMDQ iommu/arm-smmu-v3: Add support for less than one ECMDQ per core drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 419 +++++++++++++++++++- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 37 ++ 2 files changed, 448 insertions(+), 8 deletions(-)