Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1956669rwd; Mon, 15 May 2023 05:34:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ61Vj0/LuBLmuxb1WSQ/87AoEvpFTGOvuERY8rO6JjEta9kz4qCgj+aYUwUvJYLZUe7WMNS X-Received: by 2002:a17:903:2308:b0:1ad:bb42:7672 with SMTP id d8-20020a170903230800b001adbb427672mr21816577plh.29.1684154066854; Mon, 15 May 2023 05:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684154066; cv=none; d=google.com; s=arc-20160816; b=p3F7EtxNJFO9fTnmcmHKHnVJ4LP59h4QD6fhBVQBLt0m/KPw2czCBi7ZJr9EzluYpg 9hd2o/DNj0GG8lJqxP5z20T9Irygb7untys4EOoDDe4LTQJCYxXQeFVR4H6ugTLrjcgw lO5DBckJGVJSrdeaGd5MulWHjFKoDmOAAIfeSO/lLmR8DZDmzxHO5g2+X+BasFJf+ioo DqTuVoXwgrgG+7HRt2z4gg4mzkOQMKmJo/bb7/UjFIHp2Bn36Mm4ga9F8aFNMSnhbpJQ /RIUht4e8vXQBnFEN0IiAYhuD8eUZxL6SsNspDqvHWr372DN+jXZ5f3vDFGWfGpgCCNi BH8Q== 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=L912CSeolNZtYdQ8RZjTKt4b4LSvo4r4682xBt0zJjc=; b=aj4BbrmgbYdb7wxCaMhQkKtaVXRdN8+QDU1OBXUUeS/PCofL/Ysed7gRI9WdlsfYcj 5YL4wbeTHH0XFgXYJnlealdKV1HvS1jX3+gC6NVKnlraX+lxUP33zxnqGsQpVgcdC+Gf YBfyK9hYNPvcVl/x00W/Vucw5nkj0u/JiCXatOQpTfiCrJ7RiPKfyPYTHVL2qgw81vn2 jWQ40nN7y7aMnh0VOl44kTrVHqwzkZJ+g9Z2hTUo2K8lOaknvrsfVGUaHnKAMXL5GE2f +E6Vq++I70geubh08Mi/N+ZgJeYhXZ1auA9Rt4gOnluQin2LNoUq9xIaGuN2DpSlvd0w cR7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=U+ib7nrp; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j11-20020a637a4b000000b0051b702b179asi15978195pgn.747.2023.05.15.05.34.11; Mon, 15 May 2023 05:34:26 -0700 (PDT) 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=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=U+ib7nrp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241779AbjEOMTU (ORCPT + 99 others); Mon, 15 May 2023 08:19:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241773AbjEOMTS (ORCPT ); Mon, 15 May 2023 08:19:18 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E72DE58 for ; Mon, 15 May 2023 05:19:13 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f450815d02so39601845e9.0 for ; Mon, 15 May 2023 05:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684153152; x=1686745152; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L912CSeolNZtYdQ8RZjTKt4b4LSvo4r4682xBt0zJjc=; b=U+ib7nrp1j5RymaVeBottDtU2UQWB9P+aB7p2Kk9adtcpQ3b48jVgUfn+o15WQwh/J VZ+z0d0KjsTba6bzI2SucZqskj6kRcMw+HR4/sWtEI2tPD7/dOcXDeXeXL94BVFDWJor L6kYb0568hAlcDzqPVOtFBFc27Dg6/2icQXSnPvoVgos49/fSF7CsO7Xk8ErEn/WOZhV FYdAg1m2u20V7ajVbbLbHRk2/e10Vvz80LkYxH2v0ZW+1LuWlxW2tkM/fYWE3ioQdNJA 9rwJGRKCOjbL1lt5QkoriHmW97ru2MLaNgp44pvlxQVZFhBNLz3nNRK+HtyKNupygwai uDxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684153152; x=1686745152; 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=L912CSeolNZtYdQ8RZjTKt4b4LSvo4r4682xBt0zJjc=; b=QhNiuRNNnk66Q2C51bMXN28xFqJZbcqCgmc9YadmLxHeMZ6VJd2VQuSeN2TWJayU1b p1mwFdo0u0M2+B06QRpCv1LRnXR7A4Gl8u4mzWqQb2TfHs3U0w7oq5Pb2o4TexV4cFbn dqw8bfBgXayE/htrJjvsBzPF3C0lifil18ODmdbUU9Sz4lB8P6Ptca06b1vcrQ9l+EvF S+QsLCovMpH5NWUakV6w9s2VJCuax73s/iQpvwTTQ2k6QoGXncpyZP8w91hYCvyvRIsx XGMcUChF0JrzCUF315Hhn3JOtgc3TO5YNftzz9/Ab/uwOzYa+pGQrejsICvFEBBunmX+ geRg== X-Gm-Message-State: AC+VfDzbhKj0H1v2sDi7J6OxZTDqQwEhXxRH2Xyj3BjBKwsK/35ApokG sJWiEVi1T8VaYP3hfKoa5oJKyw== X-Received: by 2002:a5d:6591:0:b0:2f4:4e1a:bea2 with SMTP id q17-20020a5d6591000000b002f44e1abea2mr22755001wru.59.1684153151997; Mon, 15 May 2023 05:19:11 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:1388:9f6:c7d9:3b77]) by smtp.gmail.com with ESMTPSA id k15-20020a5d428f000000b003062d815fa6sm32361582wrq.85.2023.05.15.05.19.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 05:19:11 -0700 (PDT) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH] arm64: dts: qcom: sa8775p: mark the UFS controller as dma-coherent Date: Mon, 15 May 2023 14:19:08 +0200 Message-Id: <20230515121908.303432-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 From: Bartosz Golaszewski The UFS is cache coherent, so mark it as such in the dtsi. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index c5e2e3256bc4..c0717dac100c 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -605,6 +605,7 @@ ufs_mem_hc: ufs@1d84000 { power-domains = <&gcc UFS_PHY_GDSC>; required-opps = <&rpmhpd_opp_nom>; iommus = <&apps_smmu 0x100 0x0>; + dma-coherent; clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, <&gcc GCC_UFS_PHY_AHB_CLK>, -- 2.39.2