From patchwork Tue Jul 30 01:38:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13746248 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BEFD6C3DA4A for ; Tue, 30 Jul 2024 01:39:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jadAqLKFE3q2pZsf/6bbztkcQnmkofhXBTNZedlCiwM=; b=ikqHUokLodr3PLsPSpyaShSntO 1qLmUxCgzB/GEJsKHlSE1uAjR4Y2wl7dqDBYpuDxErn6Gr9obmOH4BVvHsysRu5B+J8Bphh9cg2Xc 5HZAaz4TYOw7gM5j9I9n7jsQnUg2OtY/3E7krAvBjsnLLJPJ5nWFWRJo+TD0JXnmOZcXnuvWQPQna 333BB9qM/vH2xBIMl23kODpIugKgGNbMjtjYP6QSDC1MBi+mKWDbLrpk8s1fn26t8eoTAQSHeVzR+ e7p9iqlf7W4ejSUT8N2F/5tKJ0a3UcTTllx87jKc4hbmJDIDLvf9SfEnUFMt3rIqQqLlxdIN0GWj4 zTHg7gQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYbpi-0000000DG1b-1Lgv; Tue, 30 Jul 2024 01:39:22 +0000 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYbot-0000000DFmx-0xYl for linux-arm-kernel@lists.infradead.org; Tue, 30 Jul 2024 01:38:32 +0000 Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-44ff50affc5so23048131cf.1 for ; Mon, 29 Jul 2024 18:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722303510; x=1722908310; darn=lists.infradead.org; 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=jadAqLKFE3q2pZsf/6bbztkcQnmkofhXBTNZedlCiwM=; b=a6SgXESjZLNDRD3KIK5mvdWO5XAuWoO/ZcA2K4WViswv7npIn4AikE3thBdn0YG34S fyVaSpRWDWCYm+gT8R1GpfQvF3+xLEDBkfUKQK6X1ur98uzNL34XQtP+esexvzsDqgTY nneTJ3oLSe4QpLzhvM+j2qkmlljeqRHYB6RXGnz7acdyklkv88YUPZDE0+wE0DIw5Tnp w1Sr3voYUfM7L6HKv0fUeJDSaHrZj/Dz54ZrYyzE3J7wEPhfm7YrZT+FyUk6R+NrlaVf aSDiRK+Nh61HfVPaepbDEkL5IO6dTl7Ea1K7jlmNX5jPIQONUMFQRybWp2cm/TBuayqG Nsrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722303510; x=1722908310; 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=jadAqLKFE3q2pZsf/6bbztkcQnmkofhXBTNZedlCiwM=; b=DELbYJkkS4yHRwsCYzyNlsxS72UXFzfSPkr3Tf0OW4G/qWDMY6Vb1S4/pcT2ntFR/n 7kmmitzolMGfCr6E/QVtRgPNK96QlEGUaAYwM1q0IA4KgAMob/MuwlJbVGVCboU7Sdh7 zsCpCi+1/pcXIcgbSKy5+7OV3PNEDid9pyH/JChz4tA60ZF33EuDWSfH7Q25Ow93Vc4X yz13ePK5bIAEwX5Ej7ykIgYED16T8sSs+fknxVpF3GBEx3+VsTZv4+nLMd1gipWzoqEO kuNcAtdmtqEBBjeVwCgtWhsqkTKuA+L8qWv4vC605UlfgAKu68ApP/yaLNOtAlYJHWOC stvA== X-Forwarded-Encrypted: i=1; AJvYcCVbSXN4oTytJ2+ZSkdeFAIxDQA7oJgVxLGZpakWiKG0WPxOYrPDpxA/xC7QQErTivZ8jp0dv05x3GDT+PAWJNuGYgbDzyLefcykPsKgFxKntdfh8aQ= X-Gm-Message-State: AOJu0YyezyyF/xHddz806Btmbnm9XXKcNHLiVQxu45WNrYcQtjTyqT6A 5GORmadRL2mMl9a3wANT83/rdCCJKRZMzSK6Av4cuvRWGCeVFgik X-Google-Smtp-Source: AGHT+IGYK5Xjx0Vrl3G9T4RWpcjMNrPODmKbYEWMFZUZH5DSxk2I2TbWckPM+lm2RVZ3ltORXgQ/7Q== X-Received: by 2002:a05:622a:1b9f:b0:44f:ec6b:9b01 with SMTP id d75a77b69052e-45004fb89acmr112733241cf.56.1722303509828; Mon, 29 Jul 2024 18:38:29 -0700 (PDT) Received: from localhost ([2607:fea8:52a3:d200:324c:b818:b179:79b]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44fe814741bsm46607701cf.29.2024.07.29.18.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 18:38:29 -0700 (PDT) From: Richard Acayan To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 1/2] dt-bindings: iommu: arm,smmu: add sdm670 adreno iommu compatible Date: Mon, 29 Jul 2024 21:38:22 -0400 Message-ID: <20240730013820.41702-5-mailingradian@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730013820.41702-4-mailingradian@gmail.com> References: <20240730013820.41702-4-mailingradian@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_183831_286660_CC1A0B86 X-CRM114-Status: GOOD ( 10.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SDM670 has a separate IOMMU for the GPU, like SDM845. Add the compatible for it. Signed-off-by: Richard Acayan --- 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 280b4e49f219..c672f7b6a2ae 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -116,6 +116,7 @@ properties: - qcom,msm8996-smmu-v2 - qcom,sc7180-smmu-v2 - qcom,sdm630-smmu-v2 + - qcom,sdm670-smmu-v2 - qcom,sdm845-smmu-v2 - qcom,sm6350-smmu-v2 - qcom,sm7150-smmu-v2 From patchwork Tue Jul 30 01:38:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13746249 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB8EAC3DA4A for ; Tue, 30 Jul 2024 01:39:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=74veV6gJihpFMmsZlJmkCJZZfUOt3SZScr7B4XrCCXA=; b=yyBpmtDlyISd/i2oAZFyR2rvMt qz5Btwds/OI1O7xGUqNVhBbhZIVB6//iAiZQOQQe3a27nPZkrzUBHplePl8wK9Mu03odm7ftE3PS/ Nh0f8E/feoiL2PiHv8bmp2WLQO1Zr6b3FBGqNKTQRCxW8vqv+/eOe0wnRcsaPL3D0ACusFAnUpHf/ 5FqFkZPUTINJCtLNI7x71V9ZM2bDdS9VOhNZ6ABVavBMHU/6QHCfw+cNTiqbAbPYGOgEw3U1DTILU UlIVC2OtSqOjvkPIKdK1PAF1ZWogx1bCgCBH9tATGFl+J2RxkGS6MQ85quY4HJVmNkDZtjCcwlnwm l9d3oshw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYbq7-0000000DG8U-2k7a; Tue, 30 Jul 2024 01:39:47 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYbou-0000000DFnP-3zJt for linux-arm-kernel@lists.infradead.org; Tue, 30 Jul 2024 01:38:34 +0000 Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-6b796667348so31695876d6.0 for ; Mon, 29 Jul 2024 18:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722303511; x=1722908311; darn=lists.infradead.org; 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=74veV6gJihpFMmsZlJmkCJZZfUOt3SZScr7B4XrCCXA=; b=cUr2km5NyyRdr49bGwMg0C+Iwk58hf+SgepHQHuwtwmAk111CbUaRPEDIGbtwNwuJi +h7+uUeiPsc0cTKg9TzcES9jXLtCXq1Kp0ukHOxjsUegAhGy4N6M2iehcJWHoCS7OqjS 07SIMMirFsRYBDBPflqt0xrLyKfR788xVdR1liuH0ZZB6R6Qrx36v5iuQFDuNJGiSUpI w0J97lPN6ujs4SrsL2NcmLJHCXRjEirFYqTWUSWCmwGk6zQ9So4G2ZGNc3oJmNE+FCyg ZFcmmBtmtN/TPx4EGp/gStyN6kXzPkHDddxmXuQ2rfHYVB+yjfeidnFYQm6LVoSTU5II veoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722303511; x=1722908311; 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=74veV6gJihpFMmsZlJmkCJZZfUOt3SZScr7B4XrCCXA=; b=Rvan4IIQ6WjNXhIZht4L4noyuOb5qagSGRypBhphpKdcPbpfbSuLpY3DayEVIWOR2D 3tAcrl+hcmWu92eqHCsndw21dSXzgAQTBQXVWr1xtZx8yVqNMwN0nArqnOtvIQ0huf/g pDhOUfeOmOF1TCtqWtywRZJ8QI8skKh2CUGQGxfb+kJ+cD5E6BeOl6ECEl6bb/Llmecw cC9E8KQNv6Zt6vSk96Hd/y9+s9O2PMXu+zfOP8HeSqx6os229dmbL9y504aaCakd2F0Q W+XZAAXy8lv8z3HsD0VnzpZpi0GkjBWAzu6sTw28/GH/AlTIoot0Q2bhXFUV+//Y68T1 zASQ== X-Forwarded-Encrypted: i=1; AJvYcCWze9ozM9iCI6T+8pB4qG6c6l1qFgos3WlZeQdO/DIhN8rtI3b5Q9u+ar8OStm3lrmH/UjG1xSORIyzya2FQ9X2yJpZvG0f73nb9YTShfsD5JxTPU8= X-Gm-Message-State: AOJu0YySPRj3jUqX7gaFfUJfTAwKY2YYTLCGqBLdJcpcRq05+K47T/dB HDjHqXHNbI4xy2AKRzKCpEn4sMl9WJNmgKHEfLoZIHwBzspYK7pg X-Google-Smtp-Source: AGHT+IE6Phiwsym7PisdY2IYYu9NzfCIcR4dhesQuNm3nR5IYh2ixJSNLKlDYlycfLQ1GUlV5uD+pg== X-Received: by 2002:ad4:4c0c:0:b0:6af:c2ec:3313 with SMTP id 6a1803df08f44-6bb78104019mr9812076d6.26.1722303511400; Mon, 29 Jul 2024 18:38:31 -0700 (PDT) Received: from localhost ([2607:fea8:52a3:d200:324c:b818:b179:79b]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6bb79c4f3dbsm318286d6.30.2024.07.29.18.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 18:38:31 -0700 (PDT) From: Richard Acayan To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Richard Acayan Subject: [PATCH 2/2] iommu/arm-smmu-qcom: add sdm670 adreno iommu compatible Date: Mon, 29 Jul 2024 21:38:23 -0400 Message-ID: <20240730013820.41702-6-mailingradian@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730013820.41702-4-mailingradian@gmail.com> References: <20240730013820.41702-4-mailingradian@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_183833_016248_0BACA6C2 X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the compatible for the separate IOMMU on SDM670 for the Adreno GPU. Signed-off-by: Richard Acayan --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index 36c6b36ad4ff..7f4b15be4a11 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -539,6 +539,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sc8180x-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sc8280xp-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sdm630-smmu-v2", .data = &qcom_smmu_v2_data }, + { .compatible = "qcom,sdm670-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sdm845-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sdm845-smmu-500", .data = &sdm845_smmu_500_data }, { .compatible = "qcom,sm6115-smmu-500", .data = &qcom_smmu_500_impl0_data},