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=-2.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 ABED6C433E1 for ; Fri, 22 May 2020 10:43:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8D73B2065C for ; Fri, 22 May 2020 10:43:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YdeY/dYK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728716AbgEVKnU (ORCPT ); Fri, 22 May 2020 06:43:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728623AbgEVKnS (ORCPT ); Fri, 22 May 2020 06:43:18 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5B5C08C5C1 for ; Fri, 22 May 2020 03:43:18 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id w7so9646525wre.13 for ; Fri, 22 May 2020 03:43:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VGoYWtdu5N5u5jqWgNJFmyeBLxTDklq5XGRfQf6qY4Q=; b=YdeY/dYKbHgnjF5Rfbcb+eEpYTqwDn5A1vVV0JJ5zhynRDstj4c9FpHWPMl+epaBKj 4+oNruH5nf6kCafoeC8oqKNyZ/Po23OIUoBNbYN9r4/k0SejSAvyGC92UsY58XQLUfsa 3JjDrFGsY19YdyfPsHQclmg1uXVg+LMh91ZPjSFXVChXGrVWjG0Ui7eJQGqklE6+5kay g5Uz20ffaV5DdoIjAToXKulBulbkNzxmwxh2KnSMRG7DYDLx1ioPSUF/Sq5icU69Spbb sYt6m5Pg2RyBF7ZlFDkiMCnoSB3EaxfTGXp6TNa8MZWvQOKRiLEeX0kDcZ6ep0ep66E5 CPew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VGoYWtdu5N5u5jqWgNJFmyeBLxTDklq5XGRfQf6qY4Q=; b=BD018fY73Y4KQlA29KOMwe8SHERAdPTZTkK62bSH8NCLwADNXlmp1TB+dcAqbs2K5l R2kzaHQL2f6aXU4QNRpvKF5g2EULpgAMByMjYmNpaEZfEccVlRc3FUDdB5ObuICvEikm W7Y2AuE736ViXPgKXb0EMHZtV/1/dN6KGCACzEDXlgETjPOeSKPT2o39A+sQ5ldC00m/ OHAFyHvOYhsDT3Sh8RyFJOubjmZ+os43KexF2ZE2WaVVd5pSXOT1b3zSm5Ej7Jd9eFpM ArCRuBH+g2mu2UCdlKncAy5VYYbH3rQkk4iMyBG/MxcXWhpcNbYtvjm6ndXI1GrIib5U DY4Q== X-Gm-Message-State: AOAM533mrfS0k/452Fzc861UQjxBoSjULpU4cHc83D5g8DZtEFV0Fwxf wFCKprZxvfGoEtrYW6fBtKpFFg== X-Google-Smtp-Source: ABdhPJybiYUfjcoyk6EZQDK4C+UEDo86CQQDAJc9f/khvU4Ce7Ww2hRO343VGYU3st9oV83jeHWEKA== X-Received: by 2002:a5d:52c6:: with SMTP id r6mr2933510wrv.269.1590144196705; Fri, 22 May 2020 03:43:16 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:a82f:eaec:3c49:875a? ([2a01:e34:ed2f:f020:a82f:eaec:3c49:875a]) by smtp.googlemail.com with ESMTPSA id h1sm9702407wme.42.2020.05.22.03.43.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 May 2020 03:43:16 -0700 (PDT) Subject: Re: [PATCH v7 00/15] Add support for devices in the Energy Model To: Lukasz Luba , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-imx@nxp.com Cc: Dietmar.Eggemann@arm.com, cw00.choi@samsung.com, b.zolnierkie@samsung.com, rjw@rjwysocki.net, sudeep.holla@arm.com, viresh.kumar@linaro.org, nm@ti.com, sboyd@kernel.org, rui.zhang@intel.com, amit.kucheria@verdurent.com, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, rostedt@goodmis.org, qperret@google.com, bsegall@google.com, mgorman@suse.de, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, kernel@pengutronix.de, khilman@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, matthias.bgg@gmail.com, steven.price@arm.com, tomeu.vizoso@collabora.com, alyssa.rosenzweig@collabora.com, airlied@linux.ie, daniel@ffwll.ch, liviu.dudau@arm.com, lorenzo.pieralisi@arm.com, patrick.bellasi@matbug.net, orjan.eide@arm.com, rdunlap@infradead.org, mka@chromium.org References: <20200511111912.3001-1-lukasz.luba@arm.com> From: Daniel Lezcano Message-ID: Date: Fri, 22 May 2020 12:43:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200511111912.3001-1-lukasz.luba@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Lukasz, On 11/05/2020 13:18, Lukasz Luba wrote: > Hi all, > > This patch set introduces support for devices in the Energy Model (EM) > framework. It will unify the power model for thermal subsystem. It will > make simpler to add support for new devices willing to use more > advanced features (like Intelligent Power Allocation). Now it should > require less knowledge and effort for driver developer to add e.g. > GPU driver with simple energy model. A more sophisticated energy model > in the thermal framework is also possible, driver needs to provide > a dedicated callback function. More information can be found in the > updated documentation file. > > First 7 patches are refactoring Energy Model framework to add support > of other devices that CPUs. They change: > - naming convention from 'capacity' to 'performance' state, > - API arguments adding device pointer and not rely only on cpumask, > - change naming when 'cpu' was used, now it's a 'device' > - internal structure to maintain registered devices > - update users to the new API > Patch 8 updates OPP framework helper function to be more generic, not > CPU specific. > Patches 9-14 change devfreq cooling, dropping part of old power model and > adding registration with Energy Model via exported GPL function. > The last path is a simple change for Panfrost GPU driver. > > The patch set is based on linux-next tag next-20200508. Do you think it is possible to respin against linux-pm next ? I wanted to try the series but I'm getting non trivial conflicts with the devfreq_cooling changes -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog