Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1678103rwd; Tue, 16 May 2023 22:59:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5FR26FCvQUBl2M87RH4crlZKme9NKqQ9uGTCbq8aa9Qh75rhGUgABKtwajryBm6OQvmc3I X-Received: by 2002:a17:90b:3ec2:b0:250:ca6c:d7a8 with SMTP id rm2-20020a17090b3ec200b00250ca6cd7a8mr26131252pjb.29.1684303179024; Tue, 16 May 2023 22:59:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684303179; cv=none; d=google.com; s=arc-20160816; b=XWOIT2TiqyyNxTTQkM+OxSILOUuz36PaVuTuu97SRW31mqtvj6l5zrYtwBy+3WwEn4 iFpcj//NJFPWjygY/fbENK7rq2moF9FPPcjBgd/L2XvdamFPfC9H1ZgFi4xq45V5YERY NvpgCUVAOTv3XeAkWhl30TIJypjZmTSv64V9FuE0Z7iAuPRf9FE7jKi+LLYY2Rp5QNBo c7c6UlfxB9zZ1PGMASD7bzcXWmqzkygFogJNJiYdJIxF8yzQVMt8DFtPmIVC1BHSePNW u0def6HjCOFrE3yM8RuBkePbIlXl7UbenRVF+A4FerNK+msNx8xlEKWEPROuunZ96p2S dIAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xS0XpjBP84PtQWzl/Zupugdo0dXiqoQrTLJhH2puRgU=; b=kF11HFZgen7XKVNycfz4K++zt7GkWg2PXXCztdnlXVc1iaMuKQAKdq4lKcU31vAZn3 FiaFp11vm2XyKMTFlpSt3glJd/d+65dV0DBHwGn00i/KY5P39DvgGiU85C/ICQN1tYD6 seWkD4buVg5SNuVxgi2fBml9UaUFt1Doq/noXnyWarT3V92egMrxxjLNTq7+WMgwE6sV h3xntk8koSUfhyyvqC2JY7l2j0jnHL3CMU8OMsjYIWDkICC2hJ78JFTf8Kt2MHhSRzc/ AYw/jWVZ0B1ckpyNaZP9QjQHuYNa1wvEor1kcOZ/ZSuNfWzfcW1sTIoXAhh0HCLjb92b wXmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="k8/O3n52"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a17090a488f00b0024df9561b5asi955270pjh.143.2023.05.16.22.59.25; Tue, 16 May 2023 22:59:39 -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=@kernel.org header.s=k20201202 header.b="k8/O3n52"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232468AbjEQFle (ORCPT + 99 others); Wed, 17 May 2023 01:41:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbjEQFlc (ORCPT ); Wed, 17 May 2023 01:41:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F8D61728; Tue, 16 May 2023 22:41:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8E81D64209; Wed, 17 May 2023 05:41:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA5AAC433D2; Wed, 17 May 2023 05:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684302090; bh=eaW7TtDlCkk3TQHk49qcxVBWo9XRtdT3QMda3V2KuUM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k8/O3n52y2l02vvPDz4V5KTECiGq2pMxqf+oPdCEazc14sKqHDD7XE67NjCnLyzxB DC/mp7awBlFw3lTBdmomEbNKOLn5Ud1ZBNFpi1WZ8nwYfnil0u6H4XVgzpdPpb9OXi xACGXsF5HzwCoknWJZK77TTbUQ5RtQZu7cU9g9FhHle0jIXdw7C3I0200DRZ/H9M+q YfBp9Q81q5HOB3dgxrHDsk5GREUP/479ETwSMi/oD6MSb2D8ajzo+H6Mb+FB8UUvff ywtQr2IclG2qEuRMgOdozJEVPuMXarh1cze1l5zMv476/NRwTsirFzm+yWHDvEBjHZ bcFm9MhH4ExWw== Date: Wed, 17 May 2023 11:11:19 +0530 From: Manivannan Sadhasivam To: Bartosz Golaszewski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH] arm64: dts: qcom: sa8775p: mark the UFS controller as dma-coherent Message-ID: <20230517054119.GG4868@thinkpad> References: <20230515121908.303432-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230515121908.303432-1-brgl@bgdev.pl> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 15, 2023 at 02:19:08PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The UFS is cache coherent, so mark it as such in the dtsi. UFS controller > > Signed-off-by: Bartosz Golaszewski Suggested-by: Manivannan Sadhasivam Reviewed-by: Manivannan Sadhasivam - Mani > --- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > index c5e2e3256bc4..c0717dac100c 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi > @@ -605,6 +605,7 @@ ufs_mem_hc: ufs@1d84000 { > power-domains = <&gcc UFS_PHY_GDSC>; > required-opps = <&rpmhpd_opp_nom>; > iommus = <&apps_smmu 0x100 0x0>; > + dma-coherent; > clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, > <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, > <&gcc GCC_UFS_PHY_AHB_CLK>, > -- > 2.39.2 > -- மணிவண்ணன் சதாசிவம்