Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1721716ybg; Sat, 19 Oct 2019 01:05:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqXF9UjcGPum2td0xohzHKE3Z3SH++UMUZVZGxJ8U8HqkEbM5ARZZz6Ed6DsLMt93OsMyD X-Received: by 2002:a05:6402:28c:: with SMTP id l12mr14339131edv.145.1571472300192; Sat, 19 Oct 2019 01:05:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571472300; cv=none; d=google.com; s=arc-20160816; b=j1KQfNU54x1zG4ukUyA4viSCjvO+ul83c7o6eYwyaF9yuo2BR+Fw0PcjaSeUuS+mjZ 71hYh/FK+FEKLADCjCntsvZFBVfcf+ibygED2/joyL4Z2LksEBK/Qv8XE5axVHoWII6S V2ZXd10IPTSIp/P+d9/CjvUbMyB26IZB6ULtO+iFtte/+S9cECh2O8XqRpKPy3kq/nAw OsQhphrDixqDB0UYYmdIFiXuR00QSEDlf12gc7IJG6SjRYgRHAmU8B4Xx7r2wx1LnV/q T3VoN0nCec4D8Ou0XZTkMSzCTIV6QmfTpN6j/T0aAypKusaLLSTNuyKJn9iHCa1OWiza 8hVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=OV9GCJs4s7auzZpPSYG5QvReU/tq3thTyE+8LoeVN7Y=; b=u/TX1q5RAqSyzSxmIaIwxbCuQYH6pecwKUrjUWi8PCVgYTFhpO2HK7zuOuid+YKToU n3w4CuATZI65kg/yd0H6YuuV4G0mV5yjpOlLy3LbdOn+G4CS9ofFsqyT6oMy8VcA/dq9 IeyZ6WXrdFXlfPvXKvt+YWKrilb50fo6IqAUHt0tLggLzD9ztXU7j+GqBYYEG0pi+5CZ aSsufmY5AoltFDD4DC51msPYKdUqK2AzmG+BCo+Xjx7lpPMmldmvuMtiPOlsqnRnhMfa 9JjcHi7rLeE4TjqIOg6abN1ibtvqqO/bQoAUw03iqZteqxpb0cCKwwvLjyVXBHPLkUnQ lZzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dmfM6j4A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si4781267ejw.340.2019.10.19.01.04.37; Sat, 19 Oct 2019 01:05:00 -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=@linaro.org header.s=google header.b=dmfM6j4A; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2632957AbfJRIwU (ORCPT + 99 others); Fri, 18 Oct 2019 04:52:20 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:35713 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2442246AbfJRIwT (ORCPT ); Fri, 18 Oct 2019 04:52:19 -0400 Received: by mail-pl1-f196.google.com with SMTP id c3so2534234plo.2 for ; Fri, 18 Oct 2019 01:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=OV9GCJs4s7auzZpPSYG5QvReU/tq3thTyE+8LoeVN7Y=; b=dmfM6j4ABh73a19Lql/07zj2f/0Iwn3aie8/jiCr1K6Vb5Ytac72LE/hl62BYZwskf QBwjojv+SJ1y1JjFxvkRx0+t3VRWbQXLB4bs1jv9Bgr6T1w7haFGcRELPXqQh8cLsO9Q o/LW/pGLKqF1eb3h0BDTea7w3frkGKdGJ1fc8F3C3UyetgUMZBobiCcynMF0g6pUJd5+ uelEYgHFlec1Kc0m2bSBsZ/9BmMTMOFHR35jIjaxBSH3+KO1kKE1rm8v1Y4A9HPOZB5N 6u8HtAVKYO42M0csV83e7fwx0jGrnSAMPeHvLPR8wH6PomL1eIVbxOHmIwYfaHBw2nhj +fxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=OV9GCJs4s7auzZpPSYG5QvReU/tq3thTyE+8LoeVN7Y=; b=RUwcITMeQMqsrKuGmGANKy2bkEEUmyiuJbbE0MEXnRlxX2Z6XOwFNb8CnU50nW6Cqu sdmLa9yhTBGBgft88whyNtc6NI0J17Fc0/AKPg3XOTeQ36WpTziYcnAdI9R7xvAZFbOK d0G/TUhuVQU58hL7d2YQxBdTMy6A4nyD7CzmS17j493+LeR8+pqTKmLP6n1QiJRXS/Xe OkTQq4n8J/9e5x7ws9tqCr0jiWyaU2te7kTO76SHDrPEMjEE2DRBX3sHbhpzPnWBrnII 8+tQa7VY7wyue+W8MAe60rIqTSQudVuiZAhOn6jeyWncymm368yRlh3QMhHiyxiYzw7F 2sfA== X-Gm-Message-State: APjAAAUNkeYKTQMrjDmkLTqggRnCnv5zU33R4elU0cDPAGztXYzT1m3n rb1YUaeDySiIx6TV3la1KUDVv3u2MhHh7g== X-Received: by 2002:a17:902:8505:: with SMTP id bj5mr8309860plb.296.1571388738714; Fri, 18 Oct 2019 01:52:18 -0700 (PDT) Received: from localhost ([49.248.178.134]) by smtp.gmail.com with ESMTPSA id x5sm5246107pfi.32.2019.10.18.01.52.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Oct 2019 01:52:18 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, sudeep.holla@arm.com, bjorn.andersson@linaro.org, edubezval@gmail.com, agross@kernel.org, tdas@codeaurora.org, swboyd@chromium.org, ilina@codeaurora.org, "Rafael J. Wysocki" , Amit Kucheria , Ben Segall , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Mel Gorman , Peter Zijlstra , Steven Rostedt , Vincent Guittot , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH v4 2/6] thermal: Initialize thermal subsystem earlier Date: Fri, 18 Oct 2019 14:21:59 +0530 Message-Id: <511b47ab70f6be4ba0f2d7f69217ee593a0bcfd8.1571387352.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that the thermal framework is built-in, in order to facilitate thermal mitigation as early as possible in the boot cycle, move the thermal framework initialization to core_initcall. Signed-off-by: Amit Kucheria Acked-by: Viresh Kumar --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index cced0638b686f..69fcd54f8a83e 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1537,4 +1537,4 @@ static int __init thermal_init(void) mutex_destroy(&poweroff_lock); return result; } -fs_initcall(thermal_init); +core_initcall(thermal_init); -- 2.17.1