From patchwork Fri Oct 14 22:10:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 13007404 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 37F73C4332F for ; Fri, 14 Oct 2022 22:13:41 +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:References:In-Reply-To: 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: List-Owner; bh=zqdqD4kKdX8Sad8xU/VEsizz5dHWPF7du6XouMHJkUo=; b=FzEApZ/H/XL9gP fBx6HiEmYjb6jrxH7G8tY4ajiY+kJ5GNB3BR3zpkxA77FF6XqawyvaBhb0pab4VbCmLGNdb5Ftk6D oiN+V4nTwSAhRKCCdmi/yDU7w15H/XVme5WAfj27ynT939fnQ8JX69OdKdtQ0900ybH0tmMVgQh7x pnb7W+bU2UbnX1hEp6/0kSgDxwwPZJjPACp4p34uLOctC2liK5elBJbdfFxSrlmA2tCiFZFTYbkTP ywi1Thztvz7mLohK2CSLVF2IOljVS1MbOtU0b6QOckUFwPdY3pwqWSWN1oXKBOt7CibREsS1fhGaT 3x2Pm+iRWBaqsMBc+A3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojSu9-00G4bh-Dv; Fri, 14 Oct 2022 22:11:45 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojSto-00G4X7-AO for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 22:11:26 +0000 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29EIEB8H010260; Fri, 14 Oct 2022 22:11:13 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=cLbR5wfAwfwHKb62tJT74DF/f2ENW7hVMPV0Lb/qiB4=; b=A/D6SxFWseRveUUq2JKPn0EbE4I2Ni/XB62pJb0/4pEEW7lPUT2Qu7ZzBcTwCc+E4e0J tepzcDK457H6edQliLpu0G4saNfWgaoIqzg8el4QwrB+9E+IFCNeNAGlVYnS9OI7O0xa mkInLD/2Kfmd7OxyfgVAxT7qskFj3UbkxCEJ35Nh7cWWtHK9OQVLt8/+1k3PyqAZsO64 gAk5Gagu+imt6HL/cKcbEWZKltJsWdzsldTlts1oM4sZVfegBjMocGvZ9mhvtKwdjOxj sZSL+L1m7jhgsDYZ5iY0E/y4Ny7XD/V6ULKfkMOgR5E/eLX4TC1JbKFB5JbNCC+r9L0A 4Q== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3k73h6kaub-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 22:11:13 +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 29EMBCiF005979 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 22:11:12 GMT Received: from hu-molvera-sd.qualcomm.com (10.80.80.8) 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; Fri, 14 Oct 2022 15:11:01 -0700 From: Melody Olvera To: Will Deacon , Joerg Roedel , Rob Herring , Krzysztof Kozlowski CC: Robin Murphy , , , , , Melody Olvera Subject: [PATCH v2 1/2] dt-bindings: arm-smmu: Add compatible bindings for QDU1000 and QRU1000 Date: Fri, 14 Oct 2022 15:10:50 -0700 Message-ID: <20221014221051.7434-2-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221014221051.7434-1-quic_molvera@quicinc.com> References: <20221014221051.7434-1-quic_molvera@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: zK6Sr78aDVqJbrumiz0TdkQi7_OCd9wP X-Proofpoint-GUID: zK6Sr78aDVqJbrumiz0TdkQi7_OCd9wP 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-14_11,2022-10-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 impostorscore=0 spamscore=0 mlxlogscore=749 lowpriorityscore=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210140122 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_151124_392022_777AE183 X-CRM114-Status: GOOD ( 14.64 ) 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 Add compatible bindings for Qualcomm QDU1000 and QRU1000 platforms. Signed-off-by: Melody Olvera --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 9066e6df1ba1..ae314436eddb 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -34,6 +34,8 @@ properties: items: - enum: - qcom,qcm2290-smmu-500 + - qcom,qdu1000-smmu-500 + - qcom,qru1000-smmu-500 - qcom,sc7180-smmu-500 - qcom,sc7280-smmu-500 - qcom,sc8180x-smmu-500 From patchwork Fri Oct 14 22:10:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 13007402 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 C6457C433FE for ; Fri, 14 Oct 2022 22:12:35 +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:References:In-Reply-To: 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: List-Owner; bh=6KHgAJjyFmB4zg0IA56W+lhBN0rV+SlxWjw0Jnp0/wo=; b=jZtWSXj0+eWjCp Qy2VT/+rZZv48C1hT5RWiLk52pxj5jJdjLzpSaBpRnQzE/mLj35BsRSRFCl5fYpsXPgdDE0NC8de2 JY7nJvqVTtZBE3/sYwGFkoVG5a8vbVai8oEXofTqb1LjHlTRPe4donWYvD+AwT7IFe7qAuRrhfgFe S9AY6DsQN70Vcy+OS7FSOkE3c/XeCuLmSh4rIGnSnAtybHwTf96CjfxyB/VjfRHvQu4RsgfADA1J8 W62h4R8XxdPFUWYBOrYNTfCGLjTrmOu1Bk+DxbEcU6d+Yry/JrobThevmKVXMtpSjrXAMH4wxoYAH DDB+Pyf5w0eK/bJG0wow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojStr-00G4YQ-Sd; Fri, 14 Oct 2022 22:11:28 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojSto-00G4Wu-9I for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 22:11:25 +0000 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29EIE0Uo011559; Fri, 14 Oct 2022 22:11:13 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=FPyzwEtcJbBPcIiJlL3YvkFOzDcHrcosjSjnmq1JvJo=; b=I6leZrbZp0Jl0zTZz1enbSAr2kl3Lc2Y7vOfAXXUAjdJIXYFieRVvb3YWD5LOAK1XzzS XSM+EnvEpVgcGVmJFloFtN5hbxrlhizQkyxv8K2CxDKQY6vyPl7Be0Qll3dX9vA3LpWa Pllolgms3SGa4J9yvQ0KYkHc4aIPVkepY9g5g1mKvMq9CGewaXjHrrUbW1X9BMB3OKLg 0xCMuxy7AVUL2UGlrFbGWfNGh/dOqDXS7CqBy79F/MAvu9pJYBkatfHTDCB/NTznS/2C 8ErmXpuGi/6G+QaRN/9BK9XfRzGIXXgYyvWoXEyhUtuiIeL4zhBWQNchpkCJ5wP2jeH0 uA== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3k74eck7d8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 22:11:13 +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 29EMBCiG005979 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Oct 2022 22:11:13 GMT Received: from hu-molvera-sd.qualcomm.com (10.80.80.8) 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; Fri, 14 Oct 2022 15:11:01 -0700 From: Melody Olvera To: Will Deacon , Joerg Roedel , Rob Herring , Krzysztof Kozlowski CC: Robin Murphy , , , , , Melody Olvera Subject: [PATCH v2 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation Date: Fri, 14 Oct 2022 15:10:51 -0700 Message-ID: <20221014221051.7434-3-quic_molvera@quicinc.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221014221051.7434-1-quic_molvera@quicinc.com> References: <20221014221051.7434-1-quic_molvera@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: MmdzQArU2WKSIxMi2N-yoRe0Gm0P11cN X-Proofpoint-ORIG-GUID: MmdzQArU2WKSIxMi2N-yoRe0Gm0P11cN 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-14_11,2022-10-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxlogscore=851 mlxscore=0 impostorscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210140122 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_151124_361633_E0C84F01 X-CRM114-Status: GOOD ( 16.22 ) 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 Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu support for them. Signed-off-by: Melody Olvera --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index b2708de25ea3..4f976cfb20d4 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -426,6 +426,8 @@ 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,qru1000-smmu-500" }, { .compatible = "qcom,sc7180-smmu-500" }, { .compatible = "qcom,sc7280-smmu-500" }, { .compatible = "qcom,sc8180x-smmu-500" },