Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp883471ybg; Fri, 18 Oct 2019 08:45:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWQoqdMeQbHR0j3KRaEdERJTRtQpGXYbqarCYrWpfWJq7R4sMENjtET+qdDeueo6JYq0HI X-Received: by 2002:a50:9fe7:: with SMTP id c94mr10235577edf.249.1571413551407; Fri, 18 Oct 2019 08:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571413551; cv=none; d=google.com; s=arc-20160816; b=dihcnuHENbSxhrxcbxUMoTlvHwWYXlQMbmKrsdzv1iQbeUiIgcMsY2SLFZAygj6Zym tkkG8QZn/3QIJMXUroQdfKAgZ8gsgR0TP7kAqdDlCSX0OC4vwXB8Q50+GyJAvHwcoAcD Sfca3NV+xreD5mw2YxQSnZvWuc+dbjbfFI+kyqJ0uFlExyNMt6VnUpgNyquQ0rZYrH2G n+Wv+ET5udurmmx0DEq3BqG+fbJHhvavgwxGoMJsAQ5UUsBMMmN9J7mr0fqCxFHHl8+F IS+iuYtjJNXTfIPJFWqj2U3QVa6RPCa7EhhVXrGUkxy26nfrw/EICeR81Eond146opqE lsyA== 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=J2+dIH77bj5pUXUsovECtUNC+eDZQzRNadhd1RCEVqs=; b=BL5tpyUI7FxMdYkrIhPrIm2H0wEzkHO/RDneCexjeDny+jeCxx2EIAlFGNVE9VqJVl IES+Q0LoyEUc1TqtwlAR0HFN8s1Rq1cmr/48jdXncUZuh63hSR+cXJmgAVQuTx+zvK6e FapQI1mUkLyk0C+9gsznY5a4nIsNsptIs1j1oJZL8PZP0T8i/PJULmQH8LTjXlVmP2y8 PfIB7iv0LC3wS3eMlLOYQRvMmDhfMSRz2wi9vuvoysMzP/oMl7a44xdiag4saHxpBhoM eIxF7wb4UmQw0KsKAQy3DGeTUppAlzAqhnw1hNufeQFMSUOuX8zZxg8GudBVkBvaTopy brhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H8ydhIBW; 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 c52si3914041eda.132.2019.10.18.08.45.28; Fri, 18 Oct 2019 08:45:51 -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=H8ydhIBW; 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 S2502339AbfJQM1x (ORCPT + 99 others); Thu, 17 Oct 2019 08:27:53 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45801 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502333AbfJQM1w (ORCPT ); Thu, 17 Oct 2019 08:27:52 -0400 Received: by mail-pf1-f193.google.com with SMTP id y72so1551991pfb.12 for ; Thu, 17 Oct 2019 05:27:52 -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=J2+dIH77bj5pUXUsovECtUNC+eDZQzRNadhd1RCEVqs=; b=H8ydhIBW4Hdav4jAbhdZFLfJHJ/rNTYXcPXSEpoc1DBwisHhHI2hsG9clVYOgLtj5Q lwx83X6r3G55GLeR9g55BvIxOwYOzNyZeHAmUKLgPyo5rPoXK0lxel4Nrp+YnCViHgNS GtvuCSCCb51pgg5WL64XgulygN4+2/iTQa39xCZjpAkuwLrkRehJR9O2DPH8k/F1ARfs IRPkGRYPhsEr5qrRWF7lytjQ7cNCDA0S2kJDoVsXnh8lSVkgwkN6YNmstydqRPPieqpw C3OsKtmoRM2XSUxCOT+zeAfxj7MuKI+45kSs77GROL4WWApel3iJZTmUv+RsR+Q+WMpb Y2Hg== 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=J2+dIH77bj5pUXUsovECtUNC+eDZQzRNadhd1RCEVqs=; b=eimEhYg2h5UCYExpzC6iR2xcTXcPLq+8EL4nUlGTQx6/J/AApiqtjMq8+FO/UDSdd0 6fyPdHCbUmObc1XdYwIzPKRBsSVa56lI+BMPfocT9qEi9w1sL4+614WooZBqwqU3nH2R MUSdp634xM4HggiCcip31yAjfTF6Yl8UKRUUi5gbYkFbzEu92dHOWyzuTzFZzIlUDGbj FcDisb9K1H/xmEDhvlcV2DmwLcPz9Tx8V2Au1hp62fIOfX7FRGfUWu73fmnCU7vuUlnV Ad5AHaoFz6brQPNVNPl6D3QBdakr40zhxfemm6agbqCIXB8apYOtu1ZjT3QFOrWrwFQk 72JQ== X-Gm-Message-State: APjAAAXoO5lspd1HqVcFfx3+F30+BwJEubXBkhc2vG+kl42G65pJ6It6 9E2ptBpTH3DquXMUfZHpKP+5nTkZeP/NpA== X-Received: by 2002:a63:1f25:: with SMTP id f37mr3859122pgf.50.1571315271392; Thu, 17 Oct 2019 05:27:51 -0700 (PDT) Received: from localhost ([49.248.54.231]) by smtp.gmail.com with ESMTPSA id q76sm4615049pfc.86.2019.10.17.05.27.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 05:27:50 -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 , Zhang Rui Cc: linux-pm@vger.kernel.org Subject: [PATCH v3 2/6] thermal: Initialize thermal subsystem earlier Date: Thu, 17 Oct 2019 17:57:34 +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 --- drivers/thermal/thermal_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index d21b754baee2..d8251d723459 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1537,4 +1537,5 @@ static int __init thermal_init(void) mutex_destroy(&poweroff_lock); return result; } -fs_initcall(thermal_init); + +core_initcall(thermal_init); -- 2.17.1