Message ID | 20231012152108.101270-1-ulf.hansson@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1308393vqb; Thu, 12 Oct 2023 08:21:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHTMXFv+oNzgizL+BEKj2onLOcPAYppLypHD8wQVN/Io177ikEBtmFfuPYWYWK4xIFsGh2D X-Received: by 2002:a05:6358:f17:b0:14d:8792:1cec with SMTP id b23-20020a0563580f1700b0014d87921cecmr16383782rwj.1.1697124111139; Thu, 12 Oct 2023 08:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697124111; cv=none; d=google.com; s=arc-20160816; b=x0qVu0PNJVpG/InAPxOWrtbCOjhM/tLU/h7ip7Zebz/Mevu8a8vT5As2NejxxP8B28 IxJGyElUesNdXVIP0BAn9OYdu9cKRU+WzQ7LpkNAWWkSoF93ilYNBRHDvK/dkyb68vj1 580mUjRD1pJPtrfoPX/kmkF2or5XgwvnL9CFHxDiqBVNqJ1OqOM3U2JzwOs1mraercMx ZwhbOatV7BHKEC14bEQgFS8A3Jv15WYZ4caTUkvi0ZLz7GDwDdCjhgtOlItpjktA5TVf xxpY0kUhI+BywkdzVwYLKmg6R8JFYR3l8hVEWJMCMyn2PW4AuWd3i25LHKwesqMpu8Ru y01w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hM2IUyL3dTocxTxwOsznMTNjBlX93NcKqGbt9NreAaE=; fh=kVEXAHZTLUQsb9L1AgPc5AfqcKsDOAx31Y/dwYRR1fA=; b=FBHinJOMNNIHSXoznokHLX1fCxX8peF+5mVjBA/sE+DjM3ovHGbxGzq63lneMMXGrr l1ChF17MoVmR081Ex6N2ahDI/MXlZ7Fuo0Oq2K1kDql8HiS8fc9Y1WOFt6GY6A3sahaq 5BKNwUl28PefHj5j7ATERpLHMusvVvCw1dxrH5Dr/pyOX59YqOSXb3QSP8wrAR4NivrU 5C/IoT5CWOyLXfGiiYfYZSphuvMJSCZc0R77I4Nkh2S293ndQMN0xdpm3ePkP57aYh2W o5RCJlVdJxiGFs1nZ9RwKIFXJhsf5U0Y4sJK9NjE/c1zSTd7o1YYRuUd8od+JyO19O9m +7rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zgEuYLr1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v3-20020a056a00148300b00690fe0f6e0dsi15804178pfu.68.2023.10.12.08.21.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 08:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zgEuYLr1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 9BFBA82698F5; Thu, 12 Oct 2023 08:21:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379229AbjJLPVj (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Thu, 12 Oct 2023 11:21:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378354AbjJLPVi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Oct 2023 11:21:38 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04BCFB8 for <linux-kernel@vger.kernel.org>; Thu, 12 Oct 2023 08:21:36 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5041d6d8b10so1531580e87.2 for <linux-kernel@vger.kernel.org>; Thu, 12 Oct 2023 08:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697124094; x=1697728894; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hM2IUyL3dTocxTxwOsznMTNjBlX93NcKqGbt9NreAaE=; b=zgEuYLr1Wa+zQOozndi7N1ShMNu7gMlwQCEiwlup4cC529vXgJMrp8XB4/latvbMxh Ve0IAw7NXUw4pFpHswTAeC8cMatx6vI5nuz0l3xSRHUoyZJyIoSwJ5izyubXJMr9kK8G MN7B5PSnp4IIt7TV0Xx0UMXgXBrQbjyc7artYVhV8Z2+50LdATJrk+SL6VsOvZjM9Gh8 C5UBA5sS0KkROPWQ40CMNmOKlHzUpH0T06NlBSTlP95s9zYfY/QY9+vojXQwjUCfAMpF nskjFoya5c+4IaqjFdxuh7GeUY6elEoL1Ucku0dgRupd9b+0atDtowbeSsAFHgX82Aor RkLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697124094; x=1697728894; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hM2IUyL3dTocxTxwOsznMTNjBlX93NcKqGbt9NreAaE=; b=HFTNIS+c2U29AplgfMHOKxFCTr3Y6kJqSrdilhosoRzwW693xtBkmcuX3DFR9zQVaJ w0cly7Ey6G6h6cugUc3ZYLlKNTE7YfJQIGPBU4EeweU0+hNSGwxUFVeYZHOKkit8dWO4 E54oQvxkElw86rXEejnkfl7Yk0jOlxxY52joPNpHMPTM+K1URYmM6V4G6CWxzzlNm+/g 54FqPIXrfiSBVoxLobA82WwsP65GFBr8ovFDqhLWgx8muznIOTPWfUTPNpdt+YZbQaOa Bd2DG1ClFwfpuvAkfd3+k21x2DvzqLMnaxOncWtFsfO9mxYCo62L2AMStR1/r0PtNFJT bc8A== X-Gm-Message-State: AOJu0YxSn1I8RVG5meZEd19N5vCVjhuEsIoEXF+ppIIDMY/oXH40VAez Pf9RgUNj4k4lKrItR+ogECSNMA== X-Received: by 2002:a05:6512:69:b0:505:98a8:fa2f with SMTP id i9-20020a056512006900b0050598a8fa2fmr19413767lfo.60.1697124094270; Thu, 12 Oct 2023 08:21:34 -0700 (PDT) Received: from uffe-tuxpro14.. (h-94-254-63-18.NA.cust.bahnhof.se. [94.254.63.18]) by smtp.gmail.com with ESMTPSA id j18-20020ac253b2000000b00501bd76ccaasm2853676lfh.166.2023.10.12.08.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 08:21:33 -0700 (PDT) From: Ulf Hansson <ulf.hansson@linaro.org> To: "Rafael J . Wysocki" <rafael@kernel.org>, linux-pm@vger.kernel.org Cc: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Ulf Hansson <ulf.hansson@linaro.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] PM: domains: Drop pm_genpd_opp_to_performance_state() Date: Thu, 12 Oct 2023 17:21:08 +0200 Message-Id: <20231012152108.101270-1-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 08:21:48 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779563611677769572 X-GMAIL-MSGID: 1779563611677769572 |
Series |
PM: domains: Drop pm_genpd_opp_to_performance_state()
|
|
Message
Ulf Hansson
Oct. 12, 2023, 3:21 p.m. UTC
Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level dance"), there is no longer any users of the pm_genpd_opp_to_performance_state() API, while a few genpd providers are still assigning the redundant ->opp_to_performance_state() callback. Let's clean this up so we can drop pm_genpd_opp_to_performance_state() and the callback too. Rafael, I would like to take this through my pmdomain tree, unless you see a problem with it ofcourse, hence I need your ack on the last patch in the series. Kind regards Uffe Ulf Hansson (5): soc/tegra: pmc: Drop the ->opp_to_performance_state() callback pmdomain: qcom: cpr: Drop the ->opp_to_performance_state() callback pmdomain: qcom: rpmpd: Drop the ->opp_to_performance_state() callback pmdomain: qcom: rpmhpd: Drop the ->opp_to_performance_state() callback PM: domains: Drop the unused pm_genpd_opp_to_performance_state() drivers/base/power/domain.c | 32 -------------------------------- drivers/pmdomain/qcom/cpr.c | 7 ------- drivers/pmdomain/qcom/rpmhpd.c | 7 ------- drivers/pmdomain/qcom/rpmpd.c | 7 ------- drivers/soc/tegra/pmc.c | 8 -------- include/linux/pm_domain.h | 12 ------------ 6 files changed, 73 deletions(-)
Comments
On 10/12/23 17:21, Ulf Hansson wrote: > Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level > dance"), there is no longer any users of the > pm_genpd_opp_to_performance_state() API, while a few genpd providers are still > assigning the redundant ->opp_to_performance_state() callback. > > Let's clean this up so we can drop pm_genpd_opp_to_performance_state() and the > callback too. > > Rafael, I would like to take this through my pmdomain tree, unless you see a > problem with it ofcourse, hence I need your ack on the last patch in the series. > > Kind regards > Uffe Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
From: Thierry Reding <treding@nvidia.com> On Thu, 12 Oct 2023 17:21:08 +0200, Ulf Hansson wrote: > Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level > dance"), there is no longer any users of the > pm_genpd_opp_to_performance_state() API, while a few genpd providers are still > assigning the redundant ->opp_to_performance_state() callback. > > Let's clean this up so we can drop pm_genpd_opp_to_performance_state() and the > callback too. > > [...] Applied, thanks! [1/5] soc/tegra: pmc: Drop the ->opp_to_performance_state() callback commit: cda263907a6f88c75fb97cf7adecffaafb6237ec Best regards,
On Fri, 13 Oct 2023 at 13:59, Thierry Reding <thierry.reding@gmail.com> wrote: > > From: Thierry Reding <treding@nvidia.com> > > > On Thu, 12 Oct 2023 17:21:08 +0200, Ulf Hansson wrote: > > Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level > > dance"), there is no longer any users of the > > pm_genpd_opp_to_performance_state() API, while a few genpd providers are still > > assigning the redundant ->opp_to_performance_state() callback. > > > > Let's clean this up so we can drop pm_genpd_opp_to_performance_state() and the > > callback too. > > > > [...] > > Applied, thanks! > > [1/5] soc/tegra: pmc: Drop the ->opp_to_performance_state() callback > commit: cda263907a6f88c75fb97cf7adecffaafb6237ec Thierry, I was planning to queue up the complete series through my pmdomain tree, my apologies if that wasn't clear. I want to get rid of the actual genpd API and the genpd callback altogether (patch5). Would it be possible for you to drop the above patch from your tree and provide an ack instead? Kind regards Uffe
On Mon, 16 Oct 2023 at 11:57, Ulf Hansson <ulf.hansson@linaro.org> wrote: > > On Fri, 13 Oct 2023 at 13:59, Thierry Reding <thierry.reding@gmail.com> wrote: > > > > From: Thierry Reding <treding@nvidia.com> > > > > > > On Thu, 12 Oct 2023 17:21:08 +0200, Ulf Hansson wrote: > > > Since commit 7c41cdcd3bbe ("OPP: Simplify the over-designed pstate <-> level > > > dance"), there is no longer any users of the > > > pm_genpd_opp_to_performance_state() API, while a few genpd providers are still > > > assigning the redundant ->opp_to_performance_state() callback. > > > > > > Let's clean this up so we can drop pm_genpd_opp_to_performance_state() and the > > > callback too. > > > > > > [...] > > > > Applied, thanks! > > > > [1/5] soc/tegra: pmc: Drop the ->opp_to_performance_state() callback > > commit: cda263907a6f88c75fb97cf7adecffaafb6237ec > > Thierry, I was planning to queue up the complete series through my > pmdomain tree, my apologies if that wasn't clear. I want to get rid of > the actual genpd API and the genpd callback altogether (patch5). > > Would it be possible for you to drop the above patch from your tree > and provide an ack instead? I just noticed that the above went has also been pulled into the soc tree from your pull-request. So nevermind, I can do the final cleanup later on. Kind regards Uffe