Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3725418rdg; Wed, 18 Oct 2023 04:27:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHYVgtfo5uvNEBrheoC1Zq/ciRFWu9DPou3gXjz64xzhVFxaiL2WlIunToUKzA29shVEX99 X-Received: by 2002:a05:6870:1196:b0:1e9:ac92:9ab6 with SMTP id 22-20020a056870119600b001e9ac929ab6mr5240820oau.46.1697628436909; Wed, 18 Oct 2023 04:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697628436; cv=none; d=google.com; s=arc-20160816; b=IFEzT1dSQuRVpz4D6t97KWSiBw4V2xGeyMwnX148BnkVKW8A+wld1gT1djKllyICIN zGCzVdaOb3DiOumhwQ9HWFUu95onp/HOg3HAisLERhtzahrBaA5G47jhbv0yrHESbk36 0KPqgmRYRKs+vtErVXQlvZmNT+Xh62HKZ0P9vFHKjow6AmK6kPLK4gsoBzqo4SNhtJTk BYbcBdaHbcrD+S0gggyA2MlQTkkWmu2hXAeNqmUWilyigcCZ/+E1g07ZTLTP5wUFEwMq iyoGUNUIKq0n2dmKMUoWfFtzybL9xjopW0CxOnOGLMiP5JNe9zeW8ZPor5hpp2TY/2Jx ItZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=AXO16IU4H/qgv4Mm2xiSKa5gtVKFtVqojlXb6gNn2W4=; fh=hbCqjFjrpuvn0+eNHw0Mvv7goluchd35qbuVzGn39NA=; b=mRDdu/19aNarrRR6yngf/Yoi5EPqq5gPfcyZKo6ctUvJ17ct4/b01y75p1/8jfcyOt YF8f51ba8eatsnuI4G5J7HyMNJqbFtXq0sg+wD2PUjPEs303yoQt41uiwYhyuv62vu+Q DOMqIToDO55jSHPGEDSFGersR05AR8g5Yuu9xe2GGxv3KabjgdloWkCxzcJ6qQRz1zRS K3Bi/zc/MO1lve9ereQod9k+7Aif6rScg9qkhxFhOjI4HOgaoEr4IdFxZzDrUuiVVQ5F vpYKjwS1FrA3UmomXTuNA7ZDmrrHZBGsvvmC6g4tnG6P/vUk/6jEgZ4HZk3IlOWyVW80 UzpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r137-20020a632b8f000000b005ab53fed203si1900667pgr.461.2023.10.18.04.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 04:27:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CCB2580A2641; Wed, 18 Oct 2023 04:27:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230262AbjJRL1N (ORCPT + 99 others); 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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 18 Oct 2023 04:27:16 -0700 (PDT) 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