From patchwork Mon Dec 5 10:08:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 2597 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2164497wrr; Mon, 5 Dec 2022 02:18:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ox1BMjNcVHhrrHE9Qldub2MlfQLxQk/DeE2XJ7GAQSrOxAuPfxgh9HVcT9pmp1kNkvH97 X-Received: by 2002:a17:902:aa06:b0:182:f36b:3221 with SMTP id be6-20020a170902aa0600b00182f36b3221mr63936998plb.36.1670235492167; Mon, 05 Dec 2022 02:18:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670235492; cv=none; d=google.com; s=arc-20160816; b=0pQ96z5QZWvnkZGCCc9njTdbstG+leypmW/xcgWyys6mSpXdQknxZCDoJZhmd3F81C YfLLy9/PXeMkhgcNFCj88bl+UX35amQzUH/BZD99XhbLNWO0gvdNkKDc5qWgU3VVvLtw zSY/Sa4zikivPyBxcYwfJINLpdXsjRku7VRcDu+K8gkvaWfe6cTc+HPIsva+beN2PFGi a31111HzBdQs05lDrBOsise9NOnf475DfuYW+Qr2oFq+cMo1HM76I/ZRCAbub6BqRKSk a3IGyCMMnc55Wkp6CZzDOdxbHTVFDKD8aXu6DBit+e/X8aW0cZIZa9sFD2+dbsLLfAFP 4ypg== 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=WbMQLRrVXVFU2Op2fAl0yVar00PjYn+V4ncNRcH7qnI=; b=YSLcQgqhE8R6VL5kvBKsDUtLITIMCbY22puccwHB4yPZG++Z0M606k/gRD82mhuNJK BMt3cyAjyW2JOyk+nw27FlY0Twb2F1Q+Sf6jZ4/d+M0DsL/e+mXEmiKrQTqNdnNRtG6E bYceAQ8miW3dWHmVgW8UCiFZH/tmL91MqocZDj0kkJkOBjjBsXljlKoGLRkfydDHlgBj lnqmw5NZOAt+aWkGlH9CPQMTmqBcn8BHuc446+KB3YTI5DmQWvgNtsTEVARzDjxKlhJe 8kNi2c27/zecgaKIK3MDLozeEy5yQQtOY5BH73FTw4oIjk9vUf/obh0xrcnJsMJTaf5v lwMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PuivGRnq; 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 c3-20020a631c03000000b00476d0c7b644si14255843pgc.290.2022.12.05.02.17.58; Mon, 05 Dec 2022 02:18:12 -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=PuivGRnq; 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 S231232AbiLEKKe (ORCPT + 99 others); Mon, 5 Dec 2022 05:10:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbiLEKKb (ORCPT ); Mon, 5 Dec 2022 05:10:31 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77800183B4; Mon, 5 Dec 2022 02:10:30 -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 0A90B60695; Mon, 5 Dec 2022 10:10:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52B68C433D7; Mon, 5 Dec 2022 10:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670235029; bh=UKiRJZiLjJcqQYbuhGuTxSbl5IYHsAs7+XtrUEGo+TA=; h=From:To:Cc:Subject:Date:From; b=PuivGRnqMZC7MP8tajdweXR+6j1gw7Aypy8W1f02XdoBU5LpivlE3rLfpXRQK4Gvv DO4UBtdkUF/y+TUCTACOhR3YtVYhh/OZ1mTsSnSYQ+6IEaUK5MlWdh/Fw52oghFlqm n6jKXjHsIIt7ZMo4z7gpq2it8rkaLkdGBxICl4H55WxBsCFpqlyxNWkv8y7QRdQ8mL PxVAaJCWFC3h4Z0OyFR+IU9bCYRJxXGXGeah8Y9CsCyM2YBHdyjzXSZFGOe13IJQ1y zzba4l+zNTc+nYOUPNLnIyL3k0a70NhoiBGYVDdDTjqvpMEsBBnjvhsULgh5rH/Mn8 Z7RcXH4TF8d2w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p28Qj-0007c6-GC; Mon, 05 Dec 2022 11:10:34 +0100 From: Johan Hovold To: Bjorn Andersson , Alim Akhtar , Avri Altman Cc: Andy Gross , Konrad Dybcio , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/2] arm64: dts: qcom: sc8280xp: fix UFS DMA coherency Date: Mon, 5 Dec 2022 11:08:35 +0100 Message-Id: <20221205100837.29212-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751368851311348676?= X-GMAIL-MSGID: =?utf-8?q?1751368851311348676?= The SC8280XP UFS controllers are cache coherent and must be marked as such in the devicetree to avoid potential data corruption. Johan Johan Hovold (2): dt-bindings: ufs: qcom: allow 'dma-coherent' property arm64: dts: qcom: sc8280xp: fix UFS DMA coherency Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++ arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 ++ 2 files changed, 4 insertions(+)