Message ID | 20230308054630.7202-1-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp157776wrd; Tue, 7 Mar 2023 22:00:27 -0800 (PST) X-Google-Smtp-Source: AK7set/lxSeQLrIWaC/V3qo753DUENRphXBw7W5YayllK4ghrv/Q4bY8MQ50ji+bAX3GKEeNeti6 X-Received: by 2002:a17:90b:3911:b0:237:9cc7:28a6 with SMTP id ob17-20020a17090b391100b002379cc728a6mr17457478pjb.26.1678255227264; Tue, 07 Mar 2023 22:00:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678255227; cv=none; d=google.com; s=arc-20160816; b=HlsU7KdgCv5OpwDVZ/5qXzz9WQlyUieaBCa6M455VqNEenBuD9he9qaVZkA6ekdH+T mzSAw+U7rMDTVgDnt6+8W7lm2L8IBV3bMciQMFsnDCL331/YaGP024h28Omm0TpVJtTf glwVLuXDdfnjr/HpF3950vSBlRHo7CrW5mt3mo7390s02wQcVPmjorJKWoUTfj6bDV0G Y0FqT7hDIXdQATAEk0VKO2Usro3+i04jjC8e4QmEgCU4K2xRPDbSjNcKc7V0kx958Sxa oa5bSvvm8rCqAfEXXNDI7Xz0BDgW7XzHZsunY8XPirosqHkjCwyVnDv3d7pyz40Xx89K y4pw== 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:dkim-signature; bh=TI1Dr5bu7w3qXi8ffygZPrAEov3EaoxJgB9FdyYzp7A=; b=zzuRomHyQbESIoQIvX8AEDzpH/rnEj6Q2dJqXOgaWn4ognxsc5cGwljViuEmV52FhJ +8Hi2in/upQohHkzpNAA5I2l3jJCHBR3zu0Hf0xuuDPH6TXaIIfK0EU4YjVm9DBY7jVC lF0qaO72K763LnkRGUvPRkTTNQNAetWLo/Og3dReZkq9vpTPlljouByUiXrFCl2Ihf1Q J4ypRn6+vsdiipeY1sGHdZtUYyPuEcgw8nMVTxW64zndN0FlDqd4q3h5fhIJvwYM5V5u 9zlpQOACGv6exLHGAcevLxWfJcJDmDj6KxEYfZpV7EcJu6pWR8IM9+rAv8S87YNwj5GC KX7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZEJaWoHY; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r22-20020a632b16000000b005033b0e1c2fsi13939162pgr.697.2023.03.07.22.00.11; Tue, 07 Mar 2023 22:00:27 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ZEJaWoHY; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229590AbjCHFqm (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Wed, 8 Mar 2023 00:46:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjCHFqk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 8 Mar 2023 00:46:40 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EF33A592A for <linux-kernel@vger.kernel.org>; Tue, 7 Mar 2023 21:46:38 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id h11-20020a17090a2ecb00b00237c740335cso948414pjs.3 for <linux-kernel@vger.kernel.org>; Tue, 07 Mar 2023 21:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678254397; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TI1Dr5bu7w3qXi8ffygZPrAEov3EaoxJgB9FdyYzp7A=; b=ZEJaWoHYGiqOKzBsXevIwkneM/an8vfZQ59QlX/QuW/lmIXAQi4cRyCppgt5ohzj5C +aDH4wsqliQoZwt7Q+b63sd6y8L60NthfJkRSOXqUA4eoKdHB0CUyYQpAGPMgoyhdnWK zDFWZwFigzWoforeXWexd1ftbPKyl4DpPUMWS1LYO+1jd4vm6dko9NVnHwfrtaLUeJP9 3P76U1KE8WfgNnUdXLv1iRKqgBpv7HyGywjEbt6DkMDioSIMfG+IeD52YseOXop6YUUC MyScmUfKmtjxReZRW+DZBgICndJZPXNap54pHzeNawuU2Fo9l7hu4XIUClREVhityC2e GM/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678254397; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TI1Dr5bu7w3qXi8ffygZPrAEov3EaoxJgB9FdyYzp7A=; b=XMI86ULlFrbC+ocq4xSdCLzf+RpZktq+hFdSYTdTzyMByRENTp2LhvLoVM7h/KZAnN 09dDAZeANWAiGjSdvIOiHeu8U4YxxxLBh1AbXaNeBI+UYr6V2wfYracc8mNfIw5j6jLD Plc9kr5v+cSlVHRDgBo7M5tpr/4EihDQZFBG4tsqpVWrW3/qD039rORuRqoBZyVf1XXc 8TecTlc+Lo3InXlBcVof8U1NDFqd8hM17MqWjIMN/qdHFJfRtmsXAUTKvR3DEG9pH4zy /wHDZCyrgvZcDDCr/y+9qcLvjfRlUAssSkT9bCXEse42uQOve+4hf6vY9auGomESNSk7 XAcg== X-Gm-Message-State: AO0yUKXD4Bib8x5WsieBgc/Tf1mGa6FC2pahsAXn5yF/STLPnK0OMjXo YsIVw6P3wNjURtYAXMHsAGwrozNZU/e2tEaEIA== X-Received: by 2002:a17:90b:3a92:b0:237:6d4b:7cb7 with SMTP id om18-20020a17090b3a9200b002376d4b7cb7mr18171866pjb.41.1678254397556; Tue, 07 Mar 2023 21:46:37 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id p17-20020a17090a429100b002369d39672asm8153148pjg.33.2023.03.07.21.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 21:46:37 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH] arm64: dts: qcom: sm8550: Mark UFS controller as cache coherent Date: Wed, 8 Mar 2023 11:16:30 +0530 Message-Id: <20230308054630.7202-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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,URIBL_BLOCKED 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: <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?1759778153003806773?= X-GMAIL-MSGID: =?utf-8?q?1759778153003806773?= |
Series |
arm64: dts: qcom: sm8550: Mark UFS controller as cache coherent
|
|
Commit Message
Manivannan Sadhasivam
March 8, 2023, 5:46 a.m. UTC
The UFS controller on SM8550 supports cache coherency, hence add the
"dma-coherent" property to mark it as such.
Fixes: 35cf1aaab169 ("arm64: dts: qcom: sm8550: Add UFS host controller and phy nodes")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On 8.03.2023 06:46, Manivannan Sadhasivam wrote: > The UFS controller on SM8550 supports cache coherency, hence add the > "dma-coherent" property to mark it as such. > > Fixes: 35cf1aaab169 ("arm64: dts: qcom: sm8550: Add UFS host controller and phy nodes") > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- Cc: stable@vger.kernel.org # 6.2 Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi > index ff4d342c0725..5315e24fa525 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi > @@ -1905,6 +1905,7 @@ ufs_mem_hc: ufs@1d84000 { > required-opps = <&rpmhpd_opp_nom>; > > iommus = <&apps_smmu 0x60 0x0>; > + dma-coherent; > > interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, > <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;
On 08/03/2023 06:46, Manivannan Sadhasivam wrote: > The UFS controller on SM8550 supports cache coherency, hence add the > "dma-coherent" property to mark it as such. > > Fixes: 35cf1aaab169 ("arm64: dts: qcom: sm8550: Add UFS host controller and phy nodes") > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- > arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi > index ff4d342c0725..5315e24fa525 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi > @@ -1905,6 +1905,7 @@ ufs_mem_hc: ufs@1d84000 { > required-opps = <&rpmhpd_opp_nom>; > > iommus = <&apps_smmu 0x60 0x0>; > + dma-coherent; > > interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, > <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On Wed, 8 Mar 2023 11:16:30 +0530, Manivannan Sadhasivam wrote: > The UFS controller on SM8550 supports cache coherency, hence add the > "dma-coherent" property to mark it as such. > > Applied, thanks! [1/1] arm64: dts: qcom: sm8550: Mark UFS controller as cache coherent commit: ee1d5100c37e7a95af506c7addf018f652545ce6 Best regards,
diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index ff4d342c0725..5315e24fa525 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1905,6 +1905,7 @@ ufs_mem_hc: ufs@1d84000 { required-opps = <&rpmhpd_opp_nom>; iommus = <&apps_smmu 0x60 0x0>; + dma-coherent; interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>;