Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5320790rdb; Wed, 13 Dec 2023 05:41:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IFsN/hahNQloBH+YriSR5ICbhFB2rsupAw0ghX2scCAKnzpmc2BN5lsK9eIxV/3pX1GmocP X-Received: by 2002:a05:6358:5e15:b0:170:b07b:8352 with SMTP id q21-20020a0563585e1500b00170b07b8352mr8135448rwn.4.1702474885002; Wed, 13 Dec 2023 05:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702474884; cv=none; d=google.com; s=arc-20160816; b=nv4W3xdpaytE5rl/L5AWYWEfcG2jiHLvb2FA6MVx0kht9MQAE/o+PwkfQpxq8v3izt 8+NV4MEv3Ya8Zg+e7CwFIjfm/VW19iY9SSZFkrn1SBROSoriCRONMX3zIqbkCOFocAkF 0PElnxkbYnSIgQUmly4X6rAmlXh/Y/G8Oh+nyVM3Mj/84TR0IxQ3FJXImmBe9AjKIE11 9cvomsrmTGFHPN9sObGBs/lS/2BrlTYpjlbeXcYWWqhLzPDxGq/KmUf3L2vPrI1T9kPt BpeeBS78PIgMkwcPAyUf9hJXezHpboXuj8NqrZc+7e81m3HuWQuv3focXYyHFao8Yzds JgQA== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=5s8hZb7R9Li3kEMN9tzn3PKR2Mdd4uz7OblPD22l6M0=; fh=IDtnOIT1NrVDfbJIrY3lSpgRCcq0umhF0UKIcRXfoDA=; b=o/t7Pg0VIvd2SARO5r3Q5UIf5ItPgOmjwbpyy7XMdtRAykP6v3QrdKbfLOoZd5w6P0 RgE4Op2Y+Z0bphAGKrRpWHZ9yF1VcXqpAHlCKXbvpqCuvaQDD65HZcihpSqvYsubSPI3 kyJZfGjLFo1NWP0F2nAdbH9QWe/BYRW1hVij1j5ThszxPWFtSLBNnj465g5tUvP/Iy6u ZkkAUZWQxqJPjyO1ur9UTutewWlaiMfz40Dw9VbavP2+aVL/UVt/EKppaRODdJzCigT8 EXGF39NfU8GyNOba1IyBmccdBMBMQacVt2RedCdm6sq1/Adfg6z9jwUKNMYHi7X5oCOP PNxg== 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:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id j11-20020a056a00174b00b006cd84368e8dsi9452863pfc.190.2023.12.13.05.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 05:41:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 865F080B8F12; Wed, 13 Dec 2023 05:41:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233624AbjLMNlG (ORCPT + 99 others); Wed, 13 Dec 2023 08:41:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235417AbjLMNkx (ORCPT ); Wed, 13 Dec 2023 08:40:53 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6FEE895; Wed, 13 Dec 2023 05:40:59 -0800 (PST) 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 3D0B5C15; Wed, 13 Dec 2023 05:41:45 -0800 (PST) Received: from [10.57.85.231] (unknown [10.57.85.231]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 03A183F762; Wed, 13 Dec 2023 05:40:55 -0800 (PST) Message-ID: <6479439f-181f-4c99-b8ae-72fe2ee569ee@arm.com> Date: Wed, 13 Dec 2023 13:40:54 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 00/23] Introduce runtime modifiable Energy Model To: "Rafael J. Wysocki" , Lukasz Luba Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dietmar.eggemann@arm.com, amit.kucheria@verdurent.com, amit.kachhap@gmail.com, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, pavel@ucw.cz, mhiramat@kernel.org, qyousef@layalina.io, wvw@google.com, Morten Rasmussen , Ionela Voinescu , Beata Michalska , Sumit Gupta References: <20231129110853.94344-1-lukasz.luba@arm.com> Content-Language: en-US From: Hongyan Xia In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Wed, 13 Dec 2023 05:41:22 -0800 (PST) Hi Rafael, On 12/12/2023 18:49, Rafael J. Wysocki wrote: > Hi Lukasz, > > On Wed, Nov 29, 2023 at 12:08 PM Lukasz Luba wrote: >> >> [...] > > I like this one more than the previous one and thanks for taking my > feedback into account. > > I would still like other people having a vested interest in the EM to > look at it and give feedback (or just tags), so I'm not inclined to > apply it just yet. However, I don't have any specific comments on it. I do have a keen interest in this series, but mostly from the point of view of uclamp. Currently uclamp is able to send hint the scheduler to bias task placement. Some CPU cores are known to have very different energy efficiency depending on the task. We know these tasks beforehand and can use uclamp to bias to certain CPUs which we know are more efficient for them. Personally I've always been wondering if this could just be reflected in the EM itself without emphasizing on the task placement aspect of uclamp. The idea of this series LGTM and I'll take a deeper look. Hongyan