Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1556883pxb; Tue, 8 Feb 2022 22:11:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGeR2tbjPd34KD2Xbije5fblt042T+MpNOOfWAJlyi72LD2bH52XOzl2arujlCtOkeOHZb X-Received: by 2002:a63:4b17:: with SMTP id y23mr685495pga.489.1644387072094; Tue, 08 Feb 2022 22:11:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644387072; cv=none; d=google.com; s=arc-20160816; b=Y2VP99BStLFrrDWbZtjVOrVulI2Ebn0owW9tGDinncwrQlmACD/CowdIALpp2ON2hS 37dRGgmkSOJHDXfJ/iHu3ecTYUkuH5ass2JQDYsvEZI0X6QgWwwB5ihrNnySDT7geruF 0JL2+GIV1kzWCJMLKUhhvMsv7yOPFHglnUKf3qaOMAlrJNey0N5HPmmgOlzbudjP8JS9 ur/y/FikpZPaO9EZlQreYU3HksqRVIbKvdx3oHQoWoN4ZsEX444X77mO+KiLLIamiW8a nYrwV8BcmdGG7ITIcclyRYWIHHsMp4mDlFcMLwHc1ej3/FH+oYM3D+rBy4eN5f7fqpcG E/lw== 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:dkim-signature; bh=A5bUbwGkKQlXLpWsy9TPFsLb6gmc2QPm26L3v501V4c=; b=a+n5xXRPTCqsdRdpgUI/CoyQf5rfElzA4LK2RWPAu0FePJYYoOinmptt5xpuTyS968 Ww+DNhfOsG2lfDhKFTkWaZW3I2cRVS0qnEAqqNCUpIT0pk+F1t1Jae2pe+ULERRRu+Js chEN7A34o2W1quhsvtPnvnBJaoYyQc60fzoCQgHkH9Dt6L6+hl631dNRlq8UJzsLODZY 7EngrIBF94p84gcsac00Iea4LI/aNuamT3EGfvmh4yQahtKL20rHbVEJztSDa5x3uo5T pTJj7nmDalVUQidDRkQSdZ7kL78GjJdIGJxq8H5ttrp+Kelpq9Gy6I+oVlOHvdX8xdZ7 On/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KqVk3xA4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s14si15004062pgr.704.2022.02.08.22.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 22:11:12 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KqVk3xA4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8EE1CE00E16C; Tue, 8 Feb 2022 21:55:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348471AbiBHHjK (ORCPT + 99 others); Tue, 8 Feb 2022 02:39:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237408AbiBHHjI (ORCPT ); Tue, 8 Feb 2022 02:39:08 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBDEFC0401F1 for ; Mon, 7 Feb 2022 23:39:06 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id k1so12520031wrd.8 for ; Mon, 07 Feb 2022 23:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=A5bUbwGkKQlXLpWsy9TPFsLb6gmc2QPm26L3v501V4c=; b=KqVk3xA4HYLHM8Tz5KHMWy7mSFcX7bdDpIZiAXIYWP0FsjWSnmB8SDTT0Yn93XvOyK CHI32ncaqz1nL1zNVWlVFjpVaBaSVCLofSToIPOHkFyPHUNSFiQ/+RYhBWEKa0uj2rsh D3hB6grlYH4m+fztaURW3XEWIkb8Vx1uW/AA5AHIJTQAIWluVdjn7CWNpSXk9R9sMIXg CGKBtyzIpgY7P5zJpEeIvccG0TcUABMM+8Mb2GVqdYQlCi2RApLGOJrCxahbAliZuY7y XIMGNs/f3J3YKSWXDGRWK6tfqnJekatIZFs2sug7mmkS2JEq2xUqIRXjz9mddluXDAqg bwpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=A5bUbwGkKQlXLpWsy9TPFsLb6gmc2QPm26L3v501V4c=; b=s2v3efaOER0VWTKpwKh4ekcDaXmfHIsA83BhqpcmVvqYF0T3FaOddWCbM++DM7y8f7 luRL1EvnQA6op3ne9a6vj3g6by4sXB/Y239OltCf+rHQb1k+Vzyd2uvj4wnFScaXWqHp 2dcvOT44iw058T3p4+wCkU83KkWvQcpLprWdqLcHsFhbcNK2b/+8kFsfwJjmKxpWGhJA diH4blkppsYfHvPc2eBbCcTCVuGywBNm74kiTS9kaKVQBQVVvUVR1fVJ7gPZucQ3tb2Y 7lq8FxEpOWCQEwGspwFQYKEYIzzwBO+3v6mPi7/L1glxZyy9o14NNGMTfo9Ww3CZgVEK 7zXQ== X-Gm-Message-State: AOAM531Fc4w2wtGBX2pTgmxqXSRS/dGn6bHg95obunKOUld+cLvRJiWr Zt7mxZr3KXuzxVX6nojOX8pBlg== X-Received: by 2002:a5d:4687:: with SMTP id u7mr2364714wrq.534.1644305945291; Mon, 07 Feb 2022 23:39:05 -0800 (PST) Received: from ?IPV6:2a01:e34:ed2f:f020:f084:7eaf:38c2:fbc5? ([2a01:e34:ed2f:f020:f084:7eaf:38c2:fbc5]) by smtp.googlemail.com with ESMTPSA id 2sm12965099wrz.59.2022.02.07.23.39.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Feb 2022 23:39:04 -0800 (PST) Message-ID: Date: Tue, 8 Feb 2022 08:39:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 0/2] Ignore Energy Model with abstract scale in IPA and DTPM Content-Language: en-US To: Lukasz Luba Cc: amit.kachhap@gmail.com, viresh.kumar@linaro.org, rafael@kernel.org, amitk@kernel.org, rui.zhang@intel.com, dietmar.eggemann@arm.com, Pierre.Gondois@arm.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20220207073036.14901-1-lukasz.luba@arm.com> <0d2217e0-44f7-8587-3e1f-a73d301ab166@linaro.org> <616307f7-b419-8e36-6879-6cf6f4e02d5a@arm.com> From: Daniel Lezcano In-Reply-To: <616307f7-b419-8e36-6879-6cf6f4e02d5a@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_HI,SPF_HELO_PASS, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2022 12:44, Lukasz Luba wrote: > > > On 2/7/22 10:41 AM, Daniel Lezcano wrote: >> On 07/02/2022 08:30, Lukasz Luba wrote: >>> Hi all, >>> >>> The Energy Model supports abstract scale power values. This might cause >>> issues for some mechanisms like thermal governor IPA or DTPM, which >>> expect that all devices provide sane power values. This patch set >>> prevents >>> from registering such devices for IPA and DTPM. >> >> >> Does it mean for example big and little have both 0-100 ? >> >> > > Unfortunately, these can be any numbers. I hope at least the CPUs > Big and Little power have sense: Little power is not higher > than Big power. The purpose of EM is to enable EAS, so this power > relation between Big and Little should have sense. Someone > who is not willing to or cannot expose real power values, still > wants the EAS to operate (my assumption and hope). The SCMI FW can > provide abstract power values. It's in the SCMI spec. Thus, > creating these abstract scale power values for big.LITTLE the right > way should result in properly working EAS. > > I can also have hope for GPU vs. Big power, but it is a weaker hope. > The second is more tricky to distinguish even if you have a domain > knowledge, but not the real measurements with you. The GPU power > values is also a 'sensitive' knowledge to share. Open source guys can do > that (after measurements), but some vendor's engineers probably can't. So basically, we don't know, right ? At this point the different subsystems (cpufreq cooling device and dtpm) disabled by these patches can deal with abstract scale values, like they do today with the very approximate power numbers we have defined in the DT. Let's wait and see how the different SoC vendors implement the SCMI spec. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog