From patchwork Fri Feb 17 11:16:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58518 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp833778wrn; Fri, 17 Feb 2023 03:31:48 -0800 (PST) X-Google-Smtp-Source: AK7set8Yr/rAsPAU1q8z0xyKpu3UFL5cOHuFeTul9TswU6L8zxqMao8LCg1GynAMO67qidgog/xL X-Received: by 2002:a05:6a20:4299:b0:c7:4c1a:3e49 with SMTP id o25-20020a056a20429900b000c74c1a3e49mr4634815pzj.35.1676633508620; Fri, 17 Feb 2023 03:31:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633508; cv=none; d=google.com; s=arc-20160816; b=Z5+oKcdEc+aMEBm2zNQ8k2uOIbFs7kB5chtnlp1ibUzas2H0OPyKlzTS57Dy48U8zK dnEVUcKPVvxNBFKdud7QQxLO/Yxp4+yMp68t2YKUE3hYfRHiyB6bEcrEvxTolaEEcarQ vkZMyqoiG5I73gOuV+hpknQq79THccvDnDBrIqME9HOJjobpNIh9m/hg0/meS3PwzC8e cIXVyInp77mBVRq1+yssPRH2gLoP4DoumQ3JUHbAGoPU4GQKT4LKfRTuHRc/QrvpVUyJ wfbk1hBCikKXGjL5ihynSf1jX/vf8VYtRmnBaKlBx9ugFPRaVuoo+fBibhAcN6lklyS/ /O0g== 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=+0wgn2J7sEsdXuKmA4KpznfU8V8XceUpwL6C1j73+Vk=; b=XzBgPeouUi2FBx6qFxz0WZDlBFnv4zi/5Tby3xTNpnZ2GDJV6Tv8jNLo7uInQN97ce cgr3yQ667SR/bgK1vRbY3IkklY+x7CGvYkMORy8fbKs/OJ/dxJAUCQX0jUgnkCfxc6wt DKrXFPwSNPnyPjyjjhfRl0Bz5uFEzlwtA9AQ1GeePWVeWaulv0wsTSueNHqr9vRk5jfk qA13zvKipgyga++2KbCQrekCM78y6PsZXqLj9FtB+XUwtAGDbYcwEw7k3vAlYTEhqg5E bDLwNYhi0sfFnDrw0XsDWKerNSYQHL2nNIQ8z8hUGx8VLdNqR10svtgfiLV4jAnXD9Rq edLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RAvARnqI; 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 h185-20020a6383c2000000b004fa0cf58e12si4828204pge.630.2023.02.17.03.31.35; Fri, 17 Feb 2023 03:31:48 -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=RAvARnqI; 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 S229908AbjBQLQm (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbjBQLQg (ORCPT ); Fri, 17 Feb 2023 06:16:36 -0500 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27BB365370 for ; Fri, 17 Feb 2023 03:16:22 -0800 (PST) Received: by mail-lj1-x22e.google.com with SMTP id y14so698964ljq.10 for ; Fri, 17 Feb 2023 03:16:22 -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=+0wgn2J7sEsdXuKmA4KpznfU8V8XceUpwL6C1j73+Vk=; b=RAvARnqIsPMy9f5GaK1MNvreQnSXl+M+pThsIcYiN1Q9g2t6VHJrVFo2U4+M0uOJ5Z /KpjrpL+RAWFVVykX5XuvRbaB5OjhOnMJt15UEeAPh1ps25cs9UJzU0dU3dPUU1NHVAA PacZGS9yXbcmZEJ+6/pgV6SmHPZWcz5VvuUZclo33OAZshSidIuzmtsRqtZjHRZIbtFX bOlQu6paNxXzYEjiJ48huFwvJzkdGVy1iZLTWlHhZ8OGKp7fUm2M2j9M8r3RL45+hK9g 0UVkMrk68o1tqkIGy/db0388OPitMpo9JP43Hamoszy5PmRWkrqkjdNCm9HoHWVVv52h n5tw== 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=+0wgn2J7sEsdXuKmA4KpznfU8V8XceUpwL6C1j73+Vk=; b=5xOijdZ3vH1pJCHOWh+R+4NDP0s4HiugLXYKJIwBwtBRqBFn8RUChFpF1ro6TUJqp9 Bxy0YIN2wBwnxJ+eE9sDLhKQJx1QWHIoxiqMN4PcyVYa07j6sTX6CPbKOS2UUWgjZ2/B 2mAPAo0hafYmqj28IiPyu3hA9EZGlBi2H12NvqX6b6VxEKBr1CXpH5NP+jyoDnf/kuUQ oTowMQl2X4uh/SPWYiNlz/QPXyq+6r8eYM2sucA7ZgNlFKw/hq9+YzRGmhdRRHQPvto1 Xv38+6plpU1eylY59NYlx5fVbF38DvruDPYcWLOFGH9H+bos480eMwusNshRdKsh2jRx OIiQ== X-Gm-Message-State: AO0yUKVUgQvkVqPgTix3nEWM/CdZkgMTgYCd735A8JWzrgpQTm1HQCkO 0wkv0z3EHu02IqNYvq9I5eXgFg== X-Received: by 2002:a05:651c:512:b0:28b:6d76:e9ce with SMTP id o18-20020a05651c051200b0028b6d76e9cemr198780ljp.23.1676632580456; Fri, 17 Feb 2023 03:16:20 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:19 -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 v2 1/6] dt-bindings: arm-smmu: Use qcom,smmu compatible for MMU500 adreno SMMUs Date: Fri, 17 Feb 2023 12:16:08 +0100 Message-Id: <20230217111613.306978-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=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?1758077658123650580?= X-GMAIL-MSGID: =?utf-8?q?1758077658123650580?= qcom,smmu-500 was introduced to prevent people from adding new compatibles for what seems to roughly be the same hardware. Use it for qcom,adreno-smmu-compatible targets as well. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- v1 -> v2: - Add this patch, omitted previously (big oops) .../devicetree/bindings/iommu/arm,smmu.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 807cb511fe18..4d7f61700cae 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -75,9 +75,19 @@ properties: - qcom,sm8350-smmu-500 - qcom,sm8450-smmu-500 - const: arm,mmu-500 - - - description: Qcom Adreno GPUs implementing "arm,smmu-500" + - description: Qcom Adreno GPUs implementing "qcom,smmu-500" and "arm,smmu-500" + items: + - enum: + - qcom,sc7280-smmu-500 + - qcom,sm8150-smmu-500 + - qcom,sm8250-smmu-500 + - const: qcom,adreno-smmu + - const: qcom,smmu-500 + - const: arm,mmu-500 + - description: Qcom Adreno GPUs implementing "arm,smmu-500" (legacy binding) + deprecated: true items: + # Do not add additional SoC to this list. Instead use previous list. - enum: - qcom,sc7280-smmu-500 - qcom,sm8150-smmu-500 From patchwork Fri Feb 17 11:16:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58521 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp835887wrn; Fri, 17 Feb 2023 03:37:20 -0800 (PST) X-Google-Smtp-Source: AK7set/dex/mIvm/i3UvXHwJQnISGIL8iYLJ4cYOZSBJWBGMHClcvd2qOz1KvMY+e+PFJY+FG/26 X-Received: by 2002:a17:906:e89:b0:8aa:12c2:5ef2 with SMTP id p9-20020a1709060e8900b008aa12c25ef2mr9077318ejf.13.1676633840283; Fri, 17 Feb 2023 03:37:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633840; cv=none; d=google.com; s=arc-20160816; b=UEp+lvdUzJv3/GLxZwZxl2kLJPDodAv0A+G9i5pKxeCkv0miVXdWnG0byiE4nUXzgD 4b2MFidsWYwD97r3mb5XWxhw7N0Pv7VzQh4SVRX+7CmzIj4eU98FnfA8WdwN8M6AXkgq NdroVDorXM0TzH0Fo2gnYXBv7+rl3LLK5E4hoWkXGaFVckuVwxMizggPBU0o47H4azD7 VTBe6rCZKtBoxtpa5qZtdZAjSTKHm4jqwqyaMOj1PLEN6LQ0IzJJTAAOhd7UiEKhBjQc WOC40AEMD/JGBHHKSNsIZA4ePvZPS1RSzLuV30N4pLeNOJnS5JvO9SuA94UGb3o5u2ed TdsQ== 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=UGCuw3uwe0V6oqscB9N0Rq3Z525nB3A+PwU4IC7WMx8=; b=GlTZp+j9ZYSe78iNMkyVT7Dz2nQMXBIkRiBQmgDgvI7jh3jXmvq0kVaAFAxw8qOEoH Qyq0aaxodsR03BEOJaoiEDfoBHobtCb1iH3D8CBcKRX36TNk7fNScaYQ1kyB2KIZOnJ9 VxvF+h6ZmgJzZkhsw39Hc+rNKcrLzbemVdhRcbMjHVPLbN5oaOatbxlch3I/RQrBcfxG 7v1iINk36g67ObqO/utT6LRFZRxfdO4d47/ivDigF3SkPUhvddA+z2I+mwkg1xUZvI1N wewxQwLc01ywQQ3G65uE0HlvJPLrDCReVWSC7zskq2watsfdrj04BaFP6N5SmMEXLjz+ yGcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IRqdspaK; 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 24-20020a170906009800b008b77606ec70si285022ejc.326.2023.02.17.03.36.56; Fri, 17 Feb 2023 03:37:20 -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=IRqdspaK; 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 S230030AbjBQLQs (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbjBQLQi (ORCPT ); Fri, 17 Feb 2023 06:16:38 -0500 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1EB366CC8 for ; Fri, 17 Feb 2023 03:16:23 -0800 (PST) Received: by mail-lj1-x22b.google.com with SMTP id f3so556024ljn.12 for ; Fri, 17 Feb 2023 03:16:23 -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=UGCuw3uwe0V6oqscB9N0Rq3Z525nB3A+PwU4IC7WMx8=; b=IRqdspaKxxru2mS25VhwBIjb6l4JPODitns9Jy7FcnIrhN3BeHKthhoUWS0rKxwvMU casSoMMTIoSwB9aZZhwh1pQDSIomHRPkMRtJ1XXy3R0Lh6dYKwcxKkRPs13GDMOXE9ZA 4LeHOMung7XIrxs7xr9vz/BW5Kw3n4ONqKd6u0WS+ajn1ioQ8516b0LU/HuVwEqEy4IM Uhpp7a7pFwFSoMfYgTHLBqibbxrzomg9LopG4dlFSNXQNuWF9Yl/T0sJ5zGfF2/d9d5n lluJExUdu92I5JcOZVUPk6uUneZUtfy+bLUoq4sOPFqOUhFcQqlk3W8W6QHrJBlq9Yju 1sVA== 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=UGCuw3uwe0V6oqscB9N0Rq3Z525nB3A+PwU4IC7WMx8=; b=ScuiqiyTNiw1k4sprpc+VWMCrVh3/SE9fO4gFdQzw3gTfJrc+o5lTvxlwDdUyf4U9S jW02CnmD8jjEE5V+TFB6Sx1PDol5oYjxSXyatSJDJrYJKtaNg1J292EBcRO6Cd9OKY9j t3mbDTr4PJ3gzmY+13a6PckmAZHK0Uv10sK+hymq1OoKw39HWyxzLD1DifRwWW+78Plf 0TWr4JSNbvnBgfMwvKUZJDglbPhkEnP5LvGIqPY7u//X4GTWK7V4N4lsVAvXQ5c67ByY 2rgNWLSrRqjCwfPaGDzNvgkSvtmBJYJ5QC4Rqggmqkfb1EKeSb+BeYagi4S39aK394gg GCxA== X-Gm-Message-State: AO0yUKUNJG5K9ugKVLNru4i2Sab7FRgU+r5K8O6ssA0+xrqy6ifNJyKh AiIOspNayMBHxybWwVcKPIM73w== X-Received: by 2002:a2e:8250:0:b0:294:6ef3:f53d with SMTP id j16-20020a2e8250000000b002946ef3f53dmr1061603ljh.23.1676632581934; Fri, 17 Feb 2023 03:16:21 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:21 -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 v2 2/6] dt-bindings: arm-smmu: Add SM8350 Adreno SMMU Date: Fri, 17 Feb 2023 12:16:09 +0100 Message-Id: <20230217111613.306978-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-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?1758078005733737384?= X-GMAIL-MSGID: =?utf-8?q?1758078005733737384?= Document the Adreno SMMU present on SM8350. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- v1 -> v2: - Drop Krzysztof's ack, as the patch was out of context.. 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 Fri Feb 17 11:16:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp836269wrn; Fri, 17 Feb 2023 03:38:18 -0800 (PST) X-Google-Smtp-Source: AK7set/1HcjAFgW6x65n00cbgDto2y8bW5koYc58LmYv/BEGz4Z+vz6zsoK5fUIDPayEpxhapwns X-Received: by 2002:aa7:9434:0:b0:5a8:b6cf:1a74 with SMTP id y20-20020aa79434000000b005a8b6cf1a74mr121772pfo.18.1676633897787; Fri, 17 Feb 2023 03:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633897; cv=none; d=google.com; s=arc-20160816; b=d4R1lMIaJhx1oiP7PvAz0IyjNzlj3O6Vgkr7x+Tqbx+kyLT1joqsn07qOQLSVKcEYg 10usK7NDvApMBZ035vktgQBV8ZPDoCSWM1mRj5Z5hmLIh6FxkMyzGBH/cHsrVJ+CUn5U Rhw8W8dAd0RluSKvgwmgdm0OH9RW+8npkMIo6zrE1mQTyVg00FCz1n5XCrumwZFjeN8W hx1yDm8jLvPxwDvbZ2cezZSZmWEQBGEwF/PfmWbORzbRvHA9Lh8TxFDRPWPnKG7nBFw0 EuZgS3RVwYhElGdeAix0MzSOWeP5owcs2J0vo7wPvK3MNHOILLB9opnxS98cZWQyamYr ISeg== 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=9wJq/iqxZ5CY0MZ8/qvZLLKvRq4WEHI7wVVOEpRQbpw=; b=sszLxDIkbKqWuqke0cv6wTFJ+HCDPItjOAqsCYTgyrWgmnNsNB7pFfqGrfcm3nirDR fXjD+zuk7XfkKtcfPbh/FklGi+CBak3QXUY+MVtxE60Pl/PLffoSfYNm9hfCt5l8IeLW /gsLRk80iiWuOE9IQx80uDgwnrjOHo29ikUYiRdGoUSg6tQI5au6QdES9esnLnONn3fo VCE7pEt/zXmfI0fIdawcgwTlVL2ikNq2eawCH8PaNXD6+GLkSrYuMl65QkIoae5o0+uY 7AcR9AtzfhbGbaXPQUWkcRpW6TNBf4/ne6j8XgyqmptXTQrmgRKcPiYGXfQV/W3T8cy0 aTGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MC0poj+i; 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 u17-20020a62d451000000b00590bfd23272si4699980pfl.304.2023.02.17.03.38.04; Fri, 17 Feb 2023 03:38:17 -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=MC0poj+i; 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 S229992AbjBQLQy (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229972AbjBQLQo (ORCPT ); Fri, 17 Feb 2023 06:16:44 -0500 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CB776664A for ; Fri, 17 Feb 2023 03:16:25 -0800 (PST) Received: by mail-lj1-x22f.google.com with SMTP id bx13so755497ljb.3 for ; Fri, 17 Feb 2023 03:16:24 -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=9wJq/iqxZ5CY0MZ8/qvZLLKvRq4WEHI7wVVOEpRQbpw=; b=MC0poj+iXKkHo+R2YU6rbuzxgf0jQAaVXqzsfYcg40ZF3p+sobPJSFb784cEKAph2V omQrmbXAmq+e1xvIDhXtXGahku8AXRkp8Hz9BUHYS5N2NI75Ie5HsrrrN1BrptallZmn 2TwPVpLlWyflzhC3CIJhIZ1SaXKypl1Zl0Cp2u4JDIn8IGlNRUVSobKIjOAUsFJgLCn8 HhnKdH+BWhPGRNFicVt4LPpwUvJgaFW9pffXdR9uy10rZ3UDaL1Nto35bJYb/NaH5hcx +KiYim1dXAd7QtUADL/nmLwNcpU2tZuRtQJm4+FhOK/8RdcUA45ToDW7owata6sb3Ddb /jlA== 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=9wJq/iqxZ5CY0MZ8/qvZLLKvRq4WEHI7wVVOEpRQbpw=; b=vUsWLyO7wKXKSYzG7HKcKVNPgw7aMFwHZwi+VcDlgjr9DaCAG9u7/RAvhvdLaSI2NP f8l6Crc7ULghz5dYjlq4wXfbaKCEdhVmkq+Q7sYjHZdh0zaVJNe121Qw6Fx3/XjSo/yf 2DyeqnNJ0S/zRSre0yIW5Bw+O2hU/VMP3u3xUDUmTyvrG3Xd8UuJdmg9RVFulA5UUaIQ scDIGk5PYZ/1chcXq3Tjraw+F4SqZh/U7JlJTP5m2xQ4oW44o7IhoPh6P/ubL7cbZ9ck 14bLzmc5eaPpDEsbw4kbMv3+XtmdI1wMrkHM1v0JiV3GQhu6Gx6BFNkmMxyd0Q24TXUO BWHA== X-Gm-Message-State: AO0yUKUrPpY2QG0xAKNX+LeRrVxSXbCw8u3lbGUpDvAUTydvVxke/4hO xNTgCYHU5jW3DRCwMHdAzwlmDw== X-Received: by 2002:a05:651c:1031:b0:293:4b8d:daeb with SMTP id w17-20020a05651c103100b002934b8ddaebmr66584ljm.34.1676632583401; Fri, 17 Feb 2023 03:16:23 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:23 -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 v2 3/6] arm64: dts: qcom: sc7280: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:10 +0100 Message-Id: <20230217111613.306978-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-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?1758078065909430039?= X-GMAIL-MSGID: =?utf-8?q?1758078065909430039?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes 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 Fri Feb 17 11:16:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58515 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp830064wrn; Fri, 17 Feb 2023 03:21:56 -0800 (PST) X-Google-Smtp-Source: AK7set9CYEeZ6jLzB36WGF49CyC2BVMiK3FtqaLY2Kx03VmJO7ESMSnioIDeTaH+/iMyVXETYwfb X-Received: by 2002:a62:1753:0:b0:5a8:d364:62ab with SMTP id 80-20020a621753000000b005a8d36462abmr666204pfx.17.1676632915752; Fri, 17 Feb 2023 03:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676632915; cv=none; d=google.com; s=arc-20160816; b=RwAUAttjIYczIM7Shb7aZ8jkic4tH3B0VUVanQbtsDnGyBxMowuEXPYryTwBKSpFEv /p/gZFCNFPKXZI+YyQEI9aQt92k00TVWvKz7A8hhX9Se5Yu7fiMBS/NJSbtJdXOkOCa7 rNcrgEXlf/2zzG79BKsVbEBZbVzCjeJtHyvnG6l/C0AfWMII6doKlOKeYLabrhJleXiA eyCEAgAPPH3YQUE9xvK0lccZtjnVSX97tPjhmmCAIjl5tmLBlnvg+PslWLCnFvhK0Wnc CK2ZoVLi8Kynng/DbvGN6wzU4e3LQCy3MKxJmy7Ui1lJXEdQPWx2rGbcbuUg1JYP1Fnv 9Fzw== 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=0e01nddNNggomilaOmguOcFx036Ua8m431JWLUtouH8=; b=WU4dgRm0S4Ik5ALRoYqEOBswCH/h34+UpsBC4qYoo0plK9FzqXCHhsAkbAFsTDjpbM 76rGRBfkQKTbAp7MF1/tKfYYxT79gpdZLylzqJ43YzKHyU35SnyyDjAAdYKWTk0Z4dhJ 5632iQM/sdO6pV+AROGsvyeSaDrP09U/noIZ3bZhG/DA8Z10q022uSxVLtija1KObr2O LOIlKwiOlCHlLikk/rYiu9w0ZvoHiiM3EHTVAq9tkidgnS24QL/d35lU1WbmSGNx9oI7 TfbKMhlNdbkQalQVNnpVfd6GpeQJBf1LmEzzwmblA9DS1ym0jzp7zwDRdpBlYYpOOq7V tp6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CFjALJfn; 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 e3-20020aa79803000000b005a8b3c6b5besi4322849pfl.254.2023.02.17.03.21.42; Fri, 17 Feb 2023 03:21:55 -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=CFjALJfn; 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 S229833AbjBQLQ5 (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229994AbjBQLQr (ORCPT ); Fri, 17 Feb 2023 06:16:47 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9B8B311D3 for ; Fri, 17 Feb 2023 03:16:26 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id k13so939813ljn.11 for ; Fri, 17 Feb 2023 03:16:26 -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=0e01nddNNggomilaOmguOcFx036Ua8m431JWLUtouH8=; b=CFjALJfnxDN/Vkk/EMv9EpN+uCLAJekJSpOmCzBM9HXaRJ1JDo7s2RCA5W9MOFiU4O LSz8x1NWXU/in4bBl5bfF+OzpMaO0it5JqnthD7bg3demWpykgfsjuLvr9zKwHciV5wm ntBwFtaAAlAt3gNjbBxObFbRG1Mw+QvPpogE+FebZvekkA1XJuhO4OwosATUot/pcB39 CdXW73vyWq+1LejmEunqRaXoQdvoAvZS653gC2SD1x+g4TwVsANDagPpvF42OqrznDVj 6TUy8oUbhmODSfsNDQLct/ogTWOGCZMbxm8pCozighMcbny1GUQ1RQQ9uf+t7CHnHjXG jNUA== 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=0e01nddNNggomilaOmguOcFx036Ua8m431JWLUtouH8=; b=NlA79c+cB4EpviuuP9rOrbmE82ZugkftsPNRp+pSMa/H2/s6iUrDDZVGy/eFTSHCrb Yaw5nb7HSo2brYtogn9BlU7ZlJOnfmJwh44za3tMX5wQt2CTXcYeNEOVLKwk1nsBGs8G Oa+eu/28kVBZiG2gCwTv9a5aMC7MDceTfuNc7hgDxo65fJ//Ks2qhs30JtLyZuIIMFfO KEcyCFGiSGW2/u2/TdB/zxWT5Okj4jll+n1TA4+3+iyS2eesbB0PSm/SagCPYHUZbNgj vnWF7WXhyk/x0sPTWsaqwunzqYyy7ntivAzCe15zRZeew878m1Fk04SexpvC5yT79eO+ ob7w== X-Gm-Message-State: AO0yUKUy4d1Li8zzL1IRrsoWrXLbbQ9I9zUcb0hvsFtn7SpR+yIY/TVr PCUCEu9qnnmB45jJ3BDA+J6xtw== X-Received: by 2002:a2e:574b:0:b0:294:712a:5190 with SMTP id r11-20020a2e574b000000b00294712a5190mr739293ljd.28.1676632584963; Fri, 17 Feb 2023 03:16:24 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:24 -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 v2 4/6] arm64: dts: qcom: sm8150: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:11 +0100 Message-Id: <20230217111613.306978-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-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?1758077036211709808?= X-GMAIL-MSGID: =?utf-8?q?1758077036211709808?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes 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 Fri Feb 17 11:16:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58517 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp833175wrn; Fri, 17 Feb 2023 03:30:34 -0800 (PST) X-Google-Smtp-Source: AK7set9etPL0aewvMMsnvthOZNZtpflCaEzKUoVwc7DJsf/dfsDOMJ2V/v5jSaQ/+fv6RkGh+Wja X-Received: by 2002:a17:90b:224f:b0:234:b6f5:7ddf with SMTP id hk15-20020a17090b224f00b00234b6f57ddfmr4155601pjb.44.1676633434354; Fri, 17 Feb 2023 03:30:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633434; cv=none; d=google.com; s=arc-20160816; b=DBlSzblbaCQiYp6eDjRSrJjbdw8/oxryWgdpZxj27tAd28WGpsU3tzHKRzMUP9ET0o xOs1TfsayQ7+W3jjRnvYWTOh5+DjYNlQMEKuKSnf+jBI2fahBkWOw+EUAJhdxlIocMAb F0A58FehaYyO0ouOmZc8QNhXaK0DZ7qG3+zlLLkC74brXqefyXdChh+iW/sJNvPpQvun zd2vL8a+AIeWBGW0mnwJ0q3UiviY4yxEX0zTThEH5kZgT3giE42+d9IMuWv+sSdBrS6S lwFwvnmzefqS8hq9ty8iVcVG82BWMXZb7td05bCq62E5QqcFjwoqvUVHRgXIREDMN8j/ 12hg== 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=HmoMqnRP5kZAiXq2v7CNcctUC+zodegcmF76bZvlIAw=; b=UXzZm1+nY5yRRTvi3qYmZq73vfR5k22Se342fcirLAYNNz4chxG2xnQMlp7iWSiA8V TRv9gStz4+RmZPJXGkHMwy4wkO9Y7QKUbV7f0uVQwhRLvL+QCKG/RniYJOr/sESsQHWn VLZSy7qPQIstiXkQRQ9Es99IlzX9lg7Zx5+3cA4yfx6DvJsTeHNVPS+oDpb+TAR6jJDx VLk9Ue5zhxrxw7wuTU5ML6pPpzu+nXmEs8sN3JtaQh18uMVv4XNM52jxjLmgarvzz8IC vg9ap9RXerNpu1oDkdsu/ulWwLSjCs39ahZKvNZd9YiApQKwtfiVyAhVkg5tVWIcxO0p gJyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c9ZZv4rf; 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 j71-20020a63804a000000b004fbc70b72cesi4376088pgd.771.2023.02.17.03.30.20; Fri, 17 Feb 2023 03:30:34 -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=c9ZZv4rf; 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 S230142AbjBQLQ7 (ORCPT + 99 others); Fri, 17 Feb 2023 06:16:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbjBQLQs (ORCPT ); Fri, 17 Feb 2023 06:16:48 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14F2B658D for ; Fri, 17 Feb 2023 03:16:28 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id e30so756711ljb.8 for ; Fri, 17 Feb 2023 03:16:27 -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=HmoMqnRP5kZAiXq2v7CNcctUC+zodegcmF76bZvlIAw=; b=c9ZZv4rfZBZFzWEA/W4nxzpP5BhRgY9jBI02O6onfHggcezzcuWXJYJqtcWCHbm0mT 8znT6eB/RftHt6F5swPqmxl/ow+oPAX+ATKuAIWxQ+dbIZ8/154bCTfi8ccf7yFAVEfk 89qRZKPexUTswZ3Uc/WpUy0jPV8Gvf6/YcG5UV7yMPgBlsj/tKja6DNIwal3/nkLZD8W pHqLuWe3ctTNUHjyBby4nO5DRH3/I75JCS1yL1I4Rbzhhhz0bGIedRXkHlkVGoKQKiAs 7f6itx6ijSPdMoMVVMavTvdjc3s5LMwGyeSfYJqAyCOg3/LUBokSI+AHWypbR+kjS7ls KF6w== 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=HmoMqnRP5kZAiXq2v7CNcctUC+zodegcmF76bZvlIAw=; b=u3rIsufG6vTPci9T/iCXwZJjRP8UeY/87P/3dHOWi+R2qJOznNBuuh6/uRKyg8S1Y3 CgOeSR6eAC+y2c8jJQ0a2g2l7tzb9Ia6IW9Mp5zT7zZzcNJdIk6rtvgQChwP5+8ktWsS v4IjpQcIvJ8hqa69ZbhGvPpQUtb1IHKqcznv8oQO1CCN0hhgUq4evv9ua7IVMPWRcD4N 36f6oGCxJ4EnmxOr2OlVJTAZCMu+yxi5SXyawsxpByFAw3Quy0QV51Z5+7PsoVygqFeb j4sBNIPTVmqe+W+IiLbMwBpSLf9UBIQFIIBso/3WCkIcGhfdarjMEeougIyXnqU0c/el JhCQ== X-Gm-Message-State: AO0yUKX+eIh/megMQnq5Ub2FN8LN1EXZeVD/6rAUsGgSsNT72wUmghi4 PoibXukQ5csLU5JNQ+thgxG4ug== X-Received: by 2002:a05:651c:1a06:b0:293:4e4b:bf5a with SMTP id by6-20020a05651c1a0600b002934e4bbf5amr1795039ljb.1.1676632586440; Fri, 17 Feb 2023 03:16:26 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:26 -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 v2 5/6] arm64: dts: qcom: sm8250: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:12 +0100 Message-Id: <20230217111613.306978-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-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?1758077580020455419?= X-GMAIL-MSGID: =?utf-8?q?1758077580020455419?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes 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 Fri Feb 17 11:16:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 58519 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp833820wrn; Fri, 17 Feb 2023 03:31:55 -0800 (PST) X-Google-Smtp-Source: AK7set9Xe7LjtCvkIhupR6dE7nxr8zQRbxrItTwbUv0fEajXk2xwgm8f+moO/yaTHpPwjsFMwNRo X-Received: by 2002:a62:6442:0:b0:5a8:b2c1:97c7 with SMTP id y63-20020a626442000000b005a8b2c197c7mr180639pfb.34.1676633514821; Fri, 17 Feb 2023 03:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676633514; cv=none; d=google.com; s=arc-20160816; b=GjIWfmXpJHDpoUIIZwzEzbFlRNw3T3OJ6w3QrIEZ4HRQBpfjuV9/YmZ5BGOP8wq2jd pd+OGztlBsZECLxpv7CAHGtyH5P+Q7Z/1elemn//I1YSJHkSaieEfsR7XOOft5+lFzk4 2rIjONHOywllYLD2Qv9vjGb7mUu1M0GSEZV0sA1FqtcuImuRuXFkE/sGUX0LCsli66nF i7hlZ+Z5xGXh6AOJkFarDwnCgglvU3tl35xnmPvsWDyqKq2x7Sq2e8g2KSZc5WbL9P+m jhr+VTrdAJXBQTjJCL5bs8h7lHCqSo2CHeSpgg8XdCEF5pxLluelCAz8OZNqDSCy41NK ykbw== 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=QUKqOclF/IMyzXt4+fGb5sDCuf0d8h/lEm7jg21Dcd4=; b=qAEktJih/gZTJoG1WrJPkPrRKkZTiLUmEeHW+kXe7UAvOk9nvm8EUnBQXI73IJPqOw xzZfEzYKYdjF7Y7td2Nqz5x3Defr5/d1ZP9FzTlT6q7wi4VDc3zF4iYz9UsBZKTuMcJV waMayuQvsFuyFgSm9WOMNiymkAmosmBl6THBZOKOZBljJkc2ekPEO/hwNY+m4z6gddv9 3zzrYLW6donwsRIORgJGRTpz2GszYF7P5wuj4tQz6COkyd3VUmauq7AERTXICV63rzuw uXh/ZVY4mV01PRZkIWKqG9MDm5LEm0TI6WXWk1mlug/xHTsdiEYXSa2kZQpbFL2BDeYS fCtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OdYgHszF; 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 u17-20020a62d451000000b00590bfd23272si4699980pfl.304.2023.02.17.03.31.42; Fri, 17 Feb 2023 03:31:54 -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=OdYgHszF; 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 S229811AbjBQLRE (ORCPT + 99 others); Fri, 17 Feb 2023 06:17:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbjBQLQu (ORCPT ); Fri, 17 Feb 2023 06:16:50 -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 D4E6064B04 for ; Fri, 17 Feb 2023 03:16:29 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id i14so2459881ljn.5 for ; Fri, 17 Feb 2023 03:16:29 -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=QUKqOclF/IMyzXt4+fGb5sDCuf0d8h/lEm7jg21Dcd4=; b=OdYgHszFs9+rIVPcJOczB0ZfI8VdZWLiDLg9OcOB+M9zQ/5l+OPW9aLKeHqi+EeAQh GsI6FAjY+62326gpU6sdJpBSNvCy9HXEGm5eJCS5r/gkha7f0nIkG21hw4nlyQYZ2Rri O90Sw/94xumrs+/347ePGrg+Sr1qX0wZ84T4jlb2lkaY+Yp5d4SiuX6nGFTKzw1Ff3Ai Tw3MIAQ4CZXGaj6zNNyU/HtmrWnjSSbFrWUHe8xVt6fM3Akp1Pxu6UA8CAtThlcFo7ib yrUibwSC7YCHr/HHDsLQ7c5yLs1n3Pkb8DK2YwmZkLZ3th9/Do6Z6kYP2LKghrD97IEA X0Ww== 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=QUKqOclF/IMyzXt4+fGb5sDCuf0d8h/lEm7jg21Dcd4=; b=1J/KjVIvVVx79MIhuYkMF5DsOqCVAe/vrCjOV/vQrLMf8K3T41zxzWbCLE7q9pE74M 2reZjkuHlwRbTH7ZKFjG8KJRiFai5RjYTuivewkMo0SHY3STKn1tdC1+EJa+hkBRRUNX S7b59hVc2+OLj1WYUMVxeK5aYNMUG0v2ByFRXsPjWc7A1DY/UQnQ9NqV2Mdt3MJnWlYB AKPOxeYx3d/SRWtUsYHo7NJYaVk1qRAljl4LOrzkiCGQJdAE0SEOxvVOALJAswj5EYH0 7V/0APbmo3wj+XFMbXBU4I0woUYwVS37BDvh5FIYNz3Bus4qD0x+5+2yzHLSwpcaWSxb JqtA== X-Gm-Message-State: AO0yUKW6B549OvoaVFCFke9qXy7cjbomBoqDEEzHyC1ffTNEN45jfBjj RkIY3McTQEwrm4fD1m6vkwuKDw== X-Received: by 2002:a05:651c:323:b0:293:4a87:1790 with SMTP id b3-20020a05651c032300b002934a871790mr183307ljp.9.1676632588245; Fri, 17 Feb 2023 03:16:28 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id u21-20020a2e9b15000000b002935899fe3fsm554818lji.116.2023.02.17.03.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 03:16:27 -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 v2 6/6] arm64: dts: qcom: sm8350: Add qcom,smmu-500 to Adreno SMMU Date: Fri, 17 Feb 2023 12:16:13 +0100 Message-Id: <20230217111613.306978-6-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217111613.306978-1-konrad.dybcio@linaro.org> References: <20230217111613.306978-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?1758077664265415379?= X-GMAIL-MSGID: =?utf-8?q?1758077664265415379?= Add the fallback Qualcomm SMMU500 compatible to the Adreno SMMU. Signed-off-by: Konrad Dybcio --- v1 -> v2: No changes 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>;