Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4742885pxu; Mon, 21 Dec 2020 22:45:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0lMiNyVuDb7JUJAFGcDmWCr66wdrEJS98LrBv+Meax+lqfvt1ag3QE/mlrc/lQYeXSemm X-Received: by 2002:aa7:c84c:: with SMTP id g12mr18731745edt.193.1608619530173; Mon, 21 Dec 2020 22:45:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608619530; cv=none; d=google.com; s=arc-20160816; b=TSj2fARh5xM4ed4UGplDJNOllgVu5aXvIySOypSFBDZHRaxQQ76G8blzFwYqmd7b9T vbhoanpPTbGHvXCTsqf1cFwSY9HulV0jg4u4VZBehQ5TcfU+jiiTme8q25OO6DjpNcGr Wroc1Gli28zMtZoi1DYfvyqDf9jRsDSOYY7U6RPZQ18jpY/hyFOptnXJz7B5VELC6stV KUs8/+g0GVxIecQoj2cFIry/HTg8mQar8ducnacUbFrXfO6Hx5Way0RLvB7cnSdLguHx tF5vulge+q5zQ7oCprt0aR0KMnFJqVNMBP0ykSWqOvd7NCD/s7MRhSnti9VPLWxaIGcZ KPSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KcaYAZQ+AoDm9Jn9wokihL78HxRFsW+AhH8/h9c+1wA=; b=N6QgGe1CxE08jlFCIU8xDWaTNjkpsKQht3psvKrJW5nCMzLV5Jtwk0AjWMVEmwRxnk BFgaqk6sCLdB0LmFjk12oxIgpiJWGq4LsUiWFCpZaeXdsh6kHJEXZH5PuKvOFHqQE3cK aQEPxA1JK5Mgui565EMljcgW2YRA/ItvYcIXOo23X3CPodLOjs++wMXEdw6TuaxXg+B5 O9w7wNRV1DXuTMnhLAjvS6ItpTt/RQOMZQ8QMyj/leeViuEzGZL/W2YKJzr5ILu4eJf3 gPbcVxG7kT5E9vtvXu9NHf1UPK1APmNT3rTiES3TyQ+TzbXv7MmwbIU9RvTkDOkcTmeU cSSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uR9O2EdL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id x31si819242ede.198.2020.12.21.22.45.08; Mon, 21 Dec 2020 22:45:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uR9O2EdL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726012AbgLVGnh (ORCPT + 99 others); Tue, 22 Dec 2020 01:43:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725841AbgLVGng (ORCPT ); Tue, 22 Dec 2020 01:43:36 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DB1DC0613D6 for ; Mon, 21 Dec 2020 22:42:56 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id p18so7760901pgm.11 for ; Mon, 21 Dec 2020 22:42:56 -0800 (PST) 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=KcaYAZQ+AoDm9Jn9wokihL78HxRFsW+AhH8/h9c+1wA=; b=uR9O2EdLr4l+d+J8DstQgDPJiLPo1oLcBQPLe9jc2o++kue1dXZm05qdnvOIStsjzl LxGtFbuTHlEcESPdNBvcsJRRBnhcQ8k3qWJTtqEA9Vsn1CHhzGmqcZCHzFhyuPgQch7w ZkBOnZ/IbbjQIn9Vy+DguNDJMixeiercHvgjsHdWn/QJte3DEZIiQdkulmFdS91Y43F1 vk9hBZZWmvz96CbVxWwTN4UuBDgRDzuMiUl3t0NwETYOL4uelpc2l16EUrg/gYEFZxFx bnyZzEsIobaE2fETZkKFj8q6rzCf48SfT+Z3B1NG0u7NFx+M3/vmtvFpKgR2lL4ATFSB 92qA== 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=KcaYAZQ+AoDm9Jn9wokihL78HxRFsW+AhH8/h9c+1wA=; b=rIU2UE38ZUQ1Un0SfZox3ZUcrDUjFSLrlzxT5P8QZIoaOhk/J8crSWlEdo9aIri+q5 ZPET0JcWitIXZL7GSHLBwX10p2DKc5uEkVrpExU3xbAkjQjViD+0oIx5VJT5b19EWQfg 6rKhT+Q12+pxuIge1dfXxE7GvsA+aITM+L9LYGHvuhILZ5RGqyyXKXFMGRIBE4q9qXM+ 5TKl7cU6SQqvSiK5lmCffLmdwHPDh9Tl2uNk58kmHsoTr97/sFkIT6RTL/IQa/qFgxep fHkP7kcTx/wxy3QZsuByUi8fd3nyRcsrY9agy9zKCKQrVShp8sWh7cG7HPT2LVQ+Z/IH MHjg== X-Gm-Message-State: AOAM533BbS73My4S1EnM1ghCvxfJRLGeSURgAGGjosCCHwlWsZWyy9bh YLfPAfWFiyrioX1Y7heHM1UQww== X-Received: by 2002:a62:61c5:0:b029:1a9:5a82:4227 with SMTP id v188-20020a6261c50000b02901a95a824227mr18914548pfb.61.1608619375827; Mon, 21 Dec 2020 22:42:55 -0800 (PST) Received: from localhost ([122.172.20.109]) by smtp.gmail.com with ESMTPSA id 198sm18893827pfw.29.2020.12.21.22.42.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Dec 2020 22:42:55 -0800 (PST) Date: Tue, 22 Dec 2020 12:12:53 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Mark Brown , Liam Girdwood , Ulf Hansson , Mauro Carvalho Chehab , Rob Herring , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski , "Rafael J. Wysocki" , Kevin Hilman , Peter De Schrijver , Viresh Kumar , Stephen Boyd , Michael Turquette , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v2 11/48] opp: Add dev_pm_opp_find_level_ceil() Message-ID: <20201222064253.x7vsurh7q5k7qzb5@vireshk-i7> References: <20201217180638.22748-1-digetx@gmail.com> <20201217180638.22748-12-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201217180638.22748-12-digetx@gmail.com> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-12-20, 21:06, Dmitry Osipenko wrote: > Add a ceil version of the dev_pm_opp_find_level(). It's handy to have if > levels don't start from 0 in OPP table and zero usually means a minimal > level. > > Signed-off-by: Dmitry Osipenko Why doesn't the exact version work for you here ? -- viresh