From patchwork Thu Aug 10 17:45:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13349777 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 83541C001DE for ; Thu, 10 Aug 2023 17:45:47 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MprdrliDc5NDYA93EtcQZHDXvk1Udcgt9mMBmHe8Ttk=; b=1ZSU+Ti6epuhxG gzvRPkD9tWRVxEiWHZCvIwoWHGSrPfoK9mrsIlVLHUucsssccJeDYbBaiF+oQiSWMJFzEQQREjiZZ nABozWRDa2g3ugxptKZK9yAZb3QtQfmGasGl671MukHna0DUN8k8Dcv4JEzEpvRV2feiro92ZC74y 0w4TmrbDudwMpYGr8WCWkhxbEG/asx5kei2UhcPP6ZQ8rHRnVrb6SrzZm7Bm3h7coQm+WLqkcW2fq WrBk7IFeB8DS6ctdcLvTLC0SnzpMQA/WdGs7+rJW+KZ1gHgxpsmgQ3UQzgrzP1bEVK1OwTAkJyMtZ lrNvjLZyN8YSKwZtZUXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU9iu-008KNi-2g; Thu, 10 Aug 2023 17:45:24 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU9im-008KFX-1d for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 17:45:18 +0000 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fe8c3b5ca0so1781908e87.1 for ; Thu, 10 Aug 2023 10:45:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691689514; x=1692294314; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0L/Og6SjPo7hch9m1P0xrOeWP0OpTof8BKpwKVvYwAo=; b=Sm30q7YXaMhuBhN+ZvZE3EGftImSvNDB6NoDq9EDFCnvEixqQeqWQpkNUXE8WhZgin y5+cSEvVQ6PFb0N4Iad9bHj/ROhjsoiPCrSffoMFPxgf7PEbP07a3a6zYBk6rkJQu9GC 3V1VJpdezTGe+HfbRqQ6Ev7NnJvOmlndgAmj21rmv85m4+88PCcF1yZ8H8IOSAxw1wFe yN6l2rSkIZQXibPGX74K6Zg4or8i3r0RLKZk7eMVtxmFBhhVb6Ew68uBg2GAHLtQro4c oBxkJSD5KuAkL8rIlsI67JB/8hjpEGThninCf+gVYYphC2SRcq8Z1yNpz6BeHvoFn1xP YCWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691689514; x=1692294314; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0L/Og6SjPo7hch9m1P0xrOeWP0OpTof8BKpwKVvYwAo=; b=iBeAhxPAQgZfrpi1jw/9DudZnqJATMqheVdHlqhyJOeKYAzuvzM8ufzXWf4hPWVfc/ IMAoGt5ZxDK+F3MpufJYLLXDhhUFcHQmACMgCFA43IrgVYSwAnxY7T6X6izKDu4fsI4R kzWJrOeMBPkCVw58CQdsH84FQBDx2jBN0sMzy2kgYeG/2b1ko+zbZb8sPF3UmPhnBU0t qFgDUua5VUiKI6omsE1RDruZW+PKuDSjBbjWzpvn9QW/RIADltf6m2pZzH0Pvpgh4T7X UahxN5bEmwsFHcts4jysTzURpvcnbw6RXUn3IvrcZCo+kie9ZZfOILQSA6riRAO8lbPV UVzw== X-Gm-Message-State: AOJu0YySDy+x17il5zLmxZrGHuY/g2TyLQYRAZgrALQzQMAfvO5zaJHW +IviDYZaOits72Z+lxc+sdEnAQ== X-Google-Smtp-Source: AGHT+IH+1Gbo/TDmIW3eblhDt09LUR928LMZ8o1dvucQgGBtoFZYRUvUsK4ADgxOeMn5fDbqlgYP3g== X-Received: by 2002:ac2:4e90:0:b0:4f6:6b:a43b with SMTP id o16-20020ac24e90000000b004f6006ba43bmr1988158lfr.52.1691689514159; Thu, 10 Aug 2023 10:45:14 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id v13-20020ac2558d000000b004fdfefdf4acsm364173lfg.39.2023.08.10.10.45.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 10:45:13 -0700 (PDT) From: Konrad Dybcio Date: Thu, 10 Aug 2023 19:45:07 +0200 Subject: [PATCH 4/4] iommu/arm-smmu-qcom: Add SM6375 SMMUv2 MIME-Version: 1.0 Message-Id: <20230810-topic-lost_smmu_compats-v1-4-64a0d8749404@linaro.org> References: <20230810-topic-lost_smmu_compats-v1-0-64a0d8749404@linaro.org> In-Reply-To: <20230810-topic-lost_smmu_compats-v1-0-64a0d8749404@linaro.org> To: Will Deacon , Robin Murphy , Joerg Roedel Cc: Marijn Suijten , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691689508; l=1145; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=CNJ4mh92G6GMEZSc82T6C+uor7teKMPMhLG+CGjqQnk=; b=odug6g7eeZl/NyqzcER9avooNnc6ZKseMyv0ZesSFlplkwxRhXbbwdafjamBXVk6h26D1mKVw ORagvM5INz7D+Z1/wxg1iZJzadTT59UWAgmqIIKjglYmJyDFj9qlr12 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230810_104516_553221_77FAA70C X-CRM114-Status: GOOD ( 10.94 ) 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 SM6375 uses a qcom,smmu-v2-style SMMU just for Adreno and friends. Add a compatible for it. Signed-off-by: Konrad Dybcio --- 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 bdeb587552c0..7f52ac67495f 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -530,6 +530,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = { { .compatible = "qcom,sm6125-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sm6350-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data }, + { .compatible = "qcom,sm6375-smmu-v2", .data = &qcom_smmu_v2_data }, { .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data }, { .compatible = "qcom,sm8250-smmu-500", .data = &qcom_smmu_500_impl0_data },