From patchwork Fri Dec 16 21:58:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 634536 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE80EC3DA6E for ; Fri, 16 Dec 2022 22:00:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbiLPWAH (ORCPT ); Fri, 16 Dec 2022 17:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbiLPWAG (ORCPT ); Fri, 16 Dec 2022 17:00:06 -0500 Received: from m-r1.th.seeweb.it (m-r1.th.seeweb.it [IPv6:2001:4b7a:2000:18::170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7FBF13DC3; Fri, 16 Dec 2022 14:00:03 -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 2ACD2200B8; Fri, 16 Dec 2022 23:00:01 +0100 (CET) From: Marijn Suijten To: phone-devel@vger.kernel.org, Will Deacon , Joerg Roedel , Bjorn Andersson Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , Marijn Suijten , Lux Aliaga , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Andy Gross , Konrad Dybcio , Dmitry Baryshkov , Thierry Reding , Melody Olvera , Greg Kroah-Hartman , Bhupesh Sharma , Douglas Anderson , 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 v4 0/4] arm64: dts: qcom: sm6125: Enable APPS SMMU Date: Fri, 16 Dec 2022 22:58:15 +0100 Message-Id: <20221216215819.1164973-1-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add APPS SMMU to SM6125 dtsi and use it in SDHCI/USB nodes. 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 | 1 + arch/arm64/boot/dts/qcom/sm6125.dtsi | 76 +++++++++++++++++++ 2 files changed, 77 insertions(+) Reviewed-by: Konrad Dybcio Reviewed-by: Konrad Dybcio --- 2.39.0