Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp354206rwi; Mon, 31 Oct 2022 02:11:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4VSVTiUePGpXGLmcm/X8DFdlzwAhivsdmkCG09n+Qx4tn947VGuh87ACg98EnO6zHC2bwV X-Received: by 2002:a05:6402:1391:b0:459:cb69:9a2b with SMTP id b17-20020a056402139100b00459cb699a2bmr12711349edv.201.1667207497451; Mon, 31 Oct 2022 02:11:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667207497; cv=none; d=google.com; s=arc-20160816; b=kKqmp5ZxnspTTSxXcv6ZT68lG/Bwwgww7MR4fpxuASUc2SC7T7soy1hf5FCbJtWbcE a/0Uf5n5gQdS5u2yd/tGex4oXoVowSYgv7KVr9A/ocoEZ3uQha0KY9tCh+Po8+2w0SS6 MDKYlCTQtVYDZKsvneK7jWbfCSOMijzEKEqIwDIT15oCzg22VtON0zP0O6VuvDJx4puZ u2CkiH+P9Gh+PksjRTX1rHzkv+7bY7Cki0eh8WP+/5kWaqLM6hcDpUqMgJlQa4GFJ78K KZVgQpGu1UTMHq6p1/WyphQly/hgy35G/68RmXJroLT7e75gG6+v2xq+BS3FQCL3SVoT 1RwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:to:from:subject:cc :message-id:date:content-transfer-encoding:mime-version :dkim-signature; bh=jmXgH1SAhcQIZxyzlJ97PpSiC9wwAu62KWCbNUsyD6Y=; b=NSy1tPgoiyjWCOTCNZmvLWygwEq3LUlnyaL0UqNZGcdiJDOosrKtvhfEzWrRxbV5qd C05XzebIclna9WC0BW03yW9l5VjleM9+5HGo+mootvVh0Q8/01YzieM/6IwSJWoXs/wS hhllwGYB2yV+2ZP+M6EQbNTurIQH+bZtOzdcVfHe3HdZIw5NPESMzaA+zdKv5AaSOPhJ gwXJILsR3PXjRvkPHBCVEKPep+NNOblEUlriGcABfQaWw0q08fFiKR6opHvE5DnDM5f/ FWOwTgj1/TG+Hfr4znqHrtChj7LdpTTqZfcPVmezDV5MVyLXke68fNGrnpO+YYPmKdM9 fvuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=1CXyrhXc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go44-20020a1709070dac00b007ad8218ad7fsi7918303ejc.379.2022.10.31.02.11.13; Mon, 31 Oct 2022 02:11:37 -0700 (PDT) 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; dkim=pass header.i=@fairphone.com header.s=fair header.b=1CXyrhXc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230027AbiJaI6G (ORCPT + 99 others); Mon, 31 Oct 2022 04:58:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229970AbiJaI6E (ORCPT ); Mon, 31 Oct 2022 04:58:04 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD463CE37 for ; Mon, 31 Oct 2022 01:58:02 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 21so16458635edv.3 for ; Mon, 31 Oct 2022 01:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jmXgH1SAhcQIZxyzlJ97PpSiC9wwAu62KWCbNUsyD6Y=; b=1CXyrhXcPRd0nrSC3aPIkB9Bn78esovPFnNWKrzffXqOlHMJZb3/cEZREUFg+UKvVk 2pdao7W9Hofxi8PFC7lysr3ju7q0BkM43v/ZpbQqHrPKBHmrpTNpKs22ZEVynU/zEQik UN+gtbPVuE5oMlIo0K4prEKut2Fjo6xkmM1EuF+5J00QTfBXAYqmY/o50/oiz94KaMJR Mws3XCeopytV5OvgIJdGp2HfkdZTqYqeMJdjZ+JrQv9P5A2/DvLIKZiVgyiNgs9h71AA vWMRM88TzEGML8os9csXOTI49BKUeHoGjeqSWv98CHB2EV4qLNcQJi1+gNsKL0ZaNy3Y z5JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=jmXgH1SAhcQIZxyzlJ97PpSiC9wwAu62KWCbNUsyD6Y=; b=ovbyvIUlAgOLSSrkETbueOXtMoiFXSVq7U3Hrii5YhXY7bATq+PTs8Lhm7W9vYfVI0 wuYstYQLPKHO0C1DMdkLtemb9sIQqUMAAJMmanZISePaZavIhkS57JFe5AVCN9kulr9J 2EnWVVNehjNL281qzhoNB8ZN1a+c9CXXp6HlLXtqkvlurdA1UnCpLyExyvd7E7hg7gjv NkPsy/iJdpxDQ2crp9tbJkzQhITeqCTMDS0sAjyvYvcexS2Fq4dFc8wyRlLXLYgnRGuF 1nZiaxSF5yFjnQI3xb6npgHmQHbNEaeeQKmem+JEpjGiqqxvotTnZsBv/woOxc8ic9Pl 5JMQ== X-Gm-Message-State: ACrzQf11SCceVMgvXkNN4b9lOMwegQZoE/cL8M4NoS7+iw/SOe6LKKOz JF25bQ9/RGRVTmwBykWdtSyTKg== X-Received: by 2002:a05:6402:3645:b0:45f:e918:9f35 with SMTP id em5-20020a056402364500b0045fe9189f35mr12209108edb.118.1667206681249; Mon, 31 Oct 2022 01:58:01 -0700 (PDT) Received: from localhost (31-151-115-246.dynamic.upc.nl. [31.151.115.246]) by smtp.gmail.com with ESMTPSA id 17-20020a170906211100b007a8de84ce36sm2676467ejt.206.2022.10.31.01.58.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 Oct 2022 01:58:00 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 31 Oct 2022 09:58:00 +0100 Message-Id: Cc: <~postmarketos/upstreaming@lists.sr.ht>, "AngeloGioacchino Del Regno" , "Konrad Dybcio" , "Martin Botka" , "Jami Kettunen" , "Andy Gross" , "Bjorn Andersson" , "Rob Herring" , "Krzysztof Kozlowski" , "Luca Weiss" , , , Subject: Re: [PATCH 10/10] arm64: dts: qcom: sm6350: Add apps_smmu with streamID to SDHCI 1/2 nodes From: "Luca Weiss" To: "Marijn Suijten" , X-Mailer: aerc 0.12.0 References: <20221030073232.22726-1-marijn.suijten@somainline.org> <20221030073232.22726-11-marijn.suijten@somainline.org> In-Reply-To: <20221030073232.22726-11-marijn.suijten@somainline.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On Sun Oct 30, 2022 at 8:32 AM CET, Marijn Suijten wrote: > When enabling the APPS SMMU the mainline driver reconfigures the SMMU > from its bootloader configuration, loosing the stream mapping for (among > which) the SDHCI hardware and breaking its ADMA feature. This feature > can be disabled with: > > sdhci.debug_quirks=3D0x40 > > But it is of course desired to have this feature enabled and working > through the SMMU. > > Signed-off-by: Marijn Suijten Reviewed-by: Luca Weiss Tested-by: Luca Weiss # sm7225-fairphone-fp4 Regards Luca > --- > arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/q= com/sm6350.dtsi > index b98b881ebe7e..c309a359ded9 100644 > --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi > @@ -485,6 +485,7 @@ sdhc_1: mmc@7c4000 { > interrupts =3D , > ; > interrupt-names =3D "hc_irq", "pwr_irq"; > + iommus =3D <&apps_smmu 0x60 0x0>; > =20 > clocks =3D <&gcc GCC_SDCC1_AHB_CLK>, > <&gcc GCC_SDCC1_APPS_CLK>, > @@ -1064,6 +1065,7 @@ sdhc_2: mmc@8804000 { > interrupts =3D , > ; > interrupt-names =3D "hc_irq", "pwr_irq"; > + iommus =3D <&apps_smmu 0x560 0x0>; > =20 > clocks =3D <&gcc GCC_SDCC2_AHB_CLK>, > <&gcc GCC_SDCC2_APPS_CLK>, > --=20 > 2.38.1