Message ID | 20231227-topic-pmdomain_spam-v1-1-ff0410086b36@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-12080-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1493545dyb; Wed, 27 Dec 2023 07:19:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFw+2RHTTTwRpuyP+SU0P20hUUeIE0/i4xOr+P4HKOdbaHhnGa3MdubHQi6fhmKC0b33rEm X-Received: by 2002:a17:906:258e:b0:a23:6d76:4c7c with SMTP id m14-20020a170906258e00b00a236d764c7cmr4458494ejb.107.1703690358451; Wed, 27 Dec 2023 07:19:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703690358; cv=none; d=google.com; s=arc-20160816; b=tHaDBdOF/4qbTW9cgLrp6Ef9i4q/Od/hwLfBcX5dDN+o7CbXx0ZHinSn70nzEW9yOf HTDrZWr3Ifz8httx3YacrrraNki9d/Q2xLCknS0PrbHBsH7+uzl3buyUgor7yh/TLUMx kFRvUptXs5my/8Jt9c+BYgse3xA9RdM7skKd309HktJbyfcojvxXHS3L60nHQwY/qpwi 0RK4ulTnDTgQNmT8LS1bH1jhtBVxUd1lPD+b7an8TK7MZybHuy1+xoajF5r+MuXdYqQV VoW3+Knc+SM1PMgtdaoecHuypHaAUgDE/HMJm6MfS7gcAhOWEJgrBc+pgf23oX2HZFiP pmsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=mLqxqDFp3g+3ctBYsDTo10ZcgpJFg083E8N42zGHui8=; fh=u2GdUnAp8JEVKZz49SZH3EfxZ2GFoV0A5W2oC8jEcgA=; b=lSkDRsqdKsfwS9+wKjRTB5EpXR/0KF7p5U5LGSEcX6X0W+1Q1itGKgOevcv4R3eUm/ XSMB78062Kn37X9h62il5G6Cf8qgQuqMOJLcCyBURMc24A90kqQGUKMkPGb+2dSeq4bM cjls66haznBEAY1dJUSZ7J3RZT7jrJ3ZATM8s0Fs2NbkkruGNQxOk4bPRiHIa+rdQifs gsSp1gUg4LW88FGowbzzMgdCQs6d5huelGZdgHOHx4NQRAoTzLalpxXnAccfxjvzutcz Kow7QnFBJNyiMRJdWd06geIUzyxw4v5wRI5DxNav8OHgX7szsVPJF6dDT2IGUihJyq6w lVZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cnDMjclf; spf=pass (google.com: domain of linux-kernel+bounces-12080-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12080-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e17-20020a1709062d5100b00a26a25cbdb5si5897421eji.451.2023.12.27.07.19.18 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 07:19:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12080-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cnDMjclf; spf=pass (google.com: domain of linux-kernel+bounces-12080-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12080-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0EC181F22DC5 for <ouuuleilei@gmail.com>; Wed, 27 Dec 2023 15:19:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C7B04597E; Wed, 27 Dec 2023 15:19:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cnDMjclf" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F8C04594F for <linux-kernel@vger.kernel.org>; Wed, 27 Dec 2023 15:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a26ea1e88b7so266641866b.1 for <linux-kernel@vger.kernel.org>; Wed, 27 Dec 2023 07:18:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703690337; x=1704295137; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=mLqxqDFp3g+3ctBYsDTo10ZcgpJFg083E8N42zGHui8=; b=cnDMjclfrAtGi/lioxq7wyTONEk9+6IkpcRrhimtTkpBi+c0wJ/gtqGG+RBT6aQah8 husp6Z5F8Y9vpRk9VSI1EbrETCCl/6ybnxRN8YBj29s/p974UDJH/jo5/XPN0mP1BEbP zHBU3CuFdzyV/6PGyCjGueOmqo/5ZwKbtopjV+7/jzCPTaIh18TPI5gb/LyodqkEnK87 pM1/3gqm5y1FbUS1eF6rh3jSUIByKksvb7m5TZ6+0ix6Ye+i9jx2ArhXH7CYAr5MnKfE jBJ9KnXiADQzzfqh6LAEl3XxswIu9n3SdZ4te2FN0PIDOmqityuiuOMlDRpqgbj1A5i8 7kkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703690337; x=1704295137; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mLqxqDFp3g+3ctBYsDTo10ZcgpJFg083E8N42zGHui8=; b=VXLW1JAY94tAU0PxDD67V9K1euxX2YRMWAyx6K7SjlLFXc9t+aqn5WL2l9FryBmivf XWEfyp6Xojb5o0FZQyOinATMcQzH08z9YQ4UmtF6pj3ddgBnXxPfq7hCGExEgzdgkkGF SP2kGEfusrl351zGq9kKHD0zIGrJD1NYKIdvOLoNN1cTZ3WXLzl8xtR3Z7un5P2Ku0/f NZJ5i/FqctESsOEv6pvPbMuhsOMzClkpuhtsOqh1w8+jDCdcdVwOXXWD++kVDMHxsCzo C8kInxpzh+N5igu3xDefekDoh96nAlI/ZoEKxuEUMYebwJRKo5OzreLddQUL3+j7me59 ZfVg== X-Gm-Message-State: AOJu0YxBevAmo/X90P4AHZrdbLN6TP9c95ddMGVsod8+OTI0wP5MPAOk Yeeyy8iV6nIbt6wtiPDcjGSgsEu0Zdh2Lw== X-Received: by 2002:a17:906:73c6:b0:a27:59a1:e0a2 with SMTP id n6-20020a17090673c600b00a2759a1e0a2mr262385ejl.29.1703690337230; Wed, 27 Dec 2023 07:18:57 -0800 (PST) Received: from [10.167.154.1] (178235179028.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.28]) by smtp.gmail.com with ESMTPSA id gi16-20020a1709070c9000b00a19b7362dcfsm6652072ejc.139.2023.12.27.07.18.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 07:18:56 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 27 Dec 2023 16:18:54 +0100 Subject: [PATCH] pmdomain: core: Print a message when unused power domains are disabled Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231227-topic-pmdomain_spam-v1-1-ff0410086b36@linaro.org> X-B4-Tracking: v=1; b=H4sIAF1AjGUC/x2N2wrCQAwFf6Xk2UAbQcVfEZHsNmsD3QsbFaH03 w0+zhyGs4FJVzG4Dht0+ahpLQ7TYYC4cHkK6uwMNNJxIjrjqzaN2PJcM2t5WOOMJJeTbyGNlMD LwCYYOpe4eFve6+qydUn6/V/d7vv+A074gn56AAAA To: Ulf Hansson <ulf.hansson@linaro.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703690336; l=954; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=HOZ0tQ5XhpJRiYiK8g2v+oe13TgirBOq/Tfiaulf0Ik=; b=nysMJgbMvUy50OtruHiNQ2kL3c7am2LQt/62JQFIG7jsF27bNqouTR0XbOwsJUFbqapBgK5HA Zm7WZGoaxbWBI0r0Luv5UOKGQ4u3mM3mQVBee9h8DFA/PBWQf04fg+o X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786448821150626656 X-GMAIL-MSGID: 1786448821150626656 |
Series |
pmdomain: core: Print a message when unused power domains are disabled
|
|
Commit Message
Konrad Dybcio
Dec. 27, 2023, 3:18 p.m. UTC
In a similar spirit to commit 12ca59b91d04 ("clk: Print an info line
before disabling unused clocks"), print the message in both ignore AND
cleanup cases to better inform the user (and more importantly, the
developer) when it happens.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/pmdomain/core.c | 1 +
1 file changed, 1 insertion(+)
---
base-commit: 39676dfe52331dba909c617f213fdb21015c8d10
change-id: 20231227-topic-pmdomain_spam-2e86227bf02f
Best regards,
Comments
On Wed, 27 Dec 2023 at 16:18, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > In a similar spirit to commit 12ca59b91d04 ("clk: Print an info line > before disabling unused clocks"), print the message in both ignore AND > cleanup cases to better inform the user (and more importantly, the > developer) when it happens. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Applied for next, thanks! Kind regards Uffe > --- > drivers/pmdomain/core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pmdomain/core.c b/drivers/pmdomain/core.c > index a1f6cba3ae6c..69902797a5bb 100644 > --- a/drivers/pmdomain/core.c > +++ b/drivers/pmdomain/core.c > @@ -1100,6 +1100,7 @@ static int __init genpd_power_off_unused(void) > return 0; > } > > + pr_info("genpd: Disabling unused power domains\n"); > mutex_lock(&gpd_list_lock); > > list_for_each_entry(genpd, &gpd_list, gpd_list_node) > > --- > base-commit: 39676dfe52331dba909c617f213fdb21015c8d10 > change-id: 20231227-topic-pmdomain_spam-2e86227bf02f > > Best regards, > -- > Konrad Dybcio <konrad.dybcio@linaro.org> >
diff --git a/drivers/pmdomain/core.c b/drivers/pmdomain/core.c index a1f6cba3ae6c..69902797a5bb 100644 --- a/drivers/pmdomain/core.c +++ b/drivers/pmdomain/core.c @@ -1100,6 +1100,7 @@ static int __init genpd_power_off_unused(void) return 0; } + pr_info("genpd: Disabling unused power domains\n"); mutex_lock(&gpd_list_lock); list_for_each_entry(genpd, &gpd_list, gpd_list_node)