From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73CFBC47089 for ; Mon, 5 Dec 2022 11:59:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbiLEL7Q (ORCPT ); Mon, 5 Dec 2022 06:59:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230353AbiLEL7O (ORCPT ); Mon, 5 Dec 2022 06:59:14 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1FBCE037 for ; Mon, 5 Dec 2022 03:59:13 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id 124so11152832pfy.0 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=gNnaFO5KkGNMleq0/0Y7nKcdgbcHYcKd1sqCC3ATK/Tgxw3SFsXdjshaXMSY/TX9nj BAxZ5Hb4r10X7XwSgRlvhklkzZT/1w0s+MfOh8GGf4Oj+4C51i/dfXLBN5Byzs5ZQEJ6 /drEtMOBrqrUxTTzK6QkLeXQj7/Vc1zcHWmTfD7V0NmITlCdUHt+DQ70YUE7TQ4N9p0E ts943TO4VBvp/qQUR/JUWNZIXHKv34xYkMl4dWwkeJlWyju0UH//7Tu7TrWqrKEeKSjc 8taF8kbeEXNjU/MjSq/S26FMUjd3j5KWcpNgDwd50/bjMm1un7Cy97o2kOmzDNqpKdac yEhQ== X-Gm-Message-State: ANoB5pllw5JiZRVh2nJnaKHsqwtYEa0/PcPffgYkUEQ619QwslF6WhHU TULv6wT8SKlvF5iHCved2r1S X-Google-Smtp-Source: AA0mqf6j5YhyfdVOKSjtKnCH3MyZNtcxxRSjvEhSz/uAs3E8YB7W4Bx982aZrQIQQ3CVU/0VtFH8dA== 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> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 > -- மணிவண்ணன் சதாசிவம்