Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp882790ybg; Fri, 18 Oct 2019 08:45:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqymkCjE4g1UDdTwMHTEmzelbVriCzrmt5BBC7IzCETmOXnE7Z7i8CtQ9XulRU0vWFomYE/v X-Received: by 2002:a17:906:66d2:: with SMTP id k18mr9466904ejp.100.1571413517811; Fri, 18 Oct 2019 08:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571413517; cv=none; d=google.com; s=arc-20160816; b=dEchitp3hJrs7V4l0lPpwyoBHzMDPeAw64DkiX6AkdofHsLPtzfakxcJAgnCkWBwBH 2thBqTwpChelzNFPIqwJE516JkbqtB5dkq+9O/VyLMudBLyLKC21BDOguzQzdFfZYkrn fTVIy1cMc1q3scmwWBB6YD37lE8glCwU1b6CYUoo9kPCuPBOc+NfAwggE3ToZ6zmWZKE J8FJsILPJh//2KVyrIAyHPZHNmJMgCF0SqT8ksY3f/uvDazZSsyDHMv4geckqEoBhbm/ barfOk35e+3ttVkBA8c9pEf7wQOtiM1P3VIxb/vJOOIsN12SY6cPmdlfyVrxWw4v+vg4 Pykw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=D4W/LUm+J8OxNKkDBXKqSGiLQb0w0oPg2mn0tFVhPes=; b=cvVyxbwzmQjg+7cXJay9Dkz2eU3B9WcRS1z9Lftyr74YxYGUGJa583ev2VVL7q0CbQ gvBl7zvtgBHgDYuKsK9T1LXo4GQjE6WGYcny6G4wjlGlRBeGlCNXCqR4hyXtewJal/Sk 0B4QgXGD5y8ZXOHfgQmIhpsjx8SdqLemYOHCTEObdErST38z+jgga8dToZ1QdTnTAmwd FKlJWLbfrZxA4oYW5+Y6f3WZpGo78PZAKl6/Inv2g7LlrsXrkpQO9jYf7cj83F+U+j66 dRmu6SgqMCVibZFVfKtgZPPN/l7K3q00x4XosgUZNhAPeXuWl4C0mREjzenzobjUhrFl ntRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=aUrV05JD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si3958730edt.259.2019.10.18.08.44.54; Fri, 18 Oct 2019 08:45:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=aUrV05JD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393590AbfJQMSM (ORCPT + 99 others); Thu, 17 Oct 2019 08:18:12 -0400 Received: from mail-ua1-f67.google.com ([209.85.222.67]:43815 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393413AbfJQMSL (ORCPT ); Thu, 17 Oct 2019 08:18:11 -0400 Received: by mail-ua1-f67.google.com with SMTP id k24so577423uag.10 for ; Thu, 17 Oct 2019 05:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D4W/LUm+J8OxNKkDBXKqSGiLQb0w0oPg2mn0tFVhPes=; b=aUrV05JDeAStB20D0EX8t5S/U35e9v3DZtU8XmQCMwCu+E1mzgEFvRAaT62RK8LVhN 0+gx3U0i+AMedaIcGuc7NNcHMTX2Ebp3L0dUnVqrKUSh4UZ8reHpCt8o5Pw7fmTgz8Uk PfGmF7U49F4uO8Qt7u44Ny9Pe+Tn/RCw/fo1+Zi5F2aDqEQhIVdck+z/PwbRCxMW+Zyu tfgxkaq0lGWgKKhhl69S5UOUTLfIxxNkF8Mc+AhjYtBftcvck8Q+uIiesqmy7pJ0DH8Y KJVkC2wh2eSWJ0mHB+pP3ssfzdAgfY+U0ZgyhYVjSgFKMBnTl7635nW0HUn5rWHnVgLF +5Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=D4W/LUm+J8OxNKkDBXKqSGiLQb0w0oPg2mn0tFVhPes=; b=o2rNIhxqc9yT9tvX/jnLA/Ho8oSsQ1Cx/EY57kKnYKR8QcsOaiLheLEcLXIkqGPGyN z9BSjAanORlQS0mSCQCT+F6NZVj5UpN6nU0OqKS3yK+aUSp2L5/yU3UzZZMnhru7KCte A5ekriz91GLwj/iBkZ/PGFZKqRlytrwgtqT/5JeH52tAtpnoaiwGsf7J9pLlrPWJ1bC9 bOWpiwWXIagJAnGO6zwsQVZwnLgEaMSHLp4lZhg2sMmNXayLOn0MttZ5WyvzZciROUJi wVI8+97gTo606TfoFO8549Knp7zIT6D+uThssddPPs41NzSrYU4IlXsNYiLMdAAgBKHF BP8A== X-Gm-Message-State: APjAAAUvwiZ8OeVy+tSl0a8IjdUJ/PR7XlDS/elAKHPhSMOC90WPI9/N sg7Bm9HVF+kJV5z2By6h8fpZkzlYvWHTw7+Yg4cCBvf/khg+fw== X-Received: by 2002:ab0:4704:: with SMTP id h4mr2115415uac.67.1571314689598; Thu, 17 Oct 2019 05:18:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kucheria Date: Thu, 17 Oct 2019 17:47:57 +0530 Message-ID: Subject: Re: [PATCH v2 0/5] Initialise thermal framework and cpufreq earlier during boot To: LKML , linux-arm-msm , Daniel Lezcano , Viresh Kumar , Sudeep Holla , Bjorn Andersson , Eduardo Valentin , Andy Gross , Taniya Das , Stephen Boyd , ilina@codeaurora.org, "Rafael J. Wysocki" , Amit Kucheria , Zhang Rui Cc: linux-clk , Linux PM list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is embarassing. I generated this series incorrectly. It is missing a patch removing netlink support. v3 coming right up. Sorry for the noise. On Thu, Oct 17, 2019 at 4:00 PM Amit Kucheria wrote: > > Changes since v1: > - Completely get rid of netlink support in the thermal framework. > - This changes the early init patch to a single line - change to > core_initcall. Changed authorship of patch since it is nothing like the > original. Lina, let me know if you feel otherwise. > - I've tested to make sure that the qcom-cpufreq-hw driver continues to > work correctly as a module so this won't impact Android's GKI plans. > - Collected Acks > > Device boot needs to be as fast as possible while keeping under the thermal > envelope. Now that thermal framework is built-in to the kernel, we can > initialize it earlier to enable thermal mitigation during boot. > > We also need the cpufreq HW drivers to be initialised earlier to act as the > cooling devices. This series only converts over the qcom-hw driver to > initialize earlier but can be extended to other platforms as well. > > Amit Kucheria (5): > thermal: Initialize thermal subsystem earlier > cpufreq: Initialise the governors in core_initcall > cpufreq: Initialize cpufreq-dt driver earlier > clk: qcom: Initialise clock drivers earlier > cpufreq: qcom-hw: Move driver initialisation earlier > > drivers/clk/qcom/clk-rpmh.c | 2 +- > drivers/clk/qcom/gcc-qcs404.c | 2 +- > drivers/clk/qcom/gcc-sdm845.c | 2 +- > drivers/cpufreq/cpufreq-dt-platdev.c | 2 +- > drivers/cpufreq/cpufreq_conservative.c | 2 +- > drivers/cpufreq/cpufreq_ondemand.c | 2 +- > drivers/cpufreq/cpufreq_performance.c | 2 +- > drivers/cpufreq/cpufreq_powersave.c | 2 +- > drivers/cpufreq/cpufreq_userspace.c | 2 +- > drivers/cpufreq/qcom-cpufreq-hw.c | 2 +- > drivers/thermal/thermal_core.c | 3 ++- > 11 files changed, 12 insertions(+), 11 deletions(-) > > -- > 2.17.1 >