Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4644321rdb; Tue, 12 Dec 2023 05:43:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOEeChvMTaqC0UT3dmxGxZI6UpR0n1C7JvYHlHj8skIhB6ebRyZ3oRYGGee+t8IYi0YOcC X-Received: by 2002:a17:90b:b93:b0:286:9e2f:475c with SMTP id bd19-20020a17090b0b9300b002869e2f475cmr4902968pjb.47.1702388595723; Tue, 12 Dec 2023 05:43:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702388595; cv=none; d=google.com; s=arc-20160816; b=LXD2XENcx1gyAKx3zzoBCtPM3CAkJqfIvUElSBe22icj2z6fWj8MLu0wxrdCX7SK/g I85fWePT60tqfY1thqM3sO0S84PMiAqO9+sCBfW7ofvD/gJcOBzQg5enVIBTXjBgtEhQ uxzPGyQ4eU903Q8FDpIie2sO3Bp3Yc42oY9LCCtmxgai5cvwa2qNXVb4TNvFGdTyDlbm hgZOHrFzfY8vYcPQUCLDUMWDT2bMxA6SaiXqUN8dtCyVpp0dra9UqKCAX2RRJo8r4Yvq o+kcekZzwr5TO0hWG7t5GpTecYcBsZNr264yK6WBkeQ/Mxvr3Z48N6wqpBCHFf9an50M qcOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mAQFb+6ron76LUgdpTUJdx32df8simBAK0E2prt6OcE=; fh=wEnPp9Smo45BVlazzcW5Wug6rI67mQinDFXryOe7Axo=; b=zCG2RYaHw1B45bcfxYMhPADwHFEJZ2xwUTIFFV6nvC6tNSCYtmI27tpRYDQtWW6Bdb jdOv3sha0z3Vkqqk3QcXdJAW5dmvLqyAJuDv9fP3fN4h2zq3OZfAIj5IkIQj40LUesS9 12ZnFlTDMdKMT4GUGTAGSN6QqKZs7/l6Lil8w9ZjRGdkH8IN92sMQzLQr1LAfYr2Dfl2 VMSKTERVpMOSurOVcEkMkXGdcBT208wttAQUW0ba/ujSRbyC0fs09sMZP1vpNbQ9Wb6+ +ZE0MCixIx9GymNZk3S2nJlH8Yi1ImKIklbwy6MDlwmI9SWDKfVtSILzt1HCx0FaNFcn v8rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aHPFE7nE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f5-20020a17090a700500b00286482dce1dsi9094658pjk.156.2023.12.12.05.43.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 05:43:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aHPFE7nE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id EB01B809F394; Tue, 12 Dec 2023 05:43:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346611AbjLLNm5 (ORCPT + 99 others); Tue, 12 Dec 2023 08:42:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346569AbjLLNmy (ORCPT ); Tue, 12 Dec 2023 08:42:54 -0500 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E2783 for ; Tue, 12 Dec 2023 05:43:00 -0800 (PST) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-5cece20f006so57291907b3.3 for ; Tue, 12 Dec 2023 05:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702388580; x=1702993380; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mAQFb+6ron76LUgdpTUJdx32df8simBAK0E2prt6OcE=; b=aHPFE7nESu5i/mqtkdu6aRJrm0wAys7lpXwZq/CMQOHv1PPG8h+aGOFRxI6xlKSZtP FwMceeo6+RouBRWmT4KwrtfudYLJGAwEOKyJzdNHY4WrRAcFTVzvt2IzEuD8ZROTA8Wq Od0MUAtn0q3va7CJIcUkggMLioHzGG0lVP+Ii3/VMOnYAfi9p2cL/B9pEyVx/jySdSfV Dn3u47GZPYwf4HEReeIh/gwjengXjXSY04kB9BQ1V1/zGIDuGAYu3IXpCsBY7giVxA7B ETy52oblViDI82IKzS3gOdvLu43jzzXNs0WiH3SHednniVbM2hsulJ1x4MT59xsWcrTo Wl5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702388580; x=1702993380; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mAQFb+6ron76LUgdpTUJdx32df8simBAK0E2prt6OcE=; b=SOaMnRZj3P97S9EOx/37b1s4pbtpjEVhi94w9Na0B5jmSdbS+tNC5XGYrf+T/7wsrl QyCUiqRlt4ZBr+SdUIZeiQ2SOGruUKmdGvaZdahShEWR48kkefibOQXwj2gGaXMrJhd1 vYKteTVmOCuqgoGZ0GM82+3HlZfMCo2tuQ+t6+k9MSQVCL+xegP0x7KCmDR6vuMTeSnS ofbAai2aPpvKqfCUFULj1wmKNUOTm7dCbqs6590XV/ilFsxy4Ozu08Hv1J4OlAbm1K95 SvqGqcOlz+tl9oamQKpgkLzU1oJTHmxIFQCsdCYdglN1b/KXcCxk4Q3A0ciG4OWHzpWu pBag== X-Gm-Message-State: AOJu0YwX3CwR/o4lel21d5ftZjrdujFseuMSNebwsD9tz6TeyG3tkXCV GvkUf/obxiFHRbBThI61mTtkxE/e1Oo/SaoWYWzWKw== X-Received: by 2002:a05:690c:318d:b0:5df:2830:967b with SMTP id fd13-20020a05690c318d00b005df2830967bmr3728505ywb.54.1702388579889; Tue, 12 Dec 2023 05:42:59 -0800 (PST) MIME-Version: 1.0 References: <20231127151931.47055-1-ulf.hansson@linaro.org> In-Reply-To: From: Ulf Hansson Date: Tue, 12 Dec 2023 14:42:23 +0100 Message-ID: Subject: Re: [PATCH] PM: domains: Drop the unused pm_genpd_opp_to_performance_state() To: "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org, Kevin Hilman , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Dec 2023 05:43:13 -0800 (PST) On Tue, 12 Dec 2023 at 12:59, Rafael J. Wysocki wrote: > > On Tue, Dec 12, 2023 at 11:37=E2=80=AFAM Ulf Hansson wrote: > > > > On Mon, 11 Dec 2023 at 21:44, Rafael J. Wysocki wro= te: > > > > > > On Mon, Nov 27, 2023 at 4:19=E2=80=AFPM 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. Let's therefore drop it an= d its > > > > corresponding ->opp_to_performance_state() callback, which also no = longer > > > > has any users. > > > > > > > > Signed-off-by: Ulf Hansson > > > > > > I can take this in principle, but I'm wondering if you'd prefer to > > > apply patches modifying domain.c yourself? They are definitely > > > related to the pmdomain tree. > > > > Yes, it makes sense for me to pick the genpd core patches through the > > pmdomain tree. In some cases there may be overlapping patches that are > > more generic and not only limited to genpd, but I guess we can decide > > on a case by case basis for those ones. > > > > I can add the pmdomain tree to the GENERIC PM DOMAINS section in the > > MAINTAINERS file to reflect this, if you think this is a good idea? > > Yes, please. > > What about moving drivers/base/power/domain.c to drivers/pmdomain/ ? Yes, it seems reasonable to do that too. I will send a patch for you to have a look at shortly. Kind regards Uffe