From patchwork Fri Feb 5 17:45:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 77370 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o15HjgWc025498 for ; Fri, 5 Feb 2010 17:45:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756790Ab0BERpl (ORCPT ); Fri, 5 Feb 2010 12:45:41 -0500 Received: from vms173015pub.verizon.net ([206.46.173.15]:64875 "EHLO vms173015pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933643Ab0BERpk (ORCPT ); Fri, 5 Feb 2010 12:45:40 -0500 Received: from localhost.localdomain ([unknown] [74.104.151.18]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0KXD00IH7QNPM0F6@vms173015.mailsrvcs.net>; Fri, 05 Feb 2010 11:45:38 -0600 (CST) Received: from localhost.localdomain (d975xbx2 [127.0.0.1]) by localhost.localdomain (8.14.2/8.14.2) with ESMTP id o15HjNrW025812; Fri, 05 Feb 2010 12:45:24 -0500 Received: from localhost (lenb@localhost) by localhost.localdomain (8.14.2/8.14.2/Submit) with ESMTP id o15HjLta025807; Fri, 05 Feb 2010 12:45:22 -0500 X-Authentication-warning: localhost.localdomain: lenb owned process doing -bs Date: Fri, 05 Feb 2010 12:45:21 -0500 (EST) From: Len Brown X-X-Sender: lenb@localhost.localdomain To: Jeff Garrett Cc: Andi Kleen , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: acpi_idle: Very idle Core i7 machine never enters C3 In-reply-to: <20100205160900.GA2736@jgarrett.org> Message-id: References: <20100126084740.GA5265@jgarrett.org> <87y6jkee1b.fsf@basil.nowhere.org> <20100205160900.GA2736@jgarrett.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 05 Feb 2010 17:45:42 +0000 (UTC) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 7c0441f..f528625 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -763,7 +763,7 @@ static const struct file_operations acpi_processor_power_fops = { static int acpi_idle_bm_check(void) { u32 bm_status = 0; - +return bm_status; acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_STATUS, &bm_status); if (bm_status) acpi_write_bit_register(ACPI_BITREG_BUS_MASTER_STATUS, 1);