Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5833867rwb; Mon, 5 Dec 2022 04:54:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Z7Y6pfhnZuXwRnpI7pTALJYV1P6R2oRowgUnCuqjMvvTPcmET/axUrJx1rJfX/5dvKKfJ X-Received: by 2002:a17:906:2988:b0:7c0:b56a:eadf with SMTP id x8-20020a170906298800b007c0b56aeadfmr15110762eje.271.1670244895751; Mon, 05 Dec 2022 04:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670244895; cv=none; d=google.com; s=arc-20160816; b=eB/dZ07Mhbqr6DPts+8M54Dp59Nhxdm5mYhY2rr9MvOGT3j/iOoE+6nGqj4igg5slx FCWacuCffYojWqlvBVtVnTbD/7XxmmwUTb3T4R733P6qfcCSTh/0QTcsfRMsSIEI+Vqh h+RB9BJ0vKC5tT0vE9Vf841SitpcM8PTjuMxX/eJvt2NlMCla+b3uoWvpdvf+Jsohyd4 80hwSLl/nrTMXqe2Tj18AuOZKRcsrhH02NBvRYeNs93OMBCAFRY9SrrR//zUTJPaioOh U/xiLLHjJPWbZoU3SC9RS+R9uigCK6S2kqvo1POLoXfurGg5CwlF7AIxSESsreHqh8FF 36og== 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=JVDnYep+OGuO+Z3tpAIsly50JpE3CrqELGalA8PHONg=; b=I0byCY2rfcCGGSE52qrvr77megRrtqxqvPievwiqsZ0nAQUAVadWQwWWM8iOTGIs0t c6NJV0F50jrtesUPLC/CvZOpDYKGmNqEsei2Snyv8rtUa8UhJr3TP3MFqcMnvqG8Qoxr XKuynkkyyKDR1Bw/7Pho9A92EwyTY/HowRkObUY4FMzc8w2oeDlBCffS4YEx+fK+brd1 nB32mvoXetEl0B68PGjui5qcszl99RjjiBZ1qKJnKQ/Mc1qJ0GkEaWGkcnQFlPCDA04U /uGvJZ6LwmPPidbXY/0+jCK6M/8EYV4aWD9aVCkavIf3qYMYes7EbXYUOh0Wfoaia0yh umIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N5wjABRO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id tl6-20020a170907c30600b007ad943d0608si8073171ejc.630.2022.12.05.04.54.14; Mon, 05 Dec 2022 04:54:55 -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=N5wjABRO; 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 S230353AbiLEL7R (ORCPT + 82 others); Mon, 5 Dec 2022 06:59:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231190AbiLEL7O (ORCPT ); Mon, 5 Dec 2022 06:59:14 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0BA9E034 for ; Mon, 5 Dec 2022 03:59:13 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id h28so11089354pfq.9 for ; Mon, 05 Dec 2022 03:59:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=JVDnYep+OGuO+Z3tpAIsly50JpE3CrqELGalA8PHONg=; b=N5wjABROTlnOf0xkjlrF9DD5NNlAXltNebNeRxy6Iv6U/IFxnXWNcch0ApbhNbuAXl aq5kgXkOXdXhCSD/TXtuGnck53j8/j46CwFfsglAkBnlBm2YAVb6ZXcTgUafrPfTKQgB 7+Xo19wDL124a9m4i+RrLankKSnka65OFqOpGxVwHpl0sPH3U/NyCQFP7kWwfPeH3ykb DBjxyYWknWDfL0DlZr2bnBKKx8PVNOBMwAJ1BU6gQWxIgthRQaQjSFJaAknrZCbfI5ck I/LtR1ye1+e5jEKWC3Jw6EtnuDFfmfv7Ld0QOH9LYL9jlMTJMcD7uJMo9Xp7UUJHnJ4V lFkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JVDnYep+OGuO+Z3tpAIsly50JpE3CrqELGalA8PHONg=; b=1O1NAdTe/9yqMVMow66n8Sa2+5IvxX5QCAwHTIbChPrldceExXB3Q9RfseuIRl3u7l bofmFuu62BwIMnPawhheT/Dj+2alCJTUl3Ezq2CR/SCCHlO9CPGHwxYa4gvx2zZIzlpq 5cuUu65inBLq14EtW+zpE4ENuzuji0KMJzRe9aUrKI6kLwZlH8tENLpDbEUsXC1xN2e1 u9skspghzz5YSyCgAfy5eQSGmD9CjrY8ciUBKPtKKetLYamlfIROJR0it5Cb8B6EAAI8 tnnQFxOGjkztU+zhXzkPmcz4xR4cuhR/7iWWzNmU4LPRki3cbqsbXdAIwbaEElzL9EWJ PqBg== X-Gm-Message-State: ANoB5pnidel836yLWW70gJqBvW1PnWiZpB4wLpsSA+35sg5e/zSP1kk6 XD+l2byvkTfZHThcIL7WXWKo X-Received: by 2002:a63:570e:0:b0:477:a381:84d with SMTP id l14-20020a63570e000000b00477a381084dmr53526864pgb.207.1670241553326; Mon, 05 Dec 2022 03:59:13 -0800 (PST) Received: from thinkpad ([59.92.98.136]) by smtp.gmail.com with ESMTPSA id i28-20020a056a00005c00b005771f5ea2ebsm789766pfk.135.2022.12.05.03.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 03:59:12 -0800 (PST) Date: Mon, 5 Dec 2022 17:29:06 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Bjorn Andersson , Alim Akhtar , Avri Altman , Andy Gross , Konrad Dybcio , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: ufs: qcom: allow 'dma-coherent' property Message-ID: <20221205115906.GA20192@thinkpad> References: <20221205100837.29212-1-johan+linaro@kernel.org> <20221205100837.29212-2-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221205100837.29212-2-johan+linaro@kernel.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 Mon, Dec 05, 2022 at 11:08:36AM +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. > > Signed-off-by: Johan Hovold > --- > Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > 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 > + This property is not applicable to all SoCs. So setting true here will make it valid for all. Thanks, Mani > interconnects: > minItems: 2 > maxItems: 2 > -- > 2.37.4 > -- மணிவண்ணன் சதாசிவம்