Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4057458pxb; Tue, 10 Nov 2020 07:01:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzohB043hbstiNi1YWEqyhvU7N5LgbwpyokhOshMcq+6s/9v6oGe+n43Id6cdE0BaNz3fCM X-Received: by 2002:a17:906:2297:: with SMTP id p23mr19863101eja.60.1605020464783; Tue, 10 Nov 2020 07:01:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605020464; cv=none; d=google.com; s=arc-20160816; b=w3tD5cSEY+of8Gqs0xMdU7nIpZDnStyPlsgTPNFaOM7dYPimnJb/DqbBnGhuegzBOC qhZqfqtR2yRgAGqx/VJa0vY/G4YfTLRiPXKZnWQ7r6vLmUJ9/9ux5phdENWMpnuk4pgm XFn33l4o2xrSoS0pnLgikcw7HP0T6BW2rWW88u7FyTSxdtfEbRa2c5ibmfR46syy8zvI QqcsFVxuYGq/PastSsgWQ/Na2qSqAylB5vdLocofMv9634vXwoBRDm6W37rT08v0WnYL WzZwxxd+DVAOLRukO1EEX81j7B8UlYuH6nX3LpOu+Meo2UcoBsx2zVGozYAFDx63VNUI 2PhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=IdLgaRbW4nEaCIcc+Kl+IljF0AKQ9c4kOuJIqFJ4XQQ=; b=gSmSC4tvRw8At7FzjbDaP/ya0DPrxLQp3p3b6uadAXabTzTHmvhymW8eoTJFazx/J9 2lZPKieMuiyvqpa13MHY4fKzz8WR9bBKJUoOOhTVuUjyNLl3btL5Hk0gr0aYU32qvuh2 aYEXIvVgqbWuCRwY3mOuFOCn5599IXcSFzieJ+Aa/AlBKIE776jnBNIdIc0afHNd5wYX d4pk+k2287hAwh3q8S0fvovkL3K+7xX2uD4xcVJZjl46158bdoKy9KTtjRsYXueAJxZh kQRChSWDbmCiZsvU5Q86Niem62hzM5msT40PV8Q5u5ypd85tDb38WC3gAradChTRdQLr /sWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zE6BW1MX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo6si9537564ejb.367.2020.11.10.07.00.41; Tue, 10 Nov 2020 07:01:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zE6BW1MX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730799AbgKJO7U (ORCPT + 99 others); Tue, 10 Nov 2020 09:59:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730070AbgKJO7U (ORCPT ); Tue, 10 Nov 2020 09:59:20 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA095C0613D1 for ; Tue, 10 Nov 2020 06:59:19 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id p22so3278255wmg.3 for ; Tue, 10 Nov 2020 06:59:19 -0800 (PST) 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=IdLgaRbW4nEaCIcc+Kl+IljF0AKQ9c4kOuJIqFJ4XQQ=; b=zE6BW1MXgSBPi6HFNs/bFM9mV0opihuPEMpa9blC8mLW9qOpazn6K8JS6h6SKf5yGf 3Yj98J4V2XWwhBvmIMaKmSna1vqKdzE2M9Qi6xn2YCI9p40INPY6PCi9OB/zwvAxyccj YmvQwGTzk/Y4PQ25QOHWw3o8bWOAWv/3DY7XTW8j/yfIt1dUdzOUIGJ5j5YAj8yr+YD4 /sm6TJACtN5T1Qd67KPUbFoanilicnmzf4ZoS8Olc0OFazxEjAXXvbDji5FRHJmygO5v 8poTXkB8Eej+YMMI1ufXUdvN/J+iYDadMpcjnsqHbeN83gIZuym17+K5VYtJgQA2PwVF RGTA== 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=IdLgaRbW4nEaCIcc+Kl+IljF0AKQ9c4kOuJIqFJ4XQQ=; b=MHz92RUzGhHS9Wgad++jwYGXyxfBU2V+1e4VftowopqNXXGzSiy9qHyaCgLDy5WXYF kvC1sg17fudsU4BBK/tNO3S5Oe5AjUxHOjibplDoLd6pacb2YnbA1ztdq/KTcQouucXL kBHWBYpanSvAzOfoBhru6VjArnIqQnb7YJHzYmCJzTcpHLpXMXWWIuPKzUfwWQKkh1v+ KvxhcAG/ZxqdHS7D52p14WUmbhYFs1mxFrevE4yA0Bk3FcTttpUgNVaGVBp5D0x61Os7 d2AC6KbVdp7bdocPLcLk1cB9dZV/1tc6BDkb6p0J6XpT/Q8o+XVMVzgxH0Ia826H6R1C +4SQ== X-Gm-Message-State: AOAM5330KKmO1tlhckCWTy+oU6hhc3T06G3BZyIFbdL6C05OKwwquuVH CsqeYeHNbgTEJ1uBe/ggtOWJtA== X-Received: by 2002:a1c:dc43:: with SMTP id t64mr37525wmg.93.1605020358599; Tue, 10 Nov 2020 06:59:18 -0800 (PST) Received: from ?IPv6:2a01:e34:ed2f:f020:1087:e960:613c:926b? ([2a01:e34:ed2f:f020:1087:e960:613c:926b]) by smtp.googlemail.com with ESMTPSA id v67sm3381795wma.17.2020.11.10.06.59.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Nov 2020 06:59:17 -0800 (PST) Subject: Re: [PATCH 3/4] powercap/drivers/dtpm: Add API for dynamic thermal power management To: Lukasz Luba Cc: rafael@kernel.org, srinivas.pandruvada@linux.intel.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, "Rafael J. Wysocki" , Arnd Bergmann , "open list:GENERIC INCLUDE/ASM HEADER FILES" References: <20201006122024.14539-1-daniel.lezcano@linaro.org> <20201006122024.14539-4-daniel.lezcano@linaro.org> <8fea0109-30d4-7d67-ffeb-8e588a4dadc3@arm.com> <313a92c5-3c45-616f-1fe8-9837721f9889@arm.com> From: Daniel Lezcano Message-ID: <2495f9b8-327d-bf92-a159-ac3202d30ee0@linaro.org> Date: Tue, 10 Nov 2020 15:59:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <313a92c5-3c45-616f-1fe8-9837721f9889@arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/11/2020 12:05, Lukasz Luba wrote: > > Actually I've found one issue when I have been trying to clean > my testing branch with modified scmi-cpufreq.c. IMO, those errors are not the dtpm framework fault but the scmi-cpufreq. You should add a component in the drivers/powercap which does the glue between the scmi-cpufreq and the dtpm. No stub will be needed in this case as the component will depend on CONFIG_DTPM. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog