Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2655098iog; Sun, 26 Jun 2022 23:21:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sxDfOl9TwH7bKPnihoF8Px1SsbPXCETIk5frV75tta0mLonCwUOkWcAm8wJS1Z/fwZKlrI X-Received: by 2002:a17:906:4e91:b0:722:f996:fa20 with SMTP id v17-20020a1709064e9100b00722f996fa20mr11462505eju.733.1656310914973; Sun, 26 Jun 2022 23:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656310914; cv=none; d=google.com; s=arc-20160816; b=BzyfI+v9jBfOLOEm0djEOjFk8YEQQsJZr2a81NJpuqaKGIrt/rluIaRolDrbgYEbR0 vGGA/HIi1FuvJ3LYF8DLSsKh011cOdlw+8owcY9x4kq/Eu+abvSf6zp8yfJeYvsqqYEn GSrkDljli3Tlb/c98uwpU3C2B3lIYBbFb8P8wBFut980NdHDbI/bYmfYx+d7vRcFIkyf YEI1fuSpIOiwzCp6v6XwlRYktgHOv5Qp4JHu0aCfh2eaNYcpfhGOhG779Vv914cfDiZJ YEp4yMiwfU8SzwuIr6qXfrkm29JJRvSeHiM7s56RDJinpj1z68Rli50LHXiol5mnXhKS xP3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nOzyogr+Rqxif6Bc3eoSLTASJasFD2T5gl1RDId9+P0=; b=UqsSCBd+qzAtFPzM5vtgJfOwv0A6wTimw5nY97rbyCGp/OLQ3E+03sjJB2IgqBG0ur pYo/HZZIoLZT2pe8FXnlws7c4yoOR2vwC/qZYD9UYYb15N05U76OlvsvTkDG6JoWcTnV jkaExeSByGGaNZofsQw/dAVi2Aj9kApOliBZ6eAIr4rrgQs8pwmdJj5G3QmJXR59yZUM 0vXGYOUiZg4cJUKzw5BrN/MqNQi1Iz+lTmgcRCbRPt6IfoyxMXbVbUP2l8a40bcMLPXT zh+8k1xLvaT739BNghXKIRq2c/zcEPoH8lh60uBa0pT1NipFte44zUVu8F8Eat9V8Wzl hSpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n87I5HDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di19-20020a170906731300b007269a9c3013si4083862ejc.5.2022.06.26.23.21.30; Sun, 26 Jun 2022 23:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=n87I5HDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231939AbiF0GGl (ORCPT + 99 others); Mon, 27 Jun 2022 02:06:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231317AbiF0GGk (ORCPT ); Mon, 27 Jun 2022 02:06:40 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44B122BDC for ; Sun, 26 Jun 2022 23:06:39 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id w6so8018577pfw.5 for ; Sun, 26 Jun 2022 23:06:39 -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:content-transfer-encoding:in-reply-to; bh=nOzyogr+Rqxif6Bc3eoSLTASJasFD2T5gl1RDId9+P0=; b=n87I5HDSx7WDUkeuMKtzvPIOHGFxQ0Mkr3RWVP1PDENEhMk3OHfq6qh1E5fR99Z8xS 2cxK8Lu8tgYAfmFpdtRWBWP/iroFnnRPo6IRF4yLGNX+TJGdxwlSMkK9yODjDylD8SgL evPGPmUKchB/BpPY6zlSqSpLgVAoBrFflKV1hoV1Exu1Ss7R5fZnm1TI3n925TUwnkR3 AS2c5migT+pksEAHzFdonWe6blFAQ4ZD9oq8uxCJn8km2kv/i0Ks3nAVKKfTunIQ/457 sKQryKqRDS5UclUpWdmBpzYer+wRk96ewpJSOjeAysBX/FfZjHu8ucoFsL1NMntdOz45 0XwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=nOzyogr+Rqxif6Bc3eoSLTASJasFD2T5gl1RDId9+P0=; b=wU1cBMAbI/V5/5kINF3eANSssS7FH6bjOkQ56BGJqlmTFJ9qZVhuk3zmN0/xwYCeT6 LWr2XIevrOa4+lYbDflnervDvsODX5uIH/hXL0oYb6AiQtWYSdlTuzyCRwxTGNCzrS19 Add/FTeQrlNoJrNFmWtr+ltWpEeZ8Y+m7CbFEGFsd9NJzFi9zQmGJ8lDSzKmlgW/hu/B OA9+U+maRf0G1xLNs3x9dO3Uc6rof2shJx7J5ARqu3MN2otIKOftGjoPAqxI3meMeDza CwGp2xU379Vu+1vdBgPWeNZsEH7LxVmTzWADN7vS9ifKgEFck0uTPIuiWIOyOng9B+Ay Tl7Q== X-Gm-Message-State: AJIora/mooiEkLDBgHiEVBmymHL+gO166F7owyIwMDUA6T1p23umivDk +WXVBxmMi+Dkv0HbRNQ5y/no0Q== X-Received: by 2002:a63:6946:0:b0:40d:e26:f2e0 with SMTP id e67-20020a636946000000b0040d0e26f2e0mr11768466pgc.118.1656309998670; Sun, 26 Jun 2022 23:06:38 -0700 (PDT) Received: from localhost ([122.172.201.58]) by smtp.gmail.com with ESMTPSA id l15-20020a63da4f000000b0040d0a57be02sm6068704pgj.31.2022.06.26.23.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 23:06:38 -0700 (PDT) Date: Mon, 27 Jun 2022 11:36:36 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: Keerthy , Dave Gerlach , Viresh Kumar , Nishanth Menon , Stephen Boyd , "Rafael J. Wysocki" , Thierry Reding , linux-pm@vger.kernel.org, Vincent Guittot , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, "linux-tegra@vger.kernel.org" Subject: Re: [PATCH 5/5] OPP: Remove custom OPP helper support Message-ID: <20220627060636.rfpok75zydgcwwo6@vireshk-i7> References: <2e6ee73dbc8a231377547a8e9497561cadb38166.1653991004.git.viresh.kumar@linaro.org> <565ff879-11e4-1ae4-08d8-1237a875ef12@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <565ff879-11e4-1ae4-08d8-1237a875ef12@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, On 25-06-22, 14:42, Dmitry Osipenko wrote: > 31.05.2022 13:10, Viresh Kumar пишет: > > The only user of the custom helper is migrated to use > > config_regulators() interface. Remove the now unused custom OPP helper > > support. > > > > This cleans up _set_opp() and leaves a single code path to be used by > > all users. > Unfortunately we can't remove the set_opp_helper(). It's terrible that > this function is unused by Tegra 3d driver because it should be used. > > The patch that supposed to use the devm_pm_opp_register_set_opp_helper() > [1] was merged a half year ago and just today I noticed that the merged > code doesn't have devm_pm_opp_register_set_opp_helper() [2]. I think > Thierry edited my patch before applying it, perhaps there was a merge > conflict :/ This needs to be fixed now. As the commit log above says, we aren't removing the feature, but just changing the interface to cnofig_regulators(). That was the only special handling the drivers were required to do earlier as well, for which the helper interface was added. -- viresh