From mboxrd@z Thu Jan 1 00:00:00 1970 From: Venki Pallipadi Subject: Re: Time Problems with 2.6.23-rc1-gf695baf2 Date: Tue, 31 Jul 2007 12:04:31 -0700 Message-ID: <20070731190431.GA24577@linux-os.sc.intel.com> References: <20070731145456.GB25175@alice> <653FFBB4508B9042B5D43DC9E18836F5013588F6@scsmsx415.amr.corp.intel.com> <20070731153808.GC25175@alice> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga03.intel.com ([143.182.124.21]:44017 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751419AbXGaTKe (ORCPT ); Tue, 31 Jul 2007 15:10:34 -0400 Content-Disposition: inline In-Reply-To: <20070731153808.GC25175@alice> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Eric Sesterhenn / Snakebyte Cc: "Pallipadi, Venkatesh" , Michal Piotrowski , Len Brown , linux-kernel@vger.kernel.org, IDE/ATA development list , Bartlomiej Zolnierkiewicz , linux-acpi@vger.kernel.org, Ingo Molnar , Thomas Gleixner On Tue, Jul 31, 2007 at 05:38:08PM +0200, Eric Sesterhenn / Snakebyte wrote: > * Pallipadi, Venkatesh (venkatesh.pallipadi@intel.com) wrote: > > This means things should work fine with processor.max_cstate=2 boot > > option > > as well. Can you please double check that. > > yes, system boots fine with this kernel parameter > > > Also, please send in the acpidump from your system. > > here we go, if you need some parameters to acpidump, just say so. > Eric, Can you check the test patch below (over latest git) and let me know whether it resolves the issue. Thanks, Venki Enable C3 without bm control only for CST based C3. Signed-off-by: Venkatesh Pallipadi Index: linux-2.6/drivers/acpi/processor_idle.c =================================================================== --- linux-2.6.orig/drivers/acpi/processor_idle.c 2007-07-31 04:29:26.000000000 -0700 +++ linux-2.6/drivers/acpi/processor_idle.c 2007-07-31 04:52:50.000000000 -0700 @@ -969,11 +969,17 @@ } if (pr->flags.bm_check) { - /* bus mastering control is necessary */ if (!pr->flags.bm_control) { - /* In this case we enter C3 without bus mastering */ - ACPI_DEBUG_PRINT((ACPI_DB_INFO, - "C3 support without bus mastering control\n")); + if (pr->flags.has_cst != 1) { + /* bus mastering control is necessary */ + ACPI_DEBUG_PRINT((ACPI_DB_INFO, + "C3 support requires BM control\n")); + return; + } else { + /* Here we enter C3 without bus mastering */ + ACPI_DEBUG_PRINT((ACPI_DB_INFO, + "C3 support without BM control\n")); + } } } else { /*