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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AACFC2D0E4 for ; Tue, 17 Nov 2020 09:25:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BEDB724199 for ; Tue, 17 Nov 2020 09:25:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="b0cpZhXc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BEDB724199 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=s42jGYAJYJJHtF1dWyCZ4YstOOBjNyiroxZV//GbraM=; b=b0cpZhXcky+d38LSyKCRAfXYZ csTzC0e5puO+pxDuwG48K/1tVjRlztt/kL7hxE5H7cM+GyahpdHDh1qZx1yq4Yr+t+/t43wTU2Sj5 pY69l99sI8Ni9RxkQfz8KYhyU2CvDaosPS8iHObTqxOyunNFoCZ7sVrnScZ29P9qYiHOeAa2923ku XgIZl7LDSdGHtidKGmtRxROBCsX7w9mkM6H1RKK7ndGoKx3GAb7nD2a6JBmw1p9wGf7EoBvYZ6tWC raF5MkpqpxhvO2GFQ50aoCkzVlAt6YRr5VO9jham0GDFYGw2nee4GzDjN4PqXLDd+mib+tbZwFxAH nPDqddE0A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kexDt-0007wl-Mo; Tue, 17 Nov 2020 09:24:25 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kexDq-0007w5-IA for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2020 09:24:23 +0000 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 7A35A1042; Tue, 17 Nov 2020 01:24:20 -0800 (PST) Received: from [10.57.25.49] (unknown [10.57.25.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2BDB53F719; Tue, 17 Nov 2020 01:24:15 -0800 (PST) Subject: Re: [PATCH v4 0/4] Clarify abstract scale usage for power values in Energy Model, EAS and IPA To: "Rafael J. Wysocki" References: <20201103090600.29053-1-lukasz.luba@arm.com> <9382ea70-cc50-7b78-f5de-716678bdefbf@arm.com> From: Lukasz Luba Message-ID: <1685b7c8-e6bb-fc3b-c2ff-5c87c35610f0@arm.com> Date: Tue, 17 Nov 2020 09:24:14 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201117_042422_678747_0AF9DD7D X-CRM114-Status: GOOD ( 18.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Doug Anderson , "devicetree@vger.kernel.org" , Nishanth Menon , Amit Kucheria , "Nayak, Rajendra" , Daniel Lezcano , "open list:DOCUMENTATION" , Stephen Boyd , Viresh Kumar , Matthias Kaehlcke , Linux PM , Linux Kernel Mailing List , Morten Rasmussen , Rob Herring , Sudeep Holla , Quentin Perret , Jonathan Corbet , Dietmar Eggemann , Linux ARM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/10/20 7:32 PM, Rafael J. Wysocki wrote: > On Wed, Nov 4, 2020 at 11:58 AM Lukasz Luba wrote: >> >> Hi Rafael, >> >> On 11/3/20 9:05 AM, Lukasz Luba wrote: >>> Hi all, >>> >>> The Energy Model supports power values expressed in an abstract scale. >>> This has an impact on Intelligent Power Allocation (IPA) and should be >>> documented properly. Kernel sub-systems like EAS, IPA and DTPM >>> (new comming PowerCap framework) would use the new flag to capture >>> potential miss-configuration where the devices have registered different >>> power scales, thus cannot operate together. >>> >>> There was a discussion below v2 of this patch series, which might help >>> you to get context of these changes [2]. >>> >>> The agreed approach is to have the DT as a source of power values expressed >>> always in milli-Watts and the only way to submit with abstract scale values >>> is via the em_dev_register_perf_domain() API. >>> >>> Changes: >>> v4: >>> - change bool to int type for 'miliwatts' in struct em_perf_domain >>> (suggested by Quentin) >>> - removed one sentence from patch 2/4 in IPA doc power_allocator.rst >>> (suggested by Quentin) >>> - added reviewed-by from Quentin to 1/4, 3/4, 4/4 patches >> >> There was no major objections in the v3 and this v4 just addressed >> minor comments. The important discussions mostly happen in v2. >> >> Could you take the patches via your tree, please? > > Applied as 5.11 material, thanks! > Thank you Rafael! Regards, Lukasz _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel