From patchwork Thu Sep 24 21:30:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland Dreier X-Patchwork-Id: 50048 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 n8OLUZVV017301 for ; Thu, 24 Sep 2009 21:30:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751508AbZIXVaZ (ORCPT ); Thu, 24 Sep 2009 17:30:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751594AbZIXVaZ (ORCPT ); Thu, 24 Sep 2009 17:30:25 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:31379 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbZIXVaY (ORCPT ); Thu, 24 Sep 2009 17:30:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAHqBu0qrR7O6/2dsb2JhbAC+MohTAZAMBYQcgV0 X-IronPort-AV: E=Sophos;i="4.44,447,1249257600"; d="scan'208";a="395549170" Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 24 Sep 2009 21:30:28 +0000 Received: from sj-core-4.cisco.com (sj-core-4.cisco.com [171.68.223.138]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n8OLUSNx001606; Thu, 24 Sep 2009 14:30:28 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-4.cisco.com (8.13.8/8.14.3) with ESMTP id n8OLUSE7010840; Thu, 24 Sep 2009 21:30:28 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 24 Sep 2009 14:30:28 -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:30:27 -0700 Received: by roland-conroe (Postfix, from userid 33217) id 8F4F3E71D8; Thu, 24 Sep 2009 14:30:27 -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 "throttling states" log messages X-Message-Flag: Warning: May contain useful information Date: Thu, 24 Sep 2009 14:30:27 -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:30:27.0924 (UTC) FILETIME=[3C2C5940:01CA3D5E] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1280; t=1253827828; x=1254691828; c=relaxed/simple; s=sjdkim2002; 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= 22throttling=20states=22=20log=20messages |Sender:=20; bh=wFE+WwrHxpAM8vkJTjUd8whnaQa/99pSYVgNBXthfTo=; b=jJq4lb2UJVx/vCp7dP1NStrpDt+FURVhnPa1tP7uFzczuuk6zbTwhtGu8U cvgTU4QgjdOPwSufeHsxivA1aCgFieF/97F47HbVgTYhemzQ6qjSHLXId4Tb +b/7Os+qYa; Authentication-Results: sj-dkim-2; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 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: Processor [CPU0] (supports xx throttling states) This is pretty useless clutter because - this info is already available after boot from /proc/acpi/processor/CPUnn/throttling - there's also an ACPI_DEBUG_PRINT() in processor_throttling.c that gives the same info on boot for anyone who *really* cares. So just delete the code that prints the throttling states in processor_core.c. Signed-off-by: Roland Dreier --- drivers/acpi/processor_core.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_core.c b/drivers/acpi/processor_core.c index c2d4d6e..c567b46 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c @@ -863,13 +863,6 @@ static int acpi_processor_add(struct acpi_device *device) goto err_remove_sysfs; } - if (pr->flags.throttling) { - printk(KERN_INFO PREFIX "%s [%s] (supports", - acpi_device_name(device), acpi_device_bid(device)); - printk(" %d throttling states", pr->throttling.state_count); - printk(")\n"); - } - return 0; err_remove_sysfs: