Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756465Ab2FFPMz (ORCPT ); Wed, 6 Jun 2012 11:12:55 -0400 Received: from e7.ny.us.ibm.com ([32.97.182.137]:60146 "EHLO e7.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752173Ab2FFPMx (ORCPT ); Wed, 6 Jun 2012 11:12:53 -0400 Message-ID: <4FCF6DD4.4090608@linux.vnet.ibm.com> Date: Wed, 06 Jun 2012 07:48:52 -0700 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Deepthi Dharwar CC: Linux PM mailing list , LKML , "Tomas M." , Ferenc Wagner , Arnd Bergmann , "Rafael J. Wysocki" , Len Brown , Kevin Hilman , Arjan van de Ven , Jean Pihet , Trinabh Gupta , linux-pm@lists.linux-foundation.org, "Srivatsa S. Bhat" , preeti@linux.vnet.ibm.com Subject: Re: Suspend/resume regressions on Lenovo S10-3 References: <4FC2DA8C.7050401@linux.vnet.ibm.com> <4FCF5249.2070600@linux.vnet.ibm.com> In-Reply-To: <4FCF5249.2070600@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12060615-5806-0000-0000-000015F0430A Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 865 Lines: 27 On 06/06/2012 05:51 AM, Deepthi Dharwar wrote: > diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c > index 24fe3af..6e35293 100644 > --- a/drivers/acpi/processor_idle.c > +++ b/drivers/acpi/processor_idle.c > @@ -895,8 +895,9 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, > if (unlikely(!pr)) > return -EINVAL; > > - > if (acpi_idle_suspend) { > + local_irq_disable(); > + local_irq_enable(); > cpu_relax(); > return -EINVAL; > } Heh, that is quite the hack. :) However, it does at least work around my problem: I can suspend again with 46bcfad + your patch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/