From patchwork Thu Feb 16 14:56:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58119 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352051wrn; Thu, 16 Feb 2023 07:09:00 -0800 (PST) X-Google-Smtp-Source: AK7set854N/voQuHWHoG/F/XOV6gxg/tMY2u0NaAT0+/BVygIvjuNm386n9GvZ6cyB3J7IWAj9Fg X-Received: by 2002:a17:903:32c3:b0:19a:9686:ea85 with SMTP id i3-20020a17090332c300b0019a9686ea85mr7831247plr.17.1676560140601; Thu, 16 Feb 2023 07:09:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560140; cv=none; d=google.com; s=arc-20160816; b=FYccblX0h8Ul9NfPl+Ubkj5nkR1X9scDt2BV+lNTLei1h6kH1KZLzt6EKAQp7iibR6 9F+RvXeC2GqDKDRx24UcuOniXUfcUTx8O5GoGpgeEigMS5041ukBXLgfazbjn/+TAQLA cPTDBNw0AEBo0deEX074q5nnSGIr5WTmjGAOiuDnR12ufn0Rmo/yoP4QIvDsLmI5F49s w3WG0zZI8bHqO5oxJpfyuHBrrA0wbWOQSJCw+PnKkGI5Gq2et9OdFV7pFZQG0Rsz6ZAm kUm/roxyZMIENLjraz5kdv1jc2DIqSz6vecZKeVHeOK2HGKjMOw6FWbOnNg/1V5sYy/o EpuA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ojDsOUx0QxlHwnKO3iv7w8jD6D1QkQboQ8A+JjRFmOI=; b=oCwr61eF/249IWSYC6c2vOcU9JFlCPWUuAjLAktv3vgRj445eLDRlegpOj6VzwBgLq 274DgASPohI5X7ItHaDZjvrQIiwodm/BuAR6Ua7f+M7vCMlvhzZEGo27HCbbqbdlFWxa QxRYrrqA3yzihSwH2eLzU7k2sZQmNtLNPobEqU1g2yyq1y+YiT+UjRGWGSxZuKQzAL0V oBptpOuyri5B5cdjznmJzB3pVyTdlMH/uVTkFtVs06x6lL4G9wkixI/Ag0yeYBxW0RYJ 9UHT5ooa9S/6BpoldMvga7l8GckDncLcQmggupru/5Q35IZBQOZLZmPd41Z8TqACeZJa rrkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SondPCsc; 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 je9-20020a170903264900b0019b0e2473e2si135995plb.416.2023.02.16.07.08.47; Thu, 16 Feb 2023 07:09:00 -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=SondPCsc; 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 S230347AbjBPO5B (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229911AbjBPO44 (ORCPT ); Thu, 16 Feb 2023 09:56:56 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C88255E63 for ; Thu, 16 Feb 2023 06:56:52 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id a9so2200839ljr.13 for ; Thu, 16 Feb 2023 06:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ojDsOUx0QxlHwnKO3iv7w8jD6D1QkQboQ8A+JjRFmOI=; b=SondPCscTEEfrANSxAKrbtewG6FLTdvIPFAFYYLnp3D6+Sn+aQcShVMUm4krMOXcjZ zbo80ni77TnS8/+4ZDiNXLavjjm+yeKidHBAkz7jX3QA31vJzCCCIqi/Kuh9dzPDXXlM /hIpwe6+bwykNTXyuP24UuNpY2pgy2hRN5tf7u+OnnbVUZmXyC0Sif2c2hQyi2K7J93f qX3ZquTNqVEE2BsSD5RTSPRcD8CO6ir6oJc7acuOYeiHpd1yUmdEvLFQoRF4sdnHisA1 a0csh6t9NnYQ6mi2jZwM7GMJ3HXYDMvMBOdq8newuRzxiAUWyrfbywABB9wT0OFft/jD lPEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ojDsOUx0QxlHwnKO3iv7w8jD6D1QkQboQ8A+JjRFmOI=; b=QYh10rBcr5hq9YtyegpLeVud8o02xQI9ZOQPOZJdOOng2e12Dml8N13GBqRrL1FxvB 8Bg52/YKDd61OI8yDUic96CxfuNTm6XR52FBAmm698u7O1+67Tfaws88uupCMnbFJr3R MeJ9CQWOcX93C8rEUHDXuqfzRJMLhpfEdGTEK83194AHu5gT1ejcN06y1EM2JqdzGRa3 2ZAd1IfkX5ly1up9oHmMP/rfzbHqF4x8UBxIkRzcXibdzYKFOzr/ICg75mzjxivfMn9L kZB+x/m8drPiKmleYmxRWYqstXZlOC1NUJFriy2WRnsjeo8KeFAoxqG+q24Z4VoIEp2n LHFg== X-Gm-Message-State: AO0yUKVwb78wyFwgksfpXVukqYzqOp/980p88lqyQ+lAkjJqqiKRGXjh DcocVJTlWi0bd7ai4URdrWw/tg== X-Received: by 2002:a2e:a365:0:b0:28e:732e:206a with SMTP id i5-20020a2ea365000000b0028e732e206amr1548884ljn.12.1676559410725; Thu, 16 Feb 2023 06:56:50 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:50 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: arm-smmu: Add SM8350 Adreno SMMU Date: Thu, 16 Feb 2023 15:56:42 +0100 Message-Id: <20230216145646.4095336-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 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?1758000725864018066?= X-GMAIL-MSGID: =?utf-8?q?1758000725864018066?= Document the Adreno SMMU present on SM8350. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 4d7f61700cae..d89aa5b5c963 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -81,6 +81,7 @@ properties: - qcom,sc7280-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 + - qcom,sm8350-smmu-500 - const: qcom,adreno-smmu - const: qcom,smmu-500 - const: arm,mmu-500 From patchwork Thu Feb 16 14:56:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58120 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352083wrn; Thu, 16 Feb 2023 07:09:03 -0800 (PST) X-Google-Smtp-Source: AK7set9wMChCJTgfQVTQfHNRd4ufd7kL9ug3AO+FgebSDo5Dlx5fp/Uf4szuX0CYckDfRuY0pA6O X-Received: by 2002:a17:902:d4c8:b0:198:e4a2:f88c with SMTP id o8-20020a170902d4c800b00198e4a2f88cmr2492558plg.11.1676560143090; Thu, 16 Feb 2023 07:09:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560143; cv=none; d=google.com; s=arc-20160816; b=kEDSAyi0csRX7afxF7y5TcL+0b0UjLknRQBDxkgpgM9WuSJjk0kXNYdZhOZaKk2nAb 7+miuF6DEfcjqaecDreWM517Kslz/A/d+6SMFYza4xWY4w3aWIP/5xclYjXqIIvX6OEt BOKV9qtiphXHs3wcEHm753Kcm9XuQdd2Do438JXO+446MtxJqLVE5D8t4ggVowCbY2iP qq4V1BTFslkSLJqq1En+CSedz20PipbV1UUnRFx/JhngyVRoLf9+KWD22RMqEi+tJZ8q IgbYuaI4VkJJ+yRyrMB1JbdlwhdKlje00XiSmxYL3fZCDK5/7FsH3uSGkuEOiiA/8GiI eZNQ== 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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=06AxGHF1w8ARMHpRTKe3zUEuqE9EWUKFOSRrD3hsU2O07h0sBI10oIPE6BOrFPby5w l1sTVfqOV+8Nqbu6rVjpEETaXjGR/zjvfFHyERCW2GAjM3QMGOHOXFa7lrVJFBisouJR IvyrQV2mr+tMsRjLfX1xnqsb7p9YlZ9+S3YVDWFAQWKlW2Jqyf3TdfcNhbXZekJ3dVck vOlVXj+fn2EACqG1RH3botieq2DTPN2XfS3srcgpHnGvNYw7MsL68W0/sh9CBXX4A55d gHmMSHVKldUESkHvvEDyhbGuChJB17GATFNgSgoK4gEH1OPrG+Gl9G1fmoSWrI/rk2A2 hBEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ud3t/DRE"; 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 x5-20020a655385000000b004fb1c44a4d1si2069034pgq.212.2023.02.16.07.08.49; Thu, 16 Feb 2023 07:09:03 -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="ud3t/DRE"; 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 S230339AbjBPO5I (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbjBPO46 (ORCPT ); Thu, 16 Feb 2023 09:56:58 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EF04552AC for ; Thu, 16 Feb 2023 06:56:54 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id a9so2200936ljr.13 for ; Thu, 16 Feb 2023 06:56:53 -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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=ud3t/DRE6nToVd1mFfxMCc6ZnBTJhm+5E49w3+Wd6fAP1x3kIW/YoRm6IBQP3sj8M0 rFkdEVsROi9pudYxdoIMTqL5Shncf57fkILgjqbKY+LFttQJFNT4ghldjCVIYA6vCvMC 23LI5vUzCoFB6Hxq0EeMx7ANobgZ+4oYaB7uafYr5edOgUAWNM9ZjChwWq2pvsfquWDO RnzlLylNeFXvOZ7HisHJJzsmJpgdwCs+GzLBG+sOaIX1nwsi909aMXSOlwyYiIoiPWNS QvMMsIB1n226cXbdH7MtKUKkbFEO4hGsXXRlRLh9nOyl1e9x355WiI+qRUhHp+bUPfRI wVHQ== 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=xA8Nok9QB06dAiggpOCi9jTMtWNwPI/BkB7gt9UlA4Q=; b=aEfM4n4TeXjDgSop1dFaPv8zLCOk8ZW4Y4cVHuAT0dDxZxho5qxEbbt7yX1Qdc9qa1 jVkgtqIyCVuWmLo0z+6QRE0yFpvEbO9hxy0JLLPJBm/0wGWUUZDDvkr6LyYxx6vfWEQ6 ro8dTU0PNzUAugI16IDI+ZXztTRqRqB0H72XZ/C/AsSnm1o/4j9LFDNXo7n7YJ5Idqhp RJzwdVjTNBetnAM8e0thswLZAgDFNseBlnps6r9ZtqfRqodiaYmgOMlwSl8b72wo/5At gh4YB1+4KAzzCzPD5mndySzr3IQnSPUhfMmenaOL3WgyuUQ/LeNHjyd2rcxSQna1CX68 nbbQ== X-Gm-Message-State: AO0yUKVsgmvG9eUdOWU3hbGMAZZo95GXoKKgwhrM1UyR6AU2fDubXJN+ aSUQ2ur2NJ04rTt/JuRpO3rJFg== X-Received: by 2002:a2e:2a43:0:b0:293:4b6b:914e with SMTP id q64-20020a2e2a43000000b002934b6b914emr1835066ljq.26.1676559412360; Thu, 16 Feb 2023 06:56:52 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:51 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:43 +0100 Message-Id: <20230216145646.4095336-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@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?1758000728573256517?= X-GMAIL-MSGID: =?utf-8?q?1758000728573256517?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index bdcb74925313..a8227bb6b336 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2677,7 +2677,8 @@ dma@117f000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sc7280-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sc7280-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x20000>; #iommu-cells = <2>; #global-interrupts = <2>; From patchwork Thu Feb 16 14:56:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58121 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352104wrn; Thu, 16 Feb 2023 07:09:05 -0800 (PST) X-Google-Smtp-Source: AK7set+YmO7u8hOfUp7kzWJmk6QTTI3pOoqAK7b4VKnRAnw3HvCqKoIAehEP7O7agRJ1CUQ2HSMh X-Received: by 2002:a05:6a00:1390:b0:5a8:b6ec:3aac with SMTP id t16-20020a056a00139000b005a8b6ec3aacmr2580282pfg.15.1676560145181; Thu, 16 Feb 2023 07:09:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560145; cv=none; d=google.com; s=arc-20160816; b=cf6iTEljOTEFd19ZeWRR1LqxGREH5H/Xn3szGmfFldA/fQ57JUk2Z1DeUiWS2+6k/Y 7HIXbIC5tK5ImY0qjqbUq1Yz2rxK+E3JvwAQYQfTBqj6SvCUnQhqYuOsr6uxnXmwnsp0 XPKwSK9v+//bjGti0g9i8QmIYI6+m/Ru69qyuPkxnwsaOn4FKw8Z3FVTQdvwiLemawxF KizCNm/6fJouHrM4kagT1fFALHcpBlv4hTaVdBtqnL3Riz/76puVFumPXc4Ij+7hJDh3 6fRi405LY/n+OF12T1r0O5k6KAGl+bSt/UK7xp61w2MnJpcjnCBaMTRPU4MJNXRxqg8D oZNg== 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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=WU1SudB02KuSlrhfDzmCkWEy7u6t51UXiGS242Y6qmtlhjfpwf6/nO/dBog7hX4dJn SBVbFNLef43qyQoSNmLVUHQ1H45P31ie9onvCwQDNb6EmramDBRjJOgM7e3KezD+gX0Z RcFFeavMCXrqU6KGD30sDeCcEGAiadHv9wQbf1JtJI8Gd8HclP19vj5vZqVHTAMFmK3I pRqS/Lsy6dmnmvErzj7pT6ECpMoLgukGd9KIgxoYokZ/4lUYRbdRRtBvKOTf3dcK2TV2 KawPmTL+aY8rMECYL+h76zxEn8vSeXp71jJdYGzuNdIxaC3qnhTik9IAkapk5wALgsv5 DwAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yyZAspCK; 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 x17-20020a056a00189100b005a8b3c6b5c1si2107492pfh.245.2023.02.16.07.08.52; Thu, 16 Feb 2023 07:09:05 -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=yyZAspCK; 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 S230351AbjBPO5K (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbjBPO5A (ORCPT ); Thu, 16 Feb 2023 09:57:00 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE77854544 for ; Thu, 16 Feb 2023 06:56:55 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id g14so2212137ljh.10 for ; Thu, 16 Feb 2023 06:56:55 -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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=yyZAspCKa2SMMKvuJ6Dk6UjknNEziJX/g6QejPlibJDm9p5FgjAY0BdPo0yvIxkE8z mD9dmXnD9I+eazZtYYuz0TdPPdhMQvlcEbm8p1jNReD5AEF2O20WQbmTbOKjuzH0X1Fd S8Ycf9y6ewZ0jIU0pEYpZL3tPbSS4gHMcZPQF2Z2KekkfZ5Pfk6eTtRZEjHljSyXLjUB 6qt3J8m+dmFB6oeW4mQ6gebc+j/YYlXSaCa+j47vXtw5NVlZDNot72zT54sgDExVxG1E EhlfzWAcHsznN1CyDsAfHORtQYgbAWs0y9sLjpJtNj0CIsSyazCnmPBF7T8fxWP3pUmF 4Z7w== 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=9IlYxYxNog8XCHVUEYok7oCK3ZQqmTpqj9A73guknvE=; b=OwEBzE9B/LiX3dc9ooAB5TMp3mnsq5XAWEzo3A2+2IPe0nynHyFZD8E/mMLvQKjhah dkszFV5XhCCIeqmsqYKvim0jjWr3JhFISunC/C7VgaXfctRHI/z7AfJSOsVJoRol8I5J ua52/5u4qSozh5ih0QCHVQEtFWtK20bPr22RZVaETlhy8dRHL0xqhARn9VNFY/Isoekh sASQxYO16pNN45CFPXDdJCjbCqNdY8BRd5V2kQQKV4iy6lEU/6A45mFjvHIxfBPVxJK8 DBnij13EPfxYfwz4mthcRIImcVCExBEEzgNzM602DQJ4y4RpsUe0vhoYuElbocEPwNwm 3bsg== X-Gm-Message-State: AO0yUKUmBfN1Lnl/4dViBgjSRoqrjnvtZ/5vYYsfhOVzrwEWrsJlkMm2 OPkR0J0nfyGvX6OOgnfvdvGfzw== X-Received: by 2002:a05:651c:2207:b0:293:4fff:422d with SMTP id y7-20020a05651c220700b002934fff422dmr2286616ljq.13.1676559414000; Thu, 16 Feb 2023 06:56:54 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:53 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: qcom: sm8150: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:44 +0100 Message-Id: <20230216145646.4095336-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758000730878246133?= X-GMAIL-MSGID: =?utf-8?q?1758000730878246133?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index d94171f9b73d..3da77141a164 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -2287,7 +2287,8 @@ gpucc: clock-controller@2c90000 { }; adreno_smmu: iommu@2ca0000 { - compatible = "qcom,sm8150-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8150-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x02ca0000 0 0x10000>; #iommu-cells = <2>; #global-interrupts = <1>; From patchwork Thu Feb 16 14:56:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352681wrn; Thu, 16 Feb 2023 07:09:58 -0800 (PST) X-Google-Smtp-Source: AK7set/8IB59eQohP7s+WJchvG9cYgs+35zft+cSpcPP8QrtjufcGCh0/cBfsRrU5JOrhjvmbQ4x X-Received: by 2002:a62:2547:0:b0:5a8:380d:db85 with SMTP id l68-20020a622547000000b005a8380ddb85mr4518736pfl.24.1676560198095; Thu, 16 Feb 2023 07:09:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560198; cv=none; d=google.com; s=arc-20160816; b=gYXvh3/0VMYiisrl2gjW/0h3oDlSiUHPmctUFwkpfp7gKLWvL6FbRchUFQrWIE4fzk VIh8H5gWI7njcRcSKSqE3A6efJD7i1d3IJHWnXTUjgftL+0KD65Q2NeSK6pGSi/yh+ax OHRph3tDay2Hq/YgHZMUhg5FsWnBxvjI8W4zZlgl+G75UG/XB+IVldzuVUvPhoC7UiMf i6r7tQOPAJzcp2CCIl7QxJ4Jy/76GoKVSyY79Hw+lxusSxXk5f6QetXe+lWf0OfcBYv3 pz4f+yAaTpt/FlL+ZLzRbirgaRcJVj2t9tjvBhBEQsW/QnL7cy4JiLNh+iddfJXy9+5y Zu8w== 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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=P8qjscIzIwuHB3vmV4tn8saa2ys4RErmOOqoBIL/CuaWnp303UmD1oCuFLdpI+VyGC 7HFKKwGJbnv0rbENogNWD1M1x7h1xQOXZCToxTyRgKKFP72ZXbKp4wkGpCcG0/Yi3zlo vVpbocuybMmH3hEwGBTm8XGslvELCUd8PqPF1e8l7LqzoIsdJQfTg4NlznA9Itl2REoF TcXDtzDu9Gu/oRqgz9uJrKIUeS7Qw5rqUj/VYSARPZVPYX8IglpJZHzZrDSjxYx9XtUl 0XbWg9m41WWZnRPVhG7G8qVMccauTNw1OjbM0XvF5s8dfeYPHZcI3j1pILSj81aLvoft 5JsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=odBtyRbd; 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 u134-20020a63798c000000b004fbba866a62si1916359pgc.488.2023.02.16.07.09.45; Thu, 16 Feb 2023 07:09: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=odBtyRbd; 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 S230385AbjBPO5N (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbjBPO5G (ORCPT ); Thu, 16 Feb 2023 09:57:06 -0500 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED19C4D627 for ; Thu, 16 Feb 2023 06:56:56 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id u27so2205796ljo.12 for ; Thu, 16 Feb 2023 06:56:56 -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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=odBtyRbdU9e/VNYr//7YW4Mc/4+x6j5dMtcALVOVFF9QTGuXaxlEGRgccSqD6wYwnx m/GFsZY0IZOlN5khck2Bi5GkcikpdtKamOW0AwagkHnDgiRqMdsQWIoBHFmDCAYFCwbw xT9PbU99YZh81KjBqwxtJrS4KZIZgT1kXaiB2oqWeLWSnQoWRTHO7VGJypgPVjscEQE9 uSfqeGO3uaJ/49BnkjkQ0qSWw/JIag+uIdh2ceCPB7RDyi8HMOqtGoC5nLJjdBFREE2z dBOAtYykR8YyVsYClU5UlGN5uSxKekIQjZDGaYoUO3o3Flp52SFfGw5qINxXNQ+qKLGV onGQ== 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=HKPZoARVL4pErww1wba0PhsjF+y4EURMfNEf5dTC1YQ=; b=H6p9ko+3jfFxjrJkXF40e+xXmJleVCS2basPsFlPyh9bqYI3Or1G2O7Yw7nD5B6Wpg rTek9lkQChV1OfVtaz0jAyrUw5xRKiq0OoVOznY1G4Ysr08RyxsWPXxYcxrQBVM1HmTP 86QSJUUUqDcKQi2SASaVJ09Yr5s9HMWjCHemcWt3CO0Bo2r4Lbt08sP50F7rYVx+gaCf 8ydP0gX3D42gKqKTJ9sq8TflCDGTSWvRwzUK4uv9zoRPruThfhhchEyfm8Bdp0Lnyb3F W3wFmdTk6gF0vMJLw/QRs2TYx0bXrBXAYqBKlDj7604sGOQTcf8CJrp79FWARoFcnqPA aUBg== X-Gm-Message-State: AO0yUKWomD2Gca06Yyw1paH3q6lI6DQxPYvGlOJRDh5ch5vrtNmGzoST HD5pwLilID9dKChCICL/K6JPjkfVgZ6Iqlzs X-Received: by 2002:a2e:550:0:b0:294:6d2d:c18c with SMTP id 77-20020a2e0550000000b002946d2dc18cmr331046ljf.36.1676559415327; Thu, 16 Feb 2023 06:56:55 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:55 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: qcom: sm8250: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:45 +0100 Message-Id: <20230216145646.4095336-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758000786048243592?= X-GMAIL-MSGID: =?utf-8?q?1758000786048243592?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 6a0100822d3d..13f5526d97b4 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2701,7 +2701,8 @@ gpucc: clock-controller@3d90000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8250-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x10000>; #iommu-cells = <2>; #global-interrupts = <2>; From patchwork Thu Feb 16 14:56:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58122 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp352311wrn; Thu, 16 Feb 2023 07:09:25 -0800 (PST) X-Google-Smtp-Source: AK7set8dSV+2NeHaIzRilB/HXop/FndBru4EDHsOrfs7IBOcHiHvHKdFxkQ18OTpYtQwpdQ7f1qG X-Received: by 2002:a17:902:d2c8:b0:199:196a:ed0b with SMTP id n8-20020a170902d2c800b00199196aed0bmr2220229plc.22.1676560164773; Thu, 16 Feb 2023 07:09:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676560164; cv=none; d=google.com; s=arc-20160816; b=G+QLRoLZNes2lnsRw5iBwNBZHPqA1X0HI+kWkPyxqt3BB3n9+JGz1eTPvElSfxKVPa U2VA4utGsn7Jdhn2ufesMMJK02yHMLMDaEWTP0qY9YnqjDPi+OFTu/KKY65s3b+xRI5e ouPKcZ7GfK+qpjOvL7eX7pJ1izRvJoqvyKNYF/iZ0H5KWOyRn21FIQYkgLWmwRVdLuzv fJnYVfhMNiCgzXLghFiDTEpAMszd+Emm+ZmryCVAwO9syER+ErC/UT8ifZIe6RrsZX2c gid3OLoTneGzDHB3z2uoY0xjyrFlZ/hkZs7qwI0S8/95QHiGpYKkcSefB1zrZ3udK0es JgmA== 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=SNZb9+LtgOPB5nx7aOjdrhWOzr4hEeUenj9snV+d+v8=; b=i7LmG9kPFfjmEAQNbanvM/OfRda/fA/b505miese8AeHXjRuHX7oTHPqs7LZy/WJlR 8GMnBlNoOp4C1ECJu00f0tbrr+LPcpyhKXU97fHvcO3tvTWwTEeJlnwYPfN0hW5UN3ij GSlykHlE8GKevRghomknZqoH8MFrjHJO8yMhLz3VYXyH1RaOGar+DfQ2a6avz5YocEyN umuIU6RJz/VZQZJh1qjpuKT4+XpbYJCH4FCottJq6LwAlHwvErUucuxLZoG5Vgsmvgwn pFjgH01RS4zTjImsSbSzwjJ9X2K7oFK8ZrgMyLELok2QHkBPcZY6i3UblxYrIXX+rHDr G8hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VX+hSkQ4; 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 v10-20020a63610a000000b004fba35db0a7si2143632pgb.160.2023.02.16.07.09.11; Thu, 16 Feb 2023 07:09:24 -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=VX+hSkQ4; 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 S230387AbjBPO5P (ORCPT + 99 others); Thu, 16 Feb 2023 09:57:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230369AbjBPO5H (ORCPT ); Thu, 16 Feb 2023 09:57:07 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 455D454561 for ; Thu, 16 Feb 2023 06:56:58 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id b16so2204240ljr.11 for ; Thu, 16 Feb 2023 06:56: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=SNZb9+LtgOPB5nx7aOjdrhWOzr4hEeUenj9snV+d+v8=; b=VX+hSkQ4DsAL4scU9uwMTlVBha89E/tZTBODBuRwHH+noKYA3b5IrmjzYwXZlDZNqI 7WaIR8F26POUW80Q1aVuWFKd8z4gd6tLhcjX467ueNSNQPk3ctf9DzcTulBk/O2q7BaR dIxhyZeoGedk1RFRm3oPKtZgosXui3JVWAOnCPmM2s07MpO6BZTRuRcAb6xehSs60wh9 jtOoYr6wyy0YCNil9u0YI5kUgqVBtOO1eeITpSkKAJg10XulMvnqZsi86SXV1MKo9sO+ dxp5BZ6KF1b48v+S+asFHa89kE1SOHv1J4G0YrJnAjM5h8cIV4HvyN0qzOAYDgVnpP72 NjqA== 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=SNZb9+LtgOPB5nx7aOjdrhWOzr4hEeUenj9snV+d+v8=; b=EDCeIskyvPzD62W3NtD+eWRdsILerw43KTwTHyEsrUxNT3MuvHX7EUmr5ojd/ENzvW Ygo2v4LD+MV2cZYUi1Uf8tdv0Fo/NHxgcFHumrztewV7/pSLb+Hwxr/zb6pdFg5of/gW AYJK3b1sKOgQO3MdxGdQX5/hfUDV8Xt3d96AaF5dcYBxU3JC3V3xqdEsXEScnK7qvkHX vKWdIXkoXSSp8dUuEc0FJcHfpyKn2cY5jTvytfU14OCzYdl3ygW4KZ4X9G0ueeQWHQGW 747/+JPcxOJk50pqMupQjRnicJzvpX9TRkumDvLwCPPkyJzggwpcA0Q8vtEps8mHcjGf xa3w== X-Gm-Message-State: AO0yUKUlYZ/ndxnfytp9f9IyYa1KKb4kiSK7Yaw2OgkKy3N7S4SnFbHk RfdgTcVxY164vQgc/o6ze2r4tg== X-Received: by 2002:a05:651c:89:b0:293:4b8c:3b82 with SMTP id 9-20020a05651c008900b002934b8c3b82mr1812980ljq.9.1676559416682; Thu, 16 Feb 2023 06:56:56 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id f2-20020a2e1f02000000b00294619d902dsm230012ljf.112.2023.02.16.06.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 06:56:56 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: qcom: sm8350: Add qcom,smmu-500 to Adreno SMMU Date: Thu, 16 Feb 2023 15:56:46 +0100 Message-Id: <20230216145646.4095336-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216145646.4095336-1-konrad.dybcio@linaro.org> References: <20230216145646.4095336-1-konrad.dybcio@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?1758000751147869008?= X-GMAIL-MSGID: =?utf-8?q?1758000751147869008?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f9822afedd89..07349d37f852 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1932,7 +1932,8 @@ gpucc: clock-controller@3d90000 { }; adreno_smmu: iommu@3da0000 { - compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu", "arm,mmu-500"; + compatible = "qcom,sm8350-smmu-500", "qcom,adreno-smmu", + "qcom,smmu-500", "arm,mmu-500"; reg = <0 0x03da0000 0 0x20000>; #iommu-cells = <2>; #global-interrupts = <2>;