From: Len Brown <lenb@kernel.org>
To: linux-acpi@vger.kernel.org
Cc: Roland Dreier <rdreier@cisco.com>,
Roland Dreier <rolandd@cisco.com>,
Len Brown <len.brown@intel.com>
Subject: [PATCH 4/5] ACPI: Kill overly verbose "power state" log messages
Date: Sun, 27 Sep 2009 04:32:44 -0400 [thread overview]
Message-ID: <3d5b6fb47a8e68fa311ca2c3447e7f8a7c3a9cf3.1254040242.git.len.brown@intel.com> (raw)
In-Reply-To: <1254040365-18971-1-git-send-email-lenb@kernel.org>
In-Reply-To: <b684a3637e0887683a0a3d6fd471fc41d7c1606a.1254040242.git.len.brown@intel.com>
From: Roland Dreier <rdreier@cisco.com>
I was recently lucky enough to get a 64-CPU system, so my kernel log
ends up with 64 lines like:
ACPI: CPU0 (power states: C1[C1] C2[C3])
This is pretty useless clutter because this info is already available
after boot from both /sys/devices/system/cpu/cpu*/cpuidle/state?/ as
well as /proc/acpi/processor/CPU*/power.
So just delete the code that prints the C-states in processor_idle.c.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Len Brown <len.brown@intel.com>
---
drivers/acpi/processor_idle.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index cc61a62..706eacf 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1214,13 +1214,6 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
acpi_processor_setup_cpuidle(pr);
if (cpuidle_register_device(&pr->power.dev))
return -EIO;
-
- printk(KERN_INFO PREFIX "CPU%d (power states:", pr->id);
- for (i = 1; i <= pr->power.count; i++)
- if (pr->power.states[i].valid)
- printk(" C%d[C%d]", i,
- pr->power.states[i].type);
- printk(")\n");
}
#ifdef CONFIG_ACPI_PROCFS
/* 'power' [R] */
--
1.6.0.6
next prev parent reply other threads:[~2009-09-27 8:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-27 8:32 ACPI patches for 2.6.31-rc0 - part 3 Len Brown
2009-09-27 8:32 ` [PATCH 1/5] thinkpad-acpi: fix CONFIG_THINKPAD_ACPI_HOTKEY_POLL build problem Len Brown
2009-09-27 8:32 ` [PATCH 2/5] ACPI: Clarify resource conflict message Len Brown
2009-09-27 8:32 ` [PATCH 3/5] ACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression Len Brown
2009-09-27 8:32 ` Len Brown [this message]
2009-09-27 8:32 ` [PATCH 5/5] ACPI: IA64=y ACPI=n build fix Len Brown
2009-09-27 11:10 ` ACPI patches for 2.6.31-rc0 - part 3 Mattia Dongili
2009-09-28 3:25 ` Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d5b6fb47a8e68fa311ca2c3447e7f8a7c3a9cf3.1254040242.git.len.brown@intel.com \
--to=lenb@kernel.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rdreier@cisco.com \
--cc=rolandd@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox