Message ID | 20221222193254.126925-1-marijn.suijten@somainline.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp128583wrn; Thu, 22 Dec 2022 11:35:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXs8uo+HJ765FnDCb0DkFSLChB0q5St0qXXFrVqLPUviEV+70h8ggeiVVQvpEwFCoKiR0xc4 X-Received: by 2002:a62:1d56:0:b0:56d:dd2a:c906 with SMTP id d83-20020a621d56000000b0056ddd2ac906mr8104297pfd.5.1671737704131; Thu, 22 Dec 2022 11:35:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671737704; cv=none; d=google.com; s=arc-20160816; b=aTJShmQJjqiNpsSpwXMCLoZTZefuNp+nSghYp97hFNGK/74RaEmTLhyVI7e4p1U/Uz YRtEw6eRW8tGpx/XU1AyBc0w9PpL4EWu4rozN0wAg7J2tvFSYEh+/GApaUyB0W3ZpO0p jiF+v92ce+4c//o9nz3HBnCGahcFkxiBFnXigP3OxF//rmoQStnsCX0zG3Uc0M31LBKp 2gBaMe82bOV0nL6JU5gjQtvKpC1xJQ8ij0RGPf6dLHhuZwB3KV++Fur4duUa7af2RDXw i6/VMQ7rCpoxntg98NtdZF17OUD6sSLIlcO8y0FX8S5V9ZKonXXriyGP2lf9k5M/Bt6p JdIw== 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; bh=JW3wSrmK0mRv5rc47diuBHQ6m0P/VV1jqQfXH5eD6OE=; b=Lj8DsxzN5eVMFkJXX3xCdJCFc+RfBopcoMk4m/KmnJhR0laLJfGgir86Vjlc37Vh7J jIu32ycFfdZF38ExdP5HrFeQUa46mNX1qYotNtHIw9My6AAZW7pVibetv4p/AmQkjUAW 8b/PFOO9hr//1zUPXTedb9MKquMhN9pIoekWKPGrUZZnKag+L7Rq305FrO1OHa1zBXGY NBxjSOymi4ozpoL3kFbZv+VzyTRlq/WDtxSOJv5LzNiVtoHIhl+0gfFAC06D/MCXyNuY Zdi1SEIql9gNk2LFTU8ZgrJnsQMVONh5BpXCx4jdM8O8bMm+Et8nz4qTpa+lyYyWnb0g ulUg== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q10-20020a056a00088a00b00562a1693523si1527667pfj.20.2022.12.22.11.34.51; Thu, 22 Dec 2022 11:35:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235679AbiLVTdd (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Thu, 22 Dec 2022 14:33:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235543AbiLVTd0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 22 Dec 2022 14:33:26 -0500 Received: from relay02.th.seeweb.it (relay02.th.seeweb.it [IPv6:2001:4b7a:2000:18::163]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 421AE17A80; Thu, 22 Dec 2022 11:33:25 -0800 (PST) Received: from localhost.localdomain (94-209-172-39.cable.dynamic.v4.ziggo.nl [94.209.172.39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 1D62220169; Thu, 22 Dec 2022 20:33:23 +0100 (CET) From: Marijn Suijten <marijn.suijten@somainline.org> To: phone-devel@vger.kernel.org, Will Deacon <will@kernel.org>, Joerg Roedel <joro@8bytes.org>, Bjorn Andersson <andersson@kernel.org> Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Martin Botka <martin.botka@somainline.org>, Jami Kettunen <jami.kettunen@somainline.org>, Marijn Suijten <marijn.suijten@somainline.org>, Lux Aliaga <they@mint.lgbt>, Robin Murphy <robin.murphy@arm.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Thierry Reding <treding@nvidia.com>, Melody Olvera <quic_molvera@quicinc.com>, Bhupesh Sharma <bhupesh.sharma@linaro.org>, Douglas Anderson <dianders@chromium.org>, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v5 0/4] arm64: dts: qcom: sm6125: Enable APPS SMMU Date: Thu, 22 Dec 2022 20:32:50 +0100 Message-Id: <20221222193254.126925-1-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752944034732754702?= X-GMAIL-MSGID: =?utf-8?q?1752944034732754702?= |
Series |
arm64: dts: qcom: sm6125: Enable APPS SMMU
|
|
Message
Marijn Suijten
Dec. 22, 2022, 7:32 p.m. UTC
Add APPS SMMU to SM6125 dtsi and use it in SDHCI/USB nodes. Changes since v4: - Use hexadecimal 0x0 for iommu mask; - Add sm6125 to the dt-bindings list without clocks, now depending on: https://lore.kernel.org/linux-arm-kernel/20221222092355.74586-1-krzysztof.kozlowski@linaro.org/ v4: https://lore.kernel.org/linux-arm-msm/20221216215819.1164973-1-marijn.suijten@somainline.org/T/#u Changes since v3: - Drop driver patch in favour of using generic qcom,smmu-500 compatible; - Add patches that use apps_smmu in USB and SDHCI nodes, reconfiguring their streamID which otherwise gets lost (from the bootloader) as soon as SMMU probes, breaking their functionality; - Rebased on next-20221216 to solve dt-bindings conflict. v3: https://lore.kernel.org/linux-iommu/20210612094606.89576-2-martin.botka@somainline.org/T/#u AngeloGioacchino Del Regno (1): arm64: dts: qcom: sm6125: Add IOMMU context to DWC3 Marijn Suijten (1): arm64: dts: qcom: sm6125: Add apps_smmu with streamID to SDHCI 1/2 nodes Martin Botka (2): dt-bindings: arm-smmu: Document smmu-500 binding for SM6125 arm64: dts: qcom: sm6125: Configure APPS SMMU .../devicetree/bindings/iommu/arm,smmu.yaml | 2 + arch/arm64/boot/dts/qcom/sm6125.dtsi | 76 +++++++++++++++++++ 2 files changed, 78 insertions(+) -- 2.39.0
Comments
On Thu, 22 Dec 2022 20:32:50 +0100, Marijn Suijten wrote: > Add APPS SMMU to SM6125 dtsi and use it in SDHCI/USB nodes. > > Changes since v4: > > - Use hexadecimal 0x0 for iommu mask; > - Add sm6125 to the dt-bindings list without clocks, now depending on: > https://lore.kernel.org/linux-arm-kernel/20221222092355.74586-1-krzysztof.kozlowski@linaro.org/ > > [...] Applied, thanks! [2/4] arm64: dts: qcom: sm6125: Configure APPS SMMU commit: 8ddb4bc3d3b52e0a560a18e4d739c83f56efe7c9 [3/4] arm64: dts: qcom: sm6125: Add apps_smmu with streamID to SDHCI 1/2 nodes commit: 60f6c86fb4fd16bd86aa1b16bc51ef4ac0e20d4e [4/4] arm64: dts: qcom: sm6125: Add IOMMU context to DWC3 commit: ac54563c27528ab9461899de7d99ee4e3858b858 Best regards,
On Thu, 22 Dec 2022 20:32:50 +0100, Marijn Suijten wrote: > Add APPS SMMU to SM6125 dtsi and use it in SDHCI/USB nodes. > > Changes since v4: > > - Use hexadecimal 0x0 for iommu mask; > - Add sm6125 to the dt-bindings list without clocks, now depending on: > https://lore.kernel.org/linux-arm-kernel/20221222092355.74586-1-krzysztof.kozlowski@linaro.org/ > > [...] Applied first patch to will (for-joerg/arm-smmu/bindings), thanks! [1/4] dt-bindings: arm-smmu: Document smmu-500 binding for SM6125 https://git.kernel.org/will/c/c940c8787929 Cheers,