Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1513043rdh; Mon, 25 Sep 2023 15:30:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEFdsKZtXfORbGFW36tataZpaonlCDu/gTHh+bB3pT1E4jvAC9MphGvZ8tXdc3+g1jr6R6Q X-Received: by 2002:a17:902:bc4a:b0:1c3:4565:22f with SMTP id t10-20020a170902bc4a00b001c34565022fmr7403545plz.21.1695681048350; Mon, 25 Sep 2023 15:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695681048; cv=none; d=google.com; s=arc-20160816; b=DiJ6KAduKDgMOe6vm37Owi/56KWnn/4ZpnkI2XqqMTD/Vq5S8OX+YV7uWewADlrcZs LwbBrOth6Hol7HRjv0hGJL5PMtVW21LkbfU06VNwbqGL7CakKKWUgBtH04QPdBx7pp5z 1vneNBTsj9H853RWvz+bYxzjsMKVGkyjJBCAR6+0zA8RaQuIbXCcgAdOkTbjMx12FOZ+ 2smBN3LEJeoVpIvpRVHtiECH8IxUfrA4oJuYpJziskIa1Kqj0XibBl0pslXUo47nnd8e HiWLZxtmT4bAJuii+3mVPoJIqQYv5DxJxKDPBKZthHnmsncGPQUHMy+TbfnKKGpST66J UF2g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UGGR9pvLY+wooKnYGsA2i71wi2fLynKA1WIbB9823oI=; fh=0iKC8n1xKtkvw+5RDzSud32j7h9ilf6Mvh4d+L1hSv0=; b=nCCR/FAT8Ku1CKIqY+fbvcJKul/gLuw1m1EG2Nf6R1TbMvnJPlzoU6rMtVKYnQeL80 QEq2oh+Sft/v0hGIFdjo/MGYebolA8HbyqlS4Wj5OTjUYjYHTbZG9MoT2GPuOjTNYaC8 EvLsNmMITXdvmbNkPLH8tRANP++grcaIPCHvn/nu4gJzSkJs9+fmF0YnWaDbIGKgKBIf zFs1763LMy0ETwOHElNjFrT3gkWgFQZw+Hd+dgMkRIRrsx6pVsxNOsjfq02gAmbBRTVV Q+xbry807ZqHTCRmkQQoAApQJVjlgXM3L4NbnG0pR+QS6/uDOaavnYcOrYjt7Xs8v7E8 Vy6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JG37IadU; 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 q8-20020a170902a3c800b001c6189eaaebsi3384217plb.186.2023.09.25.15.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 15:30:48 -0700 (PDT) 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=JG37IadU; 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 4FE9A80A4982; Mon, 25 Sep 2023 06:18:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231804AbjIYNSU (ORCPT + 99 others); Mon, 25 Sep 2023 09:18:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbjIYNSK (ORCPT ); Mon, 25 Sep 2023 09:18:10 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 605A9116 for ; Mon, 25 Sep 2023 06:18:02 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-50336768615so10912423e87.0 for ; Mon, 25 Sep 2023 06:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695647880; x=1696252680; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UGGR9pvLY+wooKnYGsA2i71wi2fLynKA1WIbB9823oI=; b=JG37IadUaP/C+jwSLs6b4/k1z5rj7KkktkTY6hcQW2pYJ/Ol5dZeIP0PL7ddIXnY8f Z1sqsaOeoB76QoCvBl9tJ3zzDW8KPphTbuDyjr2OP1o72CYrs39KIC4wpT6o8ylCxOcP icOgHzVtnV4I6oDMnHj5RDnU99Kq0ia066dZKh6m+bBdeUyiNmF+BacxltTXfqzgI1PE KOJaXWwSSqQjNKapEw4irqKtPkfUqfNLFDmwtQDJoZL7WaMf36vq7sfnVGzo5avntecu mxaGanoE/tEoD4WEx+EhouJlZTo4yvfs+OErgxM7OoNLsWhSTVw+jy3B01PhE9rNmCNT Q2Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695647880; x=1696252680; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UGGR9pvLY+wooKnYGsA2i71wi2fLynKA1WIbB9823oI=; b=EKqwCEGVyeaBsCVWtfy9pnvl+FDHKXTClTj8dbyTpqkYarL20isWpkwblNDSSKjOYi 62cJzEbNixgZz+m2GUBV9uMJ77wFiRNFSnsuanmzYQx8qdicHe1lF/T4WaZwoB65z3jM qlZTxqOMOTbKZQemT7911crBoOIf9exrhoagAXiAJz+gO1rdlBkk/f2HxIQpKbVOuYgO EjUEalukX25v6iEwMJnB/5Jd+Srbf8sJauXIkS6dSEv3JNkbsbFdXeTsRmLeZk9Hc//g FuNASKXSXyBOeUC/nYQbKT96+0Pu421mXdRBeVc1NPerSskEGx/Yz1wUn6J/vTQVZiXR otGQ== X-Gm-Message-State: AOJu0Yx50WpAHjo9SQK/R9xsr9610Kc5DoY+N+HlNoyno4hI1+z47scs BUkBqauH3+w0w8jx0PBATzFWyw== X-Received: by 2002:a19:7711:0:b0:500:78ee:4cd7 with SMTP id s17-20020a197711000000b0050078ee4cd7mr5383774lfc.23.1695647880623; Mon, 25 Sep 2023 06:18:00 -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 m29-20020a056512015d00b004fe10276bbfsm1823583lfo.296.2023.09.25.06.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 06:18:00 -0700 (PDT) From: Ulf Hansson To: Sudeep Holla , Cristian Marussi , Viresh Kumar , "Rafael J . Wysocki" Cc: Nishanth Menon , Stephen Boyd , Nikunj Kela , Prasad Sodagudi , Alexandre Torgue , Ulf Hansson , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/9] OPP: Switch to use dev_pm_domain_set_performance_state() Date: Mon, 25 Sep 2023 15:17:11 +0200 Message-Id: <20230925131715.138411-6-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230925131715.138411-1-ulf.hansson@linaro.org> References: <20230925131715.138411-1-ulf.hansson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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]); Mon, 25 Sep 2023 06:18:32 -0700 (PDT) To support performance scaling for any kinds of PM domains, let's move away from using the genpd specific API, dev_pm_genpd_set_performance_state(), to the common dev_pm_domain_set_performance_state(). No intended functional impact at this point. Signed-off-by: Ulf Hansson --- drivers/opp/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/opp/core.c b/drivers/opp/core.c index ca8d1304b508..60dca60ac4af 100644 --- a/drivers/opp/core.c +++ b/drivers/opp/core.c @@ -1030,7 +1030,7 @@ static int _set_performance_state(struct device *dev, struct device *pd_dev, if (!pd_dev) return 0; - ret = dev_pm_genpd_set_performance_state(pd_dev, pstate); + ret = dev_pm_domain_set_performance_state(pd_dev, pstate); if (ret) { dev_err(dev, "Failed to set performance state of %s: %d (%d)\n", dev_name(pd_dev), pstate, ret); -- 2.34.1