From patchwork Thu Oct 12 15:21:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 13419375 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9E8ACCDB46E for ; Thu, 12 Oct 2023 15:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=utI38wc8st5CAewBrmY/fkozLIupGVriyS8hvA9FelQ=; b=hxyZfodf5gdIya FBuKXK9ot2ipZbKud5N87gFRQarXpIPLaEHQe6XkryssdHZjBqd+Mfi18yHyholxNcKd8nJLcYvlW dPaY8Ng5I6MtyEfEP/nbozPXenRC57Sv9a03mn04EE7pCQy1ZFsxqjkqwKAj7wQBj6DOENkega/fk 5tdwkslDBX06XgGr7IfrzduhtKzToIOQ1GwU7eEXD0vxKUtn4ITgxkqFQOYQKe+pvKsNs/yF+NcqK /rYmb5I7dWDXO7xtchmTUSvcSx0kAs49seNOoutbjtx5OU5WhtIU56hC86YPj7X1tdLpqlKIo4JaJ U2ct5Rc5N75lGgn7g/iw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qqxVM-001HbC-2Y; Thu, 12 Oct 2023 15:21:40 +0000 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qqxVJ-001HaS-1W for linux-arm-kernel@lists.infradead.org; Thu, 12 Oct 2023 15:21:38 +0000 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-503056c8195so1541515e87.1 for ; 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=lists.infradead.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=wAhggx+8Ou1/J1xvFY5uRUODWU99X9YObSHkkroxRZqDOuIYgh2UhMpGvuGxy1e42o AXlRmbPOoy51roLaa3r0SMIWSbPxpE3B5SDB3nLW78LQv+HSKLzjo9LQJfSONem5GdAP Dj/WhrPM+Quz2iBuceU5Wr4fQehp4IMahswvXQkYjPwshmkAB6mk/Rx8Mu4hEEuIn5w5 bBH1Pv+PeE6tONNwpmfz61n0Rst6u5pj4WVFFBxbDSktXFrXGr//0C692jJTjtT0U/x7 Q/MYrVF7oGjLdui7jQVh5vjQ/pbhCumCo64zHdkvJZOCbwgfBt3cWYQRzxwyfR5hSNxW 5mug== 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=FaO9BF4aLRglMvhfKeNPVcEsyISmySO2nFzRO+8dgTk3/sjCX/3Vwgju/+pd7AH7yG 9HuOQ6OtTsuOAm9sLXcONFz5rroYjIM28ZizGuZ9BaX+j/SgJHV4Gpdh+cManQbdHslu x2EsSVWIp2BGMIpU3tWVi/+UJcOynB8JZXmSBJt8vPp6IgHfoWkYrx6AduSls7qcu7tI dJCgCOtlTTEYxwnQPls09QKyklWgHSm0DQVVW9UDIZbtaRiUGzgm/lpTeYCeWHIS2ozd S8sGO61eeMFGMgFTqBnj9Z50yMdMYF9wUaG8w94fl6r689k9EHG18oVWVTFMWibHXXRl CX/w== X-Gm-Message-State: AOJu0Yw2ebegLAsUi0OJQsvP0VgssXIo0tNDwa52uXqQUsqX//TY4TcZ ybEp6eaQ978u90XvgobY7sUlMA== X-Google-Smtp-Source: AGHT+IG99A57kmCU0lF5bXK/Qz13g5IKvmP9fe2U6OPhLsJGd9LUtXHcI4IbRxlw3ObXDNi3cOkflg== 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 To: "Rafael J . Wysocki" , linux-pm@vger.kernel.org Cc: Thierry Reding , Jonathan Hunter , Bjorn Andersson , Konrad Dybcio , Ulf Hansson , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231012_082137_516017_F43D9B93 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-) Reviewed-by: Konrad Dybcio