Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4188345ybg; Mon, 21 Oct 2019 05:16:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqz02b8GLESTcG6X2fqGQKMYYRpgURL82ZGBlZUS4I/BrSKALP3P2340vYX1Kv+A7s8hOvgb X-Received: by 2002:aa7:d717:: with SMTP id t23mr24186704edq.300.1571660188970; Mon, 21 Oct 2019 05:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571660188; cv=none; d=google.com; s=arc-20160816; b=WrBhU3Ul3PO6iykLLLbSvhOAD+YL3fBy6cb5XABLvm/aIssRumArCD4Z8VSHBelUgH 0nZjVr6XNlZ/sk60vV+t8PQf8CvyJVQElgmzyj1JdNQAJ/wj5mw8IBc9qCv4zWXYYZOc CZvK32Depe+M6WUtboPcLNc9B43g8T6PaMpRsO2sAop7+7Fi7R1Bo7dY8JzqutnQaFLX sBG0feZheGhZRWSpmrxsbTe+hVhI1KefGyaf8DJSYH1sX0OOHSxHTnmGYTCBiA2Cew2i rvqi1tvAoQzVFrrQBdmmxPkubVCptTlMqI1aFeouTO6dlUzOwMsmB7xBiFTrIYXpP4pH 3Xag== 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=fQHTnQD0qs5ZIgvu0ETDxXldKSw3M/RpeHFzS/SJHguu93hem8iVr68v7gztIT2yL1 eHTZ8kM5TbT90qLyWPKdRmBzHtyxvtOFBQAisnVEUeR4Ix/xgQLJn/JnubrFQQ1GP45c Jj5oK8AWX2T2RVtYa4BAQ6JLf0nQdeKUrT5cM107aJvgiv1ZKYPLiMTuqEbSXOfbIEbH 5yneEG+9yiaBgnUIBIyA6EoutFDqy+qlDzcMxVJP7Z7Qg9GhWkbgntY8btvEYqfNalId C6uHrJwBCrOzG7JOhwvlhYsWgvTe1roekhP/H1kTnZAom1UP9usz/A61QfAT/k7e/2rg Ek2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NS7ZKy/C"; 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 gh16si8570008ejb.150.2019.10.21.05.16.05; Mon, 21 Oct 2019 05:16:28 -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="NS7ZKy/C"; 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 S1728660AbfJUMPa (ORCPT + 99 others); Mon, 21 Oct 2019 08:15:30 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46952 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728639AbfJUMP3 (ORCPT ); Mon, 21 Oct 2019 08:15:29 -0400 Received: by mail-pg1-f194.google.com with SMTP id e15so7694979pgu.13 for ; Mon, 21 Oct 2019 05:15:28 -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=NS7ZKy/CJRKKWW9c979mMVqT188CSGr/jWJ+67EpTmxEJt+UAyi1cRDiv1812fo/pS u3kaC56+efRbFQ80M9Ze3QN6VK4AEJ71gDz1wks2LVQ5aeBAEZhtqQybfLA0rfejtnbO gbegVPOHbbj8LkvtYQKiZsyIT1jQdUs508eV9I+O/wCi+/Y1F79VBbJ3Kk5q+QPsm5S9 yYr4rExC53BA5VhyEJ8J8zwxQlS+B54pnEQWaMHdrE6mR0TXgqOpo+wcs+bONBYSo5gz kzoWjNtfmJnAmCD6kSw736Gvvjv6RjVD9mmRHy8gmg0H20Gn54q66uExxKiFnaYTa1d1 5OnA== 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=O4LGyAHbVp74WM4U3cLfFGM/cTZfPxF1LWeWqdAujerI2dy2/V/LX/R5xeU+80CP1v SCz7uae0hIyVjpw93RHizAJHw8CHSTnbqVXTcVfFSEtHdz+1BqmpKQJUDXo2bKb1io9L YzlHx0DjbxvTfXxp63cE87OguSV1YQftm+dGaCFQJbpCfBWF+pW2XVfZVaI4q0om9Z3D EJ7Rx2JgDUioeBqdhjo2FcLpDFemoEvhgPa4QxAvhk8eEly1YYJe5Xcmm0ZKKXiECROC my/PorsNUzXK4me9OkU/eQl1xrs0Fva1pwiAW3IF+eL7ucCGoJM6egJyne6CojBLUXA3 Gx8A== X-Gm-Message-State: APjAAAVuP18Relp9RE05e7DyOtDf3oAF+mkePeZ32ImYEWW2zUAGcLUG 3KbLamGYBUg+x6QrRcD5jtl9exnBHHAmuw== X-Received: by 2002:a17:90b:144:: with SMTP id em4mr29096753pjb.8.1571660128323; Mon, 21 Oct 2019 05:15:28 -0700 (PDT) Received: from localhost ([49.248.62.222]) by smtp.gmail.com with ESMTPSA id u3sm14514404pfn.134.2019.10.21.05.15.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Oct 2019 05:15:27 -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 v5 2/6] thermal: Initialize thermal subsystem earlier Date: Mon, 21 Oct 2019 17:45:11 +0530 Message-Id: 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