Received: by 10.192.165.148 with SMTP id m20csp5175559imm; Tue, 24 Apr 2018 15:16:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx48w/fTT5kREZPmkyg6cFXzSsZgj0I5dnnQz+P5OSZjgKYvLX2gAVVFn/Wzuutweh6YTdmRG X-Received: by 10.99.112.82 with SMTP id a18mr12408996pgn.148.1524608161361; Tue, 24 Apr 2018 15:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524608161; cv=none; d=google.com; s=arc-20160816; b=FjTdtoLFiv8q2qDPBuN0/V/AhyivOX/UjITtpcYqk4wNwCiPH1ux5oKRJU6qaKOhll b50VzT9bHfSGtyCyTOU8PS98R8eRMg2zk6tgp32sQG0bzivWHM/YL9siC1zn6bV/klBR YjXZXhs/PjHdaX4M5mH9yjK0ZEG+A+GQiwaNh+A/Zm6BuFVPW+3q5RZX5TeztZSSS+cf tmGYMZO3xXVRnILt8fvxb3Ho8GHgRqUGLtfKckuqfJKF6cytE9EcPFMFX/wphKdIa4tt HuKDWAabqxNeO7XD6MVHmQ/f1qGmSnzV6ABCb+GBIjlwNbPsw0H2qoosRot8ploHi4R/ p2/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=xa9I1pq4J+ZOfaWoaaN8ToWTN74te8AEaNZGfFER0K0=; b=tGWtCqFEvCV/Dr15Mxoh0aNDvlssYh3jxEGn2aALR64Kcugeu1V3EmosSdLGCSb/ua dmUEpIu+bIKaxQymdPo9rt5QVVMjI2wt0Rb1aumoCx0nHWI6RkedWj+uHWV1v/h3p+Jz 0rlXexRj22wAyFWnH6xAG5AN9u3urMCWoaKnTf5gcKVrWJi+bGYZVU/grJI9/nwFiCLG xzqO26qq5UYy9ByFHIlaTXXqTGNmrbfYgo0olUZylfqL4ZF9clVBCAd/40L7B6HflqOb MNSGiCUQ5l7mYdLHYIDOm7BQL0XItAHtAvSQwZvUSx4D2nxLzwFRDU5RyMGP8ljVPpeu gimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gu9p8I/l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si7992563pfe.79.2018.04.24.15.15.47; Tue, 24 Apr 2018 15:16:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Gu9p8I/l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751295AbeDXWOP (ORCPT + 99 others); Tue, 24 Apr 2018 18:14:15 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33723 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbeDXWOM (ORCPT ); Tue, 24 Apr 2018 18:14:12 -0400 Received: by mail-pg0-f65.google.com with SMTP id i194so11862950pgd.0 for ; Tue, 24 Apr 2018 15:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xa9I1pq4J+ZOfaWoaaN8ToWTN74te8AEaNZGfFER0K0=; b=Gu9p8I/lZW7XTwu6F/XZpKRynRGXEptNBqXXpaYqpQuzJUWsxmWQcsfwZApEOCiy4f 7wrsNw2k+hY5VoYLKPAlO/jm+Smw3Wjs++UkD44gbDnOMjUKtvqciPhkJsYjIvpVQqvb HPgu3pqY3MBHHgv3Q+aw+QbzDTucvBEeQXAWg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xa9I1pq4J+ZOfaWoaaN8ToWTN74te8AEaNZGfFER0K0=; b=e2Q1AEXo5d9hSqXRJUsxsTsz7/hf5wh8gMP551hcm3kZy4wm9C11KRe2fueCQBBI4F tIk3x+aLco+Ls6lEiCjmAqGCseDtZxNmtkMiAc5uL+geCG3geT7zNNj1QB2wLbvUBT1D cLjBqIe1d372WaD1RuOpPTntXVL4e5MYsqDPioCJN1/R289WDsbJNbwE7yBsH3aSyYyL YdG9wuXGoaWL0XG7ctISKmkKhZf3t025mvzw1L6Xay2h6gxVgU5fMAyZH/Qootq46ySz eZ1Trpn5Dp8VvbHcX9PhtUc3TvIBN59GNO386T8V9mwBnwTu934/XWTckGx9P0yAKUz1 vZcQ== X-Gm-Message-State: ALQs6tBf13p3rGfF0UmDGpGpGBgh3zbMrOklmroU5sx0WY6GBuKqnlVg m3Zb29GxT4kZed8cnhYjGn2s9w== X-Received: by 2002:a17:902:1007:: with SMTP id b7-v6mr26397431pla.205.1524608052072; Tue, 24 Apr 2018 15:14:12 -0700 (PDT) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id c201sm28700614pfb.30.2018.04.24.15.14.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 15:14:11 -0700 (PDT) Date: Tue, 24 Apr 2018 15:14:09 -0700 From: Bjorn Andersson To: Subhash Jadavani Cc: Vinayak Holikatti , "James E.J. Bottomley" , "Martin K. Petersen" , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , linux-scsi@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vivek Gautam , linux-scsi-owner@vger.kernel.org Subject: Re: [PATCH 3/3] scsi: ufs: Use freq table with devfreq Message-ID: <20180424221409.GE18510@minitux> References: <20180424002016.9205-1-bjorn.andersson@linaro.org> <20180424002016.9205-4-bjorn.andersson@linaro.org> <5e59150bf025e2caa1deadfec7293ecd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e59150bf025e2caa1deadfec7293ecd@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 24 Apr 15:08 PDT 2018, Subhash Jadavani wrote: > On 2018-04-23 17:20, Bjorn Andersson wrote: > > devfreq requires that the client operates on actual frequencies, not > > only 0 and UMAX_INT and as such UFS brok with the introduction of > > f1d981eaecf8 ("PM / devfreq: Use the available min/max frequency"). > > > > This patch registers the frequencies of the first clock with devfreq and > > use these to determine if we're trying to step up or down. > > [..] > > Looks good to me. > Reviewed-by: Subhash Jadavani > Thanks Subhash. Unfortunately I need to respin this to register the opp table based on our freq table, so there will be a v2 of this soon. Regards, Bjorn