Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp57211rdb; Tue, 19 Dec 2023 09:12:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IF80WvWmg0uITNJi2X4qn4VUeEuKXPadAEvxk4jR8zhJOCW67RqgdHrkhY9i6oTl6wfqMzi X-Received: by 2002:a05:6214:27ed:b0:67f:1292:c4f6 with SMTP id jt13-20020a05621427ed00b0067f1292c4f6mr11153912qvb.11.1703005970579; Tue, 19 Dec 2023 09:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703005970; cv=none; d=google.com; s=arc-20160816; b=0DvosxXHNhM56dFQYa5xtgKlWaPqAaAh7YZafJwmCJ50ksFweGhBPsc75lN3mWSTGP EPzyx9ryk288sZXiQmFWxEDlZwwWXtd6o+EJg4h0OaCG3vbZ+00vK6SLrBLuJ922xtT2 ejywpbJ7DEHHNt0c70yB67rB2T9xXjAvpohYimmVbhrxZ5j7AXKzAhy+thEs7A9VMTGz UjXsVGVKUXINHH/MILotT622lfsM/w0TwNEfXAZWCvSUg2wE65U/XAbAS3+CZnkuI5/D 7YEGJykGSmr3fR3Dt6T3s9eChmDC46jULNqVCKCGLpuzmIgu22Sg9WH+juP2ho7Y/XIb wOdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=q2izdEEQbpJZt1dFJd2P06Imvw3k00/cHfDcM6xyhcM=; fh=TK9wiu1/qW4wSZQyrdM0oXuk15zYDl1Tp6DiTe9W0dk=; b=ynjUXWNZ/xrTfhY5HM2kez93Uos5fC+6qFt9DvSoF2EWExKJ8vCae/vH1o+D9IyNIM 1WP0dyUua1PAtAdjoPTECPd011tev/fdlXvzSZdcvg7q0LyGqfVApkJzwUooXNN0Uufq mUeB7tYj21ltL997izgklctwccc/966384dQSM8WCFYHl6YG9eKSZBoFvC51OAriZ3EA oHXFGpu0mkjmJth27KDxoDyxc4N6mmpJqnuj4Hu6xVhj/5bjrYoKhlP7PhjH935LdK9r SfE8VcEgLP4/Lr8YvSO+991/Ux2H/J94961I/uD1goddyIDJqCVMwwMkgDz/GYaE2mq2 aIeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dLbcc1MT; spf=pass (google.com: domain of linux-kernel+bounces-5655-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5655-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n8-20020a0c9d48000000b0067f429885e2si4985586qvf.241.2023.12.19.09.12.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 09:12:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5655-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dLbcc1MT; spf=pass (google.com: domain of linux-kernel+bounces-5655-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5655-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 55F091C24E6B for ; Tue, 19 Dec 2023 17:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 272C5249F8; Tue, 19 Dec 2023 17:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dLbcc1MT" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B9453174A; Tue, 19 Dec 2023 17:11:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3C68C433C7; Tue, 19 Dec 2023 17:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703005891; bh=bHyMqohUpG3TgYf+LaLoP+IOoy7SIqBFB/tROxy5Kps=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dLbcc1MT8AkJroDXZHNVC4rIGmJ5mSwe4TcZTvDcLnGuJdXJlMnsMuA04rSDu7dvf YNj4lHpGIiPutWsfmhil1SWrhHiQJh1n+oxjdc3R3LMlWF2KIRZrwCpaQS4zvWZyrJ 6F9eoKmpxdJG0/biI80m9+ZRCX6Z5wU1VMCLC58oB3yKmTM/X/ytcaBZDZK+pTB6nl 4rzbPrVGpRwpsBtQc3SKpnwp/cannJpbvkfpXF+mw7cI3mMJ75RFA/URo6o9c7rDSj jMI+QbtdZQ32xr+m+gYn7m52lju/mjH0Y49L5lif1U7EFV8KntgnYEuJamTDDv6Nsv PsqflFqVEM40A== Date: Tue, 19 Dec 2023 11:11:29 -0600 From: Bjorn Andersson To: Yassine Oudjana Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yassine Oudjana , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: msm8996: Define UFS UniPro clock limits Message-ID: References: <20231218133917.78770-1-y.oudjana@protonmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218133917.78770-1-y.oudjana@protonmail.com> On Mon, Dec 18, 2023 at 01:39:42PM +0000, 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. > Such driver changes are not acceptable, as they break backwards compatibility with existing DeviceTree. Can you please try to fix the driver to handle this case? After that is done, I'd be happy to take this patch. Thanks, Bjorn > Signed-off-by: Yassine Oudjana > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi > index 13667886f50a..4f9939b13c3c 100644 > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi > @@ -2064,7 +2064,7 @@ ufshc: ufshc@624000 { > <0 0>, > <0 0>, > <150000000 300000000>, > - <0 0>, > + <75000000 150000000>, > <0 0>, > <0 0>, > <0 0>, > -- > 2.43.0 > >