From patchwork Thu Sep 24 21:52:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland Dreier X-Patchwork-Id: 50050 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8OLqgMU019853 for ; Thu, 24 Sep 2009 21:52:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750911AbZIXVwh (ORCPT ); Thu, 24 Sep 2009 17:52:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751014AbZIXVwh (ORCPT ); Thu, 24 Sep 2009 17:52:37 -0400 Received: from sj-iport-5.cisco.com ([171.68.10.87]:13148 "EHLO sj-iport-5.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbZIXVwg (ORCPT ); Thu, 24 Sep 2009 17:52:36 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAKOGu0qrR7PE/2dsb2JhbAC+OYhTAZAOBYQcgV0 X-IronPort-AV: E=Sophos;i="4.44,447,1249257600"; d="scan'208";a="96217511" Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-5.cisco.com with ESMTP; 24 Sep 2009 21:52:37 +0000 Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id n8OLqbGD026831; Thu, 24 Sep 2009 14:52:37 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id n8OLqbh9023580; Thu, 24 Sep 2009 21:52:37 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Sep 2009 14:52:37 -0700 Received: from roland-conroe ([10.33.42.9]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Sep 2009 14:52:37 -0700 Received: by roland-conroe (Postfix, from userid 33217) id A81C4E71D8; Thu, 24 Sep 2009 14:52:36 -0700 (PDT) From: Roland Dreier To: Len Brown Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH] ACPI: Kill overly verbose "power state" log messages X-Message-Flag: Warning: May contain useful information Date: Thu, 24 Sep 2009 14:52:36 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 X-OriginalArrivalTime: 24 Sep 2009 21:52:37.0191 (UTC) FILETIME=[547A6570:01CA3D61] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1274; t=1253829157; x=1254693157; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rdreier@cisco.com; z=From:=20Roland=20Dreier=20 |Subject:=20[PATCH]=20ACPI=3A=20Kill=20overly=20verbose=20= 22power=20state=22=20log=20messages |Sender:=20; bh=KatIy7VJ5mlyN7Hx9c2NMY8hIHLl10+uyn7X9tXJ4EQ=; b=hjhqDisa6fpsmRAf8yuh75YcRQufqTTwKvQu1YDnJQBc9HhTl30HjeHWxs 97hG/WUWwlFNrDp1aLnmNdE9AnoiC0mxdqXr24LIwJIPW6pYOrD8xOXC+81X MYd2auIHVj; Authentication-Results: sj-dkim-4; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org I was recently lucky enough to get a 64-CPU system. The processors actually have T-states, 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 throttling states in processor_idle.c. Signed-off-by: Roland Dreier --- drivers/acpi/processor_idle.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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] */