Message ID | 20230116164236.18958-1-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1299993wrn; Mon, 16 Jan 2023 09:08:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXtZQNLq0WHeJ2yb7nu8BtD2NPX3b4ih73UMexGYaUz+d0glo15JS/aWHh5t8HUMSHFvFtV5 X-Received: by 2002:a17:907:169f:b0:871:c2e4:2e94 with SMTP id hc31-20020a170907169f00b00871c2e42e94mr2766951ejc.2.1673888897174; Mon, 16 Jan 2023 09:08:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673888897; cv=none; d=google.com; s=arc-20160816; b=EhANiesQm78lOp7cuICvYApXfs/1QVi8AFoLfLCCIADWepoUUEQPH6ewb0SzfADv7d cLh0c5u+K5WchYcKuLmETVq71HL6qi93XHlVRQYBWYUldn2YEWpTe7fzJQTRZ2dfltQR nLUI3NI3DT51Xm475ZspW3dFVwcyuRjl8IjcN3K7dGrBkAV1IeJneE3EdLtsQTMIb8PY M2sMQAea5gLaM0imTUw4Si1y0CWq0HfSOD8ZYCKlOX8VM/oHOUJ4GA6TkEs0M6oRIZPs 0BBKme8EQ5fcqPTWIXisYSGKeEOhShcm2zC+fthhRKISIG5SI41emMd/HX2h6uNC/QR7 FJCQ== 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=Ccdi6WyL4Z5pA5oUnUJFVMN58+DXcZgnG8xyjA2Jd9c=; b=lUX+kHhywvlsihBZsT7NbVEVidXTJc9Vj2YMQLKEs+ccJUHUgnxo7tsBjisUKwVrwG sWkwgpuTqyqvBpUP+qA2TM4e1pE8wJOEMV+YSeGFrGj7eDXOqlMUXrh3ocLow4y2+E6+ 0Tq24UuBbklqisyPCcDzR37CwpTxrYyVOtzKEYcb66w3fjaJGT5JMjo/qeM5Btd0dan5 kIQLBOiWpWNxYOoqzdbgRq9wV5haA5xV3vHRtSc58AxRlXdVbBQWmEttnRPDoVs9vP0l 2hrR2ZNhtFLr5lXj0k9Hb3IiceR0Cz05kgJrDXptdTStI6M4BpeIGkwrbYiblVJJWeSk OR2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BYVjSxYf; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mp23-20020a1709071b1700b007826cb6f57csi30894335ejc.407.2023.01.16.09.07.53; Mon, 16 Jan 2023 09:08:17 -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=@kernel.org header.s=k20201202 header.b=BYVjSxYf; 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 S230458AbjAPRAo (ORCPT <rfc822;stefanalexe802@gmail.com> + 99 others); Mon, 16 Jan 2023 12:00:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234175AbjAPRAJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Jan 2023 12:00:09 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BAFE42DFE; Mon, 16 Jan 2023 08:42:57 -0800 (PST) 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 AEBCA61092; Mon, 16 Jan 2023 16:42:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17C59C433D2; Mon, 16 Jan 2023 16:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673887376; bh=8a3MlUovzOvRSVhA5GVPmvPsQkOoUVDWU54w2dSskdA=; h=From:To:Cc:Subject:Date:From; b=BYVjSxYf7ZCktDrlSOSxMCnxFM1Srdx9kASdl9GSLq7/2wq43oA655h1SFh76Z6TK 3SFhNV9Nag9pfV74xzmof6OxUEkKtA4fgkDGBKdglUyziMBrtDL4M2h6mLYsBz1kKU E8a82BQDKKAOh7iX7YF3RePkoqddAcs71zGP9wuPBk6Mh424T1njJ8FlGNK92aTP2k 4VrdFsWLQNYfhBawZ0oGx2k7Q0PH86SbvZ/DkF0I4v2Qf12/+4mXHSiiTcDQ13TJxq 16jSqKBdnUQR0J6ipzKSb/mfh+VzU8R7iRcFuyvx0DxOD0ZIukdfwFJjjqN1QvY2gT PZgNP/+26g56Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1pHSZm-0004wK-KL; Mon, 16 Jan 2023 17:43:15 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: "James E.J. Bottomley" <jejb@linux.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com>, Avri Altman <avri.altman@wdc.com>, Bart Van Assche <bvanassche@acm.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org>, Rob Herring <robh@kernel.org> Subject: [PATCH RESEND] dt-bindings: ufs: qcom: allow 'dma-coherent' property Date: Mon, 16 Jan 2023 17:42:36 +0100 Message-Id: <20230116164236.18958-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.38.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: <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?1755199724300393034?= X-GMAIL-MSGID: =?utf-8?q?1755199724300393034?= |
Series |
[RESEND] dt-bindings: ufs: qcom: allow 'dma-coherent' property
|
|
Commit Message
Johan Hovold
Jan. 16, 2023, 4:42 p.m. UTC
UFS controllers may be cache coherent and must be marked as such in the devicetree to avoid data corruption. This is specifically needed on recent Qualcomm platforms like SC8280XP. Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> --- James and Martin, I'm resending as reminder in case you missed the first submission which included an arm64 dts update and also did not have you on CC as I was following scripts/get_maintainer.pl too literally: https://lore.kernel.org/all/20221205100837.29212-1-johan+linaro@kernel.org/ I've added Rob and Bjorn's Reviewed-by tags from the above thread. Could you take this one through the scsi tree? Johan Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ 1 file changed, 2 insertions(+)
Comments
Johan, > UFS controllers may be cache coherent and must be marked as such in the > devicetree to avoid data corruption. Applied to 6.3/scsi-staging, thanks!
On Mon, 16 Jan 2023 17:42:36 +0100, Johan Hovold wrote: > UFS controllers may be cache coherent and must be marked as such in the > devicetree to avoid data corruption. > > This is specifically needed on recent Qualcomm platforms like SC8280XP. > > Applied to 6.3/scsi-queue, thanks! [1/1] dt-bindings: ufs: qcom: allow 'dma-coherent' property https://git.kernel.org/mkp/scsi/c/85e182b48a33
diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index f2d6298d926c..1f1d286749c0 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -44,6 +44,8 @@ properties: minItems: 8 maxItems: 11 + dma-coherent: true + interconnects: minItems: 2 maxItems: 2