From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99964CDB482 for ; Thu, 12 Oct 2023 15:21:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379254AbjJLPVk (ORCPT ); Thu, 12 Oct 2023 11:21:40 -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 ); 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 ; Thu, 12 Oct 2023 08:21:36 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5041d6d8b10so1531580e87.2 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=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-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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.34.1