Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp507510rdh; Tue, 19 Dec 2023 05:49:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcSA/zvyKSjFKfSrlOiR86vc8nrfaaQmquqUUgHnzFmpES9jlDDvcLNES+k090GhXIL1k0 X-Received: by 2002:a7b:ce8a:0:b0:40c:61f1:7fcd with SMTP id q10-20020a7bce8a000000b0040c61f17fcdmr5270390wmj.155.1702993746914; Tue, 19 Dec 2023 05:49:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702993746; cv=none; d=google.com; s=arc-20160816; b=hfy56CPYTiXUojJ6fHD/TGgZBnG2zBT6EA5rTkzk3NMPuPqTGS/+Er5ekS7tSdOKpm nnr5Z/sW9hIZ+BZssLWIhgRDeiMvmiba/YtnkMuupbRKW9D5KTeUHsqLBxfp8o+dX7Ub fYLtNegEa5ydR9tLynB6wnj2RpagAOXWIuKtBAt/hq+k2IKXlIJJwOiD1EbopL/Dpk0x DTVC279dZlnxQ761kxEQtCqzMYvT2jqVo6UPXaZ8XrdfXTbPSMR9BmAaq13CK6B6sKLZ lJns22FGj+okkFKSr44NLXEZG/e9IffIIcT88ia2i3naKfC+VWseQjBVUQAt9QSBqPOD LmUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=sC96oretVk2j1LY3a74n8n5Uq5BkMNQgjI7Cpgi20vk=; fh=/OEBKvPPBmLJGoB6Zej7YhIZYQP1OWvseILHLmRm14w=; b=n1RsMl5QjIKlMmyWz9jbpFpu6I1bg2/dnMwKRfN+QcID0+4VIoPCeE8VSEmaH3eb8R RSqkoTAXPGt8/ZEWV+nAZhKgQWa+NeRm9VBE21LfgRoUVpKlOEtOWIIqLWpVj4fLIM3V SR3MgDOOp6D/yDHoj9EjPgxX41B9+JxCY1YwHZMb0UYa7L9so5UEylrWciwBS41XjZ/M /THskRNgwsaVbiyyuA+zj44QrnYKyBI/+aoJIxGbTD5ICrm+tj87rWvUKVIoSd1WNCzc c1ps+YqJ5o5/tZhYvHQicDyH209e/FH3oW+DBllpuq/IAtzmEQUYs/exAsfHVUOFKlum a52Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oSQGei39; spf=pass (google.com: domain of linux-kernel+bounces-5277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d10-20020a170906c20a00b00a1c5b249545si10463488ejz.284.2023.12.19.05.49.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 05:49:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oSQGei39; spf=pass (google.com: domain of linux-kernel+bounces-5277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A8D391F24D58 for ; Tue, 19 Dec 2023 13:49:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1A0A1A286; Tue, 19 Dec 2023 13:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oSQGei39" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E6FF19BCA for ; Tue, 19 Dec 2023 13:48:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2cc5d9cf766so47880181fa.2 for ; Tue, 19 Dec 2023 05:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702993733; x=1703598533; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=sC96oretVk2j1LY3a74n8n5Uq5BkMNQgjI7Cpgi20vk=; b=oSQGei39qDyfdt1yOjCFYlY0Dy2hDN43TVtaATsU5t13sxLXQqYosPj9m5MpiPhVdR oLEOJmDuiaGo7kcaWdKtgJ/ewBLNo2Qb21H2Tw4ZwwmXUiO12sjUQRzH1iMRcX+D0rK/ 3rPyW3LfuBgxB27uhTL18b6o63IBeNk97QHwzKQduykzRLXgxrvuFpANSNO/GZF2AYPJ 4W7U8npHYjDubEnSpp3rTHD2S/U4OAurzXmvyTuh3NBVMxa4OPmvaaPcUnBR9/43pA+G mLGvXY57hSxaTubwL4IM0VUgN9TZi9zAlAZqpbuaRWVGWbJtaGYWs0FJ9mp1GJVGyxA1 HxYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702993733; x=1703598533; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sC96oretVk2j1LY3a74n8n5Uq5BkMNQgjI7Cpgi20vk=; b=DllmDnQzEpw02+VKTJfpsGZ8q8JvH0Ce9QuN5m35TYH3gUPAqLv2F2UCvoPmlsXGyD lvTR8rje0hcKAx+vrvZPjzdJDbvFsu1yLwPOPRT3wcGrgcKtjliCJjKov8nfDYcY2P3R BzbSSrTy59tPy9q0CvTQBbSMUBPZtbXQs+kdt1tv3w/axOSM3Uyok6szd0GJbHi3+kXM ybz0t4XcaPqD86yEKEAiYFK7vtdy8+P7GqboMmRuWjb+PP3H99b28P2OpwGkTj0ZcPpn 6b6wjYU0VUq05j1Pe03x9EJriPhQoUXmQ/Xdng2Oo2v8lbOUxu702aLkYzUDneCd1FRf f+4A== X-Gm-Message-State: AOJu0Yx+OrXpwtpEH7peBKRLv5nRx0hKwEkR2HfeCYFaLN4bd9pfyQsL C+aQ3KW30SaDpDUXI1kMxUEvBw== X-Received: by 2002:a2e:a310:0:b0:2cc:6928:ee59 with SMTP id l16-20020a2ea310000000b002cc6928ee59mr2273301lje.74.1702993733459; Tue, 19 Dec 2023 05:48:53 -0800 (PST) Received: from [192.168.199.59] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id c26-20020a056402101a00b00553754bd636sm1415681edu.35.2023.12.19.05.48.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Dec 2023 05:48:53 -0800 (PST) Message-ID: Date: Tue, 19 Dec 2023 14:48:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: msm8996: Define UFS UniPro clock limits Content-Language: en-US To: Yassine Oudjana , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Yassine Oudjana , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231218133917.78770-1-y.oudjana@protonmail.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5d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UjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231218133917.78770-1-y.oudjana@protonmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 18.12.2023 14:39, Yassine Oudjana wrote: > These limits were always defined as 0, but that didn't cause any issue > since the driver had hardcoded limits. In commit b4e13e1ae95e ("scsi: ufs: > qcom: Add multiple frequency support for MAX_CORE_CLK_1US_CYCLES") the > hardcoded limits were removed and the driver started reading them from DT, > causing UFS to stop working on MSM8996. Add real UniPro clock limits to fix > UFS. > > Signed-off-by: Yassine Oudjana > --- Fixes: 57fc67ef0d35 ("arm64: dts: qcom: msm8996: Add ufs related nodes") Reviewed-by: Konrad Dybcio Konrad