From patchwork Thu Aug 10 17:45:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13349776 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 BDEB8C001DE for ; Thu, 10 Aug 2023 17:45:42 +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=LcOztx+nome8Rod9QSrPD0c7CKlqRVWH2mR01H9swNo=; b=tMZIR7xfz52RNV EwDFrvIgB7tpnusr7r6aOAwQcGhCa/nehYDsutUxTlFpgwrknGHMYdF6W6pG7GH5TayEw6vHNGZDJ avGP7zteukglL8ZC0uQ9j3yukLpp3M9w6LjZ+FqC9Ctqb70YQNEd9XNDRYj0B3bdrRyeVxyEOCVl1 uv+UH6wso0KoOWPL20qzeQLM9yWq3ijlO1han8hxejQF4ht4lFkUQNalrVAmo+HRQTgiB1d6Vs1GX J8mMEbPaYP372Lhszkh9Ecvk2pE1BPFHdIug3GFSMrjSh0vdW4/pnyKQBoLJlVJJFM3d97Stm2LXA laIEWf4DZfqPqutkHTeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU9il-008KGK-1q; Thu, 10 Aug 2023 17:45:15 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU9ii-008KDu-2h for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 17:45:14 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fe7e1ef45dso1846715e87.1 for ; Thu, 10 Aug 2023 10:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691689511; x=1692294311; 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=BJ8fNoRhbMQbavYz3EL1f8wM8/yF7KTjRgYXkDMQaMA=; b=dljhf77Tr4NJUgwvW7DEWrM77eYKaj1NZPVDcNqopcd2ADIHl1fR1PgaqlCeE/VQ/G 6VCfQgdfV6VOX2BZcMQeXfBQf7tk0qf00dWcwCObbS7FhFmASmUgZnosyuhS2pnLd5jA EVyLw1wh8GeF3k9B1pNVZl0A3AU/4DAuZvOdTt+bwE5tXT1sfw4cVHuRKlg4MJI/b4zC 5+BTn5E6KPO2aTr6yMLL1nCYnQYrf5PP3udZ53rYrmphlygeUMEq4ogGijJzkCp4zJb7 0yFB89FzxLBtoIne4UyCZhRxUBUgdFcdy9Amyui/8xc9ysC3oAyeVMYj63wPvm4ZXge1 EwYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691689511; x=1692294311; 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=BJ8fNoRhbMQbavYz3EL1f8wM8/yF7KTjRgYXkDMQaMA=; b=CbG0misRZqCL5LXICYL8X4QQgfUbbSmQKBGEN6znqZMSA1yQV+cvq8Gr+3w3tugcAJ Y+D5223OAV/mPDmFoknVIoHyEl4gPC/6mcxYfillQEByB2p91P//QW7uOyoB0J2QgIJH ChplPxHPkjLPdC4gXfleQn69nb+GrqkhXYl0m6uXWIbXlfdH3O5HI6IhmN7wPyMq08pe Ch6gR7138kUdKBHraCS6P2GOLta2mmA5V2AIDySYaya7tv38Vy+wUpCKI0cQAUnK67PC UbT2tAaS9/6oj067wLAtd2/dRsmbPYR3A81Qn7sJbF25kiuIg3JLfBPJukDdU3u4B6q+ VHWA== X-Gm-Message-State: AOJu0Yz3G1LIQx+RKrOws5Ud/0nrsWlODmqnTqPM4tOt4qruRLy9lhsY 1cG2u8brlvG6hxlunHalc4L5rg== X-Google-Smtp-Source: AGHT+IH3O45J0mhWQQdaSnbK/VkyJ1m35ng5Kc/xDbldxVSiEHLm1bnbl74iwcErP3kckBDfXP0ZtA== X-Received: by 2002:a05:6512:2520:b0:4fe:8f0:6aa with SMTP id be32-20020a056512252000b004fe08f006aamr3439265lfb.49.1691689510706; Thu, 10 Aug 2023 10:45:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 10:45:10 -0700 (PDT) From: Konrad Dybcio Date: Thu, 10 Aug 2023 19:45:04 +0200 Subject: [PATCH 1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically MIME-Version: 1.0 Message-Id: <20230810-topic-lost_smmu_compats-v1-1-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 , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691689508; l=1026; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=QsYXprleFiyojpiKbE6Kw0XKenZmtLGgzHLB9aaIrjw=; b=WMMj34R8wVtLr6EyGNZVl1+X0m1IGx4HSfAaxjcEtJ2WlM+ceIXOdP/694tFuv1SiqByGVCAg FV4tVNagA2fCO94pQtttmg2xOjGEAkhExIBjE3RZHJ8B6vwiDXsshdU 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_104512_873070_ADA6A9A1 X-CRM114-Status: GOOD ( 12.39 ) 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 It got broken at some point, fix it up. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index c71afda79d64..3800ab478216 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -251,10 +251,10 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,sc7280-mss-pil" }, { .compatible = "qcom,sc8180x-mdss" }, { .compatible = "qcom,sc8280xp-mdss" }, - { .compatible = "qcom,sm8150-mdss" }, - { .compatible = "qcom,sm8250-mdss" }, { .compatible = "qcom,sdm845-mdss" }, { .compatible = "qcom,sdm845-mss-pil" }, + { .compatible = "qcom,sm8150-mdss" }, + { .compatible = "qcom,sm8250-mdss" }, { } }; From patchwork Thu Aug 10 17:45:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13349778 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 0DE01C04A6A for ; Thu, 10 Aug 2023 17:45:49 +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=7Ht0OvdqH6HAcDu7cP52P1HzUWf41n1FUK6nQJSDJEQ=; b=AvMXsHDV4rS0kl JawtdBbQiLLgvXBY7ZQjIGET1R50o/bfoZWzf2Kwz5k3NeyFf7TmKuXTK5zjaoVe5tHSo/v3Ja+oM zSbFc+pmdd/IAXrGYDBHu1uVCpgJamT9eZ/IK+I9PAc5h4IdrHbpdiQYkhnWooJk9T2iEK1BhdTJ+ k8sgSjNAU4u7dWvylRhSbJoa07sXp4FVJy1DvJGGOSA3Y+OC5R1dhdiCWlpK2+q3+bINRH8lVIYUj feBkZVw8Rmx+k/NrWRo1hDEhQMWEf86Bugeg0dN9myOvMiaAhNBZcaMEzMxgfsBK2ZPHg2UCbH5Dd seJBWKPgDEMUC0uFYj/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU9it-008KMz-2d; Thu, 10 Aug 2023 17:45:23 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU9ik-008KE8-0Q for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 17:45:15 +0000 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b9fa64db41so18468211fa.1 for ; Thu, 10 Aug 2023 10:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691689512; x=1692294312; 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=f8FWAEIAhA33W+8UDaX5UpHwiPnLkWYvv2NefiVeC38=; b=eHE0zrK0OPJWgmKqCGjViM7iMYsk9t5p/9IySjOWR/qIbxSC4ZY3aP4Cmvo2PYeqEl zwu5gJGNJ4pA07wPSvn5CCFNOre19RtP028icMlvXR4t3Vk1Rz6V9A/QgJZA+0q1q6js C0cKF21AkYE2dNplwzFoF5Y/mcOJLA/fawQ6NQRCygVe4TmaHDEspE/dUhRKhtyjYAcf +YEjDul7yiKlaaPyWAooxecpu9O43Sf07IsrJhTyHbjrpk5tlNxGhxyOGL4IeIhuGIjs MU2rWeuEgOZoOws0nk63lE2BFNGqcxZ8PtLjBX4FSODNsRUvDGzSzO9YPQQu4bopVswR 58ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691689512; x=1692294312; 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=f8FWAEIAhA33W+8UDaX5UpHwiPnLkWYvv2NefiVeC38=; b=Ym2HXsPQq+XpCQiqh5Z+FWMnQhnArd5xoEFtgxZA7r9cxggWB6XNSdgjx1jeCtqxuB qKwC+icMz32bk/KIhh7aQHEqgH8C/tpuxk9WA9LXcHdrgYu7oc++dP+kYVyzuEUBpD9d PN21d/a4smjY+ITUJsUr21BskCMLnfXf/Y3v6AGQuVPgg+pO6NfbEai292ELIwcNHsXW Wv97NPvtDh5UjsOkOcPt/h40eK1O3CV/i/V838GbZstEkWI1tD7/euYnwmSp2OGbdEcr De6ubLgAyKBWULRRWYbO5atLDHGA3Q4ntYADJ7EF35QK2Yojahxq/Fy/GWobsn8vGkR6 jTDw== X-Gm-Message-State: AOJu0Yx7uNc3tb1PlO5J++DWtlGyQpHnCJ60YQa2opp9I8+hWL9QsrOo bp5IhU7jzjAdKt6jhm0EgbdBNw== X-Google-Smtp-Source: AGHT+IHSeBWcISMVgzTRKoGQw0iSsqq2Vw1ek2suvWtK0JJkC0ikQlJHLhWl/Q4oHqLqR+AYzXxlig== X-Received: by 2002:a05:6512:36d2:b0:4fc:df79:3781 with SMTP id e18-20020a05651236d200b004fcdf793781mr2214199lfs.66.1691689511821; Thu, 10 Aug 2023 10:45:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 10:45:11 -0700 (PDT) From: Konrad Dybcio Date: Thu, 10 Aug 2023 19:45:05 +0200 Subject: [PATCH 2/4] iommu/arm-smmu-qcom: Add SM6375 DPU compatible MIME-Version: 1.0 Message-Id: <20230810-topic-lost_smmu_compats-v1-2-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 , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691689508; l=919; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=vqfPAR2SkzRz/y82PPSbW9MsnNV0xJ1HzwUE+LyK1W4=; b=c6VRAVsJRCu6e/R2rPJFuagGfCj4TLZnmDg/MfVZ5YywkJaBPan5ETJHaJIQV+caP748sJJh8 7zGrgcnJdVPDtkZlIfuE3OJDziJxh+CM6ZazYMIhyiPGg7Rj9kcIwBo 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_104514_171889_523FF18B X-CRM114-Status: GOOD ( 10.71 ) 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 SM6375 DPU compatible to clients compatible list, as it also needs the workarounds. Acked-by: Dmitry Baryshkov 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 3800ab478216..cc574928c707 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -253,6 +253,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,sc8280xp-mdss" }, { .compatible = "qcom,sdm845-mdss" }, { .compatible = "qcom,sdm845-mss-pil" }, + { .compatible = "qcom,sm6375-mdss" }, { .compatible = "qcom,sm8150-mdss" }, { .compatible = "qcom,sm8250-mdss" }, { } From patchwork Thu Aug 10 17:45:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13349779 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 627E1C001DE for ; Thu, 10 Aug 2023 17:45:50 +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=hAx+MCie7e0/tUqE3ax86kEvBozO9nVery2je5CjEgM=; b=bEdU/auqH9ig9H 2pJJQVHQQKyHR1AmR53WokRzZzDbhN5t67nACUJxi2ZBhovIfpP4Su6q3y2QGa3qbujFnCtlV1hV6 7TCpzoqliUXkSVgirM6IvrSEKTTx6dTKfLlUHwAQH3BGQU7t/DpVMT9dAQggXTzvBLrrFvDnPCj+R sok5Zi45kElJ33I/Wyps5tltaXSNk3RgsodMe2VRJ9D/sdiwi2ssD75KkZICWBUMGMtryQr/MvEW/ 1asLGUXVNl2MPsEARAu/12duNCM2ktvJperbMNrYH2h3xm/aBlWQW4WXbD0oCMf/CAeJvN6o3mNZb C4Kyh5j2VygiNCT5SVEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qU9iu-008KNN-12; Thu, 10 Aug 2023 17:45:24 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qU9il-008KEx-1X for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2023 17:45:17 +0000 Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fe389d6f19so1805179e87.3 for ; Thu, 10 Aug 2023 10:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691689513; x=1692294313; 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=G0GKjPDyvoAuP+M91ApLudBjH9CMGM8uGu6N/SkZfpM=; b=nzOkxJGTHk3Y/1sv/1gGEQXInYDnS0JfvQH0NpK/YttN7ATaXNU9tEhBJyXNI4Ha18 XVWVZoURO07TIGzyeE1Yf5L6a4qgUZ5Y3Pz66w+aD/yrC9VuCwsUvF4hCnPYHtrUIo9x HyZkDOrGV3NSW/0AQWvjW98Rw+UBrGnY1rZpfsvbadJeAupaOtPjpLMlfg4mB7N8bH+g XQSHc5/ogAA7Rv0ekm7rzVUGU8NK19RgjSFi4HJioOgufEnSbJ4rYpAHk8fSRcdVrPlg 3heYqMDYneo6/jQxc8Iya04yY/u1IDgsmShHAC0eNyYM/ysMAuRiEQb7/GFcaX5q0e7Y m7Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691689513; x=1692294313; 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=G0GKjPDyvoAuP+M91ApLudBjH9CMGM8uGu6N/SkZfpM=; b=VDcCoUIwwFGANIcMmG8ogY9WhUfTgg4PM1H9w+0vKD1Yt6/txMhu0VA+FhE7y2C4hQ MwJvEp9kkGkp1tAPYcHhfTpYZRCfU8iR7XlGPN4RthipF++iWCeurRCSbS7j3ItLji02 ppVDczXVUKU/VwjGPLilM6Q9IlHMHSt4onyuVz8RZQ2OsXMkzj8ZIaO31Yefzd60A+H7 VQjK4HCzi9uwRVeh4q54JTg5bhIqY2BaPAMoJwXVUFyDvQ3vFHKqCUuXtrNfRw/fjyxU 0u73XSvUOnhVCL+7YdROMyppOPA/scT+qxqR2Gz3FFuAjFhlRtk3PSCME5AUvkMWGNQY zkww== X-Gm-Message-State: AOJu0YzFN1jvaxI9fyAP7TJqMrBkQI9T7yIAEqHbQ2tyYdXBDDIubdq3 xZ197TZzdkuJ/KJFNBXMDcP0JA== X-Google-Smtp-Source: AGHT+IHrHDWWRhuLgKu7ea/IPjMYC4fPCs9kEh7OU2MUv8A2V7V0dAKGD/apDzrAfbANT74bxmxZtA== X-Received: by 2002:a05:6512:69:b0:4fe:1e69:c37b with SMTP id i9-20020a056512006900b004fe1e69c37bmr2437514lfo.10.1691689512948; Thu, 10 Aug 2023 10:45:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 10:45:12 -0700 (PDT) From: Konrad Dybcio Date: Thu, 10 Aug 2023 19:45:06 +0200 Subject: [PATCH 3/4] iommu/arm-smmu-qcom: Add SM6350 DPU compatible MIME-Version: 1.0 Message-Id: <20230810-topic-lost_smmu_compats-v1-3-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 , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691689508; l=1014; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Y7bYhGu0ASVzGb9G7odf3tduVcYO2D8/4BIOQJwrqcE=; b=MIYsLRtU5HUGW0mAHSXrQis/HcCiBkog6h0S8MKq2Hv2tnYu1kMBKBExmI2pRXUMnEH6dzl9q XaqJsyk3FKuA/WHQOlr53QrCjzqHmM77KKbrkBzp9gwUCLK5lpcugQw 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_104515_554491_060C4BF0 X-CRM114-Status: GOOD ( 11.26 ) 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 From: Konrad Dybcio Add the SM6350 DPU compatible to clients compatible list, as it also needs the workarounds. Signed-off-by: Konrad Dybcio Acked-by: Dmitry Baryshkov 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 cc574928c707..bdeb587552c0 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -253,6 +253,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,sc8280xp-mdss" }, { .compatible = "qcom,sdm845-mdss" }, { .compatible = "qcom,sdm845-mss-pil" }, + { .compatible = "qcom,sm6350-mdss" }, { .compatible = "qcom,sm6375-mdss" }, { .compatible = "qcom,sm8150-mdss" }, { .compatible = "qcom,sm8250-mdss" }, 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 },