From nobody Fri Dec 26 23:25:55 2025 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 ; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cnDMjclf" Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a26ea1e88b7so266641866b.1 for ; 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-Google-Smtp-Source: AGHT+IEaKfAy25WQK5eNyuq98+hX1R8ubfyxj5LoJG9Q7+1uQ/ZypYr7jJNdkN01lBGF2xlwWxDSkQ== 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 Cc: Marijn Suijten , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio 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= 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 --- 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; } =20 + pr_info("genpd: Disabling unused power domains\n"); mutex_lock(&gpd_list_lock); =20 list_for_each_entry(genpd, &gpd_list, gpd_list_node) --- base-commit: 39676dfe52331dba909c617f213fdb21015c8d10 change-id: 20231227-topic-pmdomain_spam-2e86227bf02f Best regards, --=20 Konrad Dybcio