Message ID | 20221026190534.4004945-3-quic_molvera@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp440507wru; Wed, 26 Oct 2022 12:11:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5R2aZix0omsroopNCfGARfMgS8xLAwLii6IofRptaJ2Gpm3qKnOEACgkd15qYPeL7XHOYa X-Received: by 2002:a17:907:628f:b0:72f:57da:c33d with SMTP id nd15-20020a170907628f00b0072f57dac33dmr38496332ejc.374.1666811506348; Wed, 26 Oct 2022 12:11:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666811506; cv=none; d=google.com; s=arc-20160816; b=u7fUOW6AAbZeDjZO8HW3ZV2+s1augXOO2t0jL8e1ViXeTH+13N9ZWeYgP0A7L4Pm9e CtE4goo86TWNhlBuy5DxzUxK55OEr7gWzb5hfvEfzS/dKyNyj1En5PaK5XhAvjdSnZCs BiUU0M8SaXR7a3mWAp9dgcuTLqhinGhFY8AzVp+EiR1noY2XuKzvurKl/70RP4h0w2b1 PSQisApLdg4R4QWsNk3W89bHpZggumqYz+8dTiO1EM35QVw2C9EbrmYkfLBIVSMi11lM tXPbe4rR2cUko3qiGFQv4+QHF5LnmTdWPqe8S4/OQoH2fDyjYq3ygRAps/eGGc06Na9F POYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LOM+X0FNGazO+iBdTINV+wr3yHxfjfF2v0i0p9FRgcY=; b=MiX1uWiTSlQr1Nv8cUwNE5yw2g3V2mh4CLqNS/VG47nBL9VzdQGwSbt0sqRx15RMck nLsMvzPyFoP0FDoPv7hGMvJYONKMSbYSoUOul2GJPFOug8Mg/2fp5lThMnYczAwZQnty LBLQJOWe2n+W1PtRmUoW1pgxLs2hRlLG0y9hTvOWV7b0eX2nvz1mKr4tTbOFg7RRnZBR pI9I/ykJzq45OUVroiSJMlDuDO7dpPJuRlwlPUIKUG2XnzpyK8dc5fhuqIj8UYsRtLGq w63MyPXf38SAOZtDeB3ry2+Y1NY+rC10txuZu8sx29PwCw1VdVsF4PGPuQylJO7MUEpg L1GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W2IntKdW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a50fb97000000b00461d97e5287si6103077edq.344.2022.10.26.12.11.22; Wed, 26 Oct 2022 12:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W2IntKdW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234976AbiJZTKc (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Wed, 26 Oct 2022 15:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234405AbiJZTIK (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 26 Oct 2022 15:08:10 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CA60EF58B; Wed, 26 Oct 2022 12:06:07 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29QIoFjW016327; Wed, 26 Oct 2022 19:05:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=LOM+X0FNGazO+iBdTINV+wr3yHxfjfF2v0i0p9FRgcY=; b=W2IntKdWirVPNR8BsMTrOYp7spN1tGpAeT4L7OEkOUG7PR3fKqp34rD85T+9RsW1I6Qy iD911ves2SDV4Y4exPSzQO3kTz8kfYsgK79OYGwpZ9GWJkuN/sjV3F9nZODichDc8v5X DqLVt0V++M/xtRMAiKxw0n/AaY6ZM9SVxheyk8w2X+kdAyTNb76HJUpnebb4U1bVEFJW owdt3C3VFH9E3KqVwarEWK+ZWgq60/WoknC9/aId3/syPoWOA2vCfv9sQAiuhwOX2wEx l7jfSNHd5R2uPWhA7+7i6rsfjtk4kTU9mXgvs4kjG6iciVaxj7j4JaSysXbcBqI2oNx6 sw== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kfah501y1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 19:05:48 +0000 Received: from nasanex01b.na.qualcomm.com (corens_vlan604_snip.qualcomm.com [10.53.140.1]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29QJ5mJW019120 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 19:05:48 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Wed, 26 Oct 2022 12:05:47 -0700 From: Melody Olvera <quic_molvera@quicinc.com> To: Will Deacon <will@kernel.org>, Joerg Roedel <joro@8bytes.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> CC: Robin Murphy <robin.murphy@arm.com>, <linux-arm-kernel@lists.infradead.org>, <iommu@lists.linux.dev>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Melody Olvera <quic_molvera@quicinc.com> Subject: [PATCH v3 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation Date: Wed, 26 Oct 2022 12:05:34 -0700 Message-ID: <20221026190534.4004945-3-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221026190534.4004945-1-quic_molvera@quicinc.com> References: <20221026190534.4004945-1-quic_molvera@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: WFLcQVuKktRKZ8ANBWfVWr0bKJoYTWDC X-Proofpoint-ORIG-GUID: WFLcQVuKktRKZ8ANBWfVWr0bKJoYTWDC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-26_07,2022-10-26_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxlogscore=890 clxscore=1015 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210260107 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747778542298041200?= X-GMAIL-MSGID: =?utf-8?q?1747778542298041200?= |
Series |
Add smmu support for QDU1000/QRU1000 SoCs
|
|
Commit Message
Melody Olvera
Oct. 26, 2022, 7:05 p.m. UTC
Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu
support for them.
Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
---
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 26/10/2022 21:05, Melody Olvera wrote: > Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu > support for them. > > Signed-off-by: Melody Olvera <quic_molvera@quicinc.com> > --- > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > index b2708de25ea3..0580a381a04b 100644 > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > @@ -426,6 +426,7 @@ static struct arm_smmu_device *qcom_smmu_create(struct arm_smmu_device *smmu, > static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { > { .compatible = "qcom,msm8998-smmu-v2" }, > { .compatible = "qcom,qcm2290-smmu-500" }, > + { .compatible = "qcom,qdu1000-smmu-500" }, The patch was applied but it contradicts work here: https://lore.kernel.org/all/20221102184420.534094-12-dmitry.baryshkov@linaro.org/ which explicitly asks not to add such compatibles... Best regards, Krzysztof
On Mon, Nov 14, 2022 at 03:28:15PM +0100, Krzysztof Kozlowski wrote: > On 26/10/2022 21:05, Melody Olvera wrote: > > Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu > > support for them. > > > > Signed-off-by: Melody Olvera <quic_molvera@quicinc.com> > > --- > > drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > > index b2708de25ea3..0580a381a04b 100644 > > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > > @@ -426,6 +426,7 @@ static struct arm_smmu_device *qcom_smmu_create(struct arm_smmu_device *smmu, > > static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { > > { .compatible = "qcom,msm8998-smmu-v2" }, > > { .compatible = "qcom,qcm2290-smmu-500" }, > > + { .compatible = "qcom,qdu1000-smmu-500" }, > > The patch was applied but it contradicts work here: > https://lore.kernel.org/all/20221102184420.534094-12-dmitry.baryshkov@linaro.org/ > which explicitly asks not to add such compatibles... Sure, but we've been adding new compatibles for years so I don't mind picking up the last few now before we stop accepting new ones. I already asked Dmitry to respin his series as there are some open comments from others anyway. Will
On 14/11/2022 15:42, Will Deacon wrote: > On Mon, Nov 14, 2022 at 03:28:15PM +0100, Krzysztof Kozlowski wrote: >> On 26/10/2022 21:05, Melody Olvera wrote: >>> Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu >>> support for them. >>> >>> Signed-off-by: Melody Olvera <quic_molvera@quicinc.com> >>> --- >>> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + >>> 1 file changed, 1 insertion(+) >>> >>> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c >>> index b2708de25ea3..0580a381a04b 100644 >>> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c >>> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c >>> @@ -426,6 +426,7 @@ static struct arm_smmu_device *qcom_smmu_create(struct arm_smmu_device *smmu, >>> static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { >>> { .compatible = "qcom,msm8998-smmu-v2" }, >>> { .compatible = "qcom,qcm2290-smmu-500" }, >>> + { .compatible = "qcom,qdu1000-smmu-500" }, >> >> The patch was applied but it contradicts work here: >> https://lore.kernel.org/all/20221102184420.534094-12-dmitry.baryshkov@linaro.org/ >> which explicitly asks not to add such compatibles... > > Sure, but we've been adding new compatibles for years so I don't mind > picking up the last few now before we stop accepting new ones. > > I already asked Dmitry to respin his series as there are some open comments > from others anyway. OK. This also solves my other comment for other patch. Best regards, Krzysztof
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index b2708de25ea3..0580a381a04b 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -426,6 +426,7 @@ static struct arm_smmu_device *qcom_smmu_create(struct arm_smmu_device *smmu, static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,msm8998-smmu-v2" }, { .compatible = "qcom,qcm2290-smmu-500" }, + { .compatible = "qcom,qdu1000-smmu-500" }, { .compatible = "qcom,sc7180-smmu-500" }, { .compatible = "qcom,sc7280-smmu-500" }, { .compatible = "qcom,sc8180x-smmu-500" },