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 B30E8CD80A3 for ; Tue, 10 Oct 2023 10:55:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230240AbjJJKzJ (ORCPT ); Tue, 10 Oct 2023 06:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229939AbjJJKzI (ORCPT ); Tue, 10 Oct 2023 06:55:08 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2DE519F for ; Tue, 10 Oct 2023 03:55:07 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 50FD21FB; Tue, 10 Oct 2023 03:55:47 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EA2A33F7A6; Tue, 10 Oct 2023 03:55:05 -0700 (PDT) Date: Tue, 10 Oct 2023 11:55:03 +0100 From: Sudeep Holla To: Peng Fan Cc: Ulf Hansson , "cristian.marussi@arm.com" , "linux-pm@vger.kernel.org" Subject: Re: Question regarding scmi_perf_domain.c Message-ID: <20231010105503.jwrmjahuvcjgwtk5@bogus> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Tue, Oct 10, 2023 at 10:30:17AM +0000, Peng Fan wrote: > Hi Ulf, > > I just see you wrote scmi_perf_domain.c, just wonder this driver is only > for devices, not support arm cores, right? > > For ARM cores, we still need scmi_cpufreq.c for performance settings, > right? Sorry if I wasn't clear. The reason I mentioned it in private is that we now support the power domain bindings in the scmi-cpufreq.c as you were little bit nervous to use the clock bindings(though they work just fine, I understand the possible confusion with the clock protocol). There is also separate SCMI performance genpd driver that works for non-CPU devices. As Ulf mentioned, scmi-cpufreq is not dependent on those genpd performance driver ATM and we still need to check if it has to be yet. Hope that clarifies. -- Regards, Sudeep