From patchwork Wed Nov 16 11:40:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13044997 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 45CCFC4332F for ; Wed, 16 Nov 2022 11:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cMzop+dwu1Pq7vgyxmi15SRObWN5u8/CTQ7siYg772U=; b=FuasTWcwtxsWYP tO0kydI3movEsq2vkhmKqc1JiSKUK6zfCKsIiVfpr1eFWdd3rTOsifJFby+rCP2irn70GG6V33syw 8iSZu3VB0WRgoJQxeWN2YAno7op8S/u8z6HOIkya7VVxvBzqf4pkEjNL84+OFaDLIeEYrFwoBB3No U1tNgWYd6Cca/K6o95bahF/X/7silxFOB8E/ulGMxhxM99nf6P6EqTRan8ozRnM3u117vVZvslZeZ Cl0cW5xnJP2cRhmcVr+ogXn2O5GqLJzN6uLW3AcwINMkTLBg2EOBCCHy0gy/iauvbckI3k0S51gST YsNj/+sS8JYKxivY3SNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovGm8-002xIC-7d; Wed, 16 Nov 2022 11:40:16 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovGm5-002xEb-P7 for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 11:40:15 +0000 Received: by mail-wr1-x430.google.com with SMTP id z14so29297425wrn.7 for ; Wed, 16 Nov 2022 03:40:12 -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=0twtcFq82JD2b+ezlYjBACGVc7CdSbTyIYzuJzztLoE=; b=slREbBr+UAB1pCLXZp36yMTYwltieCZ/UlN3y+IMLQRIgpojo4ptxsBMN5NOr7+rhs 2FM1d4vUXKam3pkgvGLYoMHCm0uzndXvxsGOY7cX6bH1PQaupWmj0Gnj1CfzUGvPPnp0 7IXRDk+jgL5sNU3DAkPt+LaHKxcAtTMuDTwzJIkFeFKrogQtZmsfj106Dd9AEIFPJSq2 qagjWyrhajz5oLr0hgQbDgDQd90Awx3zz+qPQ+r2L7tB2jHTGwQvOU+Vge/ZCXhUm4AZ SBZFRwW4KU9wCGwR1j/zsyjdbY1BpRLi/RhkKOLgZiwaiaHquWL5MpJlqPZ1K2G93X02 T+AA== 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=0twtcFq82JD2b+ezlYjBACGVc7CdSbTyIYzuJzztLoE=; b=OxIFFmAg1J+dovgXx8qLJSxCyyeWPZ0VIFgNV8YBQ01Av9CWpzvXyBIDa2riL8IvOw gruQbfvtFhsD7ye3+kvv01L80fvVgXrgy2uuRNBTNvlcKw+HofsH6E3UkKobKMPhBC4J 4nXTovkIgnVrMWhGbgVubmbCTw1+Rbhy/7m8lnam/w5Z9aaqSci6bNiR4l5SxGmJeWeG y+jXSO9fzHHgS3p9vGT/ifMfktOoR2TogrXH6sLCBdzlziBzeqwUG0JkdHMD8ETtU5z1 E9WHbEUotahR3VoL+KcegurQewjWcSGVButIbFA+4j6sp1O6gJ+NZl+2F2W3prQW9aZo CQDA== X-Gm-Message-State: ANoB5pk7ju5XfpVSjL0d2oMhtq+f/rHSuqoMb6xTTP/QK+dd1JdT55y8 9BMCk6ndoG3NzZj92/AE0vb5egeMmeJjwQ== X-Google-Smtp-Source: AA0mqf78gNufDESI63xBT0OXkgK5q+oIHRL5k5sezvkAYFPs+9LRyevwa/SwNxXW4zade/BLrVoacg== X-Received: by 2002:adf:f94a:0:b0:236:6b51:73bc with SMTP id q10-20020adff94a000000b002366b5173bcmr13668630wrr.707.1668598809971; Wed, 16 Nov 2022 03:40:09 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id s3-20020adfecc3000000b0022e653f5abbsm14853105wro.69.2022.11.16.03.40.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 03:40:09 -0800 (PST) From: Abel Vesa To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski Cc: Bjorn Andersson , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: arm-smmu: Add compatible for SM8550 SoC Date: Wed, 16 Nov 2022 13:40:00 +0200 Message-Id: <20221116114001.2669003-1-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_034013_868452_0C6095CB X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. 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 SoC specific compatible for SM8550 implementing arm,mmu-500. Signed-off-by: Abel Vesa --- 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 9066e6df1ba1..9dea3686520b 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -47,6 +47,7 @@ properties: - qcom,sm8250-smmu-500 - qcom,sm8350-smmu-500 - qcom,sm8450-smmu-500 + - qcom,sm8550-smmu-500 - const: arm,mmu-500 - description: Qcom Adreno GPUs implementing "arm,smmu-v2" items: From patchwork Wed Nov 16 11:40:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13044998 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 6D910C43219 for ; Wed, 16 Nov 2022 11:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J8eFdNe5abXbfxXYWPRG2QOQQvPAo+6kQdUN7Cxoc58=; b=rgPNVSilKFS6RD gm63wO2hq3v/UO4/ev3c1OLImKL2nk7C3mwL9xYe1HYVr8iSkmYA9v81HlnhcTZLm30fXpsIL7mB5 c5PbjNPhymgK78Lemv7p//7I8VDDNgnMkIKG3D2XMiIIAHjle+H8JYHCp2NrG0ERyFCzXN0o++NcT +fjW9HsaeYgqFIdfrJRmOPadhBnv+AK9GbEg36Uvgz7HshQccrNsZDU5kNUEGSuXurWFNR9TDR5J/ 9si7xlxkHrVivQwN6NMv/R8o587SMhUY5rr89qYCBHnv/RREoh8HY6bERD4wr94CYNXp6crkb9OYx 59sNP5ric5TwOQYlUpYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovGmG-002xRZ-Fn; Wed, 16 Nov 2022 11:40:24 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ovGm5-002xEn-Os for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2022 11:40:16 +0000 Received: by mail-wr1-x42c.google.com with SMTP id j15so29489644wrq.3 for ; Wed, 16 Nov 2022 03:40:12 -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=bagD2wG/tEqVv+fwLrRFVQIXkhW+1dP8Dy7b0v4+yP4=; b=GSfXcovFxxmq48049VENKozMm1XRH1dXYc7qwWXEuYEGDBJSF9XXUWCXlYUn5sSC/M cVKvCpE9qm5KzpRvWGLraOSzS9YOyqTgJWM5EtYfwlGYpWT+T95RcXO0K5Jjy1tqfpAl PY7A3UibDLIKCVoBQnOQjXdLY6kfaR36HVJ+jTShPbfqZDGIinCP29MIgXV0Nbhf17Sa kkkxQWXtgyPkZ3WMaB6vWLfM5I12Ule9IMWOt1cM37OwtWnMVFpaXJi8ZWkiCRQpYeqR sXVwNgI4n2ryknTfprg9KxRmWepN6JvuvkbN/nPhkfX7Tp14H9/kX5sFEMQjorJBHK+n evbg== 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=bagD2wG/tEqVv+fwLrRFVQIXkhW+1dP8Dy7b0v4+yP4=; b=lleGIGMaGbu01h9LsIWDAvoYql4RQR1eYpLnAYEV1MGaGckQTzBOAjKQsAUdxe2DHG PcSHqlyF2c1oCHQffXJr1O7hEeBI+XHN20avZrWJFS1p6HUOqLYBS5cjCnzdHODvPE0x 7hpFUPY/2QGtKZoYBjingyp3kwldyRcvpx9+VXjhHhSUrwoyeTuC836KS4DsGHn60dPt wFeswN6shSAK2rAyfP5a6z7wNh7g0syOoHtKO1baNw1WabdGVe8lSt3ddE4UJDNyJd4x n547ocZ8KISuwUHwmacI8gg0SMTrcLP5QhnG3/1ereLsLqbRrUbV5zkltOZkTqgQRBQ9 u7wg== X-Gm-Message-State: ANoB5pnQZac0JTpa5AGOym0AuEuEHMRYBQlfedI8iMzYn/SiQX+/VSD7 GrBKKDr/P94M380L8rVQy3R92xS8fse9Cg== X-Google-Smtp-Source: AA0mqf65x4qGluoqkqzEYj3Q+Z79ZsL6+koYZV0rIJ4jPW57+SBXB4lwo0hgXIIu12b7C1W2mTmcAg== X-Received: by 2002:a5d:4107:0:b0:22e:3e28:f8db with SMTP id l7-20020a5d4107000000b0022e3e28f8dbmr13864751wrp.380.1668598811092; Wed, 16 Nov 2022 03:40:11 -0800 (PST) Received: from localhost.localdomain ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id s3-20020adfecc3000000b0022e653f5abbsm14853105wro.69.2022.11.16.03.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Nov 2022 03:40:10 -0800 (PST) From: Abel Vesa To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Herring , Krzysztof Kozlowski Cc: Bjorn Andersson , Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] iommu: arm-smmu-impl: Add SM8550 qcom iommu implementation Date: Wed, 16 Nov 2022 13:40:01 +0200 Message-Id: <20221116114001.2669003-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221116114001.2669003-1-abel.vesa@linaro.org> References: <20221116114001.2669003-1-abel.vesa@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221116_034013_868154_6A654C86 X-CRM114-Status: GOOD ( 11.63 ) 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 SM8550 qcom iommu implementation to the table of qcom_smmu_impl_of_match table which brings in iommu support for SM8550 SoC Signed-off-by: Abel Vesa --- 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 b2708de25ea3..3a029f26642d 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -439,6 +439,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sm8250-smmu-500" }, { .compatible = "qcom,sm8350-smmu-500" }, { .compatible = "qcom,sm8450-smmu-500" }, + { .compatible = "qcom,sm8550-smmu-500" }, { } };