Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4168013rdb; Thu, 14 Sep 2023 14:03:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYBCL3WqPJu9GBLpsq8tPYV5qgXs346mhshhMhzB3bEwp8MM2A3NWpk927EsufjCixzJLK X-Received: by 2002:a05:6a20:9706:b0:155:5c28:ea67 with SMTP id hr6-20020a056a20970600b001555c28ea67mr6310628pzc.38.1694725416081; Thu, 14 Sep 2023 14:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694725416; cv=none; d=google.com; s=arc-20160816; b=xlX9fySc7HPVjGPCXcUElPUdDQKrL/vVdfuL8RE68Y6qTQmE22YZnvFgOIMfgZSCAT cZeugEBy9o8W4+FmKTlJ08ddISNaFcnxbzJNy+6+ISR5y7f1a0MsNhhx4utmHjd0C0XQ TTooaLIuJZ4YTmzafA4FZc23e0tsksLgFf40vb9LlM5KB/ZNL2zMibOVA7tpm8P/u3sl CsLHuqhctN+a7ChEDMPzyEZw7MHDNKnEJ3CmuIhKJOS6JsnC1hzvmsfzHs9k2hpCSmo8 4eWtksXfFz2Eb6RGszxhnEorh2lSfzgEjW45UOMjypLPsDz2TuoDTDCS0TDUg/MzYLPN j7HQ== 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=Upcw6qTJyNEKYMccj69lwnMCu2zjSHIAP8gYJi+HZ68=; fh=ycFJnpy8R5iLUc5ty1OfUZ27cvG66MEdDjUtmpWymKI=; b=yIYdZktky/1TPPeov1q7gv/Hf/yDS4mqw/zTm64x+9WYZyyzYUNf9LPPT/QbfiwC7L Pja4vqZM7W8mDDwiRP/3+ydzGPgX0Vwk6dyTT3LMwtmASrTpOKVAQ8WqtXMog8nGWt3I /ejVChgR85c36aUShCQ7obKUItWBPodSSQuhJ75Y71ng2LKRcXlNskFDyKfkolZSDm0V DfMZpbBYZaYitKUXHONSzLnjGhvC5zJS/7F9VPZh51/xMFdLRZ6SIAiKFfKCyPc2O1Zk +FlKnp2ipPIWovKjpAPpvxtuey8zpRhmthEUz7uuxWcE/BfTfhJb00iU01weru9TEZ14 LLkQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s1-20020a637701000000b00573faff7d3esi2060585pgc.712.2023.09.14.14.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 14:03:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id E5EA2828F205; Thu, 14 Sep 2023 14:01:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbjINVBi (ORCPT + 99 others); Thu, 14 Sep 2023 17:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjINVBh (ORCPT ); Thu, 14 Sep 2023 17:01:37 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8218A2698; Thu, 14 Sep 2023 14:01:32 -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 66C031FB; Thu, 14 Sep 2023 14:02:09 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5FEF53F738; Thu, 14 Sep 2023 14:01:28 -0700 (PDT) Message-ID: <4a2d20ca-092e-843b-b5a4-45d4a6aef02c@arm.com> Date: Thu, 14 Sep 2023 23:01:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 2/4] topology: add a new arch_scale_freq_reference Content-Language: en-US To: Vincent Guittot , linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, sudeep.holla@arm.com, gregkh@linuxfoundation.org, rafael@kernel.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, viresh.kumar@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pm@vger.kernel.org Cc: conor.dooley@microchip.com, suagrfillet@gmail.com, ajones@ventanamicro.com, lftan@kernel.org References: <20230901130312.247719-1-vincent.guittot@linaro.org> <20230901130312.247719-3-vincent.guittot@linaro.org> From: Dietmar Eggemann In-Reply-To: <20230901130312.247719-3-vincent.guittot@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 (lipwig.vger.email [0.0.0.0]); Thu, 14 Sep 2023 14:01:47 -0700 (PDT) X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 lipwig.vger.email On 01/09/2023 15:03, Vincent Guittot wrote: > Create a new method to get a unique and fixed max frequency. Currently > cpuinfo.max_freq or last item of performance domain are used as the max ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ IMHO better `highest (or last) performance state` (struct em_perf_state) ... maybe easier to grasp? [...]