Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3434089rdb; Wed, 27 Dec 2023 07:19:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEaUeVOOWvceu4JEjh1LPAZReE/GEUteglTtanU2uu/fX0djmXTjCcksFhkeaBgPUcLECTi X-Received: by 2002:a17:907:3acf:b0:a26:b86e:2b0f with SMTP id fi15-20020a1709073acf00b00a26b86e2b0fmr2156129ejc.127.1703690350639; Wed, 27 Dec 2023 07:19:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703690350; cv=none; d=google.com; s=arc-20160816; b=AhCEVtnBMCQOjlQAnpBPZh0ZNDcR/T/ROXuRYWsc+R1TSEhD2LhI6IAeMKpqWQOtYD GvryqYFm9MYfulPvHsaeR5hgUYN1wSO9GFk/zQwT5FcajCp1IIoM4Bj2fyOupgPU6z/M QynSEud7mMCbgzAzmgPpSUMaQlrdOmdDT5Yx/ExjEqO0vHwnXtqCgKMrNuH9g0UzgDIr YD7hb46gRblLRuXxQe7gKITOkxrfdSntmqG0LjKxkxfunUmdg/u6KzGJSbqKkOfZSdIY 6cIdjX7tQ2mru5dN1TA3iuNOF7RLt2nI8EmQeJ6ET0lrohB69y2kf5ZQuqayymCDZyXF KLRg== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ad23-20020a170907259700b00a26e107b3f0si3449933ejc.479.2023.12.27.07.19.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 07:19:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12080-linux.lists.archive=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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12080-linux.lists.archive=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 3A5261F22E6B for ; Wed, 27 Dec 2023 15:19:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5BE9C45965; Wed, 27 Dec 2023 15:19:02 +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 ; 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 ; 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 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: 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 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; } + 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