Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp407232rwb; Wed, 7 Dec 2022 20:26:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf7GH8RqR8E+if+JAt/okg7zfWE+Q8rzCSNuIwn5lL9hSgEt8X8NnUVYhqTCxfWTHdrNG9aO X-Received: by 2002:a17:906:745:b0:7bd:f50f:a51c with SMTP id z5-20020a170906074500b007bdf50fa51cmr45046276ejb.285.1670473588840; Wed, 07 Dec 2022 20:26:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670473588; cv=none; d=google.com; s=arc-20160816; b=muQbDu6a15Nv6Niu4Ac1k3rAKEk+na3hanvJsBu3F9nyR/o1ks6T6bOau4PnDiku7P JhoZ2RfmL7ZVEvKYNUfoGBcEKpCxLT4ZV0Qn1F39wtn3eRPehGzK/O9wMrdH9yMzsbq9 5wH9lvbH3gsyVQoBmEJxdOVpQVN5FuKJpNmFGvQDeTkGUwGcREFXxgBuRYzfOeV4rn0E 4fF89y+5OrNws2OIe4gHI7njTN7x15SiAoc4F8w4CfWXY2pYVH1hvmhO/nriFoCIS7sl d4ASzDUrwCREF8IP5Vz8o74ku5LXuvV0xXVh22A3u1MU6w5qB9XwXb19+/FGVlaeMswe pc9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fIdeGYn0pUMc9zqzDo6PSNFrxv8rG8wn0R7kkWts/Ik=; b=PuzsNcxpXct6+of4xUQFEJ1Wgl5QBlFbK+iHUcfXiK2AAgfzccQyVDo0S6np68b630 tXQAkP7MMjEC4Y5/K/2459omkBlCgLZAZ4fynLoW3lplEfe/RFQx9DeiPVwPFrBuxECq sZD8TyWO8zQ6Df+ADRUT3It2z576RoV3b4o0TI9XKRsKsAjoTXliR+Yef3qIonjC2vUr It9Pm+gtAvTf3bOwi5Pk7cMP61UQzyWwSczp0sFOLfLH60MCLMJUPNDbIjmKf2T1JiZO gqgp7pS6B2Zsq0dLwCarTYpoGMhsZaFwfmDbIDuwhxnKoz8Nmbo6uMLEzUuZiEriVWTL Czwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i51TYzZV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz34-20020a1709077da200b007adb3888afbsi19198654ejc.136.2022.12.07.20.26.10; Wed, 07 Dec 2022 20:26:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i51TYzZV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229564AbiLHD5u (ORCPT + 75 others); Wed, 7 Dec 2022 22:57:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229593AbiLHD5r (ORCPT ); Wed, 7 Dec 2022 22:57:47 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDE1A654C for ; Wed, 7 Dec 2022 19:57:45 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id d82so287964pfd.11 for ; Wed, 07 Dec 2022 19:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=fIdeGYn0pUMc9zqzDo6PSNFrxv8rG8wn0R7kkWts/Ik=; b=i51TYzZV2mWOb0Qse6S2uQ3yR2h/qhnrGvi0/7ho3AXfvUeirNMruzTELPP8eCdPtV +qCnpdo7UiCdXnr4/JViRumlZ4IXZLZ94FCDbpR7Jt/Ol1en/DfIWeP4aU6DkHx+sZLu bfPQxegvXj7EsCWi50gg5l3gIGBbNUqU8AQOUhHox/13dzLFpIBv4JZGnJyWEWqd3uTD Etq4fSlOlsTpZ9eXwjQ+/wfn4GY40EyHU77b4bMS7lhVJUY3EItsLHEk4veawAR2WjPu Rd0Nq8MqF4MdlqDdXgi11Up8cAMBIzwdzlLQagn/kUJFoJo0wTnJxeWzavfbeUFmNii3 /oiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fIdeGYn0pUMc9zqzDo6PSNFrxv8rG8wn0R7kkWts/Ik=; b=mY4jTlLmT6BTpUZfs8EH83gmnhZ9Yngpfy668dB8Sz1wb+EzjojqqSpuK133YMLD7c hJS4DyNfApsXLvvUpsbkxf/2FKcKJIDU9GN+tQ46I+el+It4qixQ7yztkfvfsNoS8Yg2 PUloTLSjHlebcUr2lEV5tOVFbqN7uTvEtTir2tUy64DG31YW2G3412ENPXuYcQgrINBM Z6HVgf2BhEiKaljSShhdfjbJosWfo9cb5XzE4ctWbaCW7YBM0TEmIhl76Oxn/FRI+Jbm 1IEx0l0WOZ55ZLRd54CE11UbNowxgWUUotaEJb6LIoqrkK06hqckqMtrRhZqUxukYfKd 8gXg== X-Gm-Message-State: ANoB5pn3hkXdD89O04Aeqk4nWaocz52+3RRZfVGn1wCF5/SGg2DxYiHW sovN5T1CLksLIe3CpEElJQuiPg== X-Received: by 2002:a05:6a00:1310:b0:561:a494:b299 with SMTP id j16-20020a056a00131000b00561a494b299mr74155494pfu.34.1670471865240; Wed, 07 Dec 2022 19:57:45 -0800 (PST) Received: from localhost ([122.172.87.149]) by smtp.gmail.com with ESMTPSA id n12-20020a170903110c00b00186a6b63525sm15440409plh.120.2022.12.07.19.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 19:57:44 -0800 (PST) Date: Thu, 8 Dec 2022 09:27:38 +0530 From: Viresh Kumar To: Lukasz Luba Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rafael@kernel.org, dietmar.eggemann@arm.com, vincent.guittot@linaro.org, saravanak@google.com, wusamuel@google.com, isaacmanjarres@google.com, kernel-team@android.com, juri.lelli@redhat.com, peterz@infradead.org, mingo@redhat.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de Subject: Re: [PATCH v2 1/2] cpufreq: schedutil: Introduce single max CPU capacity for freqency domain Message-ID: <20221208035738.rscvrsatcchwiawq@vireshk-i7> References: <20221207101705.9460-1-lukasz.luba@arm.com> <20221207101705.9460-2-lukasz.luba@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221207101705.9460-2-lukasz.luba@arm.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07-12-22, 10:17, Lukasz Luba wrote: > Prepare the code for optimizations and move the max CPU capacity > into the sugov_policy struct. This will allow to leverage the fact that > the max CPU capacity is the same for all CPUs in the frequency domain. > > Signed-off-by: Lukasz Luba > --- > kernel/sched/cpufreq_schedutil.c | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) Acked-by: Viresh Kumar -- viresh