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 17773C678D5 for ; Wed, 8 Mar 2023 08:11:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbjCHIL5 (ORCPT ); Wed, 8 Mar 2023 03:11:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbjCHILg (ORCPT ); Wed, 8 Mar 2023 03:11:36 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 749D0A21A0 for ; Wed, 8 Mar 2023 00:11:30 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id e13so14465518wro.10 for ; Wed, 08 Mar 2023 00:11:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678263089; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:reply-to:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=A/GnPDgS88xNTx2XNIhiP45O7mjmL1plMVX41sUe2+8=; b=MalOJjNVMtNPYOeLbH/dwcS/HBxF6IipOuqs9Y2h48HtACORCb0EXD1aV/S/vDLjSr XynJgLAjTVpw2qdJVbhi5ex59lvkpOAbIe/NbeOjLF9Ffner30JqIS5Hnv7/3XvFT9uY TtnpCTgyWXs/2MHKMIn3yNnTfvQNczEepDPE7d6DL4eFRZXEdXHHdqux/2ISe4nakMDZ g4yu/G6sLLZ1IM4nG0SGvMl6maT6ZehhR580JizG3v9VVsdfBDQ6iNxY29S6ANGc9fNL qTSnYqW99OPrCZH3d9fcJvQlswiujJg5iWFcNK1UYpS/EEikx9X7OEF2X7o156+dlGS/ xzfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678263089; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:reply-to:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=A/GnPDgS88xNTx2XNIhiP45O7mjmL1plMVX41sUe2+8=; b=oHw362AVdMxIbHD0Jys55KMzCBmhYE1HAAr5V4Elmbd6Wy8m+bGy7owuGOSwegAhGl gcA9E6yBcMuARFobt4eIERsqhwrkbdNgRmEG4kLEZUmaM+AkCJFpn75m0syl9paz+I/D hO+2wiIfFw52Lvd6Ml8uRdBaPILix8/MuQZboW0tirFcyju0WWjWqvsd4DKjzqf98H6b KaupGTOrVJ8cN6VxZZywQXWFcfQdTOZyYfv6fMhkAEvXNelzoJecaBsnS/1XoEvWbCI3 RgAtsfIm6+r8u+e0EJz3/BLRvrTFhEc1xXlNukt2+VwWlACegIqZVPrkmGsTfOnnJncn P/XQ== X-Gm-Message-State: AO0yUKVAZ9t0J+4at16s0APbOa+x2/KsMY1ISR1RywkNCestOo+xlMvY R/vXqUJYh1aR/nNe4feqOHzPyQ== X-Google-Smtp-Source: AK7set+e7flPaKlH3cg4u7NLx8NHyCMBeTiS2fqGvGrkYw3YFUr/ZyGizxHyQIupOhmU1WlGo87ZPw== X-Received: by 2002:adf:ee4c:0:b0:2cd:8237:345b with SMTP id w12-20020adfee4c000000b002cd8237345bmr12745021wro.9.1678263088907; Wed, 08 Mar 2023 00:11:28 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:b029:83b9:1fb8:7c34? ([2a01:e0a:982:cbb0:b029:83b9:1fb8:7c34]) by smtp.gmail.com with ESMTPSA id g15-20020a5d554f000000b002c5526234d2sm14730053wrw.8.2023.03.08.00.11.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Mar 2023 00:11:27 -0800 (PST) Message-ID: Date: Wed, 8 Mar 2023 09:11:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 2/2] arm64: dts: qcom: sm8450: Mark UFS controller as cache coherent Content-Language: en-US To: Manivannan Sadhasivam , andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230307153201.180626-1-manivannan.sadhasivam@linaro.org> <20230307153201.180626-2-manivannan.sadhasivam@linaro.org> From: Neil Armstrong Organization: Linaro Developer Services In-Reply-To: <20230307153201.180626-2-manivannan.sadhasivam@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/03/2023 16:32, Manivannan Sadhasivam wrote: > The UFS controller on SM8450 supports cache coherency, hence add the > "dma-coherent" property to mark it as such. > > Fixes: 07fa917a335e ("arm64: dts: qcom: sm8450: add ufs nodes") > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi > index 1a744a33bcf4..3ef47b4e9af7 100644 > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > @@ -4003,6 +4003,7 @@ ufs_mem_hc: ufshc@1d84000 { > power-domains = <&gcc UFS_PHY_GDSC>; > > iommus = <&apps_smmu 0xe0 0x0>; > + dma-coherent; > > interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, > <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; Reviewed-by: Neil Armstrong