Message ID | 20230307153201.180626-1-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:570d:b0:a1:2e52:cf23 with SMTP id h13csp1973423dyk; Tue, 7 Mar 2023 07:46:23 -0800 (PST) X-Google-Smtp-Source: AK7set+1kkUVwft4E3hAi0OH/RMVEMAlYyUHAIqjkmVM9Cja6ITzHxTjrD9sXevdMGgmJb/FvbaS X-Received: by 2002:a17:90a:fe17:b0:234:9303:2801 with SMTP id ck23-20020a17090afe1700b0023493032801mr15518800pjb.20.1678203983355; Tue, 07 Mar 2023 07:46:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678203983; cv=none; d=google.com; s=arc-20160816; b=g3NXU/JX++ukD+VJN/xX0SkCIxa9U7SSf8bncW80dhTAbTspfUlO0Iqzd7GxUrOcAI U5BYJQ8gWqypwrw6/d0LIHQxIDm3ULP6hXQtJSCxa0CgRkdmUwgEaqInksovrFltZGfs EffhiymNi7rB4sNmqKtXNpL+koI2snbhbUFV7e/j2K3P192IAo5ycHjj0hWyuHkEArpS OimfbHMzXCiYk2JxxuXMBDcf+lk8TKMMuwWGxnqDyszg4906WTIdKb0ajd1VxR1gfy+i JWpqYII9hRmbObE6NtkuUdwvL6LIJyVITW63UQanBNJGZvy9Wp/5xJL3xw9f+NnYC3G2 64uQ== 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=99KcN0KUzxUMOifeobUywCVUN2cCL7LQNwuX/8gz59Q=; b=DfqtmOaZd49QV+oLmGKHQNWMbQPsF3ZPz7Mmeg1Xc8qnESsvemw+zWCVhKrxDAt11a Xgu5pj1VuZVh5i01etyYc6H48Rm5Iqt2DWGEBcErpKzPntzI0raXZ3mg136I2QpHRFab vVga2sksgXm+J+0o9qaLU6gXYq7f0a2butIrJV1Rii71u5ghPWWrdiOMpU6pRjbhXVWV bt+g+mk/Z6ik4HaJbExfNm++Sm6Um9KQ6fTXnLvIa2FkbjnyR6+1H5CQcHDELkMfF/N3 3ZxYPjkaY+D09kgkwLtvHwRAj2jEVmzej+JyBTLo347Uzzh+j0VHnGc5cYw6RHiJapoO uvlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RuRCRqRk; 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 mz7-20020a17090b378700b0023035600c54si12385389pjb.84.2023.03.07.07.46.10; Tue, 07 Mar 2023 07:46:23 -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=RuRCRqRk; 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 S231287AbjCGPcU (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Tue, 7 Mar 2023 10:32:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbjCGPcN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Mar 2023 10:32:13 -0500 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C5EC4FF06 for <linux-kernel@vger.kernel.org>; Tue, 7 Mar 2023 07:32:08 -0800 (PST) Received: by mail-pj1-x1031.google.com with SMTP id x20-20020a17090a8a9400b00233ba727724so1529341pjn.1 for <linux-kernel@vger.kernel.org>; Tue, 07 Mar 2023 07:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678203128; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=99KcN0KUzxUMOifeobUywCVUN2cCL7LQNwuX/8gz59Q=; b=RuRCRqRkSJ46eOsUdOViqsVJku4VaLtx75eL33+hukIU6nffPYmW8HTfQ3Uyq0S+fB tQpgbHKRUOBDc14AhvxeruizL//11F5CcP3PeU4AhSlqVWEXDl1gFYPnSXuAroyTGI6v 6Cat1tHcRul0ClCFj64PPgs4HZpKmXvNz9sLRCnTwzKP0UoVLm/nVobmkaycnilYOTi1 AweoDWEM6MuRvYRXgR7j4XHVFayLlTxz6XeRZl3i6iu3Ao+6KBBWj2gihcsPvoZzXZFU +1BhPsPlT3zpnVrpaDwxmU3/hbuFMmcK37uNymWCqRgleypjSxkHiipVMnCXCPJckng3 tePw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678203128; 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=99KcN0KUzxUMOifeobUywCVUN2cCL7LQNwuX/8gz59Q=; b=EL80pLJFEyclEgtJvqBEbpyq+in0QPN9+idTrr+xf+Dr1EtIp+mjXMl7cjPh+rDjq8 QWZx33QzzL9OyYt533/SzyIqzV/71Qf0WJnZjjVekk32sVT5kBk6eBsZfE0HVXCY+TW2 Iq0RLIt3P+FPzsTssAPV7JkqPgZ4jbL+kkVDij1kXCcB+DW1Thu/Pg1sWpd3k5FcdzDH W5Q1i8kYLmvdKk/cnb74f75KgX8NL8K/0jVyc906cvaPn4InuREiLDGyCjE5l2Rn+/nJ dZlWFm60Xogap8JEsNib/M/YsS5lMFlXyBazCTjFmAbRtw/JRPSu0tFZVTzOIEOWnbBY fVMg== X-Gm-Message-State: AO0yUKV587vMX8C4lIZ5r3C33S/IH0VGaSK2CIo17xQy5SV1lGrh7JI4 +wbFBqmpj3zeXgUJTEcowBFP X-Received: by 2002:a17:903:1d1:b0:19e:6947:3b27 with SMTP id e17-20020a17090301d100b0019e69473b27mr19965986plh.58.1678203127913; Tue, 07 Mar 2023 07:32:07 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id f18-20020a170902ce9200b0019c93ee6902sm8541436plg.109.2023.03.07.07.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 07:32:07 -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 1/2] arm64: dts: qcom: sm8350: Mark UFS controller as cache coherent Date: Tue, 7 Mar 2023 21:02:00 +0530 Message-Id: <20230307153201.180626-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?1759724419595454745?= X-GMAIL-MSGID: =?utf-8?q?1759724419595454745?= |
Series |
[1/2] arm64: dts: qcom: sm8350: Mark UFS controller as cache coherent
|
|
Commit Message
Manivannan Sadhasivam
March 7, 2023, 3:32 p.m. UTC
The UFS controller on SM8350 supports cache coherency, hence add the
"dma-coherent" property to mark it as such.
Fixes: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 +
1 file changed, 1 insertion(+)
Comments
On 07/03/2023 16:32, Manivannan Sadhasivam wrote: > The UFS controller on SM8350 supports cache coherency, hence add the > "dma-coherent" property to mark it as such. > > Fixes: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > --- > arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi > index 1c97e28da6ad..1a5a612d4234 100644 > --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi > @@ -1664,6 +1664,7 @@ ufs_mem_hc: ufshc@1d84000 { > power-domains = <&gcc UFS_PHY_GDSC>; > > iommus = <&apps_smmu 0xe0 0x0>; > + dma-coherent; > > clock-names = > "core_clk", Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On Tue, 7 Mar 2023 21:02:00 +0530, Manivannan Sadhasivam wrote: > The UFS controller on SM8350 supports cache coherency, hence add the > "dma-coherent" property to mark it as such. > > Applied, thanks! [1/2] arm64: dts: qcom: sm8350: Mark UFS controller as cache coherent commit: e607b3c1fa0e1579951acd00f9559a77f97d0927 [2/2] arm64: dts: qcom: sm8450: Mark UFS controller as cache coherent commit: 8ba961d4339c5db0e69ff6627606fe1f34c838e5 Best regards,
diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 1c97e28da6ad..1a5a612d4234 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1664,6 +1664,7 @@ ufs_mem_hc: ufshc@1d84000 { power-domains = <&gcc UFS_PHY_GDSC>; iommus = <&apps_smmu 0xe0 0x0>; + dma-coherent; clock-names = "core_clk",