From patchwork Mon Jan 23 13:19:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 47142 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1604784wrn; Mon, 23 Jan 2023 05:21:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXuEFGcudw+TekcrPb8Rh9lbyX4diperkn61/rbrYMyx0UFH0aWkUcNCTU75E76ouFCNRJDY X-Received: by 2002:a17:90a:7646:b0:219:c890:abda with SMTP id s6-20020a17090a764600b00219c890abdamr25597347pjl.40.1674480107856; Mon, 23 Jan 2023 05:21:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674480107; cv=none; d=google.com; s=arc-20160816; b=X3yFFBq/7H2CC7GKk59EfCSAMDa2GeCBAC17Z9ZH3nNCezPBzKNJyx3FJK9NlbV9Y3 nq4n4w6enivfKQjs846nl4ynOpdySXzDWlh83Lvq0+S95jFCwgiUYHXxjE66OgkOAOkr WQVR4g/1Dj0w8EAAf8igcfVpeDziLrGVvAo43d9UDouHfWk2Y00iudeKkTj1s/3EgrKQ 6LdR6zo02gPDXxpT3gUseDGrnvVGJVq4U+xiOsJq73JVvZR/3HySa1RB4eRhjqJXMF3R meggR9e2uYAMWZB5hz11Z7Se0q5BWELUjLbWPrKNzp1S84OJRXJ78QlPE85NiRe/l1AX H02Q== 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=HSXdTwIFwLZZEnx1LAJCezEFnZaccRUxro2oCXT9TXo=; b=BlTohEbN8BUJ40uBJ9j2nMOHTKIkERzwTvk7zWiuh2+9rF18FgcdGSkHb3KTXTs6mm 8Qh1bThJFqNpPctGrhbwXBO9gVR37Iq+DXVpo0/zOg7M6NhGyGhROdvCzH2BKA0UHNs8 CYuzHIUwvNzD6+YhDungrzJ+eTk/X9XM4gFjQbJ64N0yMvLSB+vPoZtKlQNtKUsMHvX1 oUtEwtYY8ID577SuBPYWfQxnRj8z3pLm142+YY7rDd634GlnqcxPj6A6R8Fa25NQazfd SImgEX5XYcDrLsCeyrsRdXWVDUlV63RKIJDs6xsZPvBgf/VAtCA+r3/yF+P0FeCG+6Eg jyMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TPyusCBy; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k184-20020a6384c1000000b004cf19382fcasi21107418pgd.238.2023.01.23.05.21.30; Mon, 23 Jan 2023 05:21:47 -0800 (PST) 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=@linaro.org header.s=google header.b=TPyusCBy; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231937AbjAWNUB (ORCPT + 99 others); Mon, 23 Jan 2023 08:20:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231899AbjAWNTx (ORCPT ); Mon, 23 Jan 2023 08:19:53 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A65E17161 for ; Mon, 23 Jan 2023 05:19:52 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id i1so8743389pfk.3 for ; Mon, 23 Jan 2023 05:19:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HSXdTwIFwLZZEnx1LAJCezEFnZaccRUxro2oCXT9TXo=; b=TPyusCBywQC0BzN5b7Zdbr03bCgGX4h0L6koL/iIZh7MIlY1newLiMSEQhtSBUoSh+ WwThMmSr/QG5s+rZ5c+e6hwF49E/LsBPpH+D2ZLejBKpd8+R1FqyrqKEFqkEM4havBVs FDwoWQ2iZN1nUytq38Hjjr5wkqwsa1L8mi9Fzagrl9bgMrICshTxlRG634Dr5jlQZ+q9 MyqQkAb3dmZW2a3VqKpPNh2rBV6cPbaH13T43zSD0H+rxUExAiTkTcHbehIlv7V6GVp2 UNwklV7wE7xShKN5zZXqwh1Au5OHodqLat+Xzukx2ljOOREg0J81l1ssIHC5r9sX4Z8v FT3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HSXdTwIFwLZZEnx1LAJCezEFnZaccRUxro2oCXT9TXo=; b=NX3j9qVmXxZbNYtwyxqlJQXpsrEO6LF/mP5bB/HxgCGtPpcOkwiRR9q34jHbOUaZU3 Y/NFZC8Gs/BzGkALP+c//YTVe6CGuZ5mPTYkI7nWjTo+vr43g+kVvNwM7lUsMjQQB8zR FRs+l93ozulbK6f2M1YRiz9YYFc4R1l9x9eDVEKNGVUVihpl33u12ebojenAEGFRjFdZ Cju2FnE3cFCYWX6S26rg8efzJv4Uo/FcuRgQWGKT+7vShXNCpJ5JUZpUG9ed0nfMuk7m zhNuVp8suNnk5s8XfwFixYAvjuROgRqhDDG7MVIyCsAqPcf7DMeqCSmWCZk4xrwixnCj OXuw== X-Gm-Message-State: AFqh2krQqeXo+kOetqXkvlwwxaJKDQHITBnDdxeaqKfFBgtGR+5j7Rlb ngtw1XHg4AmSHLlepoEHrf5X X-Received: by 2002:a05:6a00:4c0b:b0:58d:acc6:fd2a with SMTP id ea11-20020a056a004c0b00b0058dacc6fd2amr27259708pfb.25.1674479991710; Mon, 23 Jan 2023 05:19:51 -0800 (PST) Received: from localhost.localdomain ([117.193.209.165]) by smtp.gmail.com with ESMTPSA id q20-20020aa79834000000b0058134d2df41sm30818783pfl.146.2023.01.23.05.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 05:19:50 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, will@kernel.org, joro@8bytes.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, dmitry.baryshkov@linaro.org, Manivannan Sadhasivam Subject: [PATCH 1/3] dt-bindings: arm-smmu: Fix binding for SDX55 and SDX65 Date: Mon, 23 Jan 2023 18:49:29 +0530 Message-Id: <20230123131931.263024-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> References: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755819653645629581?= X-GMAIL-MSGID: =?utf-8?q?1755819653645629581?= Both SDX55 and SDX66 SoCs are using the Qualcomm version of the SMMU-500 IP. But the binding lists them under the non-qcom implementation which is not correct. So fix the binding by moving these two SoCs under "qcom,smmu-500" implementation. Fixes: 6c84bbd103d8 ("dt-bindings: arm-smmu: Add generic qcom,smmu-500 bindings") Signed-off-by: Manivannan Sadhasivam Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index b28c5c2b0ff2..25fd10d39b3c 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -42,6 +42,8 @@ properties: - qcom,sc8280xp-smmu-500 - qcom,sdm670-smmu-500 - qcom,sdm845-smmu-500 + - qcom,sdx55-smmu-500 + - qcom,sdx65-smmu-500 - qcom,sm6115-smmu-500 - qcom,sm6350-smmu-500 - qcom,sm6375-smmu-500 @@ -52,14 +54,6 @@ properties: - const: qcom,smmu-500 - const: arm,mmu-500 - - description: Qcom SoCs implementing "arm,mmu-500" (non-qcom implementation) - deprecated: true - items: - - enum: - - qcom,sdx55-smmu-500 - - qcom,sdx65-smmu-500 - - const: arm,mmu-500 - - description: Qcom SoCs implementing "arm,mmu-500" (legacy binding) deprecated: true items: From patchwork Mon Jan 23 13:19:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 47141 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1604721wrn; Mon, 23 Jan 2023 05:21:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXvoKtoPXYmQjgwCw55iZ1TfT1dtUPf9BzRiYhvWl6ZisWFYioDter6s2BQVTrarMsmfNZ/a X-Received: by 2002:a17:906:abd8:b0:7b1:316c:38f5 with SMTP id kq24-20020a170906abd800b007b1316c38f5mr26949776ejb.30.1674480100071; Mon, 23 Jan 2023 05:21:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674480100; cv=none; d=google.com; s=arc-20160816; b=xiaaPKIZg6pw5+gndWtBNj85bKMjPwmB/P9g0Kz+m+W4HdNcV8sglX9KbpB6DEnmmg hSXJ3HKYNrnhSBXsKcZaPYu1zQk6+QIhI3pNMc8sOayfaJ/rKs7BRZ48qJ/PQPJuPolC Cbxv++LvVAcB1mekD+ZUIKKrZ30vlC5pTFnaccXeJFu/TgeYBLK6cmR5mQ3+XG1Qp0Jd jcm4x6e7NZzpaIlRGwk5QmyuIHl19yKBL6wc04X/UlQUxU9S+MWsinathT4xpkbGxld4 nzJp3k3ZbXqRm7ZIO2cU8qujBDBMoHl3ti4hcHZNhx0C87UhA8SWwnLel+sd+IRqhNHB 01SA== 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=PZUmagI3SrNjxAIFc/u/7wsXmsBaYydmEOg5h5RQ/H0=; b=wdooUWMH2iymbhgCoy+J/EVuZFLikPe2hd2gvFvxt+n40lSgkO+CCa//uvTOrvONaA nVuc5TkLXEYR6lf1Ffpi4HhpXAo/R5FyNlJloiojkDobD611susq1uBn/MoWjnXGjEtM OAmZ/G4gfwvOf4YUvdQHDEGOHTpG7CgJs9KtLLp4WUQCK2gRTvJEIPDaeZciO+HGiPkj jfywWWUTqdsOueyU73kSycP0dT6SD3643IJXnKshjWKx59ukzsQThFeavynMfqrTyl7w g5Xn7qrlYGhvleTimphvg09Up0Tm0f7v+EBJcy1PQk/msaIi1AruVXMtRQ2cWO+usJsw wGBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jj1AklBZ; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170906794600b007c0a4c149bfsi24711760ejo.403.2023.01.23.05.21.16; Mon, 23 Jan 2023 05:21:40 -0800 (PST) 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=@linaro.org header.s=google header.b=Jj1AklBZ; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231565AbjAWNUD (ORCPT + 99 others); Mon, 23 Jan 2023 08:20:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231274AbjAWNUA (ORCPT ); Mon, 23 Jan 2023 08:20:00 -0500 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB5721630C for ; Mon, 23 Jan 2023 05:19:58 -0800 (PST) Received: by mail-pf1-x42d.google.com with SMTP id g205so8732115pfb.6 for ; Mon, 23 Jan 2023 05:19:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PZUmagI3SrNjxAIFc/u/7wsXmsBaYydmEOg5h5RQ/H0=; b=Jj1AklBZUZFUxAjbjJiLjE+yWzx1KppOmQDis8z3iqM0Y3GqnU8mbwcEnsy5+6IhLp 2wBbJSoTv41v5b1JeUYAxT0fZMamcfDnGtgpamzJDCZtLrB47hJd/hCxBMCbIisemiyA mN4cMjAVMveLN+zqmfgeFUiYQ2lOK8q/aJeUTa3/YNFzKyKhHshohHx7onSH+Bk7cHys IOM1UTRh9hjblpZfCgjIi+srvkZLknFIM3IHnXW8ga0jcUxKT6QYcoRuPYshDoBTNcyF JYZ1bzoaNlBMjZvL1Ec6aPR541ysPlz+voy9bV0xLim4UZ/cl87/SeTgEtjn9LZh1ecD Uwow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PZUmagI3SrNjxAIFc/u/7wsXmsBaYydmEOg5h5RQ/H0=; b=1VSCcQxgZAYiOX3hYzNFznlFxo1QECYXGVl4VSqSOAGT+YpFWiddRRKNjIDOBGgp42 /m95NbCHCzEVGtuCKOHlLfdADC4wfx+X3PVZEp+xOL5K1UdkKkeLfpvPZlfGXXUbU4a5 MjPqHS3Yim5mg+up1lh24s5je3m3bFeQTndp56yFqWmps6aEYD6iJM9/bte7252PSrSi 6QWb0Yy0TbcM3hXqYcKbATHX/sojZVM+j+PfoDTWBu1jD7YzYKl22cx3XkQfFduynRXf 7XJWOOeNEj5CNULbGdNwDCbTk5b8gL1DAKgWQuXN9Gwr2RN89UcFKNzxBnwCEJ24cP9c vmbQ== X-Gm-Message-State: AFqh2krRlfRVRco/+gvn6cLKwmUIVxfvcUbqBApVQB7yzZYlnP+lCD07 dMU3YP5HrcB/M45STr/vSV7+ X-Received: by 2002:aa7:8283:0:b0:588:9c15:65c4 with SMTP id s3-20020aa78283000000b005889c1565c4mr24088303pfm.3.1674479998226; Mon, 23 Jan 2023 05:19:58 -0800 (PST) Received: from localhost.localdomain ([117.193.209.165]) by smtp.gmail.com with ESMTPSA id q20-20020aa79834000000b0058134d2df41sm30818783pfl.146.2023.01.23.05.19.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 05:19:57 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, will@kernel.org, joro@8bytes.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, dmitry.baryshkov@linaro.org, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node Date: Mon, 23 Jan 2023 18:49:30 +0530 Message-Id: <20230123131931.263024-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> References: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755819645606981910?= X-GMAIL-MSGID: =?utf-8?q?1755819645606981910?= SDX55 uses the Qcom version of the SMMU-500 IP. So use "qcom,smmu-500" compatible as the fallback to the SoC specific compatible. Cc: # 5.12 Fixes: a2bdfdfba2af ("ARM: dts: qcom: sdx55: Enable ARM SMMU") Signed-off-by: Manivannan Sadhasivam Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-sdx55.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index f1c0dab40992..93d71aff3fab 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -578,7 +578,7 @@ pil-reloc@94c { }; apps_smmu: iommu@15000000 { - compatible = "qcom,sdx55-smmu-500", "arm,mmu-500"; + compatible = "qcom,sdx55-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x15000000 0x20000>; #iommu-cells = <2>; #global-interrupts = <1>; From patchwork Mon Jan 23 13:19:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 47143 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1605244wrn; Mon, 23 Jan 2023 05:22:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXtRM+5wJdcxOuhKWSu8uukphyUSb+DyVV9SH+YEqeoUqNeEGMpKT8Kdb2MpNMGHorF+4xNQ X-Received: by 2002:a17:902:e845:b0:192:f45e:4197 with SMTP id t5-20020a170902e84500b00192f45e4197mr33855609plg.31.1674480178167; Mon, 23 Jan 2023 05:22:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674480178; cv=none; d=google.com; s=arc-20160816; b=sKzD/tYLy+xp+O6f/lLNzy0SEFz9ggz9sT3J7ji3dHVTDzGuyjPPJWmm/N5P7aiBsh yodmTT4LDBZpeLq0Rb/F8e/e7WzLZqb53xZ7ay+kLJGsR9YHapk7B24WJt7DtJlx7Khc IET/9FiAVBfmM/MQW9kH1JgDoY6H0g9lK+MNkbj3bauQEnoiJIjY2PPQExELMCySSEfX Y9NhDCiPa3PvXgsdYiVvrWqMI54N+uO3V9pGwSQhiWgJvlLwpE7Jhhhvle5VTwllOcFZ VArN5FICvv00GFnb7ixI9JVZBmZK9rP0lU53U4RBnEJKEcZ0VyeX6l65VAM1ZtXr46wT l0Sg== 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=WMZ85FVbs1razWOw43g+c6f7IoFKYG0ZHhwwE8xTxuk=; b=mfTHpadlyB2ECyBbixLe9jsNAmnMqqnvNSDQP2VUG9AAO5WfFVdQ9uJ8zrnM2piyZD IbmVeXaE2jDGe0/oUG8H/9+6pUvsFwIxndeJmqkcXUbbcl05RaK2SfUBcB9vJvWyKVWe 3EdEMsVLFOa55o+oi8yDo/PmBtOEKRTXaSC6z4Q+Thv8qE2C+QF0KmehGNWUJsGrwsII HcPKV/ddCNBX+8VJoauJgRpMYrCv9LFIZVWPgGi4D+px0hoKcmUASkqcGm5Lo26Hlj7q +R0ajluxhp5NR7u4arh4iL2e+fDDarnOx0TgVWDycd1q4g41kN5CUxOsGJDmvUEqmyLB v3ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R7WF00+j; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m13-20020a637d4d000000b0047798cc3bffsi9293228pgn.246.2023.01.23.05.22.33; Mon, 23 Jan 2023 05:22:58 -0800 (PST) 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=@linaro.org header.s=google header.b=R7WF00+j; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231841AbjAWNUK (ORCPT + 99 others); Mon, 23 Jan 2023 08:20:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbjAWNUG (ORCPT ); Mon, 23 Jan 2023 08:20:06 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24F7D252B9 for ; Mon, 23 Jan 2023 05:20:04 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id x4so8741918pfj.1 for ; Mon, 23 Jan 2023 05:20:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WMZ85FVbs1razWOw43g+c6f7IoFKYG0ZHhwwE8xTxuk=; b=R7WF00+j43cj6mfbSwdgDbnXqdJSVInk67fmnpePKQTkc1eEkRY1aljW9i42KBmHtI MvhiEesapa/loy+KhbJD56v+31cNMXcs+3kdI94inkovtcm+TS7VGL9DMvth7jBBZlcA gRNkj+jw3ZE+BB6jVlIvADMp/u6BEKriJCINNoIL4wm4HQDlNIi1A5jHlaPDWD3U18Fu cjh5deSJvaq7b88shlvPBXuphs1LkSjY9+pN6Hyj21UTnoOSvxltYW2AorYouJIDb0iC ZUy2CsfyiJky0rLaHaTPYzVpn2EHt2I+FLCGXsKpinP+6ttzEoU1XiMNedEAC+fL03KZ mc4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WMZ85FVbs1razWOw43g+c6f7IoFKYG0ZHhwwE8xTxuk=; b=igvlRvNDCEbGs3sur+D6k4uY6bV5YRyzZITqHljVbjkxbhYY58S1KxHBi58OpXTQHm f6A0TDpGkiL5C7V19BeN2EuPuK4QG8QwTD6oDa/56/qLP+kusftY8HWntjFSdbqL4May +1vQdPwFpx0xvU6BSWYxzuGgnLH9WnmAQBCV8+OVy+CUt7x1orsOFrphD18usK7fbq2K 8nBd2Bx/6Mr5PFa9fKZRGlhvO6JVY3YeYWD4uqo6gIgDLEFo8iEWuqY5cwBnvfRJ+ybx ksrYFi9a8JxaF/cFuPPHc8jvu+uSvBl1wRrqoyKdsJukwP/3VbIVdQz/UzYCRHiZHaB9 rEsw== X-Gm-Message-State: AFqh2kqQAZ0M75ByUM0VEnbM/i8wTPhcZ86FHFlLUH+DSFeqVOLq3+o2 cjKlhbJ3syLQ9+bvtQC7pPJV X-Received: by 2002:a05:6a00:44c5:b0:580:8c2c:d0ad with SMTP id cv5-20020a056a0044c500b005808c2cd0admr23386125pfb.13.1674480003621; Mon, 23 Jan 2023 05:20:03 -0800 (PST) Received: from localhost.localdomain ([117.193.209.165]) by smtp.gmail.com with ESMTPSA id q20-20020aa79834000000b0058134d2df41sm30818783pfl.146.2023.01.23.05.19.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 05:20:02 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, will@kernel.org, joro@8bytes.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, dmitry.baryshkov@linaro.org, Manivannan Sadhasivam , stable@vger.kernel.org Subject: [PATCH 3/3] ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node Date: Mon, 23 Jan 2023 18:49:31 +0530 Message-Id: <20230123131931.263024-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> References: <20230123131931.263024-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755819695415160017?= X-GMAIL-MSGID: =?utf-8?q?1755819727072522980?= SDX65 uses the Qcom version of the SMMU-500 IP. So use "qcom,smmu-500" compatible as the fallback to the SoC specific compatible. Cc: # 5.19 Fixes: 98187f7b74bf ("ARM: dts: qcom: sdx65: Enable ARM SMMU") Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx65.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-sdx65.dtsi b/arch/arm/boot/dts/qcom-sdx65.dtsi index b073e0c63df4..408c4b87d44b 100644 --- a/arch/arm/boot/dts/qcom-sdx65.dtsi +++ b/arch/arm/boot/dts/qcom-sdx65.dtsi @@ -455,7 +455,7 @@ pil-reloc@94c { }; apps_smmu: iommu@15000000 { - compatible = "qcom,sdx65-smmu-500", "arm,mmu-500"; + compatible = "qcom,sdx65-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg = <0x15000000 0x40000>; #iommu-cells = <2>; #global-interrupts = <1>;