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: 13075497 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 C7B62C4332F for ; Fri, 16 Dec 2022 22:01:44 +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=PUg2wNHOsArHFDqI7jPx0eKPvBSvXJ831zpBYfGmIaU=; b=L5C6In7EOz6QVh H5/iiWuG738A6VFXIMaiZA8H2zBQRJUFI3/uJzxrrZ1A5tcQLebIKLgNk7Q5IhcUgJTsoxQJP0+UA VP2b1auMCEqZKXVcTDlQdga/o/gZL7onzknXHKLPMRjLsmvM9YiwKznTzF1J4RiPksFSkEafL1vPG 6yUY3/QddRphiX8okpbGPD6G/YCyv917p+Ni9DlR9Yhd5flLzaI+E8m/LPMpWzD0DbjBqhk+MPlja YZjznt3LG/4+o9fuNPqqH9T5cdurU9/N/u+/5OySYQ59bQNQ6+ThV80C1jPFmeDqRqjMt1l3ASpdL WUoh+eaa7qFqj0X0ftUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6Iks-001cgU-Mn; Fri, 16 Dec 2022 22:00:34 +0000 Received: from relay03.th.seeweb.it ([5.144.164.164]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p6IkR-001cAN-AM for linux-arm-kernel@lists.infradead.org; Fri, 16 Dec 2022 22:00:10 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221216_140007_635556_B9C712E0 X-CRM114-Status: UNSURE ( 7.93 ) 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 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(+) --- 2.39.0