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 9101DCDB47E for ; Wed, 18 Oct 2023 11:27:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229986AbjJRL1N (ORCPT ); Wed, 18 Oct 2023 07:27:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229908AbjJRL1M (ORCPT ); Wed, 18 Oct 2023 07:27:12 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 07361112; Wed, 18 Oct 2023 04:27:11 -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 AB33D2F4; Wed, 18 Oct 2023 04:27:51 -0700 (PDT) Received: from [10.57.81.189] (unknown [10.57.81.189]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2D9053F762; Wed, 18 Oct 2023 04:27:06 -0700 (PDT) Message-ID: <688adbc9-6dbc-4c98-971e-630525ff003b@arm.com> Date: Wed, 18 Oct 2023 12:27:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] consolidate and cleanup CPU capacity Content-Language: en-US To: Vincent Guittot Cc: conor.dooley@microchip.com, suagrfillet@gmail.com, bsegall@google.com, dietmar.eggemann@arm.com, peterz@infradead.org, mingo@redhat.com, rafael@kernel.org, sudeep.holla@arm.com, aou@eecs.berkeley.edu, palmer@dabbelt.com, paul.walmsley@sifive.com, linux-pm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, pierre.gondois@arm.com, ionela.voinescu@arm.com, viresh.kumar@linaro.org, bristot@redhat.com, will@kernel.org, catalin.marinas@arm.com, linux@armlinux.org.uk, ajones@ventanamicro.com, lftan@kernel.org, gregkh@linuxfoundation.org, juri.lelli@redhat.com, rostedt@goodmis.org, mgorman@suse.de, vschneid@redhat.com References: <20231009103621.374412-1-vincent.guittot@linaro.org> From: Lukasz Luba In-Reply-To: <20231009103621.374412-1-vincent.guittot@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 10/9/23 11:36, Vincent Guittot wrote: > This is the 1st part of consolidating how the max compute capacity is > used in the scheduler and how we calculate the frequency for a level of > utilization. > > Fix some unconsistancy when computing frequency for an utilization. There > can be a mismatch between energy model and schedutil. > > Next step will be to make a difference between the original > max compute capacity of a CPU and what is currently available when > there is a capping applying forever (i.e. seconds or more). > > I have tested the patches apart from the last CPPC because the platform didn't have that. The EAS is working OK, so feel free to add: Tested-by: Lukasz Luba apart from the patch 6/6 - with the cppc changes Regards, Lukasz